With the development of information technology, wireless communication has become popular, and our usual monitoring methods are still in contact. The disadvantage of contact monitoring is that contact control mostly transmits the collected information remotely through the wired network, which has high cost and greatly limits the scope of use; narrow application range and poor flexibility, in the case of some high-risk and inconvenient personnel directly monitoring It is even more difficult to play a role; with the continuous development of modern electronic technology, the means of cracking contact monitoring is increasing, which greatly reduces the safety performance of contact monitoring. With the vigorous development of the social economy and the improvement of living standards, people are pursuing the quality of life and the updated requirements for the safety of personal property. Therefore, the new type of anti-theft alarm system with superior performance has become a mainstream in the market. This system is a new type of monitoring and alarming system based on satellite positioning and 4G technology developed for the shortcomings of traditional monitoring and alarm products. It is used to realize remote, accurate and real-time monitoring of alarms and navigation and positioning.
This article refers to the address: http://
This system takes the automobile as the development platform, and installs the sensor monitoring device to collect the information and transmit it to the control system centered on the single chip microcomputer. After analysis and processing, it will pass the GSM (Global System for Mobile Communications)/GPRS (General Packet Radio Service) network. The alarm information is notified to the user by telephone, SMS (SMS service) or MMS (Multimedia Information Service) to achieve long-distance, accurate and real-time alarm. GPS (Global Positioning System) on the market can achieve accurate positioning and general navigation, but the core technology of GPS is in the hands of the United States. If a war occurs, the United States closes the application, and the consequences are unimaginable, especially for military use. We have adopted GPS and the "Beidou Double Star" dual-mode navigation and positioning technology independently developed by China.
1, hardware system
The system consists of MCU control module, data acquisition module, information receiving and transmitting module, GPS module and Beidou double star positioning module. The data acquisition module uses different sensors to send the collected signals to the MCU. After analyzing and processing, the MCU sends control information and alarm commands to the GSM module, and then transmits alarm information to the user through the GSM/GPRS network or Beidou Double Star to achieve monitoring alarm. the goal of. The system will take measures such as remote call alert, remote control camera and cut off the oil circuit to ensure the safety of the vehicle according to the user's decision. At the same time, the system also uses GPS and Beidou double-star dual-mode positioning method to achieve all-weather, high-precision real-time navigation and positioning, positioning accuracy of up to 3m ~ 10m.
The MCU implements physical connection with GSM, GPS and Beidou binary terminals in serial communication, and remains with the PC. RS-232 serial communication interface. The Beidou double-star positioning terminal is used to realize fast positioning, and the position information is transmitted to the user and the central station through GSM or double-star short communication. At the same time, the Beidou satellite's two-way short message communication function can realize regional alarm.
1.1 MCU Control Module
The module plays the role of receiving, analyzing and processing sensor alarm information and user control information, and is a core component of the system. Its design includes a power supply section, a level shifting section, a memory design section, and an external interface section (including sensor signal input, MCU control external device signal output display, communication interface between the MCU and the Beidou binary positioning module and the GSM module).
1.2 Data Acquisition Module
There are a variety of sensors available in the data acquisition module, such as vibration sensors, pressure sensors, switch and disconnected sensors, when the car is vibrated, the door is opened, or someone is sitting in the seat. Different information is generated, and different data and information collected by these sensors are input into the system MCU for subsequent processing.
The design idea of ​​this module is to make full use of the safe and mature products already in the car as part of the system. The advantages are: the system security and stability will be greatly improved; the system state control problem can be better solved, and it is not only inconvenient to consider the use of mobile phone short messages for defense and defense, and the long-term extra information cost is not negligible. It can be modified on the original basis to reduce the cost of the product, and at the same time, the existing vehicle equipment can be utilized reasonably and effectively, so that the resources can be reasonably and effectively configured.
1.3 Information receiving and sending module
Taking the GSM module as the core, the information interaction between the system and the user is realized, and the function of sending alarm information and receiving user response is played in the system. The module communicates data through the GSM network, eliminating the need to set up an operation center, which greatly reduces the cost of production promotion. The design idea of ​​this module is to use the GSM module with better openness and strictly implement the specifications and protocols of GSM0707, GSM0705, GSM0338, etc. of the European Telecommunications Union to facilitate system software development and enhance the versatility of the system software.
1.4 GPS module
GPS technology is very mature in military and civilian applications. By using GPS and Beidou dual-star dual-mode positioning, the accuracy of navigation and positioning can be greatly improved.
1.5 Beidou Double Star Positioning Terminal
This terminal is used to achieve fast positioning, and the location information is sent to the user and the central station through GSM and dual-star short communication, and the regional alarm is realized by using the double-star short communication. The main functions are: fast positioning, providing all-weather, real-time positioning services for users in the service area, positioning accuracy is equivalent to GPS; short message communication, can transmit information of up to 120 Chinese characters at a time; precision timing, accuracy up to 20ns.
2, software design
The system software mainly refers to the European Telecommunications Union's GSM0707, GSM0705, GSM0338 and other specifications and protocols, combined with the standard AT command set design and editing, and through the RS-232 serial port transceiver to achieve MCU and GSM module, CPS module and Beidou double star navigation Two-way communication of the positioning terminal. After a lot of experiments, the software runs stably on the system, and its versatility and portability are very good. System software design process.
The main processes and related procedures are described as follows:
a) First initialize the MCU to enter the normal working mode, the program controls the GSM module through the UART interface of the MCU, and the initialization function of the serial port is serial-init(), respectively for the MCU and GSM module, the Beidou double-star navigation positioning terminal, the GPS module, and The external display processing interface of the PC is defined and explained in detail. At the same time, the input or output mode of the corresponding sensor and control pin is correctly set.
b) In order to correctly establish the communication between the MCU and the GSM module, the serial communication rate is detected. After the MCU is properly set, the ATE detection signal is sent by the single-chip microcomputer. If the communication is not established correctly, the detection is continued, and the GSM response is confirmed to confirm that the communication is established normally. .
c) In order to enable the GSM module to work under the conditions required by the user, it needs to be initialized, including turning off vibration and ringtones, setting SMS memory, mode, prompt mode, and so on.
d) Enter the work mode, including two aspects of work:
First, the sensors are detected, and the sensor with high alarm level is detected first. If an alarm signal is sent, the MCU controls editing and sends a mobile phone text message (or calls) to notify the user;
The second is to detect whether there is a new short message or incoming call, and then read back and decode the command sent by the user through the short message or verify the user's incoming call to control the GSM module to automatically answer. Since the error is inevitable when reading a large amount of data from the serial port, in order to prevent the execution of the wrong command, the MCU will repeatedly read the same message twice in succession, and the command in the short message will be executed when the same two times, otherwise the message will be read again.
3, system function and performance
a) User password setting: The user can edit the short message "Change password ****" to the GSM module. After the user receives the SMS feedback "execution success" or "execution failure", the user can know the execution status of the password change.
b) Change user: The user can edit the short message "Change User ****" (the last 4 digits are the set password), and the result can be judged when the user receives the SMS feedback.
c) SMS alarm: When the vehicle safety is threatened by the outside world, after the vehicle sensor collects the information and submits the information to the MCU to determine the threat level, it issues an instruction to control the GSM module to edit the mobile phone text message such as "door opening", "car stolen", etc. Notify the user at one time.
d) MMS image monitoring: When the user receives a threat to the vehicle security situation, the message "photograph" can be edited to the car phone. After receiving the command, the MCU controls the GSM module to take a picture and send it to the user through the GPRS network at the first time, which is convenient for the user. Understand the specifics of vehicle safety.
e) Remote monitoring and shouting warning: When the user receives the alarm SMS, the user can directly dial the car phone, the system will automatically connect the phone to facilitate the user to monitor, or through the system's own power amplifier and speaker to expand the voice call alert.
f) Remote braking: When the user receives a text message or listens to the vehicle and finds that the vehicle is threatened, the message "turn off" can be edited to the car phone, and the system will automatically cut off the oil circuit to stop the car.
g) Remote remote control car: The user can edit the mobile phone text message "warm car" to the GSM module, and the MCU will control the existing relay to warm up in advance.
h) Beidou double star navigation positioning: fast positioning; short message communication; precise timing.
i) Regional communication and alarm: When the system of this car monitors the dangerous situation, the short communication function of Beidou Double Star can be used to send alarm information to the neighboring system to jointly improve the security protection level and prevent the danger from spreading.
j) GPS and Beidou dual mode positioning: The system has an external interface of the GPS module, which can be used for differential comparison between GPS and Beidou Double Star to obtain more accurate navigation and positioning information.
k) With the continuous development of GIS (Geographic Information System), the system information processing capability will be continuously improved, and more efficient real-time navigation and tracking can be realized.
4 Conclusion
This design is a new high-tech monitoring alarm and navigation positioning product integrating traditional vehicle-mounted anti-theft alarm unit, Beidou double-star navigation and positioning terminal, GPS module, GSM/GPRS network and GIS. The system meets the urgent needs of users in many aspects such as function, practicability, reliability and ease of use. At the same time, with the rapid increase in the demand for private cars in China and the rapid development of the economy, the market prospect of this system is very broad, and the market potential is very huge!
Thc oil HHC vapoizer
Shenzhen Yingyuan Technology Co.,ltd , https://www.yingyuanvape.com