Design of Transmission Circuit in Remote Ground Sensor System

Publisher:HeavenlySunsetLatest update time:2010-01-11 Source: 现代电子技术 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

0 Introduction

A wireless sensor network is a type of RGS system (remote ground sensor system). It is a detection system that uses multiple sensors as comprehensive intelligence collection components, performs data fusion, encoding, and other processing, and then sends it to the command center. After processing and restoration, it is displayed on the monitoring platform. It integrates sensor technology, image detection technology, vibration detection technology, sound detection technology, wireless communication technology, digital coding compression technology, information fusion technology, and computer technology. It is a comprehensive technology integrated by a variety of high-tech technologies. The wireless multi-sensor network system is mainly composed of the following parts:

(1) System front-end sensors and GPS module - signal acquisition part: mainly composed of detection units and GPS modules composed of image, sound, vibration and infrared sensors, responsible for completing battlefield information monitoring tasks.

(2) Information transmission part: mainly responsible for compressing and encoding the collected information and conducting long-distance wireless transmission.

(3) Command center measurement and control platform: mainly completes the remote control and signal reception tasks of the monitoring unit, and integrates and analyzes the various information collected. The processing results are provided to the command center personnel so that they can grasp the battlefield situation in a timely and accurate manner and make corresponding decisions.

This paper mainly discusses the hardware design and software programming ideas of image transmission systems in wireless sensor networks.

1 Transmitter modem hardware circuit design and working principle

The modem hardware circuits are actually different on the transmitter and receiver sides because of the different tasks they need to accomplish. The schematic diagram of the transmitter modem circuit is shown in Figure 1.

The system uses a +5 V power supply converted from the radio station's battery. MSM7512 B uses a dedicated 3.579 545 MHz crystal. Since it has an internal grounding capacitor, no external compensation components are required; the microcontroller uses a crystal with a frequency of 11.059 2 MHz, mainly to obtain an accurate baud rate when setting the baud rate, which can effectively avoid the accumulated error caused by the timer operation. The external compensation components are two 30 pF capacitors. In order to prevent erroneous operation when the microcontroller program is running, the microcontroller EA/VPP terminal (pin 31) should be set to a high level to ensure that the microcontroller accesses the internal program memory. Since the modem chip MSM7512B and the microcontroller W77E58 both support TTL levels, the first serial communication port TXD and RXD of the microcontroller can be directly connected to the XD and RD of the MSM75125B; the microcontroller's P1.0 and P1.1 are connected respectively:

MOD2 and MOD1 of MSM7512B switch between sending and receiving according to the communication requirements to control the working state of the modem chip; P1.4 controls the switching of the receiving/transmitting state of the radio station (PTT).

AO and AI of MSM75125B are connected to the transmitter/receiver of the radio station through the interface circuit. The display circuit for external monitoring of the system is composed of light-emitting diodes and resistors. The red light-emitting diode D1 is the power indicator. If it is on, it means that the system initialization process is correct; the yellow light-emitting diode D2 is the correct transmission indicator. It should flash once every time the system completes a data transmission task correctly; D3 is the carrier detection indicator. If it is on, it means that the modem has detected a valid carrier signal in the channel; D4 is the data transmission indicator. It starts to flash when the system sends data until the data is sent. If the front-end sensor has data to be transmitted, a falling edge pulse is generated to trigger the external interrupt INTO (P3.2) of the microcontroller. After the microcontroller responds to the interrupt, the 8-bit parallel data from the front is read in from the P2 port (P2.0~P2.5). Since the P2 port has a pull-up resistor inside, it can be driven by TTL or MOS circuits when used as an input port, instead of adding an external pull-up resistor. The serial communication port 2 of W77E58 can be reserved as a system expansion port.

2 Interface circuit between receiving modem and microcontroller

The use and control of the modem circuit of the receiving side and the modem circuit of the battlefield sensor side in the single-chip microcomputer and the modulation and demodulation chip are the same. The difference is that the second serial port of the single-chip microcomputer is connected to the RS 232C port of the computer through the level conversion circuit to transmit the received digital signal to the microcomputer. The interface circuit of the receiving side modem and the single-chip microcomputer is shown in Figure 2. The function of the light-emitting diode display circuit is also not exactly the same. D1~D8 is the display of received data, which can display the correctly received data in the form of binary numbers, D9 is the power supply indicator of the system, D10 is the correct transmission indicator, D11 is the carrier detection indicator, and D12 is the data transmission indicator.

3 Design of the interface circuit between modem and PC

The interface between the modem and the PC is actually the interface circuit between the single-chip microcomputer W77E58 in the modem and the PC. W77E58 supports TTL level, while the microcomputer serial communication port RS 232C supports EIA level. Therefore, when realizing serial communication between them, a level conversion circuit must be designed to meet their respective needs.

The level conversion circuit is the interface circuit between the command center modem and the microcomputer. It is also a component of the data wireless transmission system hardware circuit (command center side). Its working process is as follows: the digital signal demodulated by the modem is processed by the single-chip microcomputer, and then transmitted from the serial communication port 2 of W77E58, through the level conversion chip MAX232, the RS 232C port (DB9) of the PC and the UART inside the microcomputer, and finally transmitted to the CPU and displayed on the monitoring platform. The circuit schematic is shown in Figure 3.


4. Software Design for Wireless Image Transmission

The program is divided into five parts, three main programs: sender MCU program, receiver MCU program and microcomputer receiving program; two subprograms: error handling subprogram and sending delay subprogram.
The communication between the sender and receiver and the MCU and PC is done by software "handshake" signal. All communication "handshake" signals are #0AAH, the response signal is #00H after correct reception, and the response is #0FFH if the reception is wrong.

When there is no data to be transmitted on the sensor side, the MSM7512B is programmed to work in power saving mode through the microcontroller's programming control. At this time, the power consumption of the modem chip (excluding W77E58) is only 0.1 mW, which can maximize the battery life.

The logic control relationship between the single-chip microcomputer and MSM7512B is: P1.0→MOD2, P1.1→MOD1, P1.5→AOG, and P1.4→radio station PTT. The single-chip microcomputer controls MSM7512B and the radio station to perform receiving and transmitting conversion. When the front-end sensor has data transmission, a falling edge pulse signal is generated to start the program of the entire system. After the data transmission is completed, the system returns to the initial state. The P1.5 port of the single-chip microcomputer controls the output level of the MSM7512B.

Set the two serial ports of the microcontroller to work in serial port working mode 1; timer T1 works in mode 2 (automatically reloads initial value) and acts as a baud rate generator. By adjusting the initial value of T1, it is used to select three rates: 1200 b/s, 600 b/s and 300 b/s; timer T2 works in mode 1 and acts as a timer to design and arrange delays.

In the process of system design, in order to reduce the influence of low sensitivity of radio station and poor channel quality and error, the sender needs to send 5 consecutive "handshake" contact signals. The receiver will confirm that it is a valid contact and respond after receiving the correct contact signal twice in a row. Otherwise, it will be considered as an interference signal and will not respond. This can not only reduce the possibility of missed reports caused by various reasons that the receiver program does not start running, but also ensure that the receiver does not operate incorrectly due to interference signals, reducing the probability of false reports. In addition, considering the various delay times required for the radio station's transceiver conversion and the modulation and demodulation chip's transceiver conversion, a delay time is specially arranged when designing the program. After a lot of experiments, a more appropriate delay time is obtained, that is, no matter which party is communicating, after switching from the receiving state to the transmitting state, a delay of 70 ms is first made, because if the time is too short, the system cannot work normally, and if it is too long, it may affect the data transmission rate and reduce the timeliness of data transmission. The program flow chart of the system data transmitter and receiver microcontroller is shown in Figure 4.


5 Conclusion

Through understanding the performance characteristics of the MSM7512B modem chip, the actual circuit of the transmitter and receiver modems is designed. Then, after briefly introducing the performance characteristics of the single-chip microcomputer W77E58 with dual serial port functions, the hardware circuit diagram of the serial communication between the receiving single-chip microcomputer and the PC of the data wireless transmission system is given, and the design process of the Mod-dem and radio interface circuit is described. Finally, the characteristics of the single-chip microcomputer software of the entire system are described. The design schematic diagram of the wireless sensor network data wireless transmission system is given as a whole.

Wireless sensor networks involve sensor technology, network communication technology, wireless transmission technology, embedded computing technology, microelectronics manufacturing technology, software programming technology and other fields. They are interdisciplinary in nature and have broad application prospects in military, civil defense, environment, ecology, agriculture, health, family and other fields. In special fields such as space exploration and disaster relief, the sensor network industry has unique technical advantages.

Reference address:Design of Transmission Circuit in Remote Ground Sensor System

Previous article:Application of sensor automatic identification device in air conditioning energy saving
Next article:Design and implementation of IP sensor based on IEEE1451 standard

Recommended ReadingLatest update time:2024-11-16 20:24

Design of Remote Data Acquisition Interface Based on MSM7512B
MSM7512B is a low-cost, low-power, high-performance modulation and demodulation chip produced by OKI of Japan. It meets the ITU-TV.23 protocol standard, is powered by a single power supply (3~5V), uses FSK modulation and demodulation, and has a communication rate of 1200bps. Its FSK output signal can directly drive a 6
[Microcontroller]
Design of Remote Data Acquisition Interface Based on MSM7512B
Research on real-time stereo navigation system composed of notebook computer and GPS
This paper developed a three-dimensional topographic map, and matched it with contour lines and maps, and combined the three maps into a three-dimensional navigation map; using the three-dimensional navigation map as the base map, the handheld GPS was connected to a notebook computer to collect spatial data in real tim
[Analog Electronics]
Research on real-time stereo navigation system composed of notebook computer and GPS
Latest Industrial Control Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号