Design of a Simple 3-Lead ECG Acquisition System Based on MSP430F149

Similar documents
CM5000 DATASHEET v0.1

BLUETOOTH 2.0 UART MODUEL USER GUIDE (BT20_U)

BT2540 Bluetooth 4.0 BLE (CC2540) Module Users Manual

Agriculture Wireless Temperature and Humidity Sensor Network Based on ZigBee Technology

AIM: To create a project for implement a wireless communication protocol on an embedded system- ZigBee.

Research and Design of Universal Proportional Valve Controller

The Design of Wireless Data Collector based on WIA-PA Ligang Li 1,2,a, Zhongfeng Wang 1,2,b, Jianlong Huang 1,2,c

ELET114A Bluetooth Module DATASHEET. Website: / 7

RF4431 wireless transceiver module

Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their

Team 3. By: Miriel Garcia. Microcontrollers/ TI MSP430F5438A. ECE 480 senior Design. Application Note 4/3/15

The Design of the Sensor Node of IOT Based on SIM20 KUANG Xinghong 1, a,yao Zheyi 1, b, Huo haibo 1, c, Li junjun 1, d, Wu yanxiang 1, e

RN-174. WiFly GSX Super Module. Features. Description. Applications. rn-174-ds v1.1 4/20/2011

FAE Summit Interfacing the ADS8361 to the MSP430F449 Low Power Micro Controller

TEVATRON TECHNOLOGIES PVT. LTD Embedded! Robotics! IoT! VLSI Design! Projects! Technical Consultancy! Education! STEM! Software!

STM32 Cortex-M3 STM32F STM32L STM32W

RN-171-EK Evaluation Board

TI SimpleLink dual-band CC1350 wireless MCU

Applications of wireless sensor network in the agriculture environment monitoring

Hello, and welcome to this presentation of the STM32L4 power controller. The STM32L4 s power management functions and all power modes will also be

Design of Formaldehyde Monitoring System in Wireless Network Wang Renli 1, a. Liming2,b Zhu Lijun 1,c

Application Report. 1 Hardware Description. John Fahrenbruch... MSP430 Applications

RN-174 WiFly Super Module

RN-174. WiSnap M2 Super Module. Features. Description. Applications. ~ page 1 ~ rn-174-ds v1.1 6/1/2011

Time Synchronization and Communication Program of Wireless Sensor Network for Online Monitoring of Electrical Equipment

AT-501 Cortex-A5 System On Module Product Brief

Human heart rate detector based on photoelectric volume

Product Overview. ADNK-5033-TN24 Optical Mouse Designer s Kit. Description. Features of ADNK-5033-TN24

The Design of Embedded Remote Intelligent Automotive Monitoring System based on GSM. Lijun Gao

New CC430 combines leading MCU and RF technology

XMEGA Series Of AVR Processor. Presented by: Manisha Biyani ( ) Shashank Bolia (

[MG2420] MCU Module Datasheet. (No. ADS0705) V1.0

MICROPROCESSOR BASED SYSTEM DESIGN

nblue TM BR-MUSB-LE4.0-S2A (CC2540)

Design of the Refueling Card Information Transmission System Based On DTMF

AVR XMEGA TM. A New Reference for 8/16-bit Microcontrollers. Ingar Fredriksen AVR Product Marketing Director

Rayson Bluetooth Module

ARDUINO MEGA INTRODUCTION

Design of Greenhouse Temperature and Humidity Monitoring System Based on ZIGBEE Technique Ming Xin 1,a, Wei Zhongshan 1,b,*

RN-174. WiFly GSX Super Module. Features. Description. Applications. rn-174-ds v1.1 3/3/2011

Customize service and solution for wireless transportation products. Bluetooth Module Hardware Datasheet BLE1010C2P

Network Embedded Systems Sensor Networks Fall Hardware. Marcus Chang,

Mohammad Shaffi 1, D Ravi Nayak 2. Dadi Institute of Engineering & Technology,

Design and Implement of CH376 Driver Based on FPGA

Enhanced Data Rate (EDR) compliant with V2.0.E.2 of the. specification for both 2Mbps and 3Mbps modulation modes

Study of Smart Home System based on Zigbee Wireless Sensor System. Jie Huang 1

Design of Desert Plant Monitoring System Based on SI446X Wireless Radio Frequency Communication

MetaWatch Firmware Design Guide

High-Performance 32-bit

Arduino Uno R3 INTRODUCTION

Design of Underground Current Detection Nodes Based on ZigBee

DEVELOPMENT OF USER FRIENDLY DATA ACQUISITION AND ACTUATION SYSTEM ON EMBEDDED PLATFORM

Getting Started With the Stellaris EK-LM4F120XL LaunchPad Workshop. Version 1.05

LM780 Bluetooth Serial Data Module 25m Distance with On-Board Antenna

BLE MODULE SPECIFICATIONS

LM931 Bluetooth low energy Module

BLE Bluetooth Low Energy Modules SBC2112-B. Preliminary Specification. Version 1.0

Let s first take a look at power consumption and its relationship to voltage and frequency. The equation for power consumption of the MCU as it

Study ON Remote Medical Monitoring System Based ON MSP430 AND CC2530

LM961 Bluetooth Dual Mode Module Standalone (With Embedded Bluetooth v4.1 Stack)

Lab 1: I/O, timers, interrupts on the ez430-rf2500

Infineon C167CR microcontroller, 256 kb external. RAM and 256 kb external (Flash) EEPROM. - Small single-board computer (SBC) with an

Intelligent Pressure Measuring System

Clock and Fuses. Prof. Prabhat Ranjan Dhirubhai Ambani Institute of Information and Communication Technology, Gandhinagar

PXA270 EPIC Computer with Power Over Ethernet & Six Serial Protocols SBC4670

Hello, and welcome to this presentation of the STM32 Low Power Universal Asynchronous Receiver/Transmitter interface. It covers the main features of

RN-174. WiFly GSX Super Module. Features. Description. Applications. rn-174-ds v1.1 1/24/2011

A Time Synchronized Wireless Sensor Tree Network using SimpliciTI

RL78 Ultra Low Power MCU Lab

HZX N03 Bluetooth 4.0 Low Energy Module Datasheet

RF4432 wireless transceiver module

Comparison of different microcontroller development boards for power electronics applications

Amarjeet Singh. January 30, 2012

Ali Karimpour Associate Professor Ferdowsi University of Mashhad

LM930 Bluetooth low energy Module (with U.FL Connector) Standalone (With Embedded Bluetooth v4.1 Stack)

Figure 1. The SNAP software stack.

University Program Advance Material

WIRELESS ECG. V.RAGHUVEER, Dept of ECE. BRINDAVAN INSTITUTE OF TECHNOLOGY&SCIENCE, Kurnool

Design of analog acquisition and storage system about airborne flight data recorder

CN310 Microprocessor Systems Design

Product Specification

An Active RFID Tag for Outdoor Billboard Management

EtherCAT Data Acquisition System Based on DMA Mode

Ali Karimpour Associate Professor Ferdowsi University of Mashhad

BLE232: Manual Copyright 2014 taskit GmbH

ACT-IR8200P. IrDA Compliant Protocol Processor Preliminary Specification. Copyright 2003 ACTiSYS Corporation, All Rights Reserved

Microcontroller basics

Based on a Single Chip Microcomputer to Realize Electronic Clock Design and Analysis

Product Specification

Microcontrollers. Principles and Applications. Ajit Pal +5 V 2K 8. 8 bit dip switch. P2 8 Reset switch Microcontroller AT89S52 100E +5 V. 2.

BT-22 Product Specification

TEMPERATURE AND HUMIDITY MONITOR AND CONTROL SYSTEM

Remote Keyless Entry In a Body Controller Unit Application

MSP430 Microcontroller Basics

Z8 Encore! XP F1680 Series 8-Bit Flash Solution with Extended Peripherals

Hardware design of a submerged buoy system based on electromagnetic inductive coupling

Universität Dortmund. IO and Peripheral Interfaces

ZigBee Compliant Platform 2.4G RF Low Power Transceiver Module for IEEE Standard. DATA SHEET Version B

AVR XMEGA Product Line Introduction AVR XMEGA TM. Product Introduction.

Wireless-Tag WT51822-S4AT

Transcription:

2011 International Conference on Computer and Automation Engineering (ICCAE 2011) IPCSIT vol. 44 (2012) (2012) IACSIT Press, Singapore DOI: 10.7763/IPCSIT.2012.V44.15 Design of a Simple 3-Lead ECG Acquisition System Based on MSP430F149 Peng Wang * and Zhigang Lv School of Electronic and Information Engineering Xi' an Technological University,710032,Xi an China Abstract. Cardiovascular disease is one of the major diseases which threat human health, and ECG is the primary means of diagnosis of cardiovascular disease. This paper mainly introduces the design procedure of a simple 3-lead ECG acquisition system based on MSP430F149, introduces the structure and function of the device, finally introduces the function of each module, circuit design and the program design. The device completes the process of data acquisition using the ultra-low power microcontroller MSP430F149, and collects ECG signal to A/D sampling and conversion. It sends the ECG information to the patient phone by the Bluetooth module. This paper explains the software design process in detail, and the realization of a hardware design and optimization. The main content of software design is the data collection and the serial communication module. The software design includes the main program, timer-a interrupt, button interrupted, A/D converter, and serial communication program. This design can create a new device of 3- Lead ECG. system. Keywords: ECG; Data Acquisition; Bluetooth; MSP430F149 1. Introduction Cardiovascular disease is one of the major diseases which threat human health; ECG is the primary means of diagnosis of cardiovascular disease. Conventional ECG monitor is expensive, and cable transmission is not convenient, it can t meet consumer demand of most patients. This paper examines the simple 3-lead ECG acquisition system which transmits the ECG information to the patient phone by the wireless communication ways, and sends the patient information to the community hospital diagnostic system via mobile phone. The device is easy to use, has low power consumption and it can meet the needs of continuous work. It has low price, can be purchased from the general population, and it s the best choice for applications of home applications, community medical services. This paper introduces the design procedure of the hardware and software using MSP430F149. The software design includes the main program, timer A interrupt, button interrupted, A/D converter, and serial communication program [1]. 2. System Components It introduces each components of the system in detail, including structure model of the hardware and software design. The simple 3-lead ECG system collects signal by the sensor, the signal is amplified and filter, then sampled and conversed by MSP430F149 internal A/D module. The conversed data is sent to the PC by Bluetooth module, the PC analysis and process the collected signal. The diagram of system components is shown as figure 1. * Corresponding author. Tel.: +86-13991917552 E-mail address: wang_peng_1@126.com. Fig. 1 Diagram of System Components 86

3. Hardware Design The core part of the device is MCU chip. It selects the Texas Instruments MSP430 family of ultra lowpower microcontrollers MSP430F14x which consist of several devices featuring different sets of peripherals targeted for various applications. The chip features a powerful 16-bit RISC CPU, 16-bit registers, and constant generators that attribute to maximum code efficiency. The digitally controlled oscillator (DCO) allows wakeup from low-power modes to active mode in less than 6 µs. So it meets the requirements of this design. 3.1. MSP430F149 Circuit Design The MSP430x149 is microcontroller configurations with two built-in 16-bit timers, a fast 12-bit A/D converter, one or two universal serial synchronous communication interfaces (USART), and 48 I/O pins. The typical applications include sensor systems that capture analog signals, convert them to digital values, and process and transmit the data to a host system. It has low supply voltage range, 1.8 V to 3.6 V. The minimum system circuit of MSP430F149 is shown as figure 2 [2]. Fig. 2. MSP430F149 Minimum System Circuit 3.2. Bluetooth Interface design The Bluetooth module selects GL-6B which is a Class 2 Bluetooth module using BlueCore4-AudioROM chipset from leading Bluetooth chipset supplier Cambridge Silicon Radio. GL-6B interfaces up to 8Mbit external Flash memory. When used with the CSR Bluetooth software stack, it provides a Bluetooth specification V2.0+EDR fully compliant system for data and voice communications. The operating frequency band of GL-6B is 2.4GHz - 2.48GHz unlicensed ISM band. Its operating voltage is 3.3V. The Bluetooth interface circuit is shown as figure 3. 1 2 3 4 5 6 7 8 9 10 DVCC 11 12 13 C16 10u RXD TX D U10 GL-6B TX RX CTS RTS CLK OUT I SC AI0 AI1 RESET 3.3V GD GD D- CSB SI SO CLK D+ GD PI11 PI10 PI9 PI8 PI7 PI6 PI5 PI4 PI3 PI2 PI1 PI0 GD 34 33 32 31 30 29 28 27 26 25 24 23 22 PIO7 PIO6 DGD 14 15 16 17 18 19 20 21 DGD Fig. 3. Bluetooth interface circuit 3.3. ADC Interface design The msp430f149 has 12-Bit A/D Converter with Internal reference, sample-and-hold and auto scan feature. The ADC12 module supports fast, 12-bit analog-to-digital conversions. The module implements a 12- bit SAR core, sample select control, reference generator and a 16 word conversion-and-control buffer. The conversion and control buffer allows up to 16 independent ADC samples to be converted and stored without any CPU intervention. The ADC interface circuit is shown as figure 4 [3]. 87

Fig. 4 ADC Interface Circuit 3.4. Power module design The device is a portable instruments, so it powered by a battery. The battery provides 3.3V power; the MSP430F149 has low supply voltage range, 1.8 V to 3.6 V. 4. Software Design The workbench of the design is IAR Embedded Workbench. IAR Embedded Workbench Kick start for MSP430 is an Integrated Development Environment (IDE) for building and debugging embedded applications for MSP430 microcontrollers. IAR Embedded Workbench with its optimizing C/C++ compiler provides extensive support for devices in MSP430X families and generates very compact and efficient code. Built-in plug-in to various hardware debug systems and RTOS are included in the standard edition. The main program of the design is data acquisition program and data transmission program. The system software flow chart is shown as Figure 5. Before establish the Bluetooth link and the sampling time hasn t reached the situation, it begin collect data, start Ad conversion; then select one signals of the three signals. After ADC conversion it open two buffers A and B in the storage data and determine which data is stored to the buffer by determining the buffer flag. After received 1500 bytes in the buffer it set the sending flag to 1. The ADC conversion flow chart is shown as Figure 6 [4]. Begin System initialization Wake up Bluetooth Establish a Bluetooth connection Bluetooth Sleep? Open Interrupt Data Acquisition Data transmission Send completed? End Fig. 5 Software Flow Chart 88

Begin Set ADC12CTL0 Start ADC conversion Check ADC12BUS=0? Check ADC12IFG=0? Close ADC12 EC=0 The results assignment to AD_DATA End Fig. 6 ADC Conversion flow Chart The wireless communication technology of this design is Bluetooth technology. MSP430F149 which used in the 16MHz frequency uses serial communication with the Bluetooth module and the asynchronous serial communication baud rate is 460800. The serial communication protocol is shown as table 1. Table 1. serial communication protocol Command Type Command Frame Command functions Send Data Frame Receive Data Frame Receive Data Frame 5. Debugging and Simulation 0XFF 0XCC 0XCC 0XFF 0XFF 0X11 0X11 0XFF 0XFF 0X00 0X00 0XFF Request to link with the Bluetooth success link with the Bluetooth Disconnect link with the Bluetooth 5.1. Theory Test The theory test of the systems is carried out through the signal generators. The debug step is: connect JTAG interface to the simulator and PCB board accurately; plug the Bluetooth adapter with a USB socket into the main chassis; insert the lead wire in the signal generator and open the signal generator; When need to download the program, first open the program, compile and then press the switch, click on the download command, the program will be downloaded successfully. Secondly press the switch, the power light flashes normally, and open the Bluetooth connection interface, search for Bluetooth devices, then establish the Bluetooth links. After the success of a link, open the host computer interface, clicking on the link command. Eventually the correct waveform is shown on PC. The waveform of theory test is shown as figure 7 [5] [6]. 89

Fig. 7 Waveform of Theory Test 5.2. Human testing The next step is connects the device to the human body for true testing. There are two cases of the real test, one is static test another is dynamic test. The waveform of static test is shown as figure 8. The waveform of dynamic test is shown as figure 9. Fig. 8 Waveform of Static Test Fig. 9 Waveform of Dynamic Test According to figure 7 and figure 8 shows, the measured ECG shape is regulation when people in the static (i.e., moving as little as possible), however the measured ECG shape is disarray when people in the static (i.e., move around and talk). According to the above test, the patient when using this product, we recommend that it best to sit-ins, walk less, and the measuring effect will be perfect [7]. 6. Conclusions In summary, the traditional monitor cable transmission is not convenient, expensive, so it can t meet the needs of most patients. This paper introduces the design process of a 3-Lead ECG acquisition device. The traditional monitor cable transmission is not convenient, expensive, so it can t meet the needs of most patients. This device uses wireless transmission, powered by the battery power, it can work long hours and has low cost, low power consumption, so it s the best option of family and community services applications. This device can create new areas of ECG acquisition system. 90

7. References [1] Don WenQuan, Wang RenHuang. The Low-power design of MSP430 MCU system. MICROCOTROLLERS & EMBEDDED SSTEMS. 2003.1 [2] ZHAG Shi Dong Jian-wei WAG Jun-hui ZHAO Shan-guo U Jian-xi. Low-power design of wireless ECG monitor,. CHIESE MEDICAL EQUIPMET JOURAL.2006.26 [3] CHE Jing CHEG an XIAG Kui. Design and Simulation of Low Power Portable ECG Monitor. JOURAL OF WUHA UIVERSIT OF TECHOLOG(IFORMATIO & MAAGEMET EGIEERIG). 2009 31(3) [4] UA Zheng Dao ZHU Can an. Design of dynamic electrocardiograph acquisition system based on MSP430, APPLICATIO OF ELECTROIC TECHIQUE, 2008 34(12) [5] TI Instruments Incorporation. MSP430x13x MSP430x14x MIXED SIGAL MICROCOTROLLER [6] Rajgopal S. Challenges in Low-Power Microprocessor Design. 9th International Conference on VLSI Design, Jan.1996:329-330 [7] Hattori T. Design Methodology of Low-Power Microprocessors. Design Automation Conference,Jan.2003:390-393 91