With the development of intelligent control, the analysis of blood cell status and parameters has also been continuously using the latest electronic, optical, chemical and computer technologies to meet the requirements of clinical work for blood cell analysis. Intelligent instruments can reduce the intensity of manual labor, speed up the processing of specimens, and make many operations more standardized and reduce individual differences between operators.
1 Overall system design
The blood parameter analysis system was designed using the SPCE061A single-chip microcomputer of Lingyang Company. The liquid circuit is controlled by electromagnetic valves. The timing circuit is designed according to the actual requirements of the blood analyzer, which can realize intelligent voice prompts of the detection parameters. The overall structure of the system is shown in Figure 1.
The system controls the flow path of the entire instrument through 13 solenoid valves and 1 pressure pump. When the control system receives the command, it opens the corresponding blood sample path, and the various liquid paths are isolated and connected through solenoid valves. The control is implemented in the Lingyang SPCE061A microcontroller. The I/O port of the SPCE061A microcontroller is only 32 bits, and the I/O port of the system will not be enough, so EPM 7128 is used as the logic control unit. Communicate with SPCE061A through the universal asynchronous serial port UART to realize the processing and alarm of the detection results of the working status of each loop. The feedback comparison chip uses 339, and the output is transmitted to EPM7128 for processing, and finally fed back to the microcontroller. The audio amplifier circuit uses the SPY0030 integrated chip, which can achieve a good amplification effect.
2 System Hardware Design
The hardware circuit is mainly divided into SPCE061A minimum system, solenoid valve drive circuit and CPLD peripheral circuit.
2.1 Minimum System
Connect the crystal oscillator and the resonant capacitor, and connect the corresponding capacitor and resistor to the RC input VCP terminal of the phase-locked loop voltage-controlled oscillator to achieve the minimum system. Connect 0.1μF decoupling capacitors to the other unused power supply terminals and ground terminals to improve anti-interference ability.
2.2 Power supply
The core voltage of SPCE061A is required to be 3.3 V, while the voltage of I/O port can be 3.3 V or 5 V. Therefore, two power supply interfaces are designed: 5 V and 3.3 V. For I/O port, these two voltage levels are selected by jumper.
2.3 Audio Output
The MCU audio output signal is a current signal output by the internal D/A converter. It is first split externally, then converted from current to voltage signal, and finally passes through the SPY0030 audio amplifier and output to drive the speaker.
2.4 Solenoid valve drive
The output voltage of the I/O port of the Sunplus microcontroller is +5 V, and the maximum output current is about 10 mA. The system uses a two-stage amplifier drive. The first stage is a PNP type 9012 SMD transistor, and the second stage is an NPN type 8050 SMD transistor.
For the convenience of system debugging, RS 232 chip is used to realize the communication between SPCE061A and PC.
3 System Software Design
3.1 Delay module
In order to achieve accurate delay, the delay program uses timer interrupts to achieve a certain delay. Multiple interrupts are used to generate a certain delay. The flow of the interrupt subroutine is shown in Figure 2.
3.2 Serial port module
The communication between SPCE061A and LPC2210 is realized through the universal asynchronous serial port UART. The serial port receives and sends by multiplexing the IOB port. IOB10 is the data transmission pin Tx, and IOB7 is the data reception pin Rx. UART can receive data in a buffered manner, that is, it can read the data before the current data in the buffer. The serial port sending subroutine flow is shown in Figure 3.
4 Conclusion
An intelligently controlled blood parameter analysis system was designed, which can analyze various parameters of blood cells, realize intelligent operation, reduce manual operation errors and data errors, and achieve high-precision blood parameter measurement. The control principle of this system can also be applied to all related fields, such as power systems with solenoid valve control, industrial control systems, dam control systems, and traffic light control systems, etc., and has certain use value.
Previous article:12 Popular Mobile Medical Apps
Next article:Patient monitoring based on Wi-Fi networks may usher in a wave of mobile medical care
- 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!
- Rambus Launches Industry's First HBM 4 Controller IP: What Are the Technical Details Behind It?
- 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
- Pull-up and pull-down issues on SWCLK and SWDIO.
- [Rawpixel RVB2601 Development Board Trial Experience] Part 2: Recording and Playback
- EEWORLD University - Mechanics in Electronic Packaging
- Nandflash mass production burning mine clearance strategy
- Apply for free! Samples of ADI Chronous TM Ethernet PHY solutions for reliable industrial networks
- 【GD32E503 Review】 Simple Oscilloscope Experiment
- Medication Wizard Pill Box
- There is a problem with the inner electrical layer segmentation. Let the experts take a look.
- Renovation of old items + modification of vehicle-mounted DC fans
- AD19AD19, on a PCB that has already been copper-plated, I deleted the copper and changed the layout to redraw a PCB, but when I entered the 3D view, the original copper outline would be displayed. How can I delete this outline?