4F04_EMG_Lab
pdf
keyboard_arrow_up
School
McMaster University *
*We aren’t endorsed by this school
Course
4F04
Subject
Electrical Engineering
Date
Jan 9, 2024
Type
Pages
10
Uploaded by BrigadierFishMaster627
Laboratory 2 Introduction to differential amplifiers and design of a bio-instrumentation amplifier for EMG Richard Fanson, Alexandru Patriciu, Hubert de Bruin, Laura Pravato, Zachary DeMelo, Kyle Molinari Scope of the lab 1.
Introduce the fundamental properties of differential amplifiers 2.
Present the measurement of common mode gain; CMRR; CMR 3.
Design a multistage bioinstrumentation amplifier for EMG 4.
Acquire EMG data 5.
Perform simple analysis of EMG data Before the lab 1.
Review the computation of CMRR 2.
Download and read the documentation for the instrumentation amplifier LT1920 3.
Download and read the documentation for the operational amplifier TLC2274 4.
Review the passive and active filters theory (use the 4BD4 cheat sheets if you are not familiar with circuit theory) 5.
Review the EMG and muscle fatigue concepts. Do a literature search and find the definitions for isometric contraction and dynamic contraction. 6.
Design a multistage bioinstrumentation amplifier for EMG signals. The amplifier should have the following stages
:
Figure 1: Block diagram of a bioinstrumentation amplifier suitable for EMG measurements 7.
Specifications •
Note: You are required to use 1% resistors with standard values. •
Headstage - Use a differential amplifier LT1920. Gain of 50. •
HP Filter & Second Amplification Stage –
passive filter, use capacitor value 330 nF and compute proper resistor value. •
Low pass filter –
use a Sallen - Key topology to implement a second order Tchebyscheff filter with 1dB pass band ripple. Use capacitors C1 = 33nF; C2 = 330nF; verify that C2 value is properly chosen; compute the resistors values. Pre-Lab Tasks:
•
Calculate required resistor and capacitor values for each stage of the circuit (see formulas below) and use the list of available resistors to find the closest match
•
Available resistors in lab:
499ohm 1.00k 1.27k 2.61k 5.49k 10.0k 11.3k 18.7k 22.1k 26.1k 30.1k 36.5k 48.7k 59.0k 66.5k 71.5k 100k 113k 215k 357k 402k 475k 562k 715k Headstage: Using LT1920 differential amplifier Calculate the value of the resistor R
G that would result in a gain of 50 Formula: R
G
= 49.4kΩ/(G –
1), G = Gain = 50 Rg=________ High Pass Filter and 2
nd
Amplification Stage: Passive filter. Use 330nF capacitor and compute the proper resistor value to get a cutoff frequency of 10Hz.
R1= ________ Find a pair of resistors that will result in a gain of G=20 for this stage. (Note that this should brings the overall gain to 1000 since 50*20=1000) R2=
________ R3= ________ Low Pass Filter:
-Sallen-Key topology -Second order Tchebysheff low pass filter with 1dB passband ripple -Use C1=33nF, C2=330nF You can use the given cheat sheet to find formulas and use the table in the “Active Filter Design” pdf to find the appropriate filter coefficients a1 and b1 (
For a 2
nd
order Tchebysheff filter with 1 dB passband ripple: a1=1.3022 and b1=1.5515). Use the formula to calculate the resistor values:
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
R1= ________ R2= ________ Have TA confirm resistor and capacitor values During the lab A.
Measure the CMRR of the headstage differential amplifier. Do not build the high pass filter, second amplification stage, and low pass filter for this part. 1.
Set the input as shown in Figure 1. (Find the signal generator labelled “Gen Out” on the oscilloscope and set it to a sine wave with a frequency of 100Hz and amplitude of 3Vpp). This will be your input common mode voltage (V
in CM
). 2.
Use the oscilloscope cursors to measure the output (V
out CM
) and calculate the common mode gain G
CM
= V
out CM
/ V
in CM
. a.
Click the “trigger” button, then select “trigger type” and set the source to the input channel (“1” or “2”). Set the trigger type to “edge” and the slope to “rising”. Then press in the trigger knob to set the trigger to 50% of the waveform amplitude b.
Adjust the vertical scale of both the input and output channels so that you can see the sine waves (the output channel will be very noisy, but try to take measurements from the middle of the sine wave peaks and troughs) c.
Click the “cursors” button, set the source to the channel connected to the output of the headstage (either “1” or “2”). Then select Y1 as the cursor and use the knob beside the cursors button to move the line to the bottom of the output waveform. Then select Y2 as the cursor and use the knob beside the cursor button to move the line to the top of the output waveform. At the bottom of the screen it should show the distance between the cursors (which represents V
out CM
) as ΔY(1) or ΔY(2). Use this to calculat
e G
CM.
3.
Calculate the common mode rejection ratio (CMRR = G
Diff
/G
CM
, where G
Diff
=50) and the common mode rejection in decibels (CMR=20log10(CMRR))
Figure 1
: Schematic for measuring the common mode gain B.
Build circuit and check gain frequency response 1.
Build the designed circuit using the ECE-Biomed Lab. 2.
Bypass the second amplification stage so that the overall gain will be 50 to allow a 10 mV p-p test signal from the signal generator). a.
Include all other stages. The circuit should be: Headstage (gain of 50), high pass filter (10Hz cutoff frequency), low pass filter (500Hz cutoff frequency). The second amplification stage can be bypassed by removing R3 and replacing R2 with a wire (short circuit) as shown below. 3.
Connect the circuit to the signal generator and to the oscilloscope as in Figure 2.
Figure 2: Connections for performance evaluation and tuning 4.
Check the gain of the circuit for frequencies between DC (1Hz) and 600Hz. a.
Press “Wav Gen” and set the input signal to a sine wave with a frequency of 1Hz, amplitude of 10mVpp, and offset of 0V. For now, set the horizontal scale to 200ms/div using the knob labelled “horizontal” and make sure both channels are being displayed (buttons labelled “1” and “2” should both be lit up. If not, press them to turn them on). b.
Make sure the oscilloscope is being triggered on the output signal. This can be done by clicking the “trigger” button, then “trigger type”, then setting the source to “1” or “2” depending on which channel is connected to the output. Set the trigger type to “Edge” and the slope to “Rising”.
c.
Push the trigger knob to set it to 50% of the waveform amplitude. d.
Press the “Meas” button to access measurement settings, then select “Clear Meas” followed by “Clear All”. Add a new measurement by selecting the source channel that is connected to the output (“1” or “2”) then select “Ampl” as the type. Press “Add Measurement” and the peak
-to-peak amplitude of the output signal will now be displayed at the bottom of the screen. e.
Click “Wav Gen” to go back to the wave generator settings. Fill out the table below by setting the signal generator amplitude (Vin) to 10mVpp and adjusting the frequency from 1Hz to 600Hz while recording the peak-to-peak amplitude (Vout). f.
When you change the frequency, you may need to re-scale the vertical and horizontal axes for the output channel. This can be done by using the knobs labelled “vertical” for channels “1” and “2” and the knob labelled “horizontal” at the top. 5.
Plot gain vs. frequency for signals between 1Hz and 600Hz. Frequency Vin Vout G=Vout/Vin 1Hz 10Hz 50Hz
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
100Hz 200Hz 300Hz 400Hz 500Hz 600Hz 1000Hz 1500Hz 2000Hz C.
Acquire EMG signal 4.
Reconnect the second amplification stage to bring the overall gain to 1000. 5.
Add the isolation amplifier at the output of the bioinstrumentation amplifier. 6.
Place the two measuring electrodes spaced about 1 inch apart on the belly of the biceps brachii. Place a third ground (reference) electrode on the arm lateral to the measuring electrodes. Refer to the image below:
7.
Connect the measuring electrodes to the bio-instrumentation amplifier input. Make sure to twist the leads to minimize 60Hz noise. 8.
Plug the DAQ module into the computer and connect the output of the isolation amplifier to the DAQ input AI0. Then open MATLAB and use the "Analog Input Recorder” app to start recording data.
9.
Save about 5 sec of EMG data while the muscle is resting. 10.
Save about 5 sec of EMG data for a modest isometric contraction. 11.
Save about 10 sec of EMG for a series of slow dynamic contractions using a 10 lb barbell. 12.
Save about 10 sec of EMG for a series of rapid dynamic contractions using a 5 lb barbell. 13.
With your arm in a 90-degree position and wrist supine, begin recording data with no weight (weight of hand and forearm). Then successive weights each 3 seconds, use 5lb, then 10lb, then 15lb, then 20lb. This is to compare EMG magnitude to lifting force. 14.
Hold a 15 lb barbell weight in the palm of your hand, keeping arm bent at 90 degrees, with forearm parallel to the ground. Record at least a minute of data to examine the effects of fatigue. 15.
If you have time, untwist the electrode leads and repeat one of the previous EMG data collection steps while holding the + and –
leads away from each other. +
+
-
gnd
Ensure you have access to all pictures/data collected before leaving the lab (eg: save data to USB, upload to Teams/OneDrive, email it to yourself, etc.)
After the lab 1. Prepare a report that includes: –
A summary of the design; what does each stage do? Include circuit schematics with values labeled. [2]
–
A3: Calculate common mode gain, CMRR, and CMR (dB) [3] –
B5
: Plot of gain vs frequency. [2] –
B5:
Explain the shape of the gain vs frequency plot and how it relates to filter stages in the circuit design.
[2] –
C10
: The time domain and frequency domain plot for an isometric contraction (i.e. The EMG signal vs time and the Fourier transform from 0 to 500 Hz) [3] –
C11
: The time domain raw and enveloped data plots (using a 2 Hz low pass filter) and the frequency domain plot for the raw slow dynamic contractions. [4] –
C12: The time domain raw and enveloped data plots (using a first the 2 Hz low pass filter and then the 10 Hz LPF) and the frequency domain plot for the raw fast dynamic contractions. Are the frequency domain plots similar for C10, C11
and C12
? [4]
–
C13: Break the recording into the sections where the different weights were applied. Rectify each section (abs value) and compute the average magnitude. Plot the relationship between weight vs magnitude. You should have 5 points to plot. Consider no weight as 0 lbs although the magnitude will not be 0. Describe the relationship (positive, negative, linear, exponential, etc.). .). [4] –
C14
: Break the minute plus of data into 10 second intervals. Compute the RMS and centroid frequency (MATLAB function) value for each interval and plot over time. Describe any changes you see. [3] –
C15: Explain why twisting the electrode leads (wires) reduces 60Hz noise in the signal. [1]
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
–
Always include your code in your report! Lab reports are due at 11:59 pm 1 week after your lab session, but you must submit a preliminary report 2 days before the due date (the preliminary report will not be marked).
Related Documents
Related Questions
What is the phase relationship between input and output voltage waveforms of the
common source JFET amplifier?
arrow_forward
Sketch the circuit diagram of a balancing circuit for a differential amplifier.
arrow_forward
Five different CMo differential amplifier circuits are shown below. Use intuitive approach of finding the
small signal current caused by the application of a small signal input voltage Vin, and write by inspection
the approximate small signal output resistance, Rout, seen looking back into each amplifier and the
approximate small signal differential voltage gain, vout/Vin. Leave your answer in terms of gmi and gasi (i=1
thru' 8)
M.
M,
M.
M,
M.
M.
V BP
V.
aut
auf
M,
M,
M,
V.
M
V.
Vout
M2
M2
V.
(),
II
IV
м.
M.
M,
VEN
M.
V
arrow_forward
Q.4/ Refer to the class AB power amplifier shown below:a. Determine the dc parameters VB(Q1), VB(Q2), ICQ, VCEQ(Q1), VCEQ(Q2).b. For the 5Vrms input, determine the power delivered to the load resistor.c. Determine the approximate input resistance seen by the signal source if ac=100
arrow_forward
(1)
Describe in detail the relative advantages of Class A and Class B
amplifiers. In what types of circuits would Class B be advantageous
over Class A
(1I) With the aid of signal diagrams, describe two forms of distortion you
would expect to observe on an output signal of a Class B amplifier.
(III) Describe in circuit terms the advantages of a Class AB amplifier.
arrow_forward
To obtain the desired high gain in voltage amplifiers............What should come in the blank
Please choose one:
A.The output stage resistance is kept low.
B.There is no need for ob buffer elevations.
C.One riser stage is sufficient.
D. Uses several amplifiers connected in a row
e input stage resistance is kept low.
arrow_forward
Consider Figure 1 and determine as follows.
i. Draw the dc and ac equivalent circuits for the common-source amplifier.
ii. Determine Ip, VGs, and VDs for a centred Q-point. Idss=15 mA, and VGS(OFF)= -4 V.
iii. Determine the voltage gain, Ay.
iv. What happen to the voltage gain, A, if RL is increased to 6.6 kN.
VDD
+15 V
Rp
820 N
C3
Vout
1 µF
Vin
RL
3.3 kN
0.1 μF
RG
10 MQ
Rs
220 N
C2
1 μF
arrow_forward
Q.4/ Refer to the class AB power amplifier shown below:
a. Determine the de parameters VB(Q1), VB(Q2), Icq, VCEQ(QI), VcCEQ(Q2).
b. For the 5Vrms input, determine the power delivered to the load resistor.
c. Determine the approximate input resistance seen by the signal source if Bac=100.
+Vcc
+9 V
1.0 k2
D1
out
D2
Q2
V.
5.0 V ms
RL
50 Ω
R2
1.0 k2
-Vcc
-9 V
arrow_forward
a) List down TWO (2) types of distortion occurs in practical amplifier operation and briefly
explain each of them.
b) () Discuss THREE (3) characteristics of a Class A power amplifier.
(ii) Discuss THREE (3) characteristics of a Class B power amplifier.
(iii) List down THREE (3) advantages of class B power amplifier as compared
with class A power amplifier's operation.
arrow_forward
II.The following figure shows a class AB amplifier.
(a) Determine the parameters of dc VB (Q1), VB (Q2), VE, ICQ, VCEQ (Q1), VCEQ (Q2).
(b) For a 5-Vrms input, determine the power that is provided to the load resistor, and
(c) Draw the output signal
+Vcc
+9 V
1.0kn
D:
R
5.0 V rms
R2
10 kN
-Vec
arrow_forward
a) Using an appropriate circuit diagram describe the principle of operation of the class B Push-pull amplifier. b) Explain the effect of crossover distortion and how its eliminated in the push pull amplifiers.
c) Derive the efficiency of a class B amplifier circuit. Include diagrams and show all the working where necessary.
arrow_forward
........
(Figure-1)
R.
RB= 380kN,Rc= 1kN
B = 100, VBB = Vcc=12V
RB
ww
Vec
CC
.........
I,
V CE
СЕ
V
ВЕ
BB
Q-1-b) Describe briefly the input / output characteristics and application of Common
Emitter BJT Configuration
arrow_forward
help with some explanation
arrow_forward
SEE MORE QUESTIONS
Recommended textbooks for you

Introductory Circuit Analysis (13th Edition)
Electrical Engineering
ISBN:9780133923605
Author:Robert L. Boylestad
Publisher:PEARSON

Delmar's Standard Textbook Of Electricity
Electrical Engineering
ISBN:9781337900348
Author:Stephen L. Herman
Publisher:Cengage Learning

Programmable Logic Controllers
Electrical Engineering
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education

Fundamentals of Electric Circuits
Electrical Engineering
ISBN:9780078028229
Author:Charles K Alexander, Matthew Sadiku
Publisher:McGraw-Hill Education

Electric Circuits. (11th Edition)
Electrical Engineering
ISBN:9780134746968
Author:James W. Nilsson, Susan Riedel
Publisher:PEARSON

Engineering Electromagnetics
Electrical Engineering
ISBN:9780078028151
Author:Hayt, William H. (william Hart), Jr, BUCK, John A.
Publisher:Mcgraw-hill Education,
Related Questions
- What is the phase relationship between input and output voltage waveforms of the common source JFET amplifier?arrow_forwardSketch the circuit diagram of a balancing circuit for a differential amplifier.arrow_forwardFive different CMo differential amplifier circuits are shown below. Use intuitive approach of finding the small signal current caused by the application of a small signal input voltage Vin, and write by inspection the approximate small signal output resistance, Rout, seen looking back into each amplifier and the approximate small signal differential voltage gain, vout/Vin. Leave your answer in terms of gmi and gasi (i=1 thru' 8) M. M, M. M, M. M. V BP V. aut auf M, M, M, V. M V. Vout M2 M2 V. (), II IV м. M. M, VEN M. Varrow_forward
- Q.4/ Refer to the class AB power amplifier shown below:a. Determine the dc parameters VB(Q1), VB(Q2), ICQ, VCEQ(Q1), VCEQ(Q2).b. For the 5Vrms input, determine the power delivered to the load resistor.c. Determine the approximate input resistance seen by the signal source if ac=100arrow_forward(1) Describe in detail the relative advantages of Class A and Class B amplifiers. In what types of circuits would Class B be advantageous over Class A (1I) With the aid of signal diagrams, describe two forms of distortion you would expect to observe on an output signal of a Class B amplifier. (III) Describe in circuit terms the advantages of a Class AB amplifier.arrow_forwardTo obtain the desired high gain in voltage amplifiers............What should come in the blank Please choose one: A.The output stage resistance is kept low. B.There is no need for ob buffer elevations. C.One riser stage is sufficient. D. Uses several amplifiers connected in a row e input stage resistance is kept low.arrow_forward
- Consider Figure 1 and determine as follows. i. Draw the dc and ac equivalent circuits for the common-source amplifier. ii. Determine Ip, VGs, and VDs for a centred Q-point. Idss=15 mA, and VGS(OFF)= -4 V. iii. Determine the voltage gain, Ay. iv. What happen to the voltage gain, A, if RL is increased to 6.6 kN. VDD +15 V Rp 820 N C3 Vout 1 µF Vin RL 3.3 kN 0.1 μF RG 10 MQ Rs 220 N C2 1 μFarrow_forwardQ.4/ Refer to the class AB power amplifier shown below: a. Determine the de parameters VB(Q1), VB(Q2), Icq, VCEQ(QI), VcCEQ(Q2). b. For the 5Vrms input, determine the power delivered to the load resistor. c. Determine the approximate input resistance seen by the signal source if Bac=100. +Vcc +9 V 1.0 k2 D1 out D2 Q2 V. 5.0 V ms RL 50 Ω R2 1.0 k2 -Vcc -9 Varrow_forwarda) List down TWO (2) types of distortion occurs in practical amplifier operation and briefly explain each of them. b) () Discuss THREE (3) characteristics of a Class A power amplifier. (ii) Discuss THREE (3) characteristics of a Class B power amplifier. (iii) List down THREE (3) advantages of class B power amplifier as compared with class A power amplifier's operation.arrow_forward
- II.The following figure shows a class AB amplifier. (a) Determine the parameters of dc VB (Q1), VB (Q2), VE, ICQ, VCEQ (Q1), VCEQ (Q2). (b) For a 5-Vrms input, determine the power that is provided to the load resistor, and (c) Draw the output signal +Vcc +9 V 1.0kn D: R 5.0 V rms R2 10 kN -Vecarrow_forwarda) Using an appropriate circuit diagram describe the principle of operation of the class B Push-pull amplifier. b) Explain the effect of crossover distortion and how its eliminated in the push pull amplifiers. c) Derive the efficiency of a class B amplifier circuit. Include diagrams and show all the working where necessary.arrow_forward........ (Figure-1) R. RB= 380kN,Rc= 1kN B = 100, VBB = Vcc=12V RB ww Vec CC ......... I, V CE СЕ V ВЕ BB Q-1-b) Describe briefly the input / output characteristics and application of Common Emitter BJT Configurationarrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Introductory Circuit Analysis (13th Edition)Electrical EngineeringISBN:9780133923605Author:Robert L. BoylestadPublisher:PEARSONDelmar's Standard Textbook Of ElectricityElectrical EngineeringISBN:9781337900348Author:Stephen L. HermanPublisher:Cengage LearningProgrammable Logic ControllersElectrical EngineeringISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education
- Fundamentals of Electric CircuitsElectrical EngineeringISBN:9780078028229Author:Charles K Alexander, Matthew SadikuPublisher:McGraw-Hill EducationElectric Circuits. (11th Edition)Electrical EngineeringISBN:9780134746968Author:James W. Nilsson, Susan RiedelPublisher:PEARSONEngineering ElectromagneticsElectrical EngineeringISBN:9780078028151Author:Hayt, William H. (william Hart), Jr, BUCK, John A.Publisher:Mcgraw-hill Education,

Introductory Circuit Analysis (13th Edition)
Electrical Engineering
ISBN:9780133923605
Author:Robert L. Boylestad
Publisher:PEARSON

Delmar's Standard Textbook Of Electricity
Electrical Engineering
ISBN:9781337900348
Author:Stephen L. Herman
Publisher:Cengage Learning

Programmable Logic Controllers
Electrical Engineering
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education

Fundamentals of Electric Circuits
Electrical Engineering
ISBN:9780078028229
Author:Charles K Alexander, Matthew Sadiku
Publisher:McGraw-Hill Education

Electric Circuits. (11th Edition)
Electrical Engineering
ISBN:9780134746968
Author:James W. Nilsson, Susan Riedel
Publisher:PEARSON

Engineering Electromagnetics
Electrical Engineering
ISBN:9780078028151
Author:Hayt, William H. (william Hart), Jr, BUCK, John A.
Publisher:Mcgraw-hill Education,