This paper designs a urban bus intelligent terminal system based on the GPS and GPRS, It complete much functions such as Real-time location tracking, automatic report station, wireless data communication, remote configuration, traffic statistics, vehicle security alarm and information real-time display and so on.The W77E058is selected as the main chip of the system through a detailed analysis and comparison of the51-series chip and Winbond W77E058, because of its fast instruction execution, rich resources and having two full-duplex serial port. It is used to collect and analysis the GPS location information and complete the data communication with the dispatch center; It uses the NEO-5Q chip of U-BLOX Company as a GPS module to realize the collection vehicle location information, and complete the analysis of information on the GPS by the software design; The GPRS network is chosen to realize wireless communication between the terminal controller and the dispatch center, by the wide investigation on Communication mode between the terminal controller and the dispatch center in China. It uses the SIM900module of SIMCOM Company as GPRS communication module, through the AT instruction to realize the system access configuration and data transmission. The data communication protocol is designed to realize the data full duplex communication and transparent transmission of files between the terminal controller and the dispatch center; A bus station identification algorithm based on geographic gate is proposed. This paper introduces the recognition principle of geographic gate algorithm, and gives the realization process of the algorithm. Finally, through the experimental test proved that the algorithm can solve the problem effectively that in the case of the complex route, the concentric circles algorithm occur identification errors at the mutual interaction station; It uses TTS speech synthesis technology, and makes the play audio sound more natural.In addition to the above features, this paper has also carried on the detailed design to the traffic statistics module, liquid crystal display module, manual button module, data storage module, each module are given detailed hardware and software design scheme. Finally, for each sub module and the whole system testing in the laboratory. The test results show that, the system design achieved the expected design requirements. |