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.
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
- Popular Resources
- Popular amplifiers
- Radar Signal Processing for Autonomous Driving
- Practical Deep Neural Networks on Mobile Platforms: Principles, Architecture, and Optimization
- ARM Embedded System Principles and Applications (Wang Xiaofeng)
- ARM Cortex-M4+Wi-Fi MCU Application Guide (Embedded Technology and Application Series) (Guo Shujun)
- High-speed 3D bioprinter is available, using sound waves to accurately build cell structures in seconds
- [“Source” Observation Series] Application of Keithley in Particle Beam Detection Based on Perovskite System
- STMicroelectronics’ Biosensing Innovation Enables Next-Generation Wearable Personal Healthcare and Fitness Devices
- China's first national standard for organ chips is officially released, led by the Medical Devices Institute of Southeast University
- The world's first non-electric touchpad is launched: it can sense contact force, area and position even without electricity
- Artificial intelligence designs thousands of new DNA switches to precisely control gene expression
- Mouser Electronics provides electronic design engineers with advanced medical technology resources and products
- Qualcomm Wireless Care provides mobile terminal devices to empower grassroots medical workers with technology
- Magnetoelectric nanodiscs stimulate deep brain noninvasively
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- TI's new automotive linear LED driver TPS92613-Q1 with enhanced heat dissipation
- Do you need to persist?
- Need help choosing safer lithium batteries?
- STM32H743IIT6 core board schematic diagram
- C8051F full series routine code
- How is the 4-20mA output circuit of a pressure sensor or temperature sensor usually implemented?
- The driver chip made by TI's LM3409 encountered a problem and the LED could not light up
- [TI recommended course] #Boost and buck-boost DCDC converters help wireless charging design#
- Is this the price you paid for the CC3220SF board you have?
- The upcoming Circuit Playground Bluefruit