首页|基于多叉树和正则表达式的标定系统A2L文件的解析管理方法

基于多叉树和正则表达式的标定系统A2L文件的解析管理方法

扫码查看
根据汽车标定系统A2L文件的定义规律,设计了正则表达式匹配A2L文件关键信息,利用类结构体和多叉树模型对 A2L文件信息进行表示,并对文件中不同的数据模块提出了对应的通用化解析流程.针对测量值可视化和标定值下载问题,依据各种预定义类型和转换方法,设计原始量-物理量的转换公式,可为上位机软件提供转换工具.利用C#和窗体应用开发了A2L数据解析管理软件,实现对解析结果的可视化管理和修改.采用了"高内聚低耦合"的软件设计模式和动态链接库(dll),可进一步开发出测量标定软件.通过试验验证了所提出的A2L文件解析管理方法的有效性.
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.

A2Lregular expressiondata analysisdata management

谢钊、杨亚联、刘昌东

展开 >

重庆大学 机械与运载工程学院,重庆 400044

重庆大学 机械传动国家重点实验室,重庆 400044

东风小康汽车有限公司,重庆 402247

A2L 正则表达式 数据解析 数据管理

国家重点研发计划政府间国际科技创新合作项目(中韩)

2021YFE0193800

2024

汽车工程学报
中国汽车工程研究院股份有限公司

汽车工程学报

CSTPCD
影响因子:0.35
ISSN:2095-1469
年,卷(期):2024.14(1)
  • 5