With the maturity of information technologies such as the Internet of Things and big data,the traditional operating mode of sanitation vehicles is undergoing changes and is developing towards the direction of smart sanitation.As an important part of the Internet of Things,data collection and remote monitoring technology provide technical support for improving the digital and intelligent level of sanitation vehicles and lay the foundation for the development of smart sanitation.This paper focuses on the research on the data collection and remote monitoring system of sanitation vehicles,and effectively realizes the functions of CAN bus collection,real-time monitoring and I/O module remote configuration of vehicle-mounted switch quantity,analog quantity,and ECU status data.It mainly includes the following contents:In response to actual functional requirements,combined with key technologies such as CAN bus technology,CANopen protocol,TCP/IP protocol and SQLite database,an overall plan for data collection and remote monitoring system for sanitation vehicles is proposed,and the 4G network is determined for the vehicle terminal and remote monitoring terminal.The system C/S architecture of the media.Complete the system hardware design.Select the STM32F105VCT6 chip as the hardware core,design the minimum system,power supply module,CAN communication module,switch,analog input and output modules and other hardware circuits,and complete the PCB design and production.Based on CANopen communication protocol,complete the program design of each functional module of hardware data acquisition.Use the Qt development platform and SQLite database to complete the design of the remote monitoring terminal,including TCP server access,GUI interface design,and system data storage and management,and realize user login,network connection,real-time monitoring,remote configuration,historical query and other functions.The reliability of the system was verified.Verify the functions of the system data collection and remote monitoring modules,and complete the on-site test of the system.The test results show that the system is stable and reliable,with good realtime performance,and meets the design requirements. |