Академический Документы
Профессиональный Документы
Культура Документы
This project is to design and build an ECG amplifier and QRS detector that can indicate heart beats.
The ECG Electrocardiography is the measurement of the electronic activity from the heart. The
bandwidth for a standard 12 lead clinical ECG is 0.05 Hz to 100 Hz. This signal can be used to
determine the hearts problem, such as arrhythmias. Besides that, ECG is also used in other
environments where there is a lower requirement for quality, for example in monitoring
applications. In such situations, a smaller bandwidth such as 0.5 Hz to 50 Hz can be used. The
quality of the waveform is not as high, but the total noise is reduced. For example, in the
cardiotachometer application, the heart rate is more desirable than the detailed electrical waveforms.
A simple band-pass filter centered on 17 Hz with a Q factor of around 3-4 maximizes the signal-to -
noise ratio for detecting the QRS complex, the essential element in counting heart beats. The
waveform is distorted by this filter, so the signal does not appear as a clinical ECG signal.
A typical ECG signal has peak amplitude around 1 mV, so a typical ECG amplifier will have a gain
1 - Differential amplifier.
2 - ECG filter.
3 - QRS filter.
4 - Threshold detector.
5 - LED driver.
- Elvis II+
- Breadboard
- ECG simulator
II - Process:
This stage aim to take the weak, small signal provided by the electrodes and produce strong, larger
The amplifiers combination with the ECG filter in stage should bring the ECG signal from mV up
11 11
1 = +
5 5
11 11
2 = +
5 5
Fig 3: The second half of the differential amplifier
47
From the diagram of the amplifier, we have: 3 = (2 1 ) 10
47 22
3 = ( ) 10 (1 + )
5
Firstly, we need to supply power for the Breadboard in order to use in processing the circuit:
From the simulation board, we supply the positive power (+9V) to the Supply +, the negative
In the Elvis II+, we open Arbitrary Waveform Generator to provide the input signal for the
The input signal has the similar properties with the heartbeat signal in that the signal amplitude is
1 1
6.38 mV and the input signal frequency is = = 700 = 1.428
Fig 5: The power supply and input signal
On the board, we supply the signal to , and connect with the Ground. So = 6.38 and
47 22 47 22
3 = ( ) 10 (1 + ) = 10 (1 + )
5 5
47 22
3 = 10 (1 + 5 ) = 25.38
The green line is the input signal, and the blue line is the output signal of the amplifier. We could
see that the input and the output signals were unstable and changed together and the gain was
(-14.631)/0.2108 = -114.2 < (- 25.38). Therefore we firstly double checked the input signal and the
Our guess was correct, the ground wire was not good connected, and after reconnected, we have
From the fig 7,the gain of V3 was about -170.29/6.38 = -26.7, it was quite similar the theoretical
gain.
Now we continue building up the ECG filter. The average heart rate of a person is around 1.1Hz (in
this experiment, we use 1.428Hz), and the signal level is very weak thus to avoid interferences from
other signals, we need a band-pass filter. The desired range is 0.05-100 Hz. Hence we can build the
1
The cut-off frequency is: 2 = 0.048
1
The cut-off frequency is: 2 = 106.103
The R10 = 3.3 M connected to the inverting input of the Op-Amp for keeping the balance and
symmetry.
From the fig 9, we can derive the equation to calculate the gain of the circuit. For C component, we
1 1
derive it into = =
4 150
= (1 + ) = 32.9 ~ 33
3 4.7
= 3 4 = 25.3833 = 837.54
3
.
Fig 10: The output after differential amplifier and ECG filter
The gain = -5.286/ 0.00658 = - 803, it was quite similar to the gain calculated.
In conclusion, after going through the amplifier and the filter, the signal level is multiplied by:
In this stage, we aim to detect the QRS complex signal in that the QRS complex signal will give a
high output when the QRS complex occurs while the other signal will be the low signal.
Communication systems theory says that the best filter to look for a particular waveform has an
impulse response that matches the target waveform. A QRS complex looks like a brief burst of a
From the circuit, we have the cut-off frequency range is: 15.91Hz - 22.67Hz
In this stage, we do not aim to make the signal higher qualified. We just want to determine when the
Now, we can connect the components on the board and use oscilloscope to get the QRS-complex
signal.
Fig 12: The QRS filter
Fig 13: The QRS signal (blue line)
When connect the electrodes to body to get the heart beat signal, if the electrodes are connected
wrongly, the signal will be upside down. We should use a full-wave rectifier to ensure that the high
response from QRS filter to the QRA complex will be a positive going peak. This must be
The best threshold will have the fixed size with the desired signal size. Hence having a simple way
When running the circuit, we change the value of the potentiometer until we get one impulse at the
In this stage, we design a circuit of a flashing light that is consistent in length and brightness. The
output from the threshold detector is likely to be of consistent amplitude, but not consistent in
length. A circuit that produces a consistent amplitude and length pulse is required. Finally, driving
a led requires sufficient current, but not too much. So circuitry to control the current output from the
mono-stable is required.
As the result, when the QRS complex occurs, the LED will flash.
We disconnect the input signal supply (VA and VB) from the circuit.
Connect the black plug to Ground; The red plug to VA and The yellow plug to VB.
On the ECG 300 device, there are many level of ECG signal. We turn the rotating button to
At the level 60BPM (60 beats per minute), the device will provide a signal of heart beat in that there
are 60 beats in one minute, that means there will be 1 beat every second. From the fig 19, with the
time divider of 200 milisec/divider, we can see that the circuit can meet the requirement.
Similarly, we check the different level of the ECG 300, and it is obvious that the circuit gives the
In this stage, we will use the experiment circuit to check heart beat on body.
Turn off the ELVIS and remove all connections (power and USB). Connect to 9V batteries to your
circuit.
Place the red dot on your body: one on left hand, one on right hand and the other on your leg.
Then connect to the circuit to check the LED flashing with the heart beat.
III - Conclusion:
After the experiment, I gained experience and knowledge in electronic design, implementation,
bread-boarding and problem solving. Now I understand the ECG circuit more clearly. This
experiment helps me to apply the filters to the real circuit, as well as the combination of them to