SlideShare a Scribd company logo
1 of 4
Download to read offline
2010 Fifth IEEE International Symposium on Electronic Design, Test & Applications

An ECG-on-Chip for Wearable Cardiac Monitoring Devices
C.J. Deepu, X.Y. Xu, X.D. Zou, L.B. Yao, and Y. Lian
Department of Electrical and Computer Engineering
National University of Singapore, Singapore
eleliany@nus.edu.sg

Abstract
This paper describes a highly integrated, low power chip solution for ECG signal processing in wearable
devices. The chip contains an instrumentation amplifier with programmable gain, a band-pass filter, a 12-bit
SAR ADC, a novel QRS detector, 8K on-chip SRAM, and relevant control circuitry and CPU interfaces. The
analog front end circuits accurately senses and digitizes the raw ECG signal, which is then filtered to extract the
QRS. The sampling frequency used is 256 Hz. ECG samples are buffered locally on an asynchronous FIFO and
is read out using a faster clock, as and when it is required by the host CPU via an SPI interface. The chip was
designed and implemented in 0.35 m standard CMOS process. The analog core operates at 1V while the digital
circuits and SRAM operate at 3.3V. The chip total core area is 5.74 mm2 and consumes 9.6 W. Small size and
low power consumption make this design suitable for usage in wearable heart monitoring devices.

Keywords: Electrocardiography, QRS detection, ECG-on-Chip, Low Power design, Wearable devices.
1

successive approximation (SAR) ADC, a novel
mathematical morphology [6] based QRS detector, a
central control unit with 8K on-chip SRAM and 2 SPI
interfaces. The chip was designed and implemented in
0.35 m standard CMOS process. The chip total core
area is 5.74 mm2 and consumes 9.6 W. Small size
and low power consumption make this chip suitable
for usage in wearable heart monitoring devices.
This paper is organized as follows. In Section II,
the overall architecture of the proposed ECG chip is
described. In Section III, the details of hardware
implementation of individual blocks are given.
Simulation results and power consumption details are
presented in Section IV. Concluding remarks are
given in Section V.

Introduction

Remote monitoring of ECG and other vital
physiological signals continuously is becoming
increasingly important as it can significantly reduce
the costs and risks involved in personal healthcare.
The main challenge involved in the development of a
constant remote health monitoring system, as shown
in Figure 1, is the development of low power and
compact wearable sensors which can acquire, process
and wirelessly transmit these signals to a monitoring
device. A high level of integration is required to
minimize the size and cost of such a sensor. Since the
wireless transceiver is the major source of power
consumption in such a system, it is desirable to do
most of the signal processing tasks like ECG filtering
and QRS detection locally, as this will reduce number
of bits to be transmitted. There are several attempts
towards the design of various discrete and integrated
components of such systems [1-5]. In [1-2] an
integrated sensor interface chip which does signal
acquisition and data conversion for this application is
presented.
Raw ECG
Signal

Wearable Wireless Sensor

ECG on Chip

Wireless
Transceiver &
host CPU

2

Monitoring &
Diagnosis

Body
Gateway

Fig.1 Typical wearable wireless heart monitoring system

In this paper, we present a fully integrated, low
power chip for ECG signal processing in wearable
sensors. The chip combines an instrumentation
amplifier with programmable gain stage, a 12-bit
978-0-7695-3978-2/10 $26.00 © 2010 IEEE
DOI 10.1109/DELTA.2010.43

System Architecture

The system architecture of proposed ECG-on-Chip is
shown in Figure 2. An instrumentation amplifier with
programmable gain stage and embedded band-pass
filtering function is used for signal acquisition. The
amplified ECG signal is digitized by a successive
approximation ADC. The sampling frequency of
ADC used is 256 Hz. The QRS detection block
extracts the QRS complexes from the ECG Signal.
Traditionally, ECG noises such as baseline wander,
electromyographic interference (EMG), power line
noise, and motion artifacts are removed by digital
filters in order to extract QRS. However, such
approach is not well suited for wearable devices due
to large area and power consumption. This chip uses a
novel, low complexity QRS detector based on multiscale mathematical morphology [6] achieving very
low power consumption. The QRS detector, as shown
in Figure 3, computes the user’s heart rate by keeping

225
track of the R-R interval and is updated once every
10s. This block has a dedicated SPI interface to
readout the R-R interval.

Programmable
Instrumentation
Amplifier

Central
Control Unit
FIFO Ctrl

SPI

stage is a low noise front-end amplifier with bandpass function. The second stage is a programmable
gain amplifier (PGA) adopting flip-over-capacitor
technique [1-2]. Due to the ultra large resistance
generated by the pseudo-resistors, it usually takes
very long time for the front-end amplifier to settle
down when power is just applied. In this design, two
switches S1 and S2 are added. A reset signal will
switch them on during startup of the system, which
speeds up the settling of the front-end amplifiers
significantly.

CPU I/F

I/F

SRAM
512x16

Successive
Approximation
ADC

1 V Supply

QRS detector,
Heart Rate
calculation, SPI
Interface

CPU I/F

3.3 V Supply

Fig.2 ECG-on-Chip Architecture

Multi-scale Morphological Filter

Fig.4. Schematic of the low noise front-end amplifiers

Enhancing QRS
Adaptive Thresholding

3.2

Measure R-R Interval

Fig.3 Multiscale-Morphology based QRS detection
The central control unit (CCU) decodes the CPU
commands and generates relevant control signals for
each individual block in the chip. It contains an
asynchronous FIFO, which is used to interface the
chip with host CPU having faster clocks. The ECG
data from ADC and heart rate from QRS detector is
continuously written into the asynchronous FIFO @
256 Hz and is read out by the host CPU at a higher
clock speed once the FIFO is full. This interfacing
mechanism saves system power as CPU can switch to
sleep mode when the data is being written into the
FIFO.
As shown in Figure 2, the analog core operates at
1V supply while the digital circuits and SRAM
operate at 3.3V. A lower supply voltage helps to save
power in the analog part. The analog circuits are
custom designed and digital circuits are designed
using standard cell based design methodology. Level
converters are implemented on chip, in order to
interface between different voltage domains.

3
3.1

Successive Approximation ADC

SAR ADC is known for its moderate accuracy,
moderate speed, and low power overhead, thus it is
well suited for this application. Figure 5 depicts the
architecture of the proposed SAR ADC [1-2]. In each
conversion cycle, the analog input is sampled through
a bootstrapped switch and held on the capacitive
DAC. Driven directly by the preceding buffer stage
without the need of additional hold amplifier, the
employed open-loop S/H achieves fast settling and
small offset error at low power cost. The captured
analog signal is then compared with a fixed reference
REF and level-shifted by the DAC in a sequence of
binary search. The fixed REF largely eliminates the
dynamic offset associated with the comparator. The
use of an array of capacitors to implement the DAC
assures excellent matching and noise performance.
The SAR logic and timing sequence are driven by an
on-chip crystal oscillator that features both low jitter
and low power consumption. The obtained digital
codes are level-converted and passed to the CCU and
QRS detection modules for further processing.

3.3

QRS Detector

This block filters the incoming ECG signal to
remove the noise components and to locate QRS
complexes and estimate R-R interval.

Hardware Implementation

The proposed morphological filter is a modified
version of [6], which is used to remove noises in the
ECG signal and detects QRS complex. The filter
consists of a pair of opening and closing operations as
shown in Figure 6. Opening and Closing operations

Instrumentation Amplifier

The analog front-end is in charge of the noise
suppression, signal conditioning and amplification. As
shown in Figure 4, it consists of two stages. The first
226
behave as a filter that suppresses peaks and valleys and
are implemented using dilation and erosion operators.
The averaged output of opening and closing
operations is subtracted from the original input to
remove the wandering baseline drift.
The typical duration of QRS complex is around
0.06-0.1s which corresponds to a length of 25
samples, using a sampling rate of 256 Hz. Therefore
the dilation and erosion operations were done over a
duration of 25 samples. The input ECG samples are
serially loaded into the shift register and is added (or
subtracted, for erosion) with the corresponding
structure element g(x)[6]. The results are then
continuously compared using a comparator tree to
find the minimum (or maximum, for erosion) for the
dilation/erosion operation.

The filtered signal is further smoothened to remove
the impulse noise using a moving average filter. A
simple serial structure is used to implement the
moving average filter. This output is continuously
monitored by a threshold detector in order to detect
the R-peak. A new peak is detected by comparing the
received signal against an adaptive threshold. Every
time a new peak is detected, the current threshold is
updated and it corresponds to the newly detected
peak.
Find
Maximum
DATA_IN

0.3125

THRESHOLD

RESET CURRENT MAX

Compare

0~511

Training
Counter

TRNG_END_N

QRS detected

Fig 8 Adaptive threshold detector
The R-R interval of the received ECG signal is
measured using a binary counter which counts the
number of clocks between R peaks. Furthermore, the
heart rate is calculated by counting the number R
peaks in the last 60s. A parallel-to-serial converter is
included for sending out the heart rate through SPI
interface.

3.4

Fig 5. System architecture of the SAR ADC.
ADC O/P

Dilation
Erosion

Erosion
Dilation

Opening

Closing

Avg

Absolute Value
+ Moving Average

SPI
I/F
Filtered
ECG O/P

Morphological
Filter

Threshold
Detection

R-R Interval and Heart Rate Detector

QRS detect
Pulse

Heart Rate

Fig 6. QRS detection block diagram
SHIFT REGISTER
DATA IN

Generate
g(x)

F(1)
+/-

F(2)

F(25)

+/-

+/-

Find MAX (Dilation) / MIN (Erosion)
11

COMPARATOR TREE

Fig 7. Dilation/Erosion block structure

ADD/
SUB

Central Control Unit(CCU)

CCU block, as shown in Figure 9, generates
interface control signals for all blocks in the chip,
based on the host CPU commands. It does data
framing, CPU interrupt generation etc. based on state
machine control signals. This block also includes an
asynchronous FIFO with 8 Kb buffer, in-order to
interface the chip with different type of host CPUs.
Data from ADC and QRS block is continuously
written into the FIFO at the sampling frequency. The
FIFO write, read controllers generate status signals
such as “full”, “nearly full”, “empty”, “nearly empty”
based on the FIFO status. Therefore, as the FIFO gets
filled, CCU state machine, as shown in Figure 10,
interrupts the host CPU and request a read operation.
FIFO read and write pointers are implemented as
binary counters. In order to generate the FIFO status
signals by pointer comparison, the binary pointers are
converted to gray code equivalent and synchronized
across clock domains. This way the FIFO pointers are
protected from accidental overflow, underflow
conditions that might occur due to meta-stability
while comparing pointers across clock domains.

3.5

SPI Interface

The proposed device communicates with external
microcontroller via a duplex SPI slave interface,
whose structure is shown in Figure 11. The data link
carries the ECG and QRS codes, along with the
internal FIFO status flags. The command link delivers
227
the control vector from the external microcontroller to
the internal control registers. In addition to the driving
clocks for the I/O shift registers, the clock extraction
circuit also extracts the CCU clocks that pace the FIFO
reading thread.

LNA I/F

Generate Interrupts
& Control Signals for
all blocks
CCU State Machine

ADC I/F

QRS I/F

256x16
Write DPSRAM Read
Pointer 256x16 Pointer
Control DPSRAM Control

To SPI
block

Fig.12. Layout of ECG-on-Chip

4

Gray Code Pointer
Synchronization

This paper has presented the design of an ECG-onChip for wearable ECG devices. Low power ECG
acquisition and ADC circuits were implemented and
tested. A novel, low complexity architecture for QRS
detection, with high detection rate, has been proposed
and implemented. A central chip control unit with onchip SRAM buffer is developed for interfacing the
chip with a host CPU. The design consumes 9.6 W
and has a core area of 5.74mm2 in 0.35 m standard
CMOS process. High level of integration and low
power consumption make this design suitable for
development of low cost wearable cardiac monitoring
devices.

Fig 9 Central Control Unit (CCU)

5

Acknowledgements

This work was supported by the research grants
052-118-0057, 052-118-0060 and 072-118-0030 from
Singapore Agency for Science Technology and
Research (A*STAR).

Fig 10 CCU State Machine

6
[1]

[2]

[3]

Fig 11. Block diagram of the duplex SPI slave
interface.

3.6

Conclusion

[4]

Simulation results

[5]

The design was implemented by 0.35 m standard
CMOS process. The total core area is 5.74 mm2 and
layout is shown in Figure 12. The power consumption
of the chip is 0.85 W@1V for analog circuits and
ADC, 1.1 W@3.3V for QRS detector, and 7.6
W@3.3V for CCU and other digital circuits
(assuming 1MHz host CPU, but excluding SRAM).

[6]

228

References
X.Y. Xu, X.D. Zou, L.B. Yao, and Y. Lian, “A 1V 450-nW Fully Integrated Biomedical Sensor
Interface System,” 2008 Symp. VLSI Circuits
Dig. Tech. Papers, pp. 78-79, 2008.
X.D. Zou, X.Y. Xu, L.B. Yao, and Y. Lian, “A 1V 450-nW Fully Integrated Programmable
Biomedical Sensor Interface Chip,” IEEE
Journal of Solid-State Circuits, vol. 44, no. 4, pp.
1067-1077, Apr. 2009.
S.C. Jocke, J.F. Bolus, and et.al,”A 2.6-μW Subthreshold Mixed-signal ECG SoC,” 2009 Symp.
VLSI Circuits Dig. Tech. Papers, pp. 60-61,
2008.
N.V. Helleputte, J.M. Tomasik, W. Galjan,
A.M.Sanchez, and et.al “A flexible system-onchip (SoC) for biomedical signal acquisition and
processing,” Sensors and Actuators A, vol. 142,
pp.361–368, 2008.
K. Lasanen, and J. Kostamovaara, "A 1-V
Analog CMOS Front-End for Detecting QRS
Complexes in a Cardiac Signal" IEEE Trans. on
Circuits and Systems I, vol. 52, no. 12, Dec2005.
F. Zhang, and Y. Lian, "QRS Detection Based on
Multi-Scale Mathematical Morphology for
Wearable ECG Device in Body Area Networks,"
IEEE Transactions on Biomedical Circuits and
Systems, Vol.3, No.4, pp.220-228, Aug. 2009.

More Related Content

What's hot

Designing and Controlling of Motor by Interfacing RS232 with Microcontroller
Designing and Controlling of Motor by Interfacing RS232 with MicrocontrollerDesigning and Controlling of Motor by Interfacing RS232 with Microcontroller
Designing and Controlling of Motor by Interfacing RS232 with MicrocontrollerIRJET Journal
 
LED Chaser /Sequencer
 LED Chaser /Sequencer  LED Chaser /Sequencer
LED Chaser /Sequencer Haris Hassan
 
Pulse_Oximeter_SoC
Pulse_Oximeter_SoCPulse_Oximeter_SoC
Pulse_Oximeter_SoCTianhao Li
 
Cardio Logical Signal Processing for Arrhythmia Detection with Comparative An...
Cardio Logical Signal Processing for Arrhythmia Detection with Comparative An...Cardio Logical Signal Processing for Arrhythmia Detection with Comparative An...
Cardio Logical Signal Processing for Arrhythmia Detection with Comparative An...IRJET Journal
 
DE-NOISING OF ECG USING WAVELETS AND MULTIWAVELETS
DE-NOISING OF ECG  USING WAVELETS  AND MULTIWAVELETS     DE-NOISING OF ECG  USING WAVELETS  AND MULTIWAVELETS
DE-NOISING OF ECG USING WAVELETS AND MULTIWAVELETS ajayhakkumar
 
Team2_Presentation_ECE6414_S16
Team2_Presentation_ECE6414_S16Team2_Presentation_ECE6414_S16
Team2_Presentation_ECE6414_S16Tianhao Li
 
62 ijtet14003 pdf-libre
62 ijtet14003 pdf-libre62 ijtet14003 pdf-libre
62 ijtet14003 pdf-libreIJTET Journal
 
ENERGY-EFFICIENT LOW DROPOUT REGULATOR WITH SWITCHING MECHANISM AND COURSE RE...
ENERGY-EFFICIENT LOW DROPOUT REGULATOR WITH SWITCHING MECHANISM AND COURSE RE...ENERGY-EFFICIENT LOW DROPOUT REGULATOR WITH SWITCHING MECHANISM AND COURSE RE...
ENERGY-EFFICIENT LOW DROPOUT REGULATOR WITH SWITCHING MECHANISM AND COURSE RE...ijesajournal
 
AUTOMATIC WIRELESS POWER GRID CONTROL
AUTOMATIC WIRELESS POWER GRID CONTROLAUTOMATIC WIRELESS POWER GRID CONTROL
AUTOMATIC WIRELESS POWER GRID CONTROLshiv kapil
 
ANALYSIS OF ECG SIGNAL USING SELF ORGANISING MAP
ANALYSIS OF ECG SIGNAL USING SELF ORGANISING MAPANALYSIS OF ECG SIGNAL USING SELF ORGANISING MAP
ANALYSIS OF ECG SIGNAL USING SELF ORGANISING MAPMAHESH SONI
 

What's hot (20)

7SR120 Argus Relay
7SR120 Argus Relay7SR120 Argus Relay
7SR120 Argus Relay
 
Gas sensor
Gas sensorGas sensor
Gas sensor
 
Designing and Controlling of Motor by Interfacing RS232 with Microcontroller
Designing and Controlling of Motor by Interfacing RS232 with MicrocontrollerDesigning and Controlling of Motor by Interfacing RS232 with Microcontroller
Designing and Controlling of Motor by Interfacing RS232 with Microcontroller
 
Report
ReportReport
Report
 
Instrumentation amplifier in ECG
Instrumentation amplifier  in ECG Instrumentation amplifier  in ECG
Instrumentation amplifier in ECG
 
7SR210 Overcurrent Relay
7SR210 Overcurrent Relay7SR210 Overcurrent Relay
7SR210 Overcurrent Relay
 
Ni tutorial-6349-en
Ni tutorial-6349-enNi tutorial-6349-en
Ni tutorial-6349-en
 
7SR220 Overcurrent Relay
7SR220 Overcurrent Relay7SR220 Overcurrent Relay
7SR220 Overcurrent Relay
 
LED Chaser /Sequencer
 LED Chaser /Sequencer  LED Chaser /Sequencer
LED Chaser /Sequencer
 
Pulse_Oximeter_SoC
Pulse_Oximeter_SoCPulse_Oximeter_SoC
Pulse_Oximeter_SoC
 
Cardio Logical Signal Processing for Arrhythmia Detection with Comparative An...
Cardio Logical Signal Processing for Arrhythmia Detection with Comparative An...Cardio Logical Signal Processing for Arrhythmia Detection with Comparative An...
Cardio Logical Signal Processing for Arrhythmia Detection with Comparative An...
 
DE-NOISING OF ECG USING WAVELETS AND MULTIWAVELETS
DE-NOISING OF ECG  USING WAVELETS  AND MULTIWAVELETS     DE-NOISING OF ECG  USING WAVELETS  AND MULTIWAVELETS
DE-NOISING OF ECG USING WAVELETS AND MULTIWAVELETS
 
Led chaser
Led chaserLed chaser
Led chaser
 
Team2_Presentation_ECE6414_S16
Team2_Presentation_ECE6414_S16Team2_Presentation_ECE6414_S16
Team2_Presentation_ECE6414_S16
 
rupesh k10741
rupesh  k10741rupesh  k10741
rupesh k10741
 
62 ijtet14003 pdf-libre
62 ijtet14003 pdf-libre62 ijtet14003 pdf-libre
62 ijtet14003 pdf-libre
 
Ecg
EcgEcg
Ecg
 
ENERGY-EFFICIENT LOW DROPOUT REGULATOR WITH SWITCHING MECHANISM AND COURSE RE...
ENERGY-EFFICIENT LOW DROPOUT REGULATOR WITH SWITCHING MECHANISM AND COURSE RE...ENERGY-EFFICIENT LOW DROPOUT REGULATOR WITH SWITCHING MECHANISM AND COURSE RE...
ENERGY-EFFICIENT LOW DROPOUT REGULATOR WITH SWITCHING MECHANISM AND COURSE RE...
 
AUTOMATIC WIRELESS POWER GRID CONTROL
AUTOMATIC WIRELESS POWER GRID CONTROLAUTOMATIC WIRELESS POWER GRID CONTROL
AUTOMATIC WIRELESS POWER GRID CONTROL
 
ANALYSIS OF ECG SIGNAL USING SELF ORGANISING MAP
ANALYSIS OF ECG SIGNAL USING SELF ORGANISING MAPANALYSIS OF ECG SIGNAL USING SELF ORGANISING MAP
ANALYSIS OF ECG SIGNAL USING SELF ORGANISING MAP
 

Viewers also liked

Viewers also liked (12)

экг ятт б.халиунаа
экг ятт б.халиунааэкг ятт б.халиунаа
экг ятт б.халиунаа
 
ECG Machine
ECG MachineECG Machine
ECG Machine
 
Principles of electrocardiography ppt
Principles of electrocardiography pptPrinciples of electrocardiography ppt
Principles of electrocardiography ppt
 
ecg machine
ecg machineecg machine
ecg machine
 
Basics of ECG
Basics of ECGBasics of ECG
Basics of ECG
 
ST Segment Elevations in ECG
ST Segment Elevations in ECGST Segment Elevations in ECG
ST Segment Elevations in ECG
 
ECG Noise cancelling
ECG Noise cancelling ECG Noise cancelling
ECG Noise cancelling
 
Basics of ECG
Basics of ECGBasics of ECG
Basics of ECG
 
Basics of ECG.ppt dr.k.subramanyam
Basics of ECG.ppt dr.k.subramanyamBasics of ECG.ppt dr.k.subramanyam
Basics of ECG.ppt dr.k.subramanyam
 
ECG Basics
ECG BasicsECG Basics
ECG Basics
 
Systematic ECG analysis
Systematic ECG analysisSystematic ECG analysis
Systematic ECG analysis
 
Ecg Signal Processing
Ecg Signal ProcessingEcg Signal Processing
Ecg Signal Processing
 

Similar to An ECG-on-Chip for Wearable Cardiac Monitoring Devices

Senior Project Students' Presentation on ECG Monitoring
Senior Project Students' Presentation on ECG MonitoringSenior Project Students' Presentation on ECG Monitoring
Senior Project Students' Presentation on ECG MonitoringMd Kafiul Islam
 
Efficient signal acquisition in multi channel neural systems
Efficient signal acquisition in multi channel neural systemsEfficient signal acquisition in multi channel neural systems
Efficient signal acquisition in multi channel neural systemsAshwath Krishnan
 
A Wireless ECG Plaster for Real-Time Cardiac Health Monitoring in Body Senso...
A Wireless ECG Plaster for Real-Time Cardiac  Health Monitoring in Body Senso...A Wireless ECG Plaster for Real-Time Cardiac  Health Monitoring in Body Senso...
A Wireless ECG Plaster for Real-Time Cardiac Health Monitoring in Body Senso...ecgpapers
 
Ekeeda - Instrumentation Engineering
Ekeeda - Instrumentation EngineeringEkeeda - Instrumentation Engineering
Ekeeda - Instrumentation EngineeringEkeedaPvtLtd
 
Design of Digital Circuits for ECG Data Acquisition System Using 90nm CMOS Te...
Design of Digital Circuits for ECG Data Acquisition System Using 90nm CMOS Te...Design of Digital Circuits for ECG Data Acquisition System Using 90nm CMOS Te...
Design of Digital Circuits for ECG Data Acquisition System Using 90nm CMOS Te...Associate Professor in VSB Coimbatore
 
An ECG-SoC with 535nW/Channel Lossless Data Compression for Wearable Sensors
An ECG-SoC with 535nW/Channel Lossless Data Compression for Wearable SensorsAn ECG-SoC with 535nW/Channel Lossless Data Compression for Wearable Sensors
An ECG-SoC with 535nW/Channel Lossless Data Compression for Wearable Sensorsecgpapers
 
Project_Kaveh & Mohammad
Project_Kaveh & MohammadProject_Kaveh & Mohammad
Project_Kaveh & MohammadKaveh Dehno
 
A wireless electrocardiogram detection for personal health monitoring
A wireless electrocardiogram detection for personal health monitoringA wireless electrocardiogram detection for personal health monitoring
A wireless electrocardiogram detection for personal health monitoringEcwaytech
 
A wireless electrocardiogram detection for personal health monitoring
A wireless electrocardiogram detection for personal health monitoringA wireless electrocardiogram detection for personal health monitoring
A wireless electrocardiogram detection for personal health monitoringEcwaytechnoz
 
A wireless electrocardiogram detection for personal health monitoring
A wireless electrocardiogram detection for personal health monitoringA wireless electrocardiogram detection for personal health monitoring
A wireless electrocardiogram detection for personal health monitoringEcwayt
 
A wireless electrocardiogram detection for personal health monitoring
A wireless electrocardiogram detection for personal health monitoringA wireless electrocardiogram detection for personal health monitoring
A wireless electrocardiogram detection for personal health monitoringEcway2004
 
A wireless electrocardiogram detection for personal health monitoring
A wireless electrocardiogram detection for personal health monitoringA wireless electrocardiogram detection for personal health monitoring
A wireless electrocardiogram detection for personal health monitoringEcwaytech
 
A wireless electrocardiogram detection for personal health monitoring
A wireless electrocardiogram detection for personal health monitoringA wireless electrocardiogram detection for personal health monitoring
A wireless electrocardiogram detection for personal health monitoringEcwaytechnoz
 
Arc System Overview By Cristian Randieri
Arc System Overview By Cristian RandieriArc System Overview By Cristian Randieri
Arc System Overview By Cristian RandieriCristian Randieri PhD
 
Advanced lock in amplifier for detection of phase transitions in liquid crystals
Advanced lock in amplifier for detection of phase transitions in liquid crystalsAdvanced lock in amplifier for detection of phase transitions in liquid crystals
Advanced lock in amplifier for detection of phase transitions in liquid crystalsIAEME Publication
 
A 32 channel modular multi input data acquisition system for
A 32 channel modular multi input data acquisition system forA 32 channel modular multi input data acquisition system for
A 32 channel modular multi input data acquisition system forAlexander Decker
 
A 32 channel modular multi input data acquisition system for
A 32 channel modular multi input data acquisition system forA 32 channel modular multi input data acquisition system for
A 32 channel modular multi input data acquisition system forAlexander Decker
 

Similar to An ECG-on-Chip for Wearable Cardiac Monitoring Devices (20)

Senior Project Students' Presentation on ECG Monitoring
Senior Project Students' Presentation on ECG MonitoringSenior Project Students' Presentation on ECG Monitoring
Senior Project Students' Presentation on ECG Monitoring
 
ARRHYTHMIA.pptx
ARRHYTHMIA.pptxARRHYTHMIA.pptx
ARRHYTHMIA.pptx
 
Efficient signal acquisition in multi channel neural systems
Efficient signal acquisition in multi channel neural systemsEfficient signal acquisition in multi channel neural systems
Efficient signal acquisition in multi channel neural systems
 
A Wireless ECG Plaster for Real-Time Cardiac Health Monitoring in Body Senso...
A Wireless ECG Plaster for Real-Time Cardiac  Health Monitoring in Body Senso...A Wireless ECG Plaster for Real-Time Cardiac  Health Monitoring in Body Senso...
A Wireless ECG Plaster for Real-Time Cardiac Health Monitoring in Body Senso...
 
Ekeeda - Instrumentation Engineering
Ekeeda - Instrumentation EngineeringEkeeda - Instrumentation Engineering
Ekeeda - Instrumentation Engineering
 
Design of Digital Circuits for ECG Data Acquisition System Using 90nm CMOS Te...
Design of Digital Circuits for ECG Data Acquisition System Using 90nm CMOS Te...Design of Digital Circuits for ECG Data Acquisition System Using 90nm CMOS Te...
Design of Digital Circuits for ECG Data Acquisition System Using 90nm CMOS Te...
 
An ECG-SoC with 535nW/Channel Lossless Data Compression for Wearable Sensors
An ECG-SoC with 535nW/Channel Lossless Data Compression for Wearable SensorsAn ECG-SoC with 535nW/Channel Lossless Data Compression for Wearable Sensors
An ECG-SoC with 535nW/Channel Lossless Data Compression for Wearable Sensors
 
Project_Kaveh & Mohammad
Project_Kaveh & MohammadProject_Kaveh & Mohammad
Project_Kaveh & Mohammad
 
Description fpaa
Description fpaaDescription fpaa
Description fpaa
 
A wireless electrocardiogram detection for personal health monitoring
A wireless electrocardiogram detection for personal health monitoringA wireless electrocardiogram detection for personal health monitoring
A wireless electrocardiogram detection for personal health monitoring
 
A wireless electrocardiogram detection for personal health monitoring
A wireless electrocardiogram detection for personal health monitoringA wireless electrocardiogram detection for personal health monitoring
A wireless electrocardiogram detection for personal health monitoring
 
A wireless electrocardiogram detection for personal health monitoring
A wireless electrocardiogram detection for personal health monitoringA wireless electrocardiogram detection for personal health monitoring
A wireless electrocardiogram detection for personal health monitoring
 
A wireless electrocardiogram detection for personal health monitoring
A wireless electrocardiogram detection for personal health monitoringA wireless electrocardiogram detection for personal health monitoring
A wireless electrocardiogram detection for personal health monitoring
 
A wireless electrocardiogram detection for personal health monitoring
A wireless electrocardiogram detection for personal health monitoringA wireless electrocardiogram detection for personal health monitoring
A wireless electrocardiogram detection for personal health monitoring
 
A wireless electrocardiogram detection for personal health monitoring
A wireless electrocardiogram detection for personal health monitoringA wireless electrocardiogram detection for personal health monitoring
A wireless electrocardiogram detection for personal health monitoring
 
Arc System Overview By Cristian Randieri
Arc System Overview By Cristian RandieriArc System Overview By Cristian Randieri
Arc System Overview By Cristian Randieri
 
Advanced lock in amplifier for detection of phase transitions in liquid crystals
Advanced lock in amplifier for detection of phase transitions in liquid crystalsAdvanced lock in amplifier for detection of phase transitions in liquid crystals
Advanced lock in amplifier for detection of phase transitions in liquid crystals
 
ADC An Introduction
ADC An IntroductionADC An Introduction
ADC An Introduction
 
A 32 channel modular multi input data acquisition system for
A 32 channel modular multi input data acquisition system forA 32 channel modular multi input data acquisition system for
A 32 channel modular multi input data acquisition system for
 
A 32 channel modular multi input data acquisition system for
A 32 channel modular multi input data acquisition system forA 32 channel modular multi input data acquisition system for
A 32 channel modular multi input data acquisition system for
 

Recently uploaded

Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DaySri Ambati
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 

Recently uploaded (20)

Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 

An ECG-on-Chip for Wearable Cardiac Monitoring Devices

  • 1. 2010 Fifth IEEE International Symposium on Electronic Design, Test & Applications An ECG-on-Chip for Wearable Cardiac Monitoring Devices C.J. Deepu, X.Y. Xu, X.D. Zou, L.B. Yao, and Y. Lian Department of Electrical and Computer Engineering National University of Singapore, Singapore eleliany@nus.edu.sg Abstract This paper describes a highly integrated, low power chip solution for ECG signal processing in wearable devices. The chip contains an instrumentation amplifier with programmable gain, a band-pass filter, a 12-bit SAR ADC, a novel QRS detector, 8K on-chip SRAM, and relevant control circuitry and CPU interfaces. The analog front end circuits accurately senses and digitizes the raw ECG signal, which is then filtered to extract the QRS. The sampling frequency used is 256 Hz. ECG samples are buffered locally on an asynchronous FIFO and is read out using a faster clock, as and when it is required by the host CPU via an SPI interface. The chip was designed and implemented in 0.35 m standard CMOS process. The analog core operates at 1V while the digital circuits and SRAM operate at 3.3V. The chip total core area is 5.74 mm2 and consumes 9.6 W. Small size and low power consumption make this design suitable for usage in wearable heart monitoring devices. Keywords: Electrocardiography, QRS detection, ECG-on-Chip, Low Power design, Wearable devices. 1 successive approximation (SAR) ADC, a novel mathematical morphology [6] based QRS detector, a central control unit with 8K on-chip SRAM and 2 SPI interfaces. The chip was designed and implemented in 0.35 m standard CMOS process. The chip total core area is 5.74 mm2 and consumes 9.6 W. Small size and low power consumption make this chip suitable for usage in wearable heart monitoring devices. This paper is organized as follows. In Section II, the overall architecture of the proposed ECG chip is described. In Section III, the details of hardware implementation of individual blocks are given. Simulation results and power consumption details are presented in Section IV. Concluding remarks are given in Section V. Introduction Remote monitoring of ECG and other vital physiological signals continuously is becoming increasingly important as it can significantly reduce the costs and risks involved in personal healthcare. The main challenge involved in the development of a constant remote health monitoring system, as shown in Figure 1, is the development of low power and compact wearable sensors which can acquire, process and wirelessly transmit these signals to a monitoring device. A high level of integration is required to minimize the size and cost of such a sensor. Since the wireless transceiver is the major source of power consumption in such a system, it is desirable to do most of the signal processing tasks like ECG filtering and QRS detection locally, as this will reduce number of bits to be transmitted. There are several attempts towards the design of various discrete and integrated components of such systems [1-5]. In [1-2] an integrated sensor interface chip which does signal acquisition and data conversion for this application is presented. Raw ECG Signal Wearable Wireless Sensor ECG on Chip Wireless Transceiver & host CPU 2 Monitoring & Diagnosis Body Gateway Fig.1 Typical wearable wireless heart monitoring system In this paper, we present a fully integrated, low power chip for ECG signal processing in wearable sensors. The chip combines an instrumentation amplifier with programmable gain stage, a 12-bit 978-0-7695-3978-2/10 $26.00 © 2010 IEEE DOI 10.1109/DELTA.2010.43 System Architecture The system architecture of proposed ECG-on-Chip is shown in Figure 2. An instrumentation amplifier with programmable gain stage and embedded band-pass filtering function is used for signal acquisition. The amplified ECG signal is digitized by a successive approximation ADC. The sampling frequency of ADC used is 256 Hz. The QRS detection block extracts the QRS complexes from the ECG Signal. Traditionally, ECG noises such as baseline wander, electromyographic interference (EMG), power line noise, and motion artifacts are removed by digital filters in order to extract QRS. However, such approach is not well suited for wearable devices due to large area and power consumption. This chip uses a novel, low complexity QRS detector based on multiscale mathematical morphology [6] achieving very low power consumption. The QRS detector, as shown in Figure 3, computes the user’s heart rate by keeping 225
  • 2. track of the R-R interval and is updated once every 10s. This block has a dedicated SPI interface to readout the R-R interval. Programmable Instrumentation Amplifier Central Control Unit FIFO Ctrl SPI stage is a low noise front-end amplifier with bandpass function. The second stage is a programmable gain amplifier (PGA) adopting flip-over-capacitor technique [1-2]. Due to the ultra large resistance generated by the pseudo-resistors, it usually takes very long time for the front-end amplifier to settle down when power is just applied. In this design, two switches S1 and S2 are added. A reset signal will switch them on during startup of the system, which speeds up the settling of the front-end amplifiers significantly. CPU I/F I/F SRAM 512x16 Successive Approximation ADC 1 V Supply QRS detector, Heart Rate calculation, SPI Interface CPU I/F 3.3 V Supply Fig.2 ECG-on-Chip Architecture Multi-scale Morphological Filter Fig.4. Schematic of the low noise front-end amplifiers Enhancing QRS Adaptive Thresholding 3.2 Measure R-R Interval Fig.3 Multiscale-Morphology based QRS detection The central control unit (CCU) decodes the CPU commands and generates relevant control signals for each individual block in the chip. It contains an asynchronous FIFO, which is used to interface the chip with host CPU having faster clocks. The ECG data from ADC and heart rate from QRS detector is continuously written into the asynchronous FIFO @ 256 Hz and is read out by the host CPU at a higher clock speed once the FIFO is full. This interfacing mechanism saves system power as CPU can switch to sleep mode when the data is being written into the FIFO. As shown in Figure 2, the analog core operates at 1V supply while the digital circuits and SRAM operate at 3.3V. A lower supply voltage helps to save power in the analog part. The analog circuits are custom designed and digital circuits are designed using standard cell based design methodology. Level converters are implemented on chip, in order to interface between different voltage domains. 3 3.1 Successive Approximation ADC SAR ADC is known for its moderate accuracy, moderate speed, and low power overhead, thus it is well suited for this application. Figure 5 depicts the architecture of the proposed SAR ADC [1-2]. In each conversion cycle, the analog input is sampled through a bootstrapped switch and held on the capacitive DAC. Driven directly by the preceding buffer stage without the need of additional hold amplifier, the employed open-loop S/H achieves fast settling and small offset error at low power cost. The captured analog signal is then compared with a fixed reference REF and level-shifted by the DAC in a sequence of binary search. The fixed REF largely eliminates the dynamic offset associated with the comparator. The use of an array of capacitors to implement the DAC assures excellent matching and noise performance. The SAR logic and timing sequence are driven by an on-chip crystal oscillator that features both low jitter and low power consumption. The obtained digital codes are level-converted and passed to the CCU and QRS detection modules for further processing. 3.3 QRS Detector This block filters the incoming ECG signal to remove the noise components and to locate QRS complexes and estimate R-R interval. Hardware Implementation The proposed morphological filter is a modified version of [6], which is used to remove noises in the ECG signal and detects QRS complex. The filter consists of a pair of opening and closing operations as shown in Figure 6. Opening and Closing operations Instrumentation Amplifier The analog front-end is in charge of the noise suppression, signal conditioning and amplification. As shown in Figure 4, it consists of two stages. The first 226
  • 3. behave as a filter that suppresses peaks and valleys and are implemented using dilation and erosion operators. The averaged output of opening and closing operations is subtracted from the original input to remove the wandering baseline drift. The typical duration of QRS complex is around 0.06-0.1s which corresponds to a length of 25 samples, using a sampling rate of 256 Hz. Therefore the dilation and erosion operations were done over a duration of 25 samples. The input ECG samples are serially loaded into the shift register and is added (or subtracted, for erosion) with the corresponding structure element g(x)[6]. The results are then continuously compared using a comparator tree to find the minimum (or maximum, for erosion) for the dilation/erosion operation. The filtered signal is further smoothened to remove the impulse noise using a moving average filter. A simple serial structure is used to implement the moving average filter. This output is continuously monitored by a threshold detector in order to detect the R-peak. A new peak is detected by comparing the received signal against an adaptive threshold. Every time a new peak is detected, the current threshold is updated and it corresponds to the newly detected peak. Find Maximum DATA_IN 0.3125 THRESHOLD RESET CURRENT MAX Compare 0~511 Training Counter TRNG_END_N QRS detected Fig 8 Adaptive threshold detector The R-R interval of the received ECG signal is measured using a binary counter which counts the number of clocks between R peaks. Furthermore, the heart rate is calculated by counting the number R peaks in the last 60s. A parallel-to-serial converter is included for sending out the heart rate through SPI interface. 3.4 Fig 5. System architecture of the SAR ADC. ADC O/P Dilation Erosion Erosion Dilation Opening Closing Avg Absolute Value + Moving Average SPI I/F Filtered ECG O/P Morphological Filter Threshold Detection R-R Interval and Heart Rate Detector QRS detect Pulse Heart Rate Fig 6. QRS detection block diagram SHIFT REGISTER DATA IN Generate g(x) F(1) +/- F(2) F(25) +/- +/- Find MAX (Dilation) / MIN (Erosion) 11 COMPARATOR TREE Fig 7. Dilation/Erosion block structure ADD/ SUB Central Control Unit(CCU) CCU block, as shown in Figure 9, generates interface control signals for all blocks in the chip, based on the host CPU commands. It does data framing, CPU interrupt generation etc. based on state machine control signals. This block also includes an asynchronous FIFO with 8 Kb buffer, in-order to interface the chip with different type of host CPUs. Data from ADC and QRS block is continuously written into the FIFO at the sampling frequency. The FIFO write, read controllers generate status signals such as “full”, “nearly full”, “empty”, “nearly empty” based on the FIFO status. Therefore, as the FIFO gets filled, CCU state machine, as shown in Figure 10, interrupts the host CPU and request a read operation. FIFO read and write pointers are implemented as binary counters. In order to generate the FIFO status signals by pointer comparison, the binary pointers are converted to gray code equivalent and synchronized across clock domains. This way the FIFO pointers are protected from accidental overflow, underflow conditions that might occur due to meta-stability while comparing pointers across clock domains. 3.5 SPI Interface The proposed device communicates with external microcontroller via a duplex SPI slave interface, whose structure is shown in Figure 11. The data link carries the ECG and QRS codes, along with the internal FIFO status flags. The command link delivers 227
  • 4. the control vector from the external microcontroller to the internal control registers. In addition to the driving clocks for the I/O shift registers, the clock extraction circuit also extracts the CCU clocks that pace the FIFO reading thread. LNA I/F Generate Interrupts & Control Signals for all blocks CCU State Machine ADC I/F QRS I/F 256x16 Write DPSRAM Read Pointer 256x16 Pointer Control DPSRAM Control To SPI block Fig.12. Layout of ECG-on-Chip 4 Gray Code Pointer Synchronization This paper has presented the design of an ECG-onChip for wearable ECG devices. Low power ECG acquisition and ADC circuits were implemented and tested. A novel, low complexity architecture for QRS detection, with high detection rate, has been proposed and implemented. A central chip control unit with onchip SRAM buffer is developed for interfacing the chip with a host CPU. The design consumes 9.6 W and has a core area of 5.74mm2 in 0.35 m standard CMOS process. High level of integration and low power consumption make this design suitable for development of low cost wearable cardiac monitoring devices. Fig 9 Central Control Unit (CCU) 5 Acknowledgements This work was supported by the research grants 052-118-0057, 052-118-0060 and 072-118-0030 from Singapore Agency for Science Technology and Research (A*STAR). Fig 10 CCU State Machine 6 [1] [2] [3] Fig 11. Block diagram of the duplex SPI slave interface. 3.6 Conclusion [4] Simulation results [5] The design was implemented by 0.35 m standard CMOS process. The total core area is 5.74 mm2 and layout is shown in Figure 12. The power consumption of the chip is 0.85 W@1V for analog circuits and ADC, 1.1 W@3.3V for QRS detector, and 7.6 W@3.3V for CCU and other digital circuits (assuming 1MHz host CPU, but excluding SRAM). [6] 228 References X.Y. Xu, X.D. Zou, L.B. Yao, and Y. Lian, “A 1V 450-nW Fully Integrated Biomedical Sensor Interface System,” 2008 Symp. VLSI Circuits Dig. Tech. Papers, pp. 78-79, 2008. X.D. Zou, X.Y. Xu, L.B. Yao, and Y. Lian, “A 1V 450-nW Fully Integrated Programmable Biomedical Sensor Interface Chip,” IEEE Journal of Solid-State Circuits, vol. 44, no. 4, pp. 1067-1077, Apr. 2009. S.C. Jocke, J.F. Bolus, and et.al,”A 2.6-μW Subthreshold Mixed-signal ECG SoC,” 2009 Symp. VLSI Circuits Dig. Tech. Papers, pp. 60-61, 2008. N.V. Helleputte, J.M. Tomasik, W. Galjan, A.M.Sanchez, and et.al “A flexible system-onchip (SoC) for biomedical signal acquisition and processing,” Sensors and Actuators A, vol. 142, pp.361–368, 2008. K. Lasanen, and J. Kostamovaara, "A 1-V Analog CMOS Front-End for Detecting QRS Complexes in a Cardiac Signal" IEEE Trans. on Circuits and Systems I, vol. 52, no. 12, Dec2005. F. Zhang, and Y. Lian, "QRS Detection Based on Multi-Scale Mathematical Morphology for Wearable ECG Device in Body Area Networks," IEEE Transactions on Biomedical Circuits and Systems, Vol.3, No.4, pp.220-228, Aug. 2009.