This article is based on the MXT8051 microcontroller independently developed by Beijing Times Minxin Technology Co., Ltd., making full use of its internal resources and rationally selecting peripheral devices. It gives a design scheme for a portable physical examination meter that integrates multiple functions such as blood pressure measurement, body temperature measurement, respiratory rate measurement, and pulse measurement, and attempts to pursue low power consumption, high precision, high speed and other characteristics, which has a certain reference value for the final realization of the product.
Overall system design
MXT8051 Introduction
MXT8051 is a SoC independently developed by Beijing Times Minxin Technology Co., Ltd. with high-speed single instruction cycle 8051 as the core. It integrates a wealth of digital and analog peripherals, such as power-on reset, pulse width modulation (PWM), serial port (UART), watchdog (WDT), real-time clock, internal oscillator and external clock optional modules in the digital part; 4-channel 10-bit AD converter, programmable gain amplifier (PGA), operational amplifier (OP), 4com*36seg LCD driver and other modules in the analog part.
By embedding high-performance digital and analog peripherals into low-power MCUs, it is relatively easy to implement system-on-chip for portable medical electronic devices using MXT8051 as the core device.
System composition
The design of a portable multi-function medical examination meter based on MXT8051 given in this article makes full use of the rich on-chip peripheral resources provided by MXT8051. It can integrate multiple functions such as blood pressure measurement, body temperature measurement, respiratory rate measurement, pulse measurement, etc. into a portable system by relying solely on the cooperation of simple peripheral devices and the collaborative work of software.
The overall design of the system is shown in Figure 1. The entire system consists of five parts. The MXT8051 is the core processing module, and is equipped with a signal acquisition module based on sensors, an output display module based on voice chips and LCDs, system control modules such as power supplies and keyboards, and application expansion modules.
How the system works
Since this system has many functions to be implemented, it is crucial to provide a more complete architecture in the overall system design stage for subsequent software and hardware design.
For blood pressure measurement, the MPS series dedicated blood pressure sensor is used to sense the arm blood flow pressure, and the PWM wave inside the MXT8051 is used to control the motor and the inflation and deflation of the cuff. The collected analog signal is sent to the OP and ADC inside the MXT8051 for analog front-end processing, and then the software algorithm is used for digital signal processing.
For body temperature measurement, the single bus sensor DS18B20 is used to sense the body temperature signal. While strictly following the DS18B20 timing, the converted digital signal is directly sent to the MXT8051 for processing, and algorithms such as software compensation are used to improve the accuracy.
For respiratory rate measurement, two thermistors and two ordinary resistors are used to form a Wheatstone bridge. One thermistor senses the ambient temperature, and the other thermistor senses the temperature of the exhaled gas. This can effectively eliminate the changes in the bridge output caused by different ambient temperatures, so that the bridge pressure difference signal is used to characterize the breathing action and input into the OP and ADC inside the MXT8051 for analog front-end processing, and then processed by software algorithms inside the MXT8051.
For pulse measurement, the wrist pulse sound signal is converted into an electrical signal using a sound sensor, and then input into the OP and ADC inside the MXT8051 for analog front-end processing to achieve amplification, shaping, digitization, etc. Then, the software algorithm is used inside the MXT8051 to perform further signal processing to achieve the purpose of pulse measurement.
There are two design functions for the output display of measurement results. One is to send the measurement value to the LCD display, and the other is to use the voice module to inform the user whether the measurement result is normal or not.
Hardware Design
In order to fully utilize the on-chip resources of MXT8051, this paper comprehensively weighs various solutions and reasonably selects peripheral devices, trying to use the simplest peripheral circuit to ensure functional design. The hardware block diagram of the entire system is shown in Figure 2, and the design of each module will be introduced in detail later.
Design of blood pressure measurement module
For the perception of blood pressure signals, the MPS-2108 sensor from Metrodyne Microsystem can be used. Its wide application in the field of sphygmomanometers, digital pressure gauges and medical equipment has shown that it can perform the functions to be designed in this article. The interface schematic diagram of the MPS-2108 sensor and MXT8051 is shown in Figure 3.
Body temperature measurement module design
For the perception of body temperature signals, the DS18B20 sensor from Dallas Semiconductor is used. It has a unique single bus interface, which only requires one interface pin for communication; it can directly transmit digital signals to the microcontroller, thus eliminating the need for many peripheral circuit designs of the analog front end; and it can reach a resolution of 0.0625°C by configuring the internal registers. These characteristics show that the DS18B20 can already undertake the task of collecting body temperature signals in terms of hardware. The interface schematic diagram of the DS18B20 sensor and the MXT8051 is shown in Figure 4.
Design of respiratory rate measurement module
For the perception of respiratory rate signals, a highly sensitive thermal resistor Pt1000 sensor can be selected. It has high accuracy, good stability, and a wide range of application temperatures. It is not only widely used in industrial temperature measurement, but also made into various standard thermometers for measurement and calibration. The interface schematic diagram of the Pt1000 sensor and the MXT8051 is shown in Figure 5.
Pulse measurement module design
For the perception of pulse signals, a common microphone head MIC can be selected to perceive the pulse sound signal, and the collected analog signal is sent to MXT8051 for processing through the on-chip operational amplifier. The interface schematic diagram of the microphone head and MXT8051 is shown in Figure 6.
Output display module design
In the output module, the voice chip can be selected from Winbond's ISD1730 single-chip high-quality voice recording and playback circuit. It can record and play 100,000 times, can process up to 255 segments of information, and multiple sampling frequencies correspond to multiple recording and playback times. This also provides certain possibilities for system function expansion. The LCD uses the product on the MXT8051 development board provided by Beijing Times Minxin Technology Co., Ltd.
System control module design
In the system control module, the power supply circuit, clock circuit, reset circuit, keyboard control circuit and other required devices can refer to the mature products on the MXT8051 development board provided by Beijing Times Minxin Technology Co., Ltd., and refer to its interface mode and make slight modifications to meet the expected requirements. The slightly modified power supply schematic diagram and clock circuit schematic diagram are shown in Figures 7 and 8.
Software Design
Algorithm Idea
According to the results of the division of the entire system modules, the analysis found that the most difficult part of the algorithm should be the blood pressure measurement part, while the body temperature measurement, respiratory rate measurement and pulse measurement are relatively easy. Of course, in the body temperature measurement, due to the strict timing requirements of DS18B20, the code needs to be written carefully.
For blood pressure measurement, the industry generally uses the oscillometric method, and the realization of the final product can be completed by using this type of mature algorithm. Respiratory rate measurement and pulse measurement can be simply completed by using the method of measuring the cycle and then taking the inverse. At the same time, in order to avoid errors, you can consider increasing the number of samples. For body temperature measurement, the initialization timing and read and write timing of DS18B20 must be strictly followed.
Program flow chart
Putting the design scheme mentioned in this article into practice, the function finally realized is body temperature measurement. The software program flow chart of body temperature measurement is shown in Figure 9.
Summarize
The design scheme of the portable multifunctional physical examination meter based on MXT8051 proposed in this paper has certain reference value for the final realization of such integrated medical electronic equipment products. Due to time constraints, the expected functions were not fully realized. At the same time, in addition to the expected functions, corresponding expansions can be made, such as using the on-chip resources of MXT8051-serial port (UART) and computer communication to transmit historical measurement data to the computer for medical comparison and analysis.
Previous article:Single chip microcomputer and USB interface to realize the control system of power compensation device
Next article:Application of 51 single chip microcomputer and acceleration sensor in human sitting posture
- Popular Resources
- Popular amplifiers
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- 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
- Strong recommendation! ADI launches low voltage circuit breaker electronic trip unit (ETU) solution
- [GD32E503 Review] Part 8: NandFlash Performance Test
- Three motors start in sequence and stop in reverse sequence circuit
- How to make a Class AB car amplifier chip
- Survey shows that the average mobile network speed in 33 countries has exceeded WiFi
- Interpret the transistor datasheet like this to cure relay strikes from now on!
- The article that explains the purpose of filters most clearly
- If your home could store energy, would you like it?
- What is synchronous logic and asynchronous logic?
- Is the current wired Ethernet half-duplex the same as the early Ethernet half-duplex?