Signal processing and filters for reg review ms ni

51
Amplifier Function and Signal Filtering used in Sleep Disorders Technology An Overview

Transcript of Signal processing and filters for reg review ms ni

Page 1: Signal processing and filters for reg review ms ni

Amplifier Function and Signal Filtering used in Sleep Disorders Technology

An Overview

Page 2: Signal processing and filters for reg review ms ni

Midwest Sleep and Neurodiagnostic Institute, Inc

2

Amplifiers and Signal Filtering

You Need to know: What differential amplifier is What CMR is and how it works How TC filters work and TC relationship to LFF How LFF and HFFs work to reduce unwanted

frequencies How a 60Hz notch filter works Know basic polarity problems The difference between an AC and DC amplifier The difference between gain and sensitivity

Page 3: Signal processing and filters for reg review ms ni

Midwest Sleep and Neurodiagnostic Institute, Inc

3

Terms for Basic ElectricityImpedance: The total opposition to current flow including resistance, inductance and capacitance. Measured in ohms.Resistance:The opposition to the flow of current. Measured in ohms.Volt: Measurement of the force pushing current (electrons) through a conductor. Polarity: Refers to the positive or negative poles of a device

Page 4: Signal processing and filters for reg review ms ni

Midwest Sleep and Neurodiagnostic Institute, Inc

4

Alternating Current (AC)

Alternatively flows between positive and negative (protons+ and electrons-)Alternates at 1/60 sec in USA 1/50 sec in Europe

Page 5: Signal processing and filters for reg review ms ni

Midwest Sleep and Neurodiagnostic Institute, Inc

5

Ohms Law

Voltage is equal to current flowing in the circuit, multiplied by the resistance.

Voltage = E (volts)Current = I (amps)

Resistance = R (ohms)

Page 6: Signal processing and filters for reg review ms ni

Midwest Sleep and Neurodiagnostic Institute, Inc

6

Voltage

Resistance

E

R

V = I x R

I ER

R EI

Current

I

Page 7: Signal processing and filters for reg review ms ni

Midwest Sleep and Neurodiagnostic Institute, Inc

7

The Polygraphic Circuit

The function of the polygraph is to transform voltages generated by body into an interpretable record

Page 8: Signal processing and filters for reg review ms ni

Midwest Sleep and Neurodiagnostic Institute, Inc

8

Chart Drive

- --- -- +

++

++

+

G1G2

Paper / computer

Page 9: Signal processing and filters for reg review ms ni

Midwest Sleep and Neurodiagnostic Institute, Inc

9

Signal Processing

Electro conductive materialElectrode These act as a small capacitor

Wire to head boxExploring electrode C3, C4 O1, O2

Reference electrode A1, A2

Page 10: Signal processing and filters for reg review ms ni

Midwest Sleep and Neurodiagnostic Institute, Inc

10

Page 11: Signal processing and filters for reg review ms ni

Midwest Sleep and Neurodiagnostic Institute, Inc

11

Ground

Leakage current results when there is either a break or a shunt in the circuit.Patient grounding is essential in artifact elimination and proper amplifier function.

Symbol for Ground

Page 12: Signal processing and filters for reg review ms ni

Midwest Sleep and Neurodiagnostic Institute, Inc

12

Differential Amplifier

Form of AC amplifierAmplifies the difference between input (grid) 1 and input (grid) 2Rejects any similar information between G1 and G2 (CMR)

Page 13: Signal processing and filters for reg review ms ni

Midwest Sleep and Neurodiagnostic Institute, Inc

13

Common Mode Rejection

Common function of differential amplifierRejection of similar activity between input 1 and input 2 Identical information rejected at near 100%

Page 14: Signal processing and filters for reg review ms ni

Midwest Sleep and Neurodiagnostic Institute, Inc

14

Polarity and Localization

Input 1 When input one is negative, the pen goes

up, when input one is positive, the pen goes down.

Input 2 When input two is positive, the pen goes

up, when input two is negative, the pen goes down.

Page 15: Signal processing and filters for reg review ms ni

Midwest Sleep and Neurodiagnostic Institute, Inc

15

Basic Polarity and Localization

NegativePositive

PositiveNegativeInput 1 (G1)

Input 2 (G2)

Input 1 rules

Input 2 rules

Up rules Down rules

Page 16: Signal processing and filters for reg review ms ni

Midwest Sleep and Neurodiagnostic Institute, Inc

16

Common Mode Rejection Ratio

Common Input Signal Output Signal

Should be high ie. 100,000 to 1

AC coupled Amplifier

Page 17: Signal processing and filters for reg review ms ni

Midwest Sleep and Neurodiagnostic Institute, Inc

17

Polarity Calculation

26 uv

-15 uv

26

- 15

+ 41 uv

+ 41 uv

Page 18: Signal processing and filters for reg review ms ni

Midwest Sleep and Neurodiagnostic Institute, Inc

18

Galvanometer

Limited to a maximum response of 90 - 120hz

Page 19: Signal processing and filters for reg review ms ni

Midwest Sleep and Neurodiagnostic Institute, Inc

19

Amplifier/Machine Calibration

All filters set the same

Page 20: Signal processing and filters for reg review ms ni

Midwest Sleep and Neurodiagnostic Institute, Inc

20

Montage Calibration

Page 21: Signal processing and filters for reg review ms ni

Midwest Sleep and Neurodiagnostic Institute, Inc

21

Time Axis

The point (time) at which each pen falls along the same recording line

The galvonometer or pen mount may be adjusted to correct problems

Not a problem with digital systems

Page 22: Signal processing and filters for reg review ms ni

Midwest Sleep and Neurodiagnostic Institute, Inc

22

Damping

Adjustment to reduce overshootReduces erroneous fast-wave artifactOnly adjusted on polygraphs Not digital systems

good

Under damping

Over damping

Page 23: Signal processing and filters for reg review ms ni

Midwest Sleep and Neurodiagnostic Institute, Inc

23

Mechanical Baseline

Pen spacing withoutamplifier input to

pens.

Page 24: Signal processing and filters for reg review ms ni

Midwest Sleep and Neurodiagnostic Institute, Inc

24

Electrical Baseline

The “electrical zero” of a recording pen position

Found by turning the individual chart amplifier power off and on while adjusting the baseline knob.

EZ if found when the pen stops changing positions between power-on, and power-off

Electrical Zero

Mechanical Baseline needs adjustment

Page 25: Signal processing and filters for reg review ms ni

Midwest Sleep and Neurodiagnostic Institute, Inc

25

1. Unequal sensitivity

2. Pen alignment—time axis

3. Pen baseline off

4. LFF different setting

Page 26: Signal processing and filters for reg review ms ni

Midwest Sleep and Neurodiagnostic Institute, Inc

26

Gain vs. Sensitivity

Gain is a measure of the ability to change the magnitude of the input voltageSensitivity is the amount of output (pen deflection) to a given input voltage

Page 27: Signal processing and filters for reg review ms ni

Midwest Sleep and Neurodiagnostic Institute, Inc

27

Voltage

Pen DeflectionSensitivity

S

V

PD

V = S x PD

S VPD

PD VS

Sensitivity

S

uV

uV/mmmm

Page 28: Signal processing and filters for reg review ms ni

Midwest Sleep and Neurodiagnostic Institute, Inc

28

Sensitivity Calculations

Sensitivity is at 5uv/mm the voltage is 50 uv what is the deflection?

D = V/S

D = 5uv/mm 50uv

D = 10 mm

Page 29: Signal processing and filters for reg review ms ni

Midwest Sleep and Neurodiagnostic Institute, Inc

29

Sensitivity is set at 7 uv/mm and the deflection is 12 mm. What is the voltage?V = S X D

V = 7uv/mm X 11 mm

V = 77 uv

Page 30: Signal processing and filters for reg review ms ni

Midwest Sleep and Neurodiagnostic Institute, Inc

30

Voltage is 75uv and the deflection is 15 mm. What is the Sensitivity setting?

S = V/D

S = 15mm 75 uv

S = 5 uv/mm

Page 31: Signal processing and filters for reg review ms ni

Midwest Sleep and Neurodiagnostic Institute, Inc

31

60 Hertz Notch Filter

Also known as an AC FilterIn North America, all AC electrical current oscillates at 60 Hz.Uses CMR by tapping into line current and measuring it against output.

Page 32: Signal processing and filters for reg review ms ni

Midwest Sleep and Neurodiagnostic Institute, Inc

32

0

10

2030

40

50

60

7080

90

100

40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 80

60 Hertz Notch Filter

Page 33: Signal processing and filters for reg review ms ni

Midwest Sleep and Neurodiagnostic Institute, Inc

33

Units of Measure Used in Filtering

Hertz (Hz) Most common unit in electroneurodiagnostics

Second (sec) Used in Time Constant (TC) filter calculations

Decibels (dbl) Most basic unit of measure in frequency filtering Rarely referred to in sleep diagnostics

Page 34: Signal processing and filters for reg review ms ni

Midwest Sleep and Neurodiagnostic Institute, Inc

34

Time Constant (TC)

Units = seconds (s)The time it takes in seconds for a waveform to drop to

37% of its calculated amplitude

Faster TC – Reduces amp. of slow frequencies

Low cut – high pass filter

100%

37%

Time (s).3.003 1

Page 35: Signal processing and filters for reg review ms ni

Midwest Sleep and Neurodiagnostic Institute, Inc

35

TC (sec) and LFF (Hz) Relationship

TC and LFF work with same goal Reduction of slow frequencies Different units of measure to describe the same

action

Conversions:

1

2π x LFF TC =

1

2π x TCLFF =

Page 36: Signal processing and filters for reg review ms ni

Midwest Sleep and Neurodiagnostic Institute, Inc

36

Basics of LFF and HFFs

Reduces amplitude of listed frequency at a fixed value 20% (Nihon Kohden) 30% (Grass)

Reduces amplitude of frequencies above (HFF), or below (LFF) at linear levels

Page 37: Signal processing and filters for reg review ms ni

Midwest Sleep and Neurodiagnostic Institute, Inc

37

Low Frequency Filters

Designed to reduce the amplitude of frequencies at and below the selected frequency “Low cut, high pass filters”.

Page 38: Signal processing and filters for reg review ms ni

Midwest Sleep and Neurodiagnostic Institute, Inc

38

Expected Amplitude Decay: LFF = 10HzBased on Nihon Kohden filters

Reduces amplitude of a 10 Hz signal by 20% Reduces a 5 Hz signal by 50%

Reduces a 2.5Hz signal by 75% Reduces a 1.25 Hz signal by 87.5%

0

10

20

30

40

50

60

70

80

90

100

Am

pli

tud

e

1.25Hz 2.5Hz 5Hz 10Hz

Page 39: Signal processing and filters for reg review ms ni

Midwest Sleep and Neurodiagnostic Institute, Inc

39

Page 40: Signal processing and filters for reg review ms ni

Midwest Sleep and Neurodiagnostic Institute, Inc

40

Low Frequency Response Curve

Page 41: Signal processing and filters for reg review ms ni

Midwest Sleep and Neurodiagnostic Institute, Inc

41

High Frequency Filters

Designed to reduce the amplitude of frequencies at and above the selected frequencyHigh cut – low pass filters

Page 42: Signal processing and filters for reg review ms ni

Midwest Sleep and Neurodiagnostic Institute, Inc

42

Reduces amplitude of a 70Hz signal by 20% Reduces a 140 Hz signal by 50%

Reduces a 280 Hz signal by 75% Reduces a 560 Hz signal by 87.5%

Expected Amplitude Decay: HFF = 70Hz(based on Nihon Kohden filters)

0

10

20

30

40

50

60

70

80

90

100

Am

pli

tud

e

70Hz 140Hz 280Hz 560Hz

Page 43: Signal processing and filters for reg review ms ni

Midwest Sleep and Neurodiagnostic Institute, Inc

43

High Frequency Response Curve

Page 44: Signal processing and filters for reg review ms ni

Midwest Sleep and Neurodiagnostic Institute, Inc

44

Page 45: Signal processing and filters for reg review ms ni

Midwest Sleep and Neurodiagnostic Institute, Inc

45

Filters Effect Amplitude & Phase

Note: The Higher the filter the lower the amplitude

Digital Filters will not cause a Phase Shift

High Filter

Low Filter

Page 46: Signal processing and filters for reg review ms ni

Midwest Sleep and Neurodiagnostic Institute, Inc

46

Direct Current Amplifiers

Used to amplify signals which represent either all negative, or all positive voltage Not alternating between – and + (AC)Used most often with slow trending data (SaO2 and heart rate trending)No LFF or HFF filters utilized TC infinite (No frequencies to filter)

Page 47: Signal processing and filters for reg review ms ni

Midwest Sleep and Neurodiagnostic Institute, Inc

47

Wheatstone Bridge Circuit

A four-arm bridge used to measure resistance in a circuit Commonly used in DC amplifiers when resistance devices are in use Strain gauges

NPT Effort gauges

Page 48: Signal processing and filters for reg review ms ni

Midwest Sleep and Neurodiagnostic Institute, Inc

48

Analog to Digital Conversion

Brainwaves and other PSG signals are analog or continuousDigital is based on values of 0 or 1ADC samples the signal and assigns a digital value

Page 49: Signal processing and filters for reg review ms ni

Midwest Sleep and Neurodiagnostic Institute, Inc

49

Sampling Rate

The rate at which the computer program samples the analog information to convert it to digital signal. The faster the sampling rate the more

accurate the tracing is The faster the sampling rate the larger the

patient data file will be

Page 50: Signal processing and filters for reg review ms ni

Midwest Sleep and Neurodiagnostic Institute, Inc

50

Sampling Rate

Nyquist principle The sampling rate must be at least twice

as fast as the fastest frequency that will be recorded.

ASET Standard is three times faster than the HFF setting

Can vary by channel 200+/sec for EEG 10/sec for respiratory

Page 51: Signal processing and filters for reg review ms ni

Midwest Sleep and Neurodiagnostic Institute, Inc

51

Sampling Rate

Aliasing Sampling rate too low