Application of DSP technology in automobile positioning and anti-theft system and research on its architecture[Copy link]
After the system with DSP as the controller is initialized after startup, it will be in a state of constantly receiving the car's location information. At the same time, the system is also waiting for the interrupt of detecting the status and receiving the user's query message. Once an interrupt occurs, it will be transferred to the corresponding interrupt processing subroutine. If the system's defense signal is invalid, the control system will not perform the above operations. After the system's defense signal is valid, the DSP mainly processes the location information received by the GPS receiver in a loop. Every time a new message mark is obtained, the subroutine is called to process the message, mainly to separate the useful information in the message such as latitude and longitude, time and checksum, and store these data in the specified storage space. The wireless communication module TC35T also exchanges information with the DSP through the serial port. In this case, the serial port reception uses an interrupt to obtain the right to use the controller. If an abnormal vehicle condition occurs, such as the door opening and engine starting in the defense condition, an interrupt request will also be sent to the DSP. In the software, the interrupt caused by TC35T is set to a low priority, that is, when the vehicle condition is abnormal and the owner actively queries the message, the DSP controller will not respond to the interrupt request of TC35T. If the DSP controller receives an interrupt request and determines that the interrupt is caused by the engine start signal (it can be delayed for a certain period of time, such as 100 ms, and then detected again. If it is still valid, it is determined that the start signal is valid, which can prevent misoperation). The system will process the engine start interrupt service subroutine and send a short message (the engine is running) to the user (the number of times it is sent can also be set). If the owner does not respond in time, it can be sent again after 5 minutes, and the local alarm signal can be sent at an interval of 1 minute, and each time it lasts for 30 seconds; the power off and oil off signals are immediately effective (in this simulation experiment, two indicator lights are on), and the brake signal is also effective after 20 seconds; at the same time, the processing results and the current location information received by the GPS receiver are sent to the owner through wireless communication. Similarly, if the signal of the left door or right door being damaged or vibrating is detected, the other processing methods are similar except that the content of the short message sent to the owner is different. When the user's mobile phone sends a check status short message to request the control system to return the current status, the control system will respond differently according to the current system status: when it is not in the armed state, the control system will send a short message to the user that it is not armed yet (defen ses isnt it set); when it is in the armed state, if the system is intact, it will send a short message to the user that the status is intact (all is ok). If the system has been damaged, the corresponding treatment measures have generally been taken, such as locking the engine first. At this time, a lock engine (the engine is locked) short message will be sent to the user, and the further treatment method will be sent to the user at the same time. To unlock, the user needs to send a certain password and send an unlock engine message to the control system at the same time to effectively unlock. Other situations are handled in a similar way.
DSP技术在汽车定位防盗系统的应用及体系结构研究.pdf(232.19 KB, downloads: 0)