1. Introduction Urban road traffic in countries around the world is generally crowded, inefficient, and polluting, which seriously restricts the sustainable development of cities. At present, the existing general vehicle monitoring system in China has a small software service scope, and information exchange between different systems is difficult, the cost is high, and the system upgrade is difficult. The internationally advanced vehicle monitoring system is a vehicle dispatching, commanding and monitoring system built using GPS global satellite positioning system, mobile communication network, data transmission network and other infrastructure. However, such a system is expensive, the system is complicated to operate, and the operation is difficult. Therefore, the use of simple scientific and technological means to carry out intelligent dispatching research of operating vehicles can change the traditional way that dispatchers and managers of the original dispatchers have unclear information on the operation of the operating vehicles, unclear road conditions, and only rely on experience scheduling.
This paper designs a simple, high quality, low cost, simple operation vehicle operation monitoring system.
2. The hardware composition of the monitoring system The structure of the vehicle operation monitoring system consists of a field data acquisition system, an LED module, an operation platform, an alarm device, a central control system, a wireless communication system, and a computer system. The system structure is shown in Figure 1.
The vehicle operation monitoring system is based on SPCE061A. Its main function is: the field data is converted into a standard voltage analog signal by the transmitter; the MCU collects the analog signal and performs A/D conversion; processes and stores the A/D converted data; LED display; software realizes the clock Function; connect to the digital radio station of the local end through RS232 serial port, send data to computer system, sound and light alarm, etc.
This article refers to the address: http://
The core component of this system is SPCE061A, which is a 16-bit microcontroller introduced by Sunplus Technology. It is widely used in instrumentation and industrial control. Its main feature is a high degree of functional integration and easy to expand. The key performance parameters are as follows: operating voltage is 2.6V ~ 3.6V; operating frequency is 0.32 ~ 49.152MHz; 2K SRAM and 32K FALSH ROM; 32-bit programmable multi-function I / O port; 2 16-bit timing / counter; 32768Hz real-time clock; dual-channel PWM output function; programming environment supports C language and assembly language programming, and C language and assembly language mixed programming, greatly facilitates user programming, improve system development efficiency.
(1) Interrupt setting
SPCE061A microcontrollers have a variety of interrupt types and a wealth of interrupt handling functions, including exception interrupts, event interrupts, and software interrupts. Among them, the event interrupt is also called hardware interrupt. There are two kinds of interrupt modes: one is the general interrupt request, that is, the IRQ interrupt, and the other is the fast interrupt request, that is, the FIQ interrupt. The system generates the FIQ interrupt through the TimerA overflow signal, interrupts every 0.25s, and performs corresponding operations in the interrupt service subroutine, such as software clock, A/D conversion, serial communication, and so on.
(2) Data conversion Fully utilizes a 10-bit A/D converter ADC integrated in the SPCE061A microcontroller, which implements analog-to-digital conversion using the successive approximation principle. Transform the data collected in the field into a standard voltage analog signal.
(3) Serial communication
The universal serial communication interface of the SPCE061A microcontroller is a standard full-duplex universal asynchronous receiver/transmitter UART module. The UART receive signal RX and transmit signal TX are shared with IOB7 and IOB10 and belong to the special function of port B. To ensure proper communication of the UART, IOB7 and IOB10 should be set to input and output, respectively.
3. Monitoring System Software Design The entire monitoring system software consists of a chip part and a computer part. The main tasks of the software design of the chip system include: detection signals, data processing, scan buttons, control and data transmission.
The software part of the computer system is mainly an algorithm that applies an optimization strategy, such as a genetic algorithm. In order to improve the real-time effect of the system, the main program shares more tasks, such as data processing, LED display, alarm, and so on. The main program and interrupt program flow chart are shown in Figure 2 and Figure 3.
4. Operation Monitoring Management An in-vehicle device is installed on the vehicle, and the in-vehicle device is used to collect position information (longitude, latitude, speed, azimuth) of the vehicle and state parameters (oil path status, etc.) of the vehicle. The in-vehicle device transmits information such as position data, short information, and vehicle status of the vehicle in accordance with the set operation mode. An alarm message can be sent in case of an emergency. The in-vehicle device receives control commands to change its own operating parameters and can perform certain control on the vehicle (such as switching oil passages, etc.). The vehicle is scheduled and controlled by the associated vehicle dispatch monitoring management system. At the same time, voice communication can be made between the user and the vehicle. The in-vehicle device currently communicates with the network center through the wireless data communication network, and can be extended to communicate using various wireless communication methods (such as CDMA).
The function of the computer system is responsible for communicating with the mobile center and the short message center, receiving the information sent by the vehicle; communicating with the workstation, processing and displaying on the workstation; receiving the dispatch control command sent by the vehicle dispatch monitoring management system, and processing the post-processing Give the vehicle.
The vehicle dispatch monitoring management system is connected to the network center by wire and wireless to obtain data sent back by the vehicle and issue dispatch control commands to the vehicle. The vehicle dispatch monitoring management system and the network center have a historical data input function interface. After obtaining the location data of the in-vehicle device, the vehicle dispatch monitoring management system can use the data to display the motion track of the vehicle on the electronic map. Multi-window alarm acceptance, query, location tracking function, vehicle addressing, monitoring function.
5. Conclusion The problem of operating vehicle monitoring and dispatching is an extremely complex issue. Based on the static optimization scheduling of operating vehicles, this paper uses electronic technology, embedded technology, GPS/GIS technology, network communication technology, database technology and software technology to track and locate the operating vehicle and vehicle for the characteristics of operational vehicle operation and dispatch management. Real-time monitoring, thus realizing the management and dispatch management of operating vehicles. The system uses SPCE061A single-chip microcomputer as the control core to realize the software and hardware design of the vehicle monitoring and dispatching system. The system hardware cost is low, the structure is simple, the interface is friendly, the use is convenient, and it can be used for monitoring and dispatching management of various operating vehicles. Research shows that intelligent scheduling based on advanced communication technology, intelligent technology and scheduling method can significantly improve system scheduling performance, shorten operating vehicle turnaround time, greatly improve management efficiency and level, save manpower and material resources, and improve operating vehicles. Operational efficiency and economic benefits have realized the scientific and standardized vehicle management, and thus improve the operation and management level of operation vehicles and driving safety, and have broad application prospects.
LED Bulb,Dimmable LED Bulb,UL Listed LED Bulb
Sunhe Lighting Co., Ltd , http://www.dgledlight.com