Analysis and Management Method of A2L File of Calibration System Based on Multi-Tree and Regular Expression
According to the definition rule of A2L file in automobile calibration system,the regular expression is designed to match the internal key information of A2L file,and the information of A2L file is represented by class structure and multi-tree model.In addition,the corresponding general analysis flow is proposed for different data modules in the file.Aiming at the problems of measurement value visualization and calibration value download,the conversion formula of raw quantity to physical quantity is designed according to various predefined types and conversion methods,which can provide conversion tools for upper computer software.The A2L data analysis management software is developed by using C#and window applications to realize the visual management and modification of the analysis results.The software design pattern of"high cohesion and low coupling"and dynamic link library are used to further develop the measurement calibration software.Finally,the effectiveness of the proposed A2L file parsing method is verified by experiments.