Font Size: a A A

MIT-BIH ECG Signal Management And Playback System Based On STM32

Posted on:2013-06-08Degree:MasterType:Thesis
Country:ChinaCandidate:X L ZhuFull Text:PDF
GTID:2248330371969544Subject:Signal and Information Processing
Abstract/Summary:PDF Full Text Request
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.
Keywords/Search Tags:STM32, USB device, ECG, D/A transformation, Real-time playback
PDF Full Text Request
Related items