Design of ECG Defibrillation Simulation System Based on ARM9

Publisher:牟牟的侬Latest update time:2010-08-24 Source: 电子设计工程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 skilled. 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 such as 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 3000 V, so full consideration should 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, the relevant operations are performed. 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. The embedded GUI systems currently used include Microwindows, MiniGUI, and Qt/Embedded. 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 peripheral D/A conversion part, monitor matching network, high-voltage signal acquisition part, application control part, etc. to realize the design of ECG defibrillation simulation generation system. The system can simulate the medical defibrillation process well, and can be connected to medical monitors 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:Design of ECG Defibrillation Simulation System Based on ARM9

Previous article:Details determine success or failure--Three key points in the design of the power supply system of the electronic blood pressure monitor
Next article:Design of thermometer based on ZTPl35S-R sensor

Recommended ReadingLatest update time:2024-11-16 17:45

[Embedded] Use Qt to add a software keyboard to ARM9 (mini2440) and add a dynamic link library
The following four files can be downloaded from the embedded folder KeyPad in the Quickdisk The methods for adding other dynamic link libraries are the same Account: sharefromfox@163.com Password: 3.1415926 The following four files can be downloaded from the embedded folder KeyPad in
[Microcontroller]
[Embedded] Use Qt to add a software keyboard to ARM9 (mini2440) and add a dynamic link library
ARM9 S3C2440 - Initialization configuration of interrupts and timers
      ARM9  S3C2440 has a lot of registers, which is one of the differences between it and single-chip microcomputer. ARM programming is mainly about register operations, but with so many registers, it is easy to forget the setting of a certain register. If you can summarize the steps of register configuration so that
[Microcontroller]
Battery online monitoring hardware platform based on ARM9 and LEM sensor
1 Overview As a backup power source, batteries often play an extremely important role in power supply systems. Once a battery pack has problems when AC power is lost or other accidents occur, the power supply system will be paralyzed, causing equipment shutdown and other major operating accidents. In recent yea
[Power Management]
Battery online monitoring hardware platform based on ARM9 and LEM sensor
Research and design of wireless sensor network coordinator
1 Overview There are various wireless communication methods. Compared with Bluetooth, Wi-Fi, and GSM mobile communication methods, the ZigBee method developed by the ZigBee Alliance has the advantages of low power consumption, reliable data transmission, good compatibility, low implementation cost, and convenie
[Microcontroller]
S3C2410 (ARM9) startup method
1. Nand Flash boot In order to boot from Nand Flash, S3C2410 is configured with a 4KB internal SRAM buffer called Steppingstone. When the system is configured to boot from Nand Flash (configuration is set by hardware engineers on the circuit board), the Nand Flash controller will automatically load the first 4KB cod
[Microcontroller]
arm9 learning starts
The JTAG of the 3250 development board does not work according to the tutorial and the CD that comes with the board. I searched for relevant information on the Internet and found an article that summarized the methods for not being able to use jtag, but I couldn't find the reason. Finally, I replaced the jtag head that
[Microcontroller]
ARM9_S3C2440 Learning (VII) SDRAM Learning Summary
1. SDRAM burst mode SDRAM is a command-based device. Even if there is only one data to read or write, a command must be issued before it can be used. In order to increase work efficiency, a mode of sending one command and writing multiple data is created, which is the burst mode. Burst mode is a high-speed read/writ
[Microcontroller]
Linux 2.6.32 porting on arm9 (s3c2440) platform - LCD backlight driver
The LCD backlight is controlled by the CPU's LCD_PWR pin. When LCD_PWR outputs 1, it is on, and when it outputs 0, it is off. The following codes refer to the mini2440 transplantation manual (1) Create /drivers/video/mini2440_backlight.c #include linux/errno.h #include linux/kernel.h #include linux/module.h #incl
[Microcontroller]
Latest Medical Electronics Articles
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号