Solution of ECG Defibrillation Simulation Generation System Based on ARM9

Publisher:王岚枫Latest update time:2012-06-26 Source: 21ic Keywords:ARM9 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

With the development of society, people's awareness of medical care is getting stronger and stronger, so the training of doctors has become a very important link. As a major aspect of doctor training, ECG defibrillation technology can often save people from danger in an emergency if the operation is standardized and the movements are skillful. During training, if the scene of emergency defibrillation can be realistically simulated, it will have a good learning effect. Therefore, in emergency and invasive clinical operation training, medical simulation teaching is increasingly showing its advantages of low cost, high repeatability, high teaching efficiency and compliance with medical ethics requirements.

The defibrillation simulation system can be selected from 34 states (including adults and children) and can also be connected to a medical monitor to make the defibrillation simulation more realistic. Students can practice defibrillation with different energies, which also makes it easier for teachers to test students' learning effects.

The system is developed based on the relevant principles of electrocardiogram and the signal synthesis principle of the monitor, and strictly follows the relevant medical regulations. The waveform generated achieves the purpose of medical teaching. A more realistic effect is achieved at the key points of the relevant pathological electrocardiogram. When the system receives the high-voltage defibrillation signal, the corresponding waveform transformation is performed according to the system's preset settings. The system can be used as a training tool for medical training institutions to enable trainees to quickly master the method of ECG defibrillation. The system is used in conjunction with emergency simulators and monitors, and has broad market prospects.

The ECG defibrillation simulation system introduced in this paper is based on ARM9 as the control core, making full use of the rich I/O resources and powerful processing functions of ARM9. It adopts an embedded development solution and comprehensively considers the versatility and usability of the system. The amplitude of the system output signal is 0-5 mV, which can continuously output ventricular and supraventricular premature beats, etc. It can also generate a square wave with a period of 1 s, a pulse width of 100 ms, and an amplitude of 1 mV. It is convenient for calibrating the monitor, and the signals are all output using three-lead synchronous signals.

1 System structure and design

The system mainly includes ARM9 central processing unit, high voltage defibrillation signal acquisition module, D/A conversion module, monitor signal matching module, ECG waveform simulation and data extraction, application design, etc. This system uses ARM9 embedded development platform. The following is the main structure and characteristics of ARM9 processor.

(1) 32-bit fixed-point RISC processor, improved ARM/Thumb code interleaving, enhanced multiplier design, and support for real-time debugging;

(2) On-chip instruction and data SRAM, and the memory capacity of instruction and data is adjustable;

(3) On-chip instruction and data cache capacity ranges from 4 KB to 1 MB:

(4) Setting up the Protoction Unit is very suitable for segmenting and protecting memory in embedded applications;

(5) Using AMBA AHB bus interface to provide a unified address and data bus for peripherals;

(6) Support external coprocessors, and the instruction and data buses have simple handshake signaling support;

(7) Support standard basic logic unit scan test method;

(8) Support BIST (Built-in-self-test);

(9) Support embedded trace macro units and real-time trace of instructions and data.

The overall design of the ECG defibrillation simulation system is shown in Figure 1.

2 System Hardware Design

This part is mainly divided into ARM9 hardware platform, D/A conversion, filtering circuit, and high-voltage defibrillation signal acquisition. The system hardware connection diagram is shown in Figure 2. Under the control of ARM9, the system converts waveform data into analog quantity for output by D/A conversion. When receiving the high-voltage acquisition signal, the processor will convert and output another ECG waveform.

2.1 D/A conversion and resistor attenuation network

This part is the core of the system. In order to ensure the stability of the system and the requirements of ECG signals, the D/A conversion chip uses an 8-bit parallel DAC0832 chip, which is powered by a single 12 V power supply. Each DAC has its own independent reference input to transform the data provided by ARM9. The output part uses a 4th-order Butterworth filter. The output waveform is attenuated to obtain the required ECG signal. The peak value of the output waveform can reach 10 V after active filtering, and the voltage output range of 0 to 5 mV is obtained through a resistor voltage divider network. Considering that three D/A channels are used, if each channel occupies 8 I/O ports, plus several control ports, the number of I/O ports provided by the processor is far from meeting the requirements, so it is planned to use a shared data port and an external I/O port chip select method to achieve it, which can save 16 I/O ports and meet the requirements of signal output synchronization.

2.2 High voltage signal acquisition circuit design

This part collects the high-voltage discharge signal from the defibrillator. Since the discharge current of the high-voltage defibrillation signal is bidirectional and the discharge time is only 4 ms, the transient voltage can reach 3,000 V, so full consideration must be given to safety performance. The circuit diagram of this part is shown in Figure 3. [page]

The circuit uses high-power resistors and transient suppression diodes to pre-process the high-voltage discharge signal, reduce the high-voltage signal to a relatively small range, convert the current into a unidirectional flow through the rectifier circuit, and then input it to the I/O port of ARM9 through optocoupler isolation to protect the processor.

3 Software Design

The system's hardware lays a solid foundation for the realization of basic functions and extended functions. The design of the software system is to make full use of the resources of the hardware platform to achieve orderly operation of software operations.

Software development involves the following two aspects: modification and improvement of interface driver program; development of application layer software. All application layer programs are developed in C++.

Figure 4 is a software module structure diagram of the entire system.

3.1 D/A driver and high voltage signal acquisition driver

The device driver is the interface between the operating system kernel and the machine hardware. The device driver shields the application from the details of the hardware, so that from the application's point of view, the hardware device is just a device file, and the application can operate the hardware device like an ordinary file. In the past, when developing applications, there was a main function as the entry point of the program, but there was no main function when developing drivers. The module is loaded when the insmod command is called. The entry point at this time is the init module function, and the device registration is usually completed in this function. Similarly, the module is unloaded when the rmmod function is called. The entry point at this time is the cleanup module function, and the device is unloaded in this function. After the device is registered and loaded, the user's application can perform certain operations on the device, such as read, write, etc., and the driver is used to implement these operations. When the user application calls the corresponding entry function, it performs related operations. The init roodule entry point function does not need to complete other functions such as read, write, etc.

The main functions of the driver are as follows:

3.2 System application design and implementation

The application of this system is designed based on Qt/Embedded. Currently, there are Microwindows, MiniGUI, and Qt/Embedded embedded GUI systems. Qt/Embedded continues the powerful functions of Qt and can run on embedded Linux operating systems deployed on a variety of different processors. Qt/Embedded provides a programming mechanism for signals and slots. The Qt used in this part is a C++ class library for creating GUI programs. The main work of writing Qt applications is to write user classes based on the existing Qt classes. This part is mainly divided into the implementation of the waveform interface and the implementation of user key control. The waveform display uses Qt's function class library Qpainter. Since the waveform interface displays two ECG waveforms, a delay effect will occur, so a multi-threaded mechanism coordination is introduced. Qt supports multi-threading, has a platform-independent thread class, thread-safe time transfer, and a global Qt library mutex that allows different threads to call Qt methods.

4 Conclusion

This system design uses Samsung 2440 embedded processor as the core to build a hardware platform, and uses embedded Linux operating system and combines the peripheral D/A conversion part, the matching network with the monitor, the high-voltage signal acquisition part, the application control part, etc. to realize the design of the ECG defibrillation simulation generation system. The system can simulate the medical defibrillation process well, and can be connected to the medical monitor to output 34 common abnormal heart rate waveforms that meet medical standards. Since the system uses an embedded real-time multi-tasking operating system, the design has high real-time, stability and reliability.

Keywords:ARM9 Reference address:Solution of ECG Defibrillation Simulation Generation System Based on ARM9

Previous article:Digital ward call system based on ARM
Next article:ARM pseudo-instruction address reading: ADR ADRL LDR

Recommended ReadingLatest update time:2024-11-16 19:56

Design and implementation of traffic violation capture based on ARM9
1 Introduction Intelligent transportation system applies advanced information technology, data communication transmission technology, electronic control technology, computer processing technology, etc. to the transportation industry, so as to realize the modernization of development planning of various transportatio
[Microcontroller]
Design and implementation of traffic violation capture based on ARM9
Summary of pseudo instructions based on ARM9
Pseudo-instruction  Note: Pseudo-instructions may vary greatly between different IDEs, but assembly instructions are the same;  Pseudo-operation identifier:  Function: Complete various preparations for the assembler;  Features: Special instruction mnemonics, but different from the mnemonics of the instruction system,
[Microcontroller]
Design of electromagnetic flowmeter based on ARM9 and Linux
  0 Introduction   Electromagnetic flowmeter is a metering instrument for measuring the volume flow of conductive media, with the characteristics of high measurement accuracy, good stability and high reliability. In addition to measuring the flow of general conductive liquids, electromagnetic flowmeters can also m
[Microcontroller]
Design of electromagnetic flowmeter based on ARM9 and Linux
Implementation of network remote monitoring of embedded Boa server based on ARM9 processor
As high-tech technology is gradually integrated into traditional agricultural and sideline industries, greenhouse cultivation has become a way to produce off-season crops. This paper introduces the design of a greenhouse monitoring and control system based on the S3C2410 processor, and designs a network remote monitor
[Microcontroller]
Implementation of network remote monitoring of embedded Boa server based on ARM9 processor
The difference between arm7 and arm9
The ARM7 core is a three-stage pipeline with 0.9MIPS/MHz and von Neumann architecture; The ARM9 core is a 5-stage pipeline that provides a Harvard architecture of 1.1MIPS/MHz. arm7 does not have MMU, arm720T has MMU; arm9 has MMU, arm940T only has Memory Protection Unit. It is not a complete MMU. ARM7TDMI provides
[Microcontroller]
Design and implementation of electronic paper driver under ARM9+Linux
In order to realize fast and effective control of electronic paper under ARM9+Linux system, an electronic paper driver based on electronic paper display control chip (GD6210E) is designed. According to the interface characteristics of S3C2440 ARM9 processor and GD6210E, GD6210E is expanded by using GPIO port of S3C2
[Microcontroller]
Design and implementation of electronic paper driver under ARM9+Linux
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号