2010年4月18日星期日

Pacemaker simulator

System Design

The system includes three main parts; the signal generator, the DE2 board with PCB board, and Oscilloscope. The signal generator is responsible to send pulse signal to the A/D. And the PCB board has A/D and D/A convertor and is connected with DE2 board by GPIO. The D/A is responsible to send the results to the Oscilloscope.
Algorithm Design

The experiment procedure
The input is set to be a serial of pulse signal, with amplitude 1v, frequency 0.8Hz, and pulse width 60ms. Users can use the switches on the right side to change the value of Ta and Td. When users change the value, they have to press the reset button.

The result is shown as below. We can observe that when the input rising edge happens in the watching period, it can trigger the rising edge interrupt. When it is closed to the previous output pulse, it can’t trigger any.

IM magincian-Vimisoft




This is the main project I did in Vimicro Inc, as a software engineer. IM Magician is a software to be used as a supplementary software for other popular chatting programs, such as QQ, Skype, and MSN, etc. IM Magician can provide various special image effects that can give user a much interesting and interactive video chatting experience. To enhance the user experience of the web camera, IM Magician has provide very powerful image processing features, such as Special Image Effect, Video Frame, Animation Flash, Face Tracking, Masking, and Magic Mirror, etc..
IM Magician not only can be used as a supplementary software, it can also to be used as a standalone PC Camera software, with functions of Capture Still Image, Record Audio, Record Video, and Play Back, it also provides motion-detection based surveillance features.
Basically, it has two main parts. One part is a filter based on Directshow, and all image effects are realized in this filter. Another part is an application based on .Net, which can use the filter and also realize some other functions such as image taking and audio/vedio recording.
I was responsible to write a component to realize different image effect. I got the image algorithms from algorithm team including some demo codes and documents, and realized those algorithms into my filter. I was also responsible to write some image/vedio tools for our products. Users can use those tools to design their own frames, record any part of their screens, and design different masks for face tracking. Besides, I had to maintain our products. If users had problems with our software, I had to solve those bugs.

2009年11月3日星期二

Project Introduction: Hearttogo


Introduction

•Cardiovascular disease (CVD) is the single leading cause of global mortality and is projected to remain so.
•Cardiac arrhythmia, a very common CVD, is irregular rhythmic beating of the heart; it may indicate an increased risk of stroke or sudden cardiac death.
•The Electrocardiogram (ECG) is the most widely adopted clinical tool to diagnose and assess the risk of arrhythmia.
•During normal patient hospital visits, however, arrhythmias may not be detected on normal resting ECG machines since the condition may not be present at that moment in time.
•We seek to unite the portability of Holter monitors and the processing power of state-of-the-art resting ECG machines to provide an assistive diagnosis solution using cell phones.


Functions

•Collect ECG data from bluetooth and show it on the screen.
•Use DSP to analyze ECG signal and extract import features.
•Record patients' ECG record and do ANN training
•Utilize artificial neural networks to detect ECG deceases.


My responsibility

•Partly GUI design in C#.
•Research and design the algorithms to extract ECG features in Matlab.
•Design the plugin to implement feature extraction and ANN in C++.


Acknowledgement

•This research is currently being supported by the Cell Phone as a Platform for Healthcare award from Microsoft Research.

Camera Mouse


Introduction


•Alternative mouse is widely used for disabled people.
•Camera mouse can be implemented either in embedded system or on PC.
•LED pointer can be fixed anywhere on users to provide them the most convenience.

Embedded System Hardware Design



Algorithm design


Tracking Demo On PC(to verify the algorithms)


The small square under the LED pointer shows the tracking result. To verify the algorithms, I did a test in another environment which was darker. The demo is shown:
http://www.youtube.com/watch?v=4gcUHW_WIGA&feature=channel.

Hardware Test Result

•Test Step: Nios saves one image from Hardware into a text file, and send it to PC. The result is plotted by Matlab as below.