| Automobile instrument is the fastest,most comprehensive and most direct way for drivers to master the vehicle,and the direct embodiment of most of the new electronic functions when the vehicle is upgraded.In recent years,with the continuous development of automotive electronic technology,new challenges are put forward to the detection link in the production process of automotive instruments.The traditional detection method is manual or semi-automatic,and the detection results are obtained by manual control of instrument status and human eye recognition,and it is not easy to manage the production data of multi production line and multi model instruments.Therefore,the research value of the direction of automatic detection and production data management of automobile instrument has high research value.In view of the above problems,this paper designs and implements a new automatic automobile instrument detection system.Firstly,the overall scheme of the system is designed.According to the function division of the system,using the method of modular processing,it is divided into four subsystems: acquisition,control,processing and storage.On the basis of realizing the detection function,the modular processing can avoid the situation that the corresponding part of the detection system can not be updated for some functions due to serious functional coupling when the instrument is upgraded.Next,the automatic detection process is designed and the algorithm is implemented.In order to solve the problem of rapid replacement of instruments,a general instrument control method is studied.The instrument state is controlled directly or indirectly by CAN bus and PLC,and implemented by finite state machine,which improves the fault tolerance rate of the system.In the aspect of automatic detection process,the process is abstracted and divided into minimum detection units,and the multi thread by multiple-core technology is used to control,assign tasks,collect and process results,which greatly improves the detection efficiency.Further,the function of the instrument detection system is realized,including system software architecture design,production configuration data structure,communication with database and production control.The system software architecture adopts star topology based on C / S mode,which is realized by three-tier architecture,and the corresponding underlying structure and database communication mode are designed.Production control adopts statistical process control method,which enables users to know production status and production capacity from historical results.Finally,the terminal of the detection system is implemented by using Microsoft Foundation Classes,and the function is verified.The terminal includes real-time detection,production configuration,historical results,system maintenance and other interfaces,which are responsible for interaction with users and two-way transmission of information.Through the terminal interface of the detection system to verify the detection related functions,the experimental results prove that the detection system can realize the automatic detection of different types of instruments,and further prove the operation efficiency and production control ability of the system. |