1 System composition and working principle
The unattended ward monitoring system is mainly composed of a data collector, a wireless radio frequency module SRWF-106, a monitoring computer and other parts. The structural diagram is shown in Figure 1.
The digital temperature sensor DS18B20, HK-2000A integrated pulse sensor and HXB-2 piezoelectric respiratory sensor connected to the data collector are installed on the relevant parts of the patient's body as required, and then the data collector is turned on to start collecting the patient's vital signs and parameters, and the data are stored in the ferroelectric memory FM31256 together with the data collection time. At the same time, the wireless radio frequency module SRWF-106 is started to send out the bed number, collection time and monitoring data in real time. The red indicator D3 flashes to indicate successful data transmission. When the power supply battery voltage is insufficient, the single-chip microcomputer LPC932 will be interrupted. At this time, the yellow indicator D4 will flash to remind the staff to replace the battery, which improves the working reliability of the data collector.
2.2 Use of wireless RF module SRWF-106
The SRWF-106 module provides two serial ports, COM1 (Pin3 and Pin4 of CON1) is fixed as a UART serial port with TLL level; COM2 (Pin6 and Pin7 of CON1) can select the interface mode through the D position of jumper J1, including RS 485 and RS 232. In this design, the data acquisition device and SRWF-106 are connected at TTL level, while the monitoring computer and SRWF-106 are connected at RS 232. The SRWF-106 module provides interface baud rates of 1 200 b/s, 2 400 b/s, 4 800 b/s, 9 600 b/s, 14 400 b/s, and 19 200 b/s. The baud rate setting can be determined by changing the state of the pad jumper (J2~J4) on the back of the module. The module operating voltage is +4.5~+5.5 V. In order to effectively save power consumption, the module can be set to sleep mode.
3 Design of Communication Protocol
In wireless communication systems, due to the influence of power supply, spatial noise and transmission path, data transmission is easily disturbed, resulting in communication failure. Therefore, it is necessary to design a transmission protocol to ensure a reliable data connection on this unreliable physical link. In this system, the data collector and the monitoring computer are a simple multi-point to point communication.
3.1 Baud rate setting and communication method selection
Considering the characteristics of the wireless RF module SRWF-106 and the speed and stability of data communication, this design uses 9600 b/s. Since the communication is a many-to-one relationship, the serial port selects working mode 3.
3.2 Determination of data verification method
When using wireless communication technology to transmit data, it is easy to encounter interference, which will change the transmitted data and cause transmission errors. Considering the actual requirements of the system, this design adopts an 8-bit CRC (cyclic redundancy check) check method.
The calculation of CRC checksum is a cyclic calculation. From a mathematical point of view, CRC checksum is the remainder obtained by dividing a polynomial (represented by a data block) by a generating polynomial (algorithm rules). CRC checksum is to add some check bits to a data block to be transmitted. These check bits (CRC check bits) are calculated from the data block and transmitted together with the data block. At the receiving end, the CRC checksum is recalculated for the received data block according to the specified algorithm, so as to determine whether there is an error in the data transmission process.
The CRC check subroutine in this system is as follows:
4 Computer software system design
The system's Database Server is designed using the visual programming language Visual Basic on the Windows operating platform. Visual Basic is an object-oriented visual rapid application development tool with the advantages of powerful functions, friendly interface, ease of use, and fast code execution. The system has functions such as data indexing, system settings, and reports. Depending on the patient's condition, the doctor can formulate different monitoring standards. Figure 3 is a screenshot of the system operation interface (including some experimental data).
5 Conclusion
The unattended ward monitoring system based on wireless radio frequency technology omits complex wiring and is easy to install, simple to operate, reliable in operation, with a low failure rate and easy to maintain. Once it enters the practical stage, it will save operating costs for hospitals, improve the quality of medical services and management level, and ultimately benefit patients and medical staff. This is of great significance for accelerating the process of intelligent construction of hospitals in my country.
Previous article:MSP430FR5969 memory allocation problem
Next article:Design of Buoy Network Communication System Based on TCP/IP
- 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
- How to choose between mobile phone and tablet
- During electrical inspection, Warning Unconnected Power Object On Net GND appears
- Transfer - Dig deep into the magic of the smallest resistance and most versatile 0 ohm resistor to save your design
- MYC-CZU3EG core board information
- Analyzing the temperature sensor sampling circuit
- 【DFRobot motor driver】+Received DFRobot Arduino driver board
- EEWORLD University----How High-Voltage Isolation Technology Works
- New communication capabilities for TI's C2000 microcontrollers!
- At 10 am today, Keysight Technologies will broadcast a live broadcast on [Applications and Techniques of Oscilloscopes in the Electronics Industry]
- EEWORLD University ---- Live playback: Start your next-generation 4K display application design with TI DLP? technology