Temperature monitoring is a mature technology at present. Most of the temperature monitoring systems widely used in industry still use wired methods to transmit signals. However, for occasions with harsh working environments, complex power supply wiring and difficult maintenance in the future, the wired method has considerable limitations. Using wireless methods to transmit data can effectively avoid these problems. Compared with wireless methods such as RF, WLAN, and Bluetooth, infrared wireless transmission is more suitable for gearbox systems in the steel production process due to its high safety, small size, low cost, and wide application. Since the
acquisition end is close to the object to be measured, wiring and maintenance are difficult, the problem of power supply and signal transmission effectiveness must be solved in system design. The limitation of wiring makes the acquisition end only adopt battery power supply mode, and online monitoring needs to work 24 hours a day, so the power consumption of the acquisition end must be very low, and the selection of devices must meet the requirements of low voltage support and low power consumption. The industrial field environment is complex and the interference is large, so the original signal must be encoded and decoded to ensure the effectiveness of signal transmission.
The acquisition and transmission end hardware design
The acquisition and transmission system is mainly composed of AT89C2051 microcontroller, DS18B20 digital temperature sensor, MC145026 encoder, TLC555 time base integrated circuit, PH303 infrared transmitting tube, etc. The system structure diagram is shown in Figure 1.
Figure 1: Structure diagram of the acquisition transmitter
The effective action distance is an important parameter to measure the performance index of the acquisition transmitter. When infrared rays are emitted, the emission distance is proportional to the emission power. When the infrared emission tube works in the pulse state, the effective transmission distance of the pulsating light is proportional to the peak current of the pulse, so increasing the peak current can increase the emission distance of the infrared light. Without increasing the system power consumption, by reducing the duty cycle of the generated carrier pulse, the peak current can be effectively increased and the action distance of the infrared emission can be increased. The main function of
the monitoring receiving end hardware design
receiving end is to receive infrared signals and decode and process them subsequently. The monitoring receiving system is mainly composed of AT89C51 microcontroller, HS0038A2 infrared receiving head, MC145027 decoder, MC14511 digital driver, MAX232 serial communication chip, etc. The system structure diagram is shown in Figure 2.
Figure 2 Monitoring receiving end structure diagram
In the decoding process, an integral link is used, that is, the decoder does not directly decode the received pulse signal, but decodes after integrating the input signal. Since the integral circuit can filter out instantaneous sharp pulse interference, the coded signal received by the decoder can still be correctly decoded even if it is interfered by a certain program, which is particularly important for industrial sites with complex environments. The
system display part adopts two display modes. One way is to communicate with the upper PC by serial data transmission, and use the rich graphical interface of the PC to display the temperature of the current device under test; the other way is to display the temperature through the digital tube of the system monitoring receiving end. This method can meet the requirements of on-site and remote temperature monitoring at the same time.
Software Design
The software of the temperature monitoring system consists of three parts. The temperature acquisition and transmission program runs in the FLASH of the AT89C2051 chip; the receiving display and serial port transmission program runs in the FLASH of the AT89C51 chip; the graphical interface and serial receiving program runs on the remote PC. The
temperature acquisition and transmission program is written in C51 language and mainly completes the following functions: (1) Reading the temperature value of DS18B20. Since DS18B20 is a one-line digital temperature sensor with high requirements for timing and electrical characteristic parameters, the acquisition program must strictly operate in accordance with the timing requirements of DS18B20. (2) Matching of encoder address and data signal. Since the digital temperature sensor outputs the temperature signal in a 12-bit serial manner, and the encoder can only transmit a maximum of 4 bits of signal each time, in order to ensure the correctness and integrity of the temperature signal, the address encoding method is adopted, that is, each time the high, medium and low 4-bit signals in the temperature signal are matched with different addresses and sent to the encoder. After the corresponding address is assigned to the decoder at the receiving end, the decoder can only receive the signal with the matching address, thereby ensuring the correctness and integrity of the temperature signal. (3) Processing of other events. Including the alarm of insufficient battery power at the acquisition end and the temperature of the measured device exceeding the standard. When the above events occur, the microcontroller will send an alarm agreement code different from the normal temperature signal, and the receiving end will make corresponding alarm processing after receiving the code. [page]
Figure 3 Collection sending end program flow
Figure 4 Monitoring receiving end program flow
Conclusion
The environment around the gearbox of a certain factory is harsh, which brings great difficulties to the construction and wiring. Therefore, the ideas and structures described above are adopted in the design scheme. This system uses infrared wireless data transmission to effectively solve the problem of difficult temperature data transmission; it minimizes the power consumption of the acquisition and transmission parts, so that the battery-powered system can meet the requirements of effective operation time; the application of the matching encoding/decoding chip ensures the effectiveness and integrity of the system data transmission. The whole system can work stably in a system with harsh environment, with simple implementation, low price and good reliability, and provides a new monitoring method for online temperature monitoring in complex environments.
References:
1. Xiao Jinghe et al. Infrared, Pyroelectric and Ultrasonic Remote Control Circuits, People's Posts and Telecommunications Press, 2003.
2. Dave Hyder, Infrared Sensing and Data Transmission Fundamentals. On Semiconductor Application Note AN1016/D, 2002. (end)
Previous article:Design of a simple digital oscilloscope based on single chip microcomputer
Next article:Design of solar semiconductor air conditioning control device
- Popular Resources
- Popular amplifiers
- Learn ARM development(16)
- Learn ARM development(17)
- Learn ARM development(18)
- Embedded system debugging simulation tool
- A small question that has been bothering me recently has finally been solved~~
- Learn ARM development (1)
- Learn ARM development (2)
- Learn ARM development (4)
- Learn ARM development (6)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- Detailed explanation of intelligent car body perception system
- How to solve the problem that the servo drive is not enabled
- Why does the servo drive not power on?
- What point should I connect to when the servo is turned on?
- How to turn on the internal enable of Panasonic servo drive?
- What is the rigidity setting of Panasonic servo drive?
- How to change the inertia ratio of Panasonic servo drive
- What is the inertia ratio of the servo motor?
- Is it better for the motor to have a large or small moment of inertia?
- What is the difference between low inertia and high inertia of servo motors?
- 5G mobile phones bring huge opportunities to RF front-end
- About the equivalent series resistance problem
- stm32 controls LCD1602 display, but the screen always displays two blank spaces, and the letter p is displayed as the letter r. Can you guys see what the problem is?
- ESP32 Simulator
- EEWORLD University ---- Blockchain Technology and Application
- I can't see any reply for the third time. This time there is one on the 40th floor, but no more on the 41st floor...
- Can common-mode inductors and differential-mode inductors be used for DC filtering?
- Documentation for adding Bluetooth to MicroPython
- How to convert brd file to ad pcb file
- Class AB amplifier power calculation problem