E40M Instrumentation Amps and Noise M. Horowitz, J. Plummer, R. - - PowerPoint PPT Presentation

e40m instrumentation amps and noise
SMART_READER_LITE
LIVE PREVIEW

E40M Instrumentation Amps and Noise M. Horowitz, J. Plummer, R. - - PowerPoint PPT Presentation

E40M Instrumentation Amps and Noise M. Horowitz, J. Plummer, R. Howe 1 ECG Lab - Electrical Picture Signal amplitude 1 mV Noise level will be significant will need to amplify and filter Well use filtering


slide-1
SLIDE 1
  • M. Horowitz, J. Plummer, R. Howe

1

E40M Instrumentation Amps and Noise

slide-2
SLIDE 2
  • M. Horowitz, J. Plummer, R. Howe

2

ECG Lab - Electrical Picture

  • Signal amplitude ≈ 1 mV
  • Noise level will be significant
  • will need to amplify and filter
  • We’ll use filtering ideas from the

last set of lecture notes

slide-3
SLIDE 3
  • M. Horowitz, J. Plummer, R. Howe

3

INSTRUMENTATION AMP

slide-4
SLIDE 4
  • M. Horowitz, J. Plummer, R. Howe

4

  • This amplifier requires that the input voltage sources provide input

currents (i1 and i3 are not zero) … not OK for the ECG project or a general-purpose instrumentation amplifier.

Starting Point: Differential Amplifier 1.0

If R3 = R1 and R4 = R2

vo = v2 − v1

( )

R2 R1

slide-5
SLIDE 5
  • M. Horowitz, J. Plummer, R. Howe

5

We Need A Differential Amplifier With No Input Current

  • Want really want a differential amplifier with no input current

– Make sure the input isolation resistance isn’t a problem – This is a common situation for many types of instruments

  • There is a special part for this situation

– Called instrumentation amplifier – It can be thought of as 3 amplifiers

  • Two non-inverting amplifiers (so there is no input current)
  • One differential amplifiers

– These parts are built to match very well

  • So it is better than building the circuit yourself
slide-6
SLIDE 6
  • M. Horowitz, J. Plummer, R. Howe

6

Instrumentation Amp (Used in ECG Lab)

  • Kind of looks like two non-

inverting amplifiers – But they are connected together in a funny way

  • Fortunately the IA can be

“solved” using the Golden Rules: – Write KCL for ‘-’ input of the

  • p amp

– Find the output voltage that satisfies KCL when the voltage at the ‘-’ input is equal to the voltage on the ‘+’ input

slide-7
SLIDE 7
  • M. Horowitz, J. Plummer, R. Howe

7

Start with KCL at Inverting Input of Op Amp #1

v1 v2 vref i1 i2 i3 vo1

  • At node v1 and assuming no
  • p amp input current, we have
  • Since

i1 = i2 +i3 ∴ v2 − v1 RG = v1− vo1 10kΩ + v1− vref 40kΩ vIN

− = v1 and vIN + = v2

∴ vIN

+ − vIN −

RG = vIN

− − vo1

10kΩ + vIN

+ − vref

40kΩ

slide-8
SLIDE 8
  • M. Horowitz, J. Plummer, R. Howe

8

Now Find Vo1 -- the Output Voltage of Op Amp #1

v1 v2 vref i1 i2 i3 vo1 ∴ vIN

+ − vIN −

RG = vIN

− − vo1

10kΩ + vIN

+ − vref

40kΩ ∴ vo1 10kΩ = vIN

10kΩ + vIN

+ − vref

40kΩ − vIN

+ − vIN −

RG ∴vo1 = 5vIN

4 − vref 4 − 10kΩ vIN

+ − vIN −

( )

RG

slide-9
SLIDE 9
  • M. Horowitz, J. Plummer, R. Howe

9

Next: KCL at Inverting Input of Op Amp #2

v1 v2 vref i1 i2 i3 vo1

  • At node v2 and assuming no
  • p amp input i, we have
  • Since

i4 = i1+i5 ∴ vo − v2 40kΩ = v2 − v1 RG + v2 − vo1 10kΩ vIN

− = v1 and vIN + = v2

∴ vo − vIN

+

40kΩ = vIN

+ − vIN −

RG + vIN

+ − vo1

10kΩ i4 i5

slide-10
SLIDE 10
  • M. Horowitz, J. Plummer, R. Howe

10

Step n+1: Solve for Vo

v1 v2 vref i1 i2 i3 vo1 ∴ vo − vIN

+

40kΩ = vIN

+ − vIN −

RG + vIN

+ − vo1

10kΩ ∴ vo 40kΩ = vIN

+

40kΩ + vIN

+ − vIN −

RG + vIN

+ − vo1

10kΩ ∴vo = 5vIN

+ +

40kΩ vIN

+ − vIN −

( )

RG − 4vo1 i4 i5

slide-11
SLIDE 11
  • M. Horowitz, J. Plummer, R. Howe

11

The Finale: Combining The Results

v1 v2 vref i1 i2 i3 vo1

  • This confirms the gain expression

given in the 1NA126 data sheet! (using vref = 0). vo = 5vIN

+ +

40kΩ vIN

+ − vIN −

( )

RG − 4vo1 i4 i5 vo1 = 5vIN

4 − vref 4 − 10kΩ vIN

+ − vIN −

( )

RG vo = 80kΩ RG + 5 ⎛ ⎝ ⎜ ⎜ ⎞ ⎠ ⎟ ⎟ vIN

+ − vIN −

( ) + vref

slide-12
SLIDE 12
  • M. Horowitz, J. Plummer, R. Howe

12

Another Instrumentation Amplifier (Bonus)

(we are not using this architecture)

  • Most instrumentation amplifiers are actually built with 3 op amps.
  • The analysis is quite similar to the past few pages

vref

slide-13
SLIDE 13
  • M. Horowitz, J. Plummer, R. Howe

13

Another Instrumentation Amplifier (Bonus)

  • Consider a simplified case in which all resistors are the same

(except Rgain) and vref = 0.

  • The analysis is quite similar to the past few pages.
  • We won’t cover this in class – try it yourself, you should be able to

analyze this! Try it to test your understanding. vo

vIN

+

vIN

slide-14
SLIDE 14
  • M. Horowitz, J. Plummer, R. Howe

14

vo

vIN

+

vIN

Front End of Instrumentation Amplifier (Bonus)

  • G.R. #1:
  • KCL:

vIN

+ = v1 and vIN − = v2

i1 i2 i3 i1 = i2 = i3 vo1− vIN

+

R = vIN

+ − vIN −

Rgain = vIN

− − vo2

R ∴ vo1 R = vIN

+

R + vIN

+

Rgain − vIN

Rgain ∴vo1 = R Rgain vIN

+ − vIN −

( ) + vIN

+

Similarly, vo2 = R Rgain vIN

− − vIN +

( ) + vIN

v1 v2 vo1 vo2

slide-15
SLIDE 15
  • M. Horowitz, J. Plummer, R. Howe

15

vIN

+

vIN

Back End of Instrumentation Amplifier (Bonus)

v1 v2

i4 i5 i6 i7 G.R. #2: i4 = i5 and i6 = i7 vo1− v3 R = v3 − vo R so that vo = 2v3 − vo1 vo1 vo2 v3 v4 vo2 − v4 R = v4 R so that v4 = vo2 2 = v3 vo Combining, vo = vo2 − vo1 Using the results from the previous page, vo = vo2 − vo1 = R Rgain vIN

− − vIN +

( ) + vIN

− −

R Rgain vIN

+ − vIN −

( ) − vIN

+

∴vo = vIN

− − vIN +

( ) 2

R Rgain +1 ⎛ ⎝ ⎜ ⎜ ⎞ ⎠ ⎟ ⎟

slide-16
SLIDE 16
  • M. Horowitz, J. Plummer, R. Howe

16

NOISE

slide-17
SLIDE 17
  • M. Horowitz, J. Plummer, R. Howe

17

ECG Measurement

  • Need to measure the difference between L1 and L2

– We think the circuit looks like

slide-18
SLIDE 18
  • M. Horowitz, J. Plummer, R. Howe

18

The Circuit Really Looks Like This:

  • There are many unwanted signals coupling into our circuit

– Both capacitive (stray electric fields) and inductive (magnetic fields) – These signals can be larger than what we want to measure!

  • How to prevent them from obscuring our signal?
slide-19
SLIDE 19
  • M. Horowitz, J. Plummer, R. Howe

19

Noise Protection For Wires

  • Shield the signal (literally cover it with metal)
  • Try to make the noise common mode

– Twist wires to each other

http://www.cablewholesale.com/support/technical_articles/coaxial_cables.php

slide-20
SLIDE 20
  • M. Horowitz, J. Plummer, R. Howe

20

Model of the Capacitive Noise

(if it is common to both wires)

  • The voltage at the two outputs will depend on ECG and Noise

But if the capacitors and resistors are the same (VL1 - VL2) will not depend on noise

  • This is only true if the capacitance on both wires is identical

– Which means we need a balanced differential amplifier

VL1 VL2

slide-21
SLIDE 21
  • M. Horowitz, J. Plummer, R. Howe

21

Balanced Amplifier

  • This is a completely differential system

– Good for reducing noise coupling

slide-22
SLIDE 22
  • M. Horowitz, J. Plummer, R. Howe

22

New Problem in Our Balanced Amplifier

  • What sets the voltage at v1, v2 ?

– VECG only sets v1 - v2 – They are not referenced to our chip’s reference (Gnd)! – Chip won’t work unless inputs are between +/- supply voltage.

v1 v2

slide-23
SLIDE 23
  • M. Horowitz, J. Plummer, R. Howe

23

The Reason for the Third Wire

  • Need to measure the difference between L1 and L2

– L3 is used to set the common-mode of the person

slide-24
SLIDE 24
  • M. Horowitz, J. Plummer, R. Howe

24

Why Does the ECG Circuit Look Like This?

slide-25
SLIDE 25
  • M. Horowitz, J. Plummer, R. Howe

25

Noise: Skin Voltage

  • A voltage forms when metal contacts skin

– The size of the voltage depends on the skin condition

  • This means if the conditions at the two electrodes differ

– You can generate a voltage

  • This voltage will change very slowly with time

Log f

slide-26
SLIDE 26
  • M. Horowitz, J. Plummer, R. Howe

26

Why Does the ECG Circuit Look Like This?

slide-27
SLIDE 27
  • M. Horowitz, J. Plummer, R. Howe

27

Noise: 60Hz Wall Voltage

  • The main capacitive noise comes from AC power

– 120 to 240V, 60 Hz – This signal can be quite large (Volts!)

  • 1000x your signal
  • Differential circuit cancels most of it out

– But some will still get through due to imperfect symmetry

Log f

slide-28
SLIDE 28
  • M. Horowitz, J. Plummer, R. Howe

28

Why Does the ECG Circuit Look Like This?

slide-29
SLIDE 29
  • M. Horowitz, J. Plummer, R. Howe

29

Learning Objectives

  • Understand how an instrumentation amplifier works

– And how to set its gain through resistor selection

  • Understand what noise is

– Other electrical signals that you don’t want on your wires – And how to minimize their effects on your circuit through differential amplifiers and filtering

  • Understand the design philosophy behind our E40M ECG circuit