forest fire monitoring system uses sensor nodes with various functions preset in the forest to collect various forest environmental parameters, transmit them to the host computer, and use information management software to perform data storage, display, analysis and processing operations to predict and alarm abnormal situations.
At present, some forest fire monitoring in China still adopts methods such as building watchtowers and establishing video surveillance. Because forest fires often occur in sparsely populated primeval forests, the above methods have many shortcomings. In view of this, a forest fire monitoring system based on ZigBee+shortwave wireless communication is proposed. ZigBee is a short-range communication technology that is suitable for the networking requirements of sensor nodes; shortwave, as a long-range wireless communication technology, has unique advantages in remote data transmission. The above two complement each other and have broad application prospects in forest fire monitoring systems.
1 Overall design of the communication system
The whole system consists of three parts, as shown in Figure 1.
1) ZigBee network The ZigBee modules in this network can be divided into End-Node and Coor-Node according to their functions. End is a data collection node with a sensor that collects and wirelessly sends forest environment information; Coor-Node is composed of and used. In a single network, all End-Node and Coor-Node nodes form a star network according to the ZigBee protocol.
2) Relay node A network relay node with a controller has the ability to convert shortwave and ZigBee protocol data. The ZigBee module part receives the data collected by the ZigBee network, and after processing, transmits it to the remote host computer monitoring center through the shortwave data transmission radio. At the same time, it can also obtain various control and setting instructions from the host computer through the shortwave data transmission radio, and transmit these instructions to the ZigBee network, thereby realizing the setting of the monitoring network.
3) Host computer monitoring center At the host computer end, the radio converts the received analog signal into a digital signal, and the data is input into the host computer management software through the serial port, thereby realizing the setting of the entire monitoring network system and the display, query, and storage of forest environment parameters.
[page]
2 System Hardware Design
The system hardware design consists of three parts: the End-Node, Coot-Node and Relay Node of the ZigBee network. The End-Node uses the XBee PRO 900XSC module as the wireless transceiver module, and the Coot-Node uses the ARM7+XBee PRO 900 XSC+Pt-205 module. The Relay Node uses the Pt-205 module shortwave transmission module. The following analyzes the hardware design of the Coor-Node. The Coor-Node hardware design block diagram is shown in Figure 2.
Coor-Node is located in the middle layer of the system. It needs to communicate with the wireless sensor network and exchange data with the host computer monitoring center through the data transmission radio. This requires it to have strong data processing capabilities. Based on this consideration, this design scheme uses ST's STM32F103C8 as the microcontroller. STM32F103C8 is a microcontroller based on a 32-bit CortexTM-M3 core CPU with real-time simulation and tracing, and has 64 kB embedded high-speed Flash memory. It uses a 48-pin package, extremely low power consumption, multiple 32-bit timers, 2 12-bit ADCs, 1 CAN bus and up to 7 external interrupts.
The data transmission radio module uses the FY602 model data transmission radio, with a carrier frequency of 433MHz ISM band, no need to apply for a band, and the interface rate and channel rate can reach 38,400 bps. It has strong interference resistance, high receiving sensitivity, and is widely used.
The new XBP24-BWIT-004 ZigBee module launched by DIGI has a data transmission rate of 250 kbps. The communication distance is 1 600 M, supports AT and API command sets, and the working frequency band is 868/915 MHz. It is particularly suitable for long-distance networking requirements.
Considering that the specific hardware circuit diagram design is relatively complicated, the hardware design block diagram of the Coor-Node node is given here. STM32F103C8 is the middle layer between the data radio and the ZigBee module. It connects the data radio and ZigBee through two serial ports respectively. As the interactive layer of analog radio data and ZigBee data, the conversion of the two network data is realized by programming its software.
The system hardware design mainly designs its peripheral circuits with STM32F103C8 as the center, including power circuit design, clock circuit design, reset circuit design, storage circuit design and interface circuit design.
Because the working voltage and current of many chips on the Coor-Node circuit board are different, the design of the power supply part is very critical. The whole system is powered by an external 12 V solar battery, while the operating voltage of TM32F103C8 is 1.8 V, the operating voltage of I/O is 3.3 V, the operating voltage of the data transmission station is 4.5-5.5 V, and the power supply voltage of the ZigBee module is 3.3 V. Therefore, LM2576-5.0, MIC29302 and AMS1117 series voltage conversion chips are selected to obtain the corresponding operating voltage of each chip. The design concept of the power supply part is shown in Figure 3.
Compared with the power supply, the design of the clock circuit and the hardware reset circuit is relatively simple. The clock crystal uses a 12 MHZ external crystal circuit, and the hardware reset circuit is implemented using the MAX813 reset chip. Since the TM32F103C8 only has 64KB of on-chip Flash memory and 20 kB of SRAM, it can only meet the basic needs of the system. Considering the storage of related system parameters such as the ZigBee sub-node address, an 8 MB Flash and a 32 k Sram62256 are expanded.
In terms of the peripheral device interface circuit, since the TM32F103C8 and the data transmission radio and the ZigBee module are all connected by serial ports, the circuit design is simple and reliable. The program burning method of TM32F103C8 adopts the in-system (ISP) method, using ST's ISP software. After setting the chip's startup mode to system memory, the Bin file can be downloaded through the serial port and ISP software. The program download board is mainly composed of a Maxim MAX3232 level conversion chip. It can convert the PC serial port standard (RS232) to the TM32F103C8 serial port TTL standard.
Compared with TM32F103C8, since the digital radio and XBee are both module packages, the peripheral circuit design is relatively simple. The serial port of the Xbee module is directly connected to the serial port 0 of the TM32F103C8. The serial port of the digital radio is directly connected to the serial port 1 of the TM32F103C8. In addition, in actual applications, in order to increase the visualization of the system, digital tube displays and LED indicators are added to the hardware circuit. The operation status of the Coor-Node node can be understood through the status of the digital tube and LED, such as the connection with the relay node, the normal operation of the chip, and the reception and transmission of forest environmental parameters.
[page]
3 System software design
The system software design is divided into 4 parts: MCU software programming of XBee module, TM32F103C8 software programming of Coor-Node, software programming of relay node, and design of host computer management software. Here we only introduce the software programming of XBee module. XBee software programming includes MCU programming on XBee module of acquisition node and MCU programming on XBee module of Coor-Node.
MCU programming on XBee module of Coor-Node. XBee module of Coor-Node acts as coordinator in the constructed star network, initializes protocol stack, creates PAN CO-ORDINATOR, selects PAN ID and short address of Coor-Node, selects idle channel, starts network, and forwards data. The coordinator software flow chart is shown in Figure 4.
The programming of the XBee module of the End-Node node, first initialize the protocol stack, then scan the channel to find the coordinator Coor-Node node in the network, send a request to join the network through the corresponding channel, once the Coor-Node node accepts the device, it will send a 16-bit short address to the device as the device identification in the network.
The system task feeds the dog regularly and sends heartbeat frames to the upper computer. The regular feeding of the dog can realize automatic reset in the case of "runaway" and "deadlock" of the program: when the data upload interval is long, the regular sending of heartbeat frames can detect whether the device is working properly.
4 Conclusions
A new wireless forest fire monitoring system based on ZigBee and ARM is proposed above, which organically combines the efficient processing technology of ARM, the flexible short-wave remote data transmission technology and the low cost and low power consumption of Zig Bee. Experiments show that the system is stable and reliable, and the system has good application prospects in forest fire monitoring.
Previous article:Sun tracking system based on ARM embedded image processing platform
Next article:ARM-based rapid prototyping platform solution
Recommended ReadingLatest update time:2024-11-16 19:37
- 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
- Share energy storage power supply energy storage inverter parameters
- 10 experiences summarized by veteran engineers, so beneficial
- NB-IoT and LoRa chip manufacturers
- HDMI to AHD Video Converter
- Texas Instruments: See how innovations in automation are changing the world
- Don't understand antennas? Check this out
- FAQ_How to determine the phase of the output PWM signal in BlueNRG-12
- Tsinghua University professor Wang Zhihua: The demand for integrated circuit talents will increase 4.5 times by 2025 compared with 2020
- Why is the ADS of some MCU's display-related pins analog and DIR input?
- Open source Tinygo releases version 0.70