Professional Documents
Culture Documents
1.-Paper-Diseño Ekg A PC PDF
1.-Paper-Diseño Ekg A PC PDF
ISOLATED
AMPLIFIER OPTO
ISOLATORS
P RS
IA ADC C 232
LPF HPF NOTCH DSP 422
RIGHT LEG
DRIVER
+3V
+5V
R1
220k MICROCONVERTER
3 +5V +VDD
7 ADuC842
POWER DOWN
C1 8 P2.0 ADuM1301
R1 R3
0.1F 10k 22k TXD
RG AD620A ISOLATED TO
6 ADC PC
6.98k G=8 RXD RS232
R4 R2 5 CIRCUITRY
1M 22k
1
DAC
4
+5V 2
R3
220k
OP97
5V
R2
220k 5V
Signal Processing
The ADuC842 MicroConverter is well suited for the main signal
processing tasks. It features a fast, 12-bit ADC and other high- R1
performance analog peripherals, a fast 8052 microprocessor core,
integrated 62KB flash memory for code, and several other useful 4
CH3 50.0mV M400ms A CH3 251mV
peripherals, as shown in Figure 4. REF1 500mV 400ms
The key components of the MicroConverter for this design are the Figure 5. Oscilloscope traces.
ADC and the 8052 core. The ADC converts the analog output Filters in C Code
of the instrumentation amplifier to a digital signal. The software The acquired signal is processed by digital filtering in the
written for the 8052 core processes the digitized signal to produce MicroConverter. For this purpose, we designed two second-order
the data for the ultimate ECG trace. As in many MicroConverter digital infinite impulse-response (IIR) filters, based on a sampling
designs, the software includes both complex high level code written frequency of 500 Hz. A notch filter was designed to suppress the
in C and time sensitive routines written in assembly code. In this 50-Hz interference. The chosen design procedure was the pole-zero
case, the implementation of band-pass filters and notch filters is placement method, with a notch frequency of 50 Hz and notch width
in C, while the ADC is controlled by assembly code. Assembly 10 Hz. To achieve this required the following transfer function:
code, combined with converter speed, enables the accumulation of
multiple samples, enhancing the effective resolution of the ADC 1 1.618z 1 + z 2
well beyond its normal 12 bits. H(z) =
1 1.5164 z 1 + 0.8783z 2
Figure 5 gives a good indication of the effectiveness of The transfer function can be converted into a programmable
the MicroConverter. The top trace is the signal from the recursive algorithm:
instrumentation amplifier applied to the ADC. The middle trace
shows the initial results achieved using the C-code filtering only, NOutk = NInk 1.618 NInk 1 + NInk 2 + 1.5164 NOutk 1 0.8783 NOutk 2
while the bottom trace shows the final result after the processing In this equation the subindex, k, means the present value, k -1
of multiple conversions, using assembly code. means the value in the previous instant, and so on.
P0.0
P0.1
P0.2
P0.3
P0.4
P0.5
P0.6
P0.7
P1.0
P1.1
P1.2
P1.3
P1.4
P1.5
P1.6
P1.7
P2.0
P2.1
P2.2
P2.3
P2.4
P2.5
P2.6
P2.7
P3.0
P3.1
P3.2
P3.3
P3.4
P3.5
P3.6
P3.7
43 44 45 46 49 50 51 52 1 2 3 4 11 12 13 14 28 29 30 31 36 37 38 39 16 17 18 19 22 23 24 25
HARDWARE
CONVST 23
ADuC842
ADC0 1
ADC1 2
DAC0 BUF 9 DAC0
ADC2 3
ADC
ADC3 4 12-BIT CONTROL DAC
AIN T/H ADC AND CONTROL
ADC4 11 MUX CALIBRATION
DAC1 BUF 10 DAC1
ADC5 12
ADC6 13
ADC7 14
4K 8 2K 8 38 PWM0
DATA USER "XRAM" PWM
FLASH/EE 39 PWM1
TEMP (3mV/C)
SENSOR 256 8
62K 8 USER RAM
PROGRAM 1-CLOCK 22 T0
FLASH/EE 8052
2.5V 16-BIT 23 T1
BANDGAP MCU WATCHDOG COUNTER
REFERENCE CORE TIMER TIMERS 1 T2
BAUDRATE TIMER
POWER SUPPLY
2 T2EX
MONITOR
DOWNLOADER TIME 18 INT0
VREF 8 BUF DEBUGGER INTERVAL
COUNTER 19 INT1
CREF 7
SINGLE-PIN
EMULATOR
ASYNCHRONOUS
ASYNCHRONOUS SERIAL INTERFACE
POR SERIAL PORT (SPI OR I2C) OSC AND
(UART) PLL
5 6 20 34 48 21 35 47 15 16 17 42 41 40 26 27 19 12 32 33
RESET
RxD
AVDD
AGND
TxD
ALE
PSEN
EA
XTAL1
XTAL2
SCLOCK
SDATA/MOSI
MISO
SS
DVDD
DGND
3500 REFERENCES
Webster John G., Medical Instrumentation. Application and Design.
3000 3rd edition, Wiley, 1998.
2500
Firth J. and Errico P., Low-Power, Low-Voltage IC Choices
for ECG System Requirements, Analog Dialogue, Volume 29,
VOLTAGE (mV)
2000
Number 3, 1995.
AAMI, American National Standard, Safe Current Limits for
1500 Electromedical Apparatus (ANSI/AAMI ES1-1993). Association
for the Advancement of Medical Instrumentation, 1993.
1000
AD620 Data Sheet revision F. Analog Devices, Inc., 2003.
500
1. Standard paragraph (19) from Analog Devices Terms and
Conditions:
0
TIME
USE IN LIFE SUPPORT APPLICATIONS
Figure 8. Graphs of practical measurements. Products sold by Analog Devices are not designed for use in
life support and/or safety equipment where malfunction of the
CONCLUSION product can reasonably be expected to result in personal injury
Figure 8 shows results for a subject connected in Einthoven or death. Buyer uses or sells such products for use in life support
lead I configuration. As can be seen, good results are achieved and/or safety applications at Buyers own risk and agrees to defend,
despite the simplicity of the electronic hardware used. The article indemnify and hold harmless Analog Devices from any and all
demonstrates that significant improvements can be achieved damages, claims, suits or expense resulting from such use.