论文检索
期刊
全部知识仓储预印本开放期刊机构
高级检索

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

Analysis and Management Method of A2L File of Calibration System Based on Multi-Tree and Regular Expression

中文摘要英文摘要

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

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.

谢钊;杨亚联;刘昌东

重庆大学 机械与运载工程学院,重庆 400044||重庆大学 机械传动国家重点实验室,重庆 400044重庆大学 机械与运载工程学院,重庆 400044||东风小康汽车有限公司,重庆 402247

计算机与自动化

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

A2L;regular expression;data analysis;data management

《汽车工程学报》 2024 (001)

135-143 / 9

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

10.3969/j.issn.2095‒1469.2024.01.14

评论

下载量:0
点击量:0