Remote monitoring of industrial vehicle power battery can not only improve the safety of vehicles,but also facilitate the development of business models such as vehicle leasing.Therefore,in order to control the cost and simplify the structure,it is necessary to design and implement the remote monitoring system of industrial vehicle power battery based on the existing hardware and software platform of battery management system.The overall scheme proposed in this paper consists of four parts: remote monitoring terminal,network communication program,database system and remote monitoring platform.The main contents and innovations are as follows:(1)Design the overall structure of the remote communication program of the monitoring terminal,and complete the bottom communication and application layer program design.The terminal bottom layer communication program includes SCI bottom layer communication and non blocking sending confirmation program based on this.The latter can avoid the application block waiting on the basis of sending confirmation.Finally,the application layer uses at instruction to realize remote communication control.(2)Database,table creation and design,complete the network communication program design.Create database and design three kinds of data tables for storing user data,real-time information and control information.In order to achieve high concurrency of network communication programs and improve development efficiency,the netty framework is used as the communication bottom layer.Then the data communication,data processing and database operation of the program are realized.Among them,regular expression and JDBC technology are used to complete data analysis and database operation.(3)The remote monitoring platform is designed and implemented with the framework of flask.The hierarchical structure of monitoring platform includes presentation layer,business logic layer and data access layer.The presentation layer implements the Ajax request of display interface and local data refresh.The business logic layer implements route management,template rendering and data processing.The data access layer uses Sqlalchemy to complete the database operation.(4)Build the test environment,configure the server,and test the system function.In order to carry out the system function test,the hardware test platform for the power battery system is built first;then the Cent OS server configuration and program deployment are completed;finally,the system function test and analysis are carried out.Through the system function test,it is proved that the remote monitoring system developed in this paper achieves the expected functional requirements. |