1 Introduction
At present, in-vehicle information systems have gradually become an indispensable part of intelligent transportation systems (ITS) that integrate advanced electronic, computer, and communication technologies. In-vehicle information systems integrate multiple information services such as vehicle instruments, anti-theft monitoring, automatic navigation, media playback, and web browsing on a unified hardware platform. Compared with the separate development and integration of multiple components in the vehicle, in-vehicle information systems save material and communication costs, are conducive to the digitization of vehicle information, and are also conducive to improving the cost-effectiveness of the entire vehicle. [1]
The car monitoring system is an important part of the vehicle information system and provides important protection for the anti-theft of the car. At present, the principles of car monitoring devices are mainly divided into the following three categories: short-range monitoring and wireless remote monitoring and GPS positioning monitoring. Commonly used short-range sound monitors generally sense abnormal vibrations of the protected object (such as a car or a safe) through a vibration sensor, and then drive a high-power sound alarm. The disadvantages of this monitoring method are short monitoring distance, noise pollution to the environment, high false alarm rate, and the monitor is easy to be disassembled or damaged. Ordinary wireless monitors use proprietary radio frequencies to monitor information, which has the disadvantages of short transmission distance and susceptibility to interference from obstacles. GPS positioning alarms [1] use modern electronic information technology, aerospace technology and network technology to achieve real-time information feedback between cars and car owners, but also have the disadvantages of "blind spots" and high costs.
GSM is a relatively mature, complete and widely used system in the current mobile communication system based on time division multiple access technology. The GSM system integrates modern source coding technology, channel coding, interleaving, equalization technology, digital modulation technology, voice coding technology and slow frequency modulation technology, and introduces a large amount of computer control and management into the system, thus ensuring the correctness, security and reliability of data transmission. [2]
ARM processor is currently the most commonly used processor in embedded systems. As the hardware platform of vehicle information system, it has the characteristics of small size, low cost, high performance and rich embedded resources.
To this end, a GSM remote monitoring system based on ARM was designed . It uses the GSM network as the communication carrier and the ARM processor S3C2410 as the basic hardware platform to achieve automatic monitoring and timely control of the vehicle status.
2 System Analysis
The ARM - based GSM car monitoring system is a new type of car monitoring system with a dedicated communication module embedded inside. The working principle of the monitor is shown in Figure 1: When the sensor detects a door opening or engine start signal, the signal is converted into a digital signal through the A/D conversion module and transmitted to the ARM processor. The ARM processor analyzes and processes the information and sends the processing result (alarm information) to the wireless communication module in the form of AT commands. The wireless communication module sends the alarm signal to the predetermined car owner's mobile phone in the form of a text message. The car owner replies to the corresponding text message based on the received alarm information to achieve control of the car, such as forcing the engine to shut down or locking the door. Using the GSM network, the alarm information can be transmitted to any place covered by mobile communications, overcoming the defects of the limited transmission distance and noise pollution of the alarm signal in the existing technology.
The monitor should also have instructions for changing the system password, dynamically setting the monitor's control and unlocking instructions, setting the owner's mobile phone number, etc. When making these settings, the user is required to provide a password in a text message for identity verification.
Figure 1
Schematic diagram of
remote monitoring
device hardware structure
3 Hardware Design
ARM - based GSM remote monitoring system The system mainly consists of S3C2410 target board, TC35i communication module, SIM card module, photocoupler, sensor, controller, power supply system, etc., as shown in Figure 2. The whole system can be divided into three parts:
1) Monitoring part The door switch sensor and engine vibration sensor are connected to the GPIO port of the S3C2410 target board through a photocoupler, and the port connected to the sensor is configured as input mode. The corresponding GPIO port can be bound to the external interrupt source. When a corresponding signal is generated, an interrupt is triggered to process the corresponding alarm event.
2) Control part The controller is connected to the GPIO port of the target board through an optocoupler, and the port connected to the controller is configured as an output port. The control signal sent by the target board is amplified by the controller to control the locking/opening of the door, or the shutdown and start of the engine.
3) The target board of the communication part is connected to the GSM mobile communication module through the serial port to send alarm information or receive control instructions and system configuration instructions sent by the car owner. There is a SIM card in the communication module to determine the identity of the sender or receiver of the SMS.
4) Power supply The power supply of the monitoring system includes the power supply of the target board, the controller and the sensor. Due to the difference in voltage and current between the two, a photocoupler is used to isolate them to prevent the large current in the controller from damaging the target board. The entire power supply system can come from the car battery, so that normal monitoring can be performed even after the car is turned off.
The monitoring program is stored in the target board memory. The monitoring program is cross-developed using a computer and finally downloaded and solidified into the target board.
Figure 2
Remote monitor
hardware connection diagram [page]
4 Software Design
Remote monitoring The system is developed in C language under the embedded Linux platform. The remote monitoring The system is mainly divided into the following modules:
1) The wireless communication module is mainly responsible for sending and receiving communication text messages. The sending and receiving of text messages is achieved by sending the AT command set to the serial port. The AT command set is the communication protocol between the GSM module and the embedded computer. The AT command is a string that starts with AT and ends with \r\n characters. Each command has a corresponding return whether it is executed successfully or not. For other unexpected information (such as someone dialing in, no signal on the line, etc.), the module will also have corresponding information prompts, and the receiving end can do corresponding processing.
The short message specification used is GSM 07.05, and the mode is PDU mode [4]. The PDU string is a string of ASCII codes, consisting of numbers and letters such as '0'-'9' and 'A'-'F', which are 8-bit hexadecimal numbers. The PDU string contains not only the displayable message itself, but also a lot of other additional information, and the structure of the sent and received PDU strings is not exactly the same. The format of the PDU string for sending a short message is shown in Table 1. The format of the received short message is slightly different from this, so it will not be repeated here.
The generation and decoding of SMS PDU codes are written into corresponding functions according to the GSM 07.05 specification for calling by monitoring modules and system settings modules.
2) Monitoring and control module The monitoring module mainly completes the detection of sensor information and generates an interrupt when the conditions are met. In the interrupt service program, an alarm SMS is generated and the SMS sending function is called to send the alarm information to the owner's mobile phone. The control module sends the corresponding control signal to the controller according to the content of the received SMS.
3) System setting module mainly completes the modification of the owner's mobile phone number, SMS center number, system password, alarm information content, reply command content, etc. to increase the security of the system. The SMS content format is shown in Table 2.
The information about system settings is stored in the system memory in the form of a data file. When the settings are modified, the contents of the file will be modified.
The program flow of the entire system is shown in Figure 3. The entire monitoring system starts running as soon as it is powered on. As long as a detected interrupt event occurs, the interrupt is processed. When a new SMS arrives, a specified message will also be sent to the serial port, so the reception of serial port data should also adopt the interrupt method. In this way, the system efficiency is higher and the continuous loop of the program is avoided to waste processor resources.
Figure 3
Remote monitoring
system program flow chart
5 Conclusion
ARM - based GSM remote monitoring The device is currently a more advanced car monitoring system, which has the following features: 1) Using SMS as a transmission method, it can achieve "zero-time alarm" of car status information; 2) With the help of the global GSM network, "long-distance alarm" can be made no matter where the car owner is; 3) As part of the vehicle information system, the ARM -based car monitoring system has a "high cost-effectiveness" as a whole; 4) Using a mobile phone as the operating terminal of the monitor and mobile phone SMS as the carrier of control instructions, it has the characteristics of easy operation.
The ARM - based GSM remote monitoring system is not only widely used in car anti-theft systems, but also provides a new model of modern remote monitoring systems, which has broad application prospects in railways, transportation, electricity, industry, environmental protection, hydrology and other fields.
The author's innovative viewpoint
1) GSM car monitoring system based on ARM Most GSM monitoring systems use single-chip microcomputers as control chips. In the current situation where embedded systems are popular, developing car monitoring systems under a unified vehicle information system platform has the characteristics of short development cycle, fast response speed, and reliable monitoring.
2) Control parameters can be set Most car monitors have fixed commands and cannot be modified at will. This monitor proposes dynamic changes in control commands and alarm phone parameters, which improves the flexibility and safety of the system.
3) Defines the corresponding communication protocol for remote monitoring at the application layer
References
[1] Tang Zhiwei, Lu Hengli. Automobile information service system based on embedded Linux[J]. Microcomputer Information, 2006.3-2:209-211.
[2] Yang Lijuan, Lu Zhouxun. Design and implementation of GSM line maintenance monitoring system [J]. Microcomputer Information, 2005.7-1:149-150
[3] Huang Xianying, Chen Huan. Design of embedded automobile intelligent monitoring system based on Linux[J]. Microcomputer Information, 2006.12-2:226-228
[4] China Electronic Technology Information Network. Sending and receiving short messages via serial port [EB/OL]. http://www.ec66.com/article/list.asp, 2005.3
Previous article:EEG signal acquisition system based on ARM
Next article:Design of digital video monitoring system based on ARM
Recommended ReadingLatest update time:2024-11-16 20:47
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
- #idlemarket#Selling GigaDevice GD32 E231C-START development board
- Goodbye 2019 ~ Hello 2020 - Looking back at 2019 and planning for 2020
- 【Home Smart Dashboard】Project Submission
- FPGA design ideas and techniques: data interface synchronization
- Together: About the GD32L233 development board unpacking test
- It is said that uC/OS system is free. Is it true?
- Last two days! Free review - Pingtouge scenario-based Bluetooth Mesh gateway development kit
- EEWORLD University Hall----Research and development of high-speed motors
- How to choose between different chips in TI's Sub-1GHz product line?
- Why does C6000 need Cache?