Single-channel ECG telemetry system based on infrared transmission

Publisher:科技独行者Latest update time:2014-11-13 Source: 21icKeywords:PIC16C71 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
Electrocardiogram is an important means of diagnosing heart disease. However, due to various reasons, it is difficult to capture abnormal electrocardiograms with ordinary electrocardiographs. Although radio electrocardiogram monitors or 24-hour dynamic electrocardiogram monitors can effectively solve this problem, they are expensive and difficult to penetrate into families. Infrared light biotelemetry has the advantages of strong anti-electromagnetic interference ability, simple transmitting and receiving equipment, low cost, easy debugging; no need for frequency registration; easy to use and safe. With the rapid development of computer technology, computers have gradually penetrated into families, providing a foundation for the development of home medical monitoring equipment with analysis and processing capabilities. To this end, we have developed a single-channel infrared electrocardiogram telemeter, which uses computers as analysis, processing, display, storage, and communication means, and uses infrared light as a transmission medium to monitor the subjects in real time. Through a modem, the telemetry data can also be transmitted to the medical center for analysis and diagnosis by medical experts. It is an ideal telemedicine front end and home medical monitoring equipment.

1 System design and working principle

This machine uses a computer as a receiving and processing terminal to complete the functions of data reception, processing, storage, communication, etc., and monitors the subjects in real time.

The system adopts PCM-ASK modulation. That is, the first modulation adopts pulse code modulation, and the second modulation adopts amplitude keying modulation. PCM modulation has the characteristics of high precision and strong anti-interference. ASK modulation can not only improve the ability to resist ambient light and electromagnetic interference, but also realize multiple telemetry systems working simultaneously in the same area without interfering with each other by selecting different subcarrier frequencies. Moreover, since the infrared transmitting tube works in the switching state, it can not only reduce the power consumption of the transmitting tube, reduce the volume and weight of the transmitter, increase the working distance, and obtain a longer working time, but also the modulation circuit of ASK modulation is simple, easy to implement, convenient for crystal frequency stabilization, and improve the reliability of the system. After demodulation at the receiving end, the data directly enters the serial port of the computer, which greatly simplifies the hardware structure and is easy to use. The

PCM modulator is implemented by a single-chip microcomputer, which completes signal sampling, A/D conversion, and data serial output. After comparison, we used PIC16C71 produced by MICROCHIP. It is a low-cost, low-power, high-performance 8-bit single-chip microcomputer with an on-chip A/D converter and program memory. Its instruction structure is refined, the speed is fast, the size is small, and it is an 18-pin package with 4 analog input channels, 13 I/O ports, and 4 interrupt sources. Under the condition of 5V power supply and main frequency of 4MHz, the working current is less than 2mA.

The receiving end uses the integrated infrared receiving module TEMS5380 as the infrared receiving part. It integrates infrared reception, conversion, filtering, amplification, shaping, and demodulation. It has the characteristics of small size, high sensitivity, low power consumption, reliable operation, and convenient debugging [2]. Its center frequency is 38kHz, and the data transmission rate can reach 3000 baud. The system composition block diagram is shown in Figure 1.



                     
                           Figure 1 System composition block diagram

The working process of the system is as follows: The ECG amplifier and level adjustment circuit amplify the ECG signal and adjust it to the level required by the A/D converter. The single-chip microcomputer samples the ECG signal at a sampling rate of 200Hz, performs A/D conversion, and shifts the A/D conversion result with the start bit and stop bit according to the serial communication format for output. Among them, there is 1 start bit, 8 data bits, and 1 stop bit. The code rate is 2400bit/s. In order to facilitate the identification of the start bit, the stop bit is transmitted immediately after the above 10-bit code is transmitted until the next A/D conversion is performed. The serial output data controls the operation of the gate circuit. The oscillator divider generates the subcarrier frequency. When the serial data code is at a high level, the gate circuit is opened, and the subcarrier signal passes through the gate circuit to drive the infrared light-emitting tube to emit light. The driving circuit is a VMOS tube, which has good switching characteristics, large output current, and simple circuit.

After the infrared receiving module receives the signal, it converts, filters, amplifies, demodulates, and shapes it to output a serial data stream. In order to increase the telemetry range of the system, 6 infrared transmitting tubes are connected in series at the transmitting end, and 4 infrared receiving modules are connected in parallel at the receiving end, and their positions are staggered from each other. The output of the infrared receiving module is added by the OR gate, and then converted to the level required for serial communication through the level conversion, and input into the computer through the computer serial port for analysis and processing.

The computer works in two modes: real-time monitoring mode and data playback mode. Before this, the subject's information can be input. In real-time monitoring mode. The monitor displays the ECG waveform and heart rate in real time. When an abnormal ECG is detected, the computer sounds an alarm. Pressing the storage key at any time can store the data of 50 seconds before the key is pressed into the hard disk. In one monitoring process, up to 21 minutes of data can be stored. If the freeze key is pressed, the ECG waveform is frozen on the screen, and the ECG waveform can be printed out. After that, you can press the continue key to continue monitoring or press the exit key to exit the monitoring mode. When exiting the monitoring mode, the analysis results can be displayed.

In the playback mode, enter the file name, you can freely select any ECG data stored in the hard disk for waveform playback, or transmit the data to the rescue center through the network for further analysis and diagnosis by experts.

2 Software Design

 The software design adopts modular design and menu operation. Its real-time monitoring workflow is shown in Figure 2.

                                   

                                       Figure 2 System software main flow chart Figure

3 Experimental results

The ECG amplifier at the transmitting end is powered by ±5V, the infrared transmitting tube is powered by +9V, and the rest is powered by 5V. The receiving end is powered by +5V. The working current of the infrared transmitting tube is 34mA. The telemetry distance of the system is up to 41m. In a hall of 8m×6m×3m, the system can receive signals normally regardless of the position of the transmitting and receiving parts. It can operate reliably under strong lighting and strong electromagnetic interference, and the signal waveform is clear, indicating that the system has strong resistance to ambient light and electromagnetic interference.

4 Conclusion

Experiments have shown that the system has high precision, strong anti-interference, simple structure, convenient operation, safe use, and long working distance. By selecting subcarriers of different frequencies, multiple telemetry systems can be operated simultaneously in the same room; by increasing the rate of the receiving part, the sampling rate of the signal can be increased, and the telemetry of multiple physiological signals can be realized. It can be used as an ideal and practical home medical monitoring equipment and telemedicine front end, and is a beneficial attempt and exploration of the application of infrared telemetry technology in clinical practice. The

transmitting end of this system uses a single-chip microcomputer with an A/D converter, and the infrared receiving part uses an integrated infrared receiving module to simplify the system structure. However, the transmission rate of the infrared receiving module is not high enough, so the sampling rate of the signal is limited. With the development of devices, integrated components with higher transmission rates appear, and this problem can be solved. Alternatively, the infrared receiving part of the system can use discrete components to effectively solve this problem.
Keywords:PIC16C71 Reference address:Single-channel ECG telemetry system based on infrared transmission

Previous article:Research on the measurement method of liquid viscosity based on falling ball method
Next article:New design scheme for car wireless remote control door opening system

Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号