MIT-BIH ECG Signal Management and Playback System Based on STM32

Author
ZhuXiaoLei
Advisor
ZhaoJie
School
Shandong Normal University
Major
Signal and Information Processing
Classification
TN911.7 Signal processing
Degree
Master's thesis
Year
2012
Downloads
97
Citations
1

Request the full text

Abstract

Now, with the changes in the habits of human life,the increasing work pressureand the exacerbated of surrounding environment pollution, cardiovascular disease hasgradually become the major diseases that threaten human life and health, and thenumber of its deaths accounts for about one-third of the world’s deaths. Therefore, theprevention and treatment of cardiovascular diseases become an important topic in thebiomedical community in recent years, with the mature of VT/VF recognition, lownsclassification on HRV, QT, TWA and other theoretical detection algorithms, the ECGalgorithm will tend to improve. And as the modern electronic science technology,computer software develop rapidly, Mobile Internet technology widely used, these haslaid a good foundation for the birth of a new remote ECG monitoring system.The MIT-BIH ECG signal management and playback system based on theSTM32 select standard ECG library data files as a sample signal to read and realtimereplay. A data management and playback application software for ECG used by VisualC++6.0 programming tools, displays the original data’s waveform in the hostcomputer screen, and adjusts the waveform according to actual needs. At the last thesoftware passes the original data to external hardware devices, to complete the DAconverter, and supplies ECG data and simulation test for ECG monitor equipment.This thesis has finished the following issues of the research work:First, this paper has explained the reason of the physiological signal principle andthe meaning of each ECG band, as well as described the international standard ECGdatabase and its format. Then it has explained how to read the header files, datafiles and set file. Specific reading process is: firstly, read the head flies of the originaldata into the PC memory, including the number of channels, sampling frequency,sampling points, data file name, data storage format, resolution of the ADC, theADC value of zero, the first sampling point values;then adopted a different method to read the data file into memory through the data storage format and the number ofchannels, and prepared the date ground for the use of the system;last,judge theexistence of the setting file associated with the header file. If it exited in the folder,read the setting file.The paper has took the cu arrhythmia database file cu01 whichincludes one channel and MIT breathing pause database file slp60 which includesseven channels as examples to illustrate the practical significance of each value in thesetting file.Secondly, this paper introduces the design of the management and playbacksystem, including the design of software, the design of hardware structure and thedevelopment of device driver programs.Software system platform which based onVisual C + + 6.0’s MFC framework main uses modular design, including data filemanagement, real-time playback ,data files settings, and the interval playback settingsfour major modules.The data file management module is mainly responsiblefor the open the file selected signal file.Real-time playback module sends the selectedsignal data to the hardware monitor, to complete D / A of the original data. At thesame time, the DA conversion of the data waveform simultaneously displayed on thehost computer in real time by using multi-threading technology;The data file settingsmodule displays some adjusted waveform by selecting the channel, the amplitude ofthe height of the setting and adjustment of the time width; The range of playbacksettings module selects the starting and the end point of the interval, and savesthe interval data. Property,Help, About are the other three auxiliary modules, whichare responsible for the show of the basic properties of open files, help files and theversion date. Hardware platform uses STM32F103RE which chosen new 32 microcontroller Cortex-M3 as the master and deceloped by STMicroelectronics. The devicereceives date by USB2.0 form host and DA these date in the trigger of the timer. USBhardware device driver uses WDM model, completed by Windows XP DDK(Build2600), DriverStudio 3.2 and VC 6.0 and other development tools.Finally the paper introduces the key technology in the realization of the systemdesign, including several key techniques: PC applications accessing a USB device,VCmulti-threading technology, synchronous communication mechanisem, and the double buffering technique in the MFC for screen drawing and the release of ReleaseVersionsof the PC program.In the MIT-BIH ECG management and playback system based on STM32, thefunctional effect of the PC software and STM32 hardware has beeninitially realized,and the device drivers which completed the communication has generated correctly.Successful establishment of the system set up a good foundation for development ofremote ECG monitor.

Table of contents

Summary 6-8 Abstract 8-11 first chapter 11-15 1.1 Research purpose and significance of this topic 11-12 1.2 Status and trends in domestic and international research on this topic main content 12-13 1.3 papers and chapters arrangements 13-15 Article ECG reading two chapters on basic principles and standards of the database 15-23 2.1 cardiac electrophysiological signals Fundamentals 15 2.2 standard ECG database introduces its readers 15-21 2.2.1 standard ECG database 15-16 2.2.2 database format standard ECG analysis 16-17 reading 2.2.3 standard ECG database 17-21 2.3 Summary 21-23 Chapter III design STM32 ECG data management system and based on the realization 23-47 3.1 overall system design 23 3.2 system hardware platform design 23-32 3.2.1 D / A hardware works and hardware design 24-28 3.2.1.1 D / A hardware overall design 24 3.2.1.2 USB module design 24-27 3.2. 1.3 D / A converter module design 27-28 3.2.2 D / A hardware firmware design 28-32 3.2.2.1 STM32_USB-FS-Device_Lib firmware library Introduction writing 29-30 3.2.2.2 firmware implementations 30-32 3.3 system software platform designed 32-44 3.3 .1 overview 32-35 3.3.2 system software module design 35-44 3.3.2.1 data File Management module 35-38 <br / > 3.3.2.2 range management module 38-39 3.3.2.3 data file Settings module 39-41 3.3.2.4 Real-time playback module 41-44 3.3.2.5 auxiliary module 44 3.4 driver design 44-46 introduction 3.4.1 device driver 45 3.4.2 system driver design 45-46 3.5 Summary 46-47 Chapter Four key technologies 47-51 4.1 PC applications to access hardware devices 47-48 4.2 MFC double buffering graphics technology 48-49 4.3 multithreaded programming 49-50 <br / > release 4.4 application software program released 50-51 Chapter summary and Outlook 51-53 References 53-55 study research work and articles published during the master's degree 55-57 Thanks 57

Related dissertations

  1. Design of16-bit Multi-channel Physiological Signal Acquisition System Based on STM32
    LiDaPeng ·Shandong Normal University ·2014 ·Master's thesis
  2. Design of A Dual-core Holter System Based on STM32and FPGA
    ZhangShaoHua ·Lanzhou University ·2013 ·Master's thesis
  3. The Design and Realization of a Ecg Collection and Transmission System Based on Bluetooth
    XuHan ·Donghua University ·2013 ·Master's thesis
  4. Design of MIT-BIH ECG Data Management System Based on Visual C++
    WangJiKui ·Shandong Normal University ·2010 ·Master's thesis
  5. Design and Research on Fire Detection and Alarm System Based on Multi-sensor Information Fusion Technology
  6. Design of Industrial Equipment State Wireless Monitoring System Based on STM32
    ZhangDongSheng ·Dalian University of Technology ·2013 ·Master's thesis
  7. The Design of Data Monitoring and Control System Based on USB and Lab VIEW
  8. Research on Techniques of Network Topologyandad Hoc Network in Cold Chain Transportation Monitoring System
    HanZuo ·Hebei University of Technology ·2013 ·Master's thesis
  9. The Research and Design of Infrared Sensor Monitoring System Based on STM32
    WangHuaJie ·Hunan University ·2013 ·Master's thesis
  10. High-precision In-pipeline Temperature Measurement System Based on STM32
    ShiWeiMing ·Dalian Jiaotong University ·2013 ·Master's thesis
  11. Design and Implementation of a Cooler of Data Acquisition and Control System Based on STM32
    SongYuanZong ·Dalian University of Technology ·2013 ·Master's thesis
  12. Design of Steam System Data Acquisition Sub-station
    FanZuo ·Dalian University of Technology ·2013 ·Master's thesis
  13. The Collection and Storage of Physiological Signals System Based on STM32
    LiuShuai ·Shandong Normal University ·2014 ·Master's thesis
  14. Design of Dynamic Pressure Controller Based on μC/OS-Ⅱ
  15. Design of Industrial Controller Based on EPA
    ZuoShengChao ·Dalian Jiaotong University ·2013 ·Master's thesis
  16. The Design of CNC System for Automatic Gemstone Grinder
  17. Design and Research on the Control System of Patient’s Self-guided Rehabilitation Robotic Arm
    HuJiaJia ·Zhejiang University ·2014 ·Master's thesis
  18. Design of the Embedded Internet Controller Based on STM32
  19. Research and Design of Information Processing System in Interferometric Fiber-optic Sensor
  20. Research of ECG Sensor Desien Technology
    ShaYiFeng ·Zhejiang University ·2013 ·Master's thesis