Proj4 - ECG EMG Amplifier
Proj4 - ECG EMG Amplifier
Projects
A1(V2 V1) Electrode-1 Electrode-2 Right-leg electrode (ground) Driven right-leg (V2 + V1)/2
Fig. 1. General block diagram of an ECG amplifier.
A1A2(V V1) 2
V 1 V2
V0
1/6
Preliminary Work
1. Carefully study section 6.1 through 6.7 of Webster. You should be prepared to answer questions related to the placement of electrodes on the body, and the functioning of the amplifier circuit given in Fig. 6.22. 2. Circuits of a three-stage ECG amplifier with offset compensation (DC cancellation) and drivenright leg amplifier is shown in figures below. Calculate the unknown component values to fulfil the following requirements: a. Common Rejection Ratio (CMMR) of the first stage (differential input-differential output): 5.4; b. Differential gain of stage-1 and stage-2 combined: 54; c. Lower cut-off frequency: 0.5 Hz; d. Low frequency gain of low-pass filter stage: 19; e. High cut-off frequency: 194 Hz. 3. Find the total gain of the system. 4.
Preliminary Work
I/p 1 A1
1. Assume that the CMRR of the differential amplifier (stage2) is 60 dB. What is the CMRR of the system? 2. You have supplied with one of each of the following OPAMPs; 072 (dual of 071), 351 and 741. Which one would you choose for A1, A2, A3 and A4? Why?
Ground
Experimental Procedure
Buffer
Differential Amplifier
Fig. 2. The instrumentation amplifier. 1. Assemble the circuit shown in Fig. 2 on a breadboard. Use the component values you have chosen in the Preliminary Work section. Perform the following checks: i. A student other than the one who assembled the circuit should verify that correct values of components have been used and that connections are correct; ii. Connect an ammeter (full scale 30-150 mA) in series with one of the DC supply lines. Apply both +12 volts and -12 volts supply voltages and verify that only a few milliamperes flow to the circuit. If so, continue with the experiment. If not, check the circuit first for wrong connections,
2/6
EE 471 Biomedical Instrumentation Lab. Projects then, if everything else fails, for damaged components; iii. Connect the oscilloscope to the output of stage three and observe that there are only a few tens of millivolts of noise when both inputs are shorted to ground. iv. If the output appears to be zero at any time, close S1 temporarily to relieve a possible saturation. 2. Tie the two inputs together and apply 1 volt at 50 Hz between the ground and the common input. Observe the output voltage of A3 (point C) and adjust the potentiometer until you obtain the minimum possible voltage. 3. Apply 5 mV at 50 Hz to each input while the other is grounded and measure the voltages at points A, B, C and the output. Calculate the differential gain for stages I, and II. 4. Determine the value of the differential input voltage necessary to cause the saturation of the output. 5. Apply a common mode input signal at 50 Hz sufficient to produce a measurable output signal. Minimize the output by adjusting the potentiometer. Increase the input up to 5 volts-peak and continue minimization. Measure the best CMMR you can obtain.
Preliminary Work
1. Prove that the instrumentation amplifier with offset voltage cancellation circuitry will include a high-pass filter feature. 2. Select R5 to have a cut-off frequency at around 0.3 Hz.
R3 68 k 25 k pot.
A3
R5 1 F
A4
Experimental Procedure
1. Repeat steps 2 and 3 in the previous section and observe for any difference. In case of difference, check your circuit and connections. 2. Add a DC offset voltage around 0.1 volt to your input signal. Observe the output at point C as you vary the offset voltage. The output should settle around 0 volt immaterial of the level of the input voltage. If not, check your circuit.
Fig. 3. Circuit for offset voltage cancellation
Circuit diagram of the instrumentation amplifier modified to include the offset compensation and drivenright leg circuits are shown in Fig. 4.
3/6
Preliminary Work
1. Design the driven-right leg circuit so that: a. The current through the patient will be 100 A (rms) in case if 127 V (rms) appears across the patient. b. The effective grounding impedance should be 10 k or less. 2. Calculate the maximum common-mode voltage that can appear on the patient assuming that the opamp saturates at 10 V.
2.2 M A 8.2 k R4
I/p 1
A1
R2 10 k R1 R2
R6 R3 A3 C
I/p 2 2.2 M
A2 B R6 R7
68 k
1 F
R5
25 k pot.
A4
4/6
Experimental Procedure
It is difficult to test the driven-right leg circuit with resources available in the Biomedical Engineering Lab at the moment. The test will be carried out during recording the ECG from the body.
Preliminary Work
1. a. b. 2. 3. Calculate the unknown components for: Low frequency gain around 19 The cut-off frequency around 150 Hz. Calculate the overall gain of the system at 40 Hz. Draw the frequency response plot for the overall system.
Experimental Procedure
1. Determine the frequency response of the circuit before attaching it to the output of the instrumentation amplifier. 2. Draw the frequency response you have obtained carefully and try to identify any discrepancy you observe in the characteristic. 3. Modify your design, if necessary to meet the requirements stated in the preliminary work.
Preliminary Work
Calculate the gain and cut-off frequencies of the complete system using the values obtained in previous sections.
5/6
Experimental Procedure
2.2 M A 8.2 k R4
I/p 1
A1
R2 10 k R1 R2
R6 R3 68 k B R6 25 k pot. A4 1 F A3 C R9 R5
10 nF
I/p 2 2.2 M
A2
R10 A6
1. Leave the driven-right leg circuit idle at the moment. Using the frequency sweep facility of the function generator and/or the techniques you already know determine the frequency response of the system. 2. Connect 100 k resistors between the inputs and the non-inverting terminals of A1 & A2. Try to measure your friends ECG on Lead-I by using the electrodes supplied. Observe the signal and record the amplitude levels at various stages of the system including the output of the op-amp used for the driven-right leg circuit. Use the chart recorder to record a short duration of the output. 3. Now observe the ECG between V3 and V5 electrode positions on the chest. Record several periods. 4. Connect the right-leg to the driven-right leg circuit and repeat procedures 2 & 3. 5. Repeat the procedure on a different subject.
Conclusion
1. 2. 3. 4. Compare the differential and common mode gains with those you have calculated. Compare the CMMR with the theoretical value. Try to explain any discrepancies. Why do you get more noise and less ECG signal from Lead I as compared to the chest Leads? On the chart recordings you have made, identify the P, Q, R, S, T and U waves by comparing to Fig.4.14 of Webster. Calculate the heart rate for each subject. Is the period between every beat constant? What components would you change if you have redesigned the circuit for monitoring ECG (not clinical)?
6/6