CN114967641A - A method and system for automatic testing of vehicle controller diagnostic function - Google Patents
A method and system for automatic testing of vehicle controller diagnostic function Download PDFInfo
- Publication number
- CN114967641A CN114967641A CN202210450078.8A CN202210450078A CN114967641A CN 114967641 A CN114967641 A CN 114967641A CN 202210450078 A CN202210450078 A CN 202210450078A CN 114967641 A CN114967641 A CN 114967641A
- Authority
- CN
- China
- Prior art keywords
- test
- controller
- diagnostic
- diagnosis
- function
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 166
- 238000000034 method Methods 0.000 title claims abstract description 18
- 238000013515 script Methods 0.000 claims abstract description 31
- 238000003745 diagnosis Methods 0.000 claims abstract description 26
- 238000010998 test method Methods 0.000 claims abstract description 6
- 230000005540 biological transmission Effects 0.000 claims abstract 2
- 230000006870 function Effects 0.000 claims description 45
- 238000002405 diagnostic procedure Methods 0.000 claims description 21
- 101000685724 Homo sapiens Protein S100-A4 Proteins 0.000 claims description 14
- 102100023087 Protein S100-A4 Human genes 0.000 claims description 14
- 238000004590 computer program Methods 0.000 claims description 8
- 238000004088 simulation Methods 0.000 claims description 5
- 208000018777 Vulvar intraepithelial neoplasia Diseases 0.000 claims description 4
- 238000004891 communication Methods 0.000 description 9
- 230000004048 modification Effects 0.000 description 4
- 238000012986 modification Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 238000000802 evaporation-induced self-assembly Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B23/00—Testing or monitoring of control systems or parts thereof
- G05B23/02—Electric testing or monitoring
- G05B23/0205—Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
- G05B23/0208—Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
- G05B23/0213—Modular or universal configuration of the monitoring system, e.g. monitoring system having modules that may be combined to build monitoring program; monitoring system that can be applied to legacy systems; adaptable monitoring system; using different communication protocols
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/24—Pc safety
- G05B2219/24065—Real time diagnostics
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
Description
技术领域technical field
本发明属于汽车电气测试技术领域,具体涉及一种车辆控制器诊断功能的自动化测试方法及系统。The invention belongs to the technical field of automobile electrical testing, and in particular relates to an automatic testing method and system for the diagnosis function of a vehicle controller.
背景技术Background technique
目前国内各个整车厂车辆控制器诊断功能皆是在ISO14229标准之上重新修订后进行开发的,且同一整车厂的不同车型、同一车型的不同控制器,因诊断功能的需求不同,所以导致控制器诊断功能存在差异,让控制器诊断功能实现自动化测试难度增加,而目前业界大部分诊断自动化测试系统为解决诊断测试差异性的问题,都需要在测试之前修改测试源程序,而源程序的频繁修改影响了测试系统的稳定性,降低了测试结果的准确度与可靠性,也增加了测试系统的应用难度,和人工成本,最终导致测试系统的应用非常不便,诊断测试效率降低,测试人员最终选择手动执行诊断测试,增加了测试执行的人工成本。At present, the diagnostic functions of the vehicle controllers of various domestic OEMs are developed after revisions on the ISO14229 standard, and different models of the same OEM and different controllers of the same model have different requirements for the diagnostic function, which leads to There are differences in the diagnostic functions of the controllers, which makes it more difficult to automate the testing of the controller diagnostic functions. In order to solve the problem of the differences in the diagnostic tests, most of the diagnostic automated test systems in the industry need to modify the test source program before the test. Frequent modification affects the stability of the test system, reduces the accuracy and reliability of the test results, and also increases the application difficulty and labor cost of the test system, which ultimately leads to inconvenience in the application of the test system, and reduces the efficiency of diagnostic tests. The final choice to perform diagnostic tests manually increases the labor cost of test execution.
现有技术公开了一种基于VT系统的自动化诊断测试方法,包括以下步骤:步骤S10,搭建用于对ECU控制系统进行测试的VT系统测试环境;步骤S20,建立与所述VT系统测试环境对应的仿真模型;步骤S30,基于所述仿真模型中的测试用例对ECU控制系统进行故障诊断,并生成测试报告。该测试方法是使用CANoe-Diva与 vTESTstudio软件把DBC文件和诊断CDD文件转化成自动化测试脚本,再结合VT系统实现控制器诊断功能的自动化测试。The prior art discloses an automated diagnostic testing method based on a VT system, comprising the following steps: step S10, building a VT system test environment for testing an ECU control system; step S20, building a test environment corresponding to the VT system The simulation model; step S30, based on the test case in the simulation model, perform fault diagnosis on the ECU control system, and generate a test report. The test method is to use CANoe-Diva and vTESTstudio software to convert the DBC file and the diagnostic CDD file into an automated test script, and then combine the VT system to realize the automated test of the controller's diagnostic function.
但是,该自动化诊断测试方法使用CANoe-Diva与vTESTstudio 软件编辑或转化自动化测试脚本,仅局限于使用VT系统硬件设备,因为被测控制器的不同需要更改自动化测试脚本源程序。However, this automated diagnostic test method uses CANoe-Diva and vTESTstudio software to edit or convert automated test scripts, and is limited to the use of VT system hardware devices, because different controllers under test need to change the automated test script source program.
发明内容SUMMARY OF THE INVENTION
为了解决现有的需要在测试之前修改测试源程序,而源程序的频繁修改影响测试系统的稳定性,降低了测试结果的准确度与可靠性等问题,本发明提供了一种车辆控制器诊断功能的自动化测试方法及系统,本发明的测试系统及测试方法,适用于所有在ISO14229标准基础之上开发的控制器诊断测试,在对每个控制器进行诊断测试时无需修改自动化测试系统程序源码,只需针对每个控制器诊断测试的差异项,对应修改该控制器测试配置文件,就可进行控制器诊断功能的自动化测试,节约成本,提高诊断测试质量。In order to solve the existing problem that the test source program needs to be modified before the test, and the frequent modification of the source program affects the stability of the test system and reduces the accuracy and reliability of the test result, the present invention provides a vehicle controller diagnosis The automatic test method and system for functions, the test system and the test method of the present invention are suitable for all controller diagnostic tests developed on the basis of ISO14229 standard, and there is no need to modify the automatic test system program source code when performing diagnostic tests on each controller , just according to the difference items of each controller diagnostic test, correspondingly modify the controller test configuration file, the automatic test of the controller diagnostic function can be carried out, which saves the cost and improves the quality of the diagnostic test.
本发明通过如下技术方案实现:The present invention is achieved through the following technical solutions:
第一方面,本发明提供了一种车辆控制器诊断功能的自动化测试方法,具体包括如下步骤:In a first aspect, the present invention provides an automated testing method for the diagnostic function of a vehicle controller, which specifically includes the following steps:
步骤一:根据控制器输入的诊断规范文件编写控制器诊断自动化测试配置文件;Step 1: Write a controller diagnostic automated test configuration file according to the diagnostic specification file input by the controller;
步骤二:连接被测控制器到诊断自动化测试系统;Step 2: Connect the controller under test to the diagnostic automated test system;
步骤三:在自动化测试软件的诊断功能界面上配置被测控制器的诊断层信息和传输层信息;Step 3: Configure the diagnostic layer information and transport layer information of the controller under test on the diagnostic function interface of the automated test software;
步骤四:在自动化测试软件的测试功能界面上配置诊断测试脚本与其它测试信息,并选择需要执行的诊断测试项,之后执行测试功能;Step 4: Configure the diagnostic test script and other test information on the test function interface of the automated test software, select the diagnostic test item to be executed, and then execute the test function;
步骤五;测试开始时,在弹出的窗口输入被测控制器的配置文件路径,然后进行诊断自动化测试。Step 5: At the beginning of the test, input the configuration file path of the controller under test in the pop-up window, and then carry out the diagnostic automation test.
进一步地,步骤一所述配置文件为.INI格式文件,可编辑,内容的编写格式统一,用于记录被测控制器的差异化信息,由测试脚本读取其中信息。Further, the configuration file described in step 1 is an .INI format file, which can be edited, and the content is written in a unified format, which is used to record the differentiated information of the controller under test, and the information therein is read by the test script.
进一步地,步骤三所述自动化测试软件为CANoe软件,CANoe软件的测试脚本由XML和CAPL语言编写,可自动读取被测控制器的配置文件并识别差异点,用于控制供电设备,使被测控制器切换电源模式,执行具体的诊断自动化测试。Further, the automated test software described in step 3 is CANoe software, and the test script of CANoe software is written in XML and CAPL language, which can automatically read the configuration file of the controller under test and identify the difference points, which are used to control the power supply equipment and make the The test controller switches power modes and performs specific diagnostic automated tests.
进一步地,所述XML文件是CANoe软件与CAPL测试脚本之间的接口文件,CAPL测试脚本是诊断自动化测试主程序,用于读取被测控制器配置文件,控制测试执行与硬件设备,存储测试Log与测试报告。Further, the XML file is the interface file between the CANoe software and the CAPL test script, and the CAPL test script is the main program of the diagnostic automation test, used to read the controller configuration file under test, control the test execution and hardware equipment, and store the test. Log and test report.
进一步地,所述CAPL测试脚本需进行加密处理。Further, the CAPL test script needs to be encrypted.
进一步地,步骤五还包括:Further,
(1)、根据输入的被测控制器配置文件路径,读取被测控制器信息;(1) Read the information of the controller under test according to the input path of the configuration file of the controller under test;
(2)、设置供电设备资源;(2), set the power supply equipment resources;
(3)、设置测试Log文件和测试报告保存路径;(3), set the test log file and test report save path;
(4)、开启电源及车速信号仿真功能;(4), turn on the power supply and vehicle speed signal simulation function;
(5)、给被测控制器供电,切换被测控制器电源模式;(5), supply power to the controller under test, and switch the power mode of the controller under test;
(6)、检查被测控制器配置信息是否正确;(6) Check whether the configuration information of the controller under test is correct;
(7)、设置被测控制器配置码、VIN诊断测试必备信息;(7) Set the configuration code of the controller under test and the necessary information for the VIN diagnostic test;
(8)、执行具体的诊断测试项,并开启测试Log记录功能;(8) Execute specific diagnostic test items and enable the test Log recording function;
进一步地,所述供电设备为VT系统或程控电源硬件。Further, the power supply equipment is a VT system or a program-controlled power supply hardware.
第二方面,本发明提供了一种车辆控制器诊断功能的自动化测试系统,包括:In a second aspect, the present invention provides an automated testing system for the diagnosis function of a vehicle controller, including:
电子设备,存储并调用自动化测试软件;Electronic equipment, storing and calling automated test software;
供电设备,用于为被测控制器供电。Power supply device, used to power the controller under test.
进一步地,所述供电设备可提供12V电源,设置有可编程接口,如GPIB接口或.DLL电源控制接口,测试脚本可调用可编程接口,控制设备切换被测控制器电源模式。Further, the power supply device can provide 12V power supply, and is provided with a programmable interface, such as a GPIB interface or a .DLL power supply control interface, and the test script can call the programmable interface to control the device to switch the power supply mode of the controller under test.
进一步地,所述电子设备包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述任一项所述的一种车辆控制器诊断功能的自动化测试方法。Further, the electronic device includes: a memory, a processor, and a computer program stored on the memory and executable on the processor, and the processor implements any one of the above when executing the computer program. An automated testing method for vehicle controller diagnostic functions.
与现有技术相比,本发明的优点如下:Compared with the prior art, the advantages of the present invention are as follows:
本发明的一种车辆控制器诊断功能的自动化测试方法及系统,能够实现车辆控制器诊断功能可靠稳定的自动化测试,且操作简单,有效的节约人力投入成本。The automatic testing method and system for the diagnosis function of the vehicle controller of the present invention can realize reliable and stable automatic testing of the diagnosis function of the vehicle controller, and the operation is simple, and the labor input cost is effectively saved.
附图说明Description of drawings
为了更清楚地说明本发明具体实施方式或现有技术中的技术方案,下面将对具体实施方式或现有技术描述中所需要使用的附图作简单地介绍。在所有附图中,类似的元件或部分一般由类似的附图标记标识。附图中,各元件或部分并不一定按照实际的比例绘制。In order to illustrate the specific embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that are required to be used in the description of the specific embodiments or the prior art. Similar elements or parts are generally identified by similar reference numerals throughout the drawings. In the drawings, each element or section is not necessarily drawn to actual scale.
图1为本发明的一种车辆控制器诊断功能的自动化测试方法的流程示意图;FIG. 1 is a schematic flowchart of an automated testing method for a diagnostic function of a vehicle controller according to the present invention;
图2为本发明的一种车辆控制器诊断功能的自动化测试系统的系统框图;2 is a system block diagram of an automated testing system for a vehicle controller diagnostic function of the present invention;
图3为电子设备结构原理示意图。FIG. 3 is a schematic diagram of the structural principle of an electronic device.
具体实施方式Detailed ways
为清楚、完整地描述本发明所述技术方案及其具体工作过程,结合说明书附图,本发明的具体实施方式如下:In order to clearly and completely describe the technical solution of the present invention and its specific working process, with reference to the accompanying drawings, the specific embodiments of the present invention are as follows:
在本发明中,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”、“固定”等术语应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或成一体;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通或两个元件的相互作用关系,除非另有明确的限定。对于本领域的普通技术人员而言,可以根据具体情况理解上述术语在本发明中的具体含义。In the present invention, unless otherwise expressly specified and limited, the terms "installed", "connected", "connected", "fixed" and other terms should be understood in a broad sense, for example, it may be a fixed connection or a detachable connection , or integrated; it can be a mechanical connection or an electrical connection; it can be directly connected or indirectly connected through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between the two elements, unless otherwise specified limit. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific situations.
在本发明中,除非另有明确的规定和限定,第一特征在第二特征“上”或“下”可以是第一和第二特征直接接触,或第一和第二特征通过中间媒介间接接触。而且,第一特征在第二特征“之上”、“上方”和“上面”可是第一特征在第二特征正上方或斜上方,或仅仅表示第一特征水平高度高于第二特征。第一特征在第二特征“之下”、“下方”和“下面”可以是第一特征在第二特征正下方或斜下方,或仅仅表示第一特征水平高度小于第二特征。In the present invention, unless otherwise expressly specified and limited, a first feature "on" or "under" a second feature may be in direct contact between the first and second features, or the first and second features indirectly through an intermediary touch. Also, the first feature being "above", "over" and "above" the second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is level higher than the second feature. The first feature being "below", "below" and "below" the second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature has a lower level than the second feature.
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In the description of this specification, description with reference to the terms "one embodiment," "some embodiments," "example," "specific example," or "some examples", etc., mean specific features described in connection with the embodiment or example , structure, material or feature is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, those skilled in the art may combine and combine the different embodiments or examples described in this specification, as well as the features of the different embodiments or examples, without conflicting each other.
实施例1Example 1
如图1所示,本实施例提供了一种车辆控制器诊断功能的自动化测试方法,具体包括如下步骤:As shown in FIG. 1 , the present embodiment provides an automated testing method for the diagnosis function of a vehicle controller, which specifically includes the following steps:
步骤一:根据控制器输入的诊断规范文件编写控制器诊断自动化测试配置文件;Step 1: Write a controller diagnostic automated test configuration file according to the diagnostic specification file input by the controller;
步骤二:连接被测控制器到诊断自动化测试系统;Step 2: Connect the controller under test to the diagnostic automated test system;
步骤三:在自动化测试软件的诊断功能界面上配置被测控制器的诊断层信息和传输层信息;Step 3: Configure the diagnostic layer information and transport layer information of the controller under test on the diagnostic function interface of the automated test software;
步骤四:在自动化测试软件的测试功能界面上配置诊断测试脚本与其它测试信息,并选择需要执行的诊断测试项,之后执行测试功能;Step 4: Configure the diagnostic test script and other test information on the test function interface of the automated test software, select the diagnostic test item to be executed, and then execute the test function;
步骤五;测试开始时,在弹出的窗口输入被测控制器的配置文件路径,然后进行诊断自动化测试。Step 5: At the beginning of the test, input the configuration file path of the controller under test in the pop-up window, and then carry out the diagnostic automation test.
在本实施例中,步骤一所述配置文件为.INI格式文件,可编辑,内容的编写格式统一,用于记录被测控制器的差异化信息,由测试脚本读取其中信息。In this embodiment, the configuration file described in step 1 is an .INI format file, which can be edited, and the content is written in a uniform format, which is used to record the differentiated information of the controller under test, and the information therein is read by the test script.
在本实施例中,步骤三所述自动化测试软件为CANoe软件,测试开始前需在软件中配置被测控制器诊断层信息以及传输层信息,然后使用CANoe软件的测试功能调用诊断测试脚本,实现控制器诊断功能的自动化测试;CANoe软件的测试脚本由XML和CAPL语言编写,可自动读取被测控制器的配置文件并识别差异点,用于控制供电设备,使被测控制器切换电源模式,执行具体的诊断自动化测试。In this embodiment, the automated test software described in step 3 is CANoe software. Before the test starts, the diagnostic layer information and transport layer information of the controller under test need to be configured in the software, and then the test function of the CANoe software is used to call the diagnostic test script to realize Automated test of controller diagnostic function; CANoe software test script is written in XML and CAPL language, which can automatically read the configuration file of the controller under test and identify the difference points, which are used to control the power supply equipment and make the controller under test switch the power mode , to perform specific diagnostic automated tests.
在本实施例中,所述XML文件是CANoe软件与CAPL测试脚本之间的接口文件,CAPL测试脚本是诊断自动化测试主程序,用于读取被测控制器配置文件,控制测试执行与硬件设备,存储测试Log与测试报告。为了保证CAPL测试脚本不可轻易修改,CAPL测试脚本编写完毕后必须进行加密处理,之后的诊断自动化测试系统运行只需使用测试脚本加密文件和控制器配置文件,无需测试脚本源程序,就可执行不同控制器的诊断自动化测试。In this embodiment, the XML file is the interface file between the CANoe software and the CAPL test script, and the CAPL test script is the main program of the diagnostic automation test, used to read the configuration file of the controller under test, and control the test execution and hardware equipment. , store the test log and test report. In order to ensure that the CAPL test script cannot be easily modified, the CAPL test script must be encrypted after it is written. The subsequent operation of the diagnostic automated test system only needs to use the test script to encrypt the file and the controller configuration file, and can execute different tests without the test script source program. Diagnostic automation test of the controller.
在本实施例中,步骤五还包括:In this embodiment,
(1)、根据输入的被测控制器配置文件路径,读取被测控制器信息;(1) Read the information of the controller under test according to the input path of the configuration file of the controller under test;
(2)、设置供电设备资源;(2), set the power supply equipment resources;
(3)、设置测试Log文件和测试报告保存路径;(3), set the test log file and test report save path;
(4)、开启电源及车速信号仿真功能;(4), turn on the power supply and vehicle speed signal simulation function;
(5)、给被测控制器供电,切换被测控制器电源模式;(5), supply power to the controller under test, and switch the power mode of the controller under test;
(6)、检查被测控制器配置信息是否正确;(6) Check whether the configuration information of the controller under test is correct;
(7)、设置被测控制器配置码、VIN诊断测试必备信息;(7) Set the configuration code of the controller under test and the necessary information for the VIN diagnostic test;
(8)、执行具体的诊断测试项,并开启测试Log记录功能;(8) Execute specific diagnostic test items and enable the test Log recording function;
在本实施例中,所述供电设备为VT系统或程控电源硬件。In this embodiment, the power supply device is a VT system or program-controlled power supply hardware.
实施例2Example 2
如图2所示,本实施例提供了一种车辆控制器诊断功能的自动化测试系统,包括:As shown in FIG. 2 , the present embodiment provides an automated testing system for the diagnosis function of a vehicle controller, including:
电子设备,存储并调用自动化测试软件;Electronic equipment, storing and calling automated test software;
供电设备,用于为被测控制器供电。Power supply device, used to power the controller under test.
在本实施例中,所述供电设备可提供12V电源,设置有可编程接口,如GPIB接口或.DLL电源控制接口,测试脚本可调用可编程接口,控制设备切换被测控制器电源模式。In this embodiment, the power supply device can provide 12V power supply, and is provided with a programmable interface, such as a GPIB interface or a .DLL power supply control interface, and the test script can call the programmable interface to control the device to switch the power supply mode of the controller under test.
如图3所示,在本实施例中,所述电子设备3包括:存储器(memory)31、处理器(CPU)32及存储在所述存储器上并可在所述处理器上运行的计算机程序33,所述处理器32执行所述计算机程序 33时实现上述实施中任一项所述的一种车辆控制器诊断功能的自动化测试方法。As shown in FIG. 3 , in this embodiment, the electronic device 3 includes: a memory 31 , a processor (CPU) 32 and a computer program stored on the memory and running on the processor 33. When the processor 32 executes the computer program 33, the automatic testing method for the diagnosis function of a vehicle controller described in any one of the foregoing implementations is implemented.
该控制系统还包括:通信接口35以及通信总线34,所述处理器 32、通信接口35、以及存储器31通过通信总线34进行通信的,其中通信总线34是工业标准体系结构(IndustryStandard Architecture,简称为ISA)总线、外部设备互连(Peripheral Component,简称为PCI)总线或扩展工业标准体系结构(Extended Industry Standard Architecture,简称为EISA)总线等。总线可以分为地址总线、数据总线、控制总线等,而如果存储器31、处理器32及通信接口34集成在一块芯片上实现,则存储器31、处理器 32及通信接口35可以通过内部接口完成相互间的通信。The control system further includes: a
所述处理器32还可以是特定集成电路或者多个集成电路。The processor 32 may also be a specific integrated circuit or multiple integrated circuits.
具体地,计算机程序33可以包括程序代码,该程序代码包括计算机操作指令;存储器31,用于存放计算机程序33。存储器31可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器;通信接口35,用于与其他设备比如客户端或其他服务器等的网元通信。Specifically, the computer program 33 may include program code, and the program code includes computer operation instructions; the memory 31 is used for storing the computer program 33 . The memory 31 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory; a
实施例3Example 3
下面结合具体的实施例来对本发明做进一步说明:Below in conjunction with specific embodiment, the present invention will be further described:
车身控制器诊断测试方法,具体如下:The diagnostic test method of the body controller is as follows:
1、编写车身控制器配置文件:1. Write the body controller configuration file:
根据控制器输入文件,填写车身控制器软硬件版本号、零部件号、 VIN等信息,填写车身控制器各个诊断服务差异项等信息;According to the input file of the controller, fill in the software and hardware version number, part number, VIN and other information of the body controller, and fill in the information such as the differences of each diagnostic service of the body controller;
2、连接车身控制器到诊断自动化测试系统:2. Connect the body controller to the diagnostic automated test system:
连接车身控制器、电源、CANoe硬件、上位机等硬件设备;Connect the body controller, power supply, CANoe hardware, host computer and other hardware equipment;
3、配置车身控制器诊断层信息、传输层信息、诊断自动化测试脚本路径:3. Configure the diagnostic layer information, transport layer information, and diagnostic automation test script path of the body controller:
(1)、在CANoe软件诊断功能设置界面配置车身控制器诊断功能寻址报文ID、物理寻址报文ID、P2、P2*时间等参数;(1), in the CANoe software diagnostic function setting interface, configure the body controller diagnostic function addressing message ID, physical addressing message ID, P2, P2* time and other parameters;
(2)、在CANoe软件测试功能设置界面配置XML和CAPL测试脚本路径;(2), configure the XML and CAPL test script paths in the CANoe software test function setting interface;
(3)、运行诊断自动化测试系统;(3), run the diagnostic automated test system;
4、运行诊断自动化测试系统,输入车身控制器配置文件路径,执行诊断测试。4. Run the diagnostic automated test system, enter the path of the body controller configuration file, and execute the diagnostic test.
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本申请的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本申请的实施例所属技术领域的技术人员所理解。Any description of a process or method in the flowcharts or otherwise described herein may be understood to represent a module, segment or portion of code comprising one or more executable instructions for implementing a specified logical function or step of the process , and the scope of the preferred embodiments of the present application includes alternative implementations in which the functions may be performed out of the order shown or discussed, including performing the functions substantially concurrently or in the reverse order depending upon the functions involved, which should It is understood by those skilled in the art to which the embodiments of the present application belong.
以上结合附图详细描述了本发明的优选实施方式,但是,本发明并不限于上述实施方式中的具体细节,在本发明的技术构思范围内,可以对本发明的技术方案进行多种简单变型,这些简单变型均属于本发明的保护范围。The preferred embodiments of the present invention have been described in detail above with reference to the accompanying drawings. However, the present invention is not limited to the specific details of the above-mentioned embodiments. Within the scope of the technical concept of the present invention, various simple modifications can be made to the technical solutions of the present invention, These simple modifications all belong to the protection scope of the present invention.
另外需要说明的是,在上述具体实施方式中所描述的各个具体技术特征,在不矛盾的情况下,可以通过任何合适的方式进行组合,为了避免不必要的重复,本发明对各种可能的组合方式不再另行说明。In addition, it should be noted that the specific technical features described in the above-mentioned specific embodiments can be combined in any suitable manner unless they are inconsistent. In order to avoid unnecessary repetition, the present invention provides The combination method will not be specified otherwise.
此外,本发明的各种不同的实施方式之间也可以进行任意组合,只要其不违背本发明的思想,其同样应当视为本发明所公开的内容。In addition, the various embodiments of the present invention can also be combined arbitrarily, as long as they do not violate the spirit of the present invention, they should also be regarded as the contents disclosed in the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210450078.8A CN114967641A (en) | 2022-04-26 | 2022-04-26 | A method and system for automatic testing of vehicle controller diagnostic function |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210450078.8A CN114967641A (en) | 2022-04-26 | 2022-04-26 | A method and system for automatic testing of vehicle controller diagnostic function |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114967641A true CN114967641A (en) | 2022-08-30 |
Family
ID=82980007
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210450078.8A Pending CN114967641A (en) | 2022-04-26 | 2022-04-26 | A method and system for automatic testing of vehicle controller diagnostic function |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114967641A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115685959A (en) * | 2022-10-19 | 2023-02-03 | 东风柳州汽车有限公司 | Diagnosis write configuration test method, device, equipment and storage medium |
CN115857470A (en) * | 2022-12-01 | 2023-03-28 | 北京茵沃汽车科技有限公司 | System and method for testing vehicle-mounted controller based on single programmable power supply |
CN116068997A (en) * | 2023-02-01 | 2023-05-05 | 岚图汽车科技有限公司 | Design method and device for vehicle whole-vehicle-level fault diagnosis system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105511448A (en) * | 2015-12-30 | 2016-04-20 | 东风商用车有限公司 | Integrated vehicle diagnostic instrument and diagnostic method thereof |
CN105573296A (en) * | 2016-01-15 | 2016-05-11 | 上海汽车变速器有限公司 | Hardware-in-loop-based automation test system for automobile diagnosis, and method thereof |
CN106227633A (en) * | 2016-08-02 | 2016-12-14 | 浪潮电子信息产业股份有限公司 | Server diagnosis test method capable of automatically configuring test items |
CN113495546A (en) * | 2020-03-20 | 2021-10-12 | 北京新能源汽车股份有限公司 | Method, controller and test bench for realizing automatic test of test cases |
WO2021259001A1 (en) * | 2020-06-22 | 2021-12-30 | 中国第一汽车股份有限公司 | Automobile diagnosis system, method and apparatus for updating automobile diagnosis system, and device and storage medium |
-
2022
- 2022-04-26 CN CN202210450078.8A patent/CN114967641A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105511448A (en) * | 2015-12-30 | 2016-04-20 | 东风商用车有限公司 | Integrated vehicle diagnostic instrument and diagnostic method thereof |
CN105573296A (en) * | 2016-01-15 | 2016-05-11 | 上海汽车变速器有限公司 | Hardware-in-loop-based automation test system for automobile diagnosis, and method thereof |
CN106227633A (en) * | 2016-08-02 | 2016-12-14 | 浪潮电子信息产业股份有限公司 | Server diagnosis test method capable of automatically configuring test items |
CN113495546A (en) * | 2020-03-20 | 2021-10-12 | 北京新能源汽车股份有限公司 | Method, controller and test bench for realizing automatic test of test cases |
WO2021259001A1 (en) * | 2020-06-22 | 2021-12-30 | 中国第一汽车股份有限公司 | Automobile diagnosis system, method and apparatus for updating automobile diagnosis system, and device and storage medium |
Non-Patent Citations (1)
Title |
---|
何亮: "基于LabVIEW的电动汽车整车下线检测系统的研究与开发", 中国优秀硕士学位论文全文数据库工程科技Ⅱ辑, 15 August 2014 (2014-08-15), pages 035 - 203 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115685959A (en) * | 2022-10-19 | 2023-02-03 | 东风柳州汽车有限公司 | Diagnosis write configuration test method, device, equipment and storage medium |
CN115857470A (en) * | 2022-12-01 | 2023-03-28 | 北京茵沃汽车科技有限公司 | System and method for testing vehicle-mounted controller based on single programmable power supply |
CN116068997A (en) * | 2023-02-01 | 2023-05-05 | 岚图汽车科技有限公司 | Design method and device for vehicle whole-vehicle-level fault diagnosis system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114967641A (en) | A method and system for automatic testing of vehicle controller diagnostic function | |
CN103149526B (en) | PCBA board test macro and method | |
CN107491061A (en) | The network automatically test system and its method of a kind of commercial car OBD diagnostic devices | |
CN104483959A (en) | Fault simulation and test system | |
CN112068530A (en) | ECU (electronic control Unit) automatic testing method, system, storage medium and device | |
CN113160875A (en) | Chip test system and test method | |
CN111831553B (en) | A test system and test method for multifunctional integrated automatic simulation test | |
CN109783340A (en) | Test code programming method, IP test method and the device of SoC | |
CN114138644A (en) | BMC (baseboard management controller) debugging method, monitoring method, system, device, equipment and medium | |
CN114328250A (en) | Automatic self-checking method, medium and device for software system | |
CN110727581A (en) | Crash localization method and electronic device | |
CN116930716A (en) | Chip low-power consumption verification method, system, chip and electronic equipment | |
CN110457743B (en) | Chip detection method based on FPGA | |
CN115757168A (en) | Vehicle UI automatic test script recording method and device and electronic equipment | |
JP2005536789A (en) | A universal approach to simulate, emulate and test various serial bus types | |
CN114496053A (en) | Data anomaly detection method, device and equipment and computer readable storage medium | |
CN109783295A (en) | Test macro self-test method for producing software and device based on configuration | |
CN115422091B (en) | Firmware debugging method and device, electronic equipment and storage medium | |
CN114995792A (en) | Modularized development method, device, medium and electronic device of automobile diagnosis device | |
CN116107617A (en) | Vehicle ECU flashing method, system, electronic device and readable storage medium | |
CN114280459A (en) | Test method and device for integrated circuit | |
CN115808612B (en) | Chip physical IP test system, method and electronic equipment | |
CN117785712B (en) | Automatic UDS (universal description service) refreshing test and system based on Python and CAPL languages | |
CN219891652U (en) | SSD switching device and SSD debugging system | |
CN118277229A (en) | Vehicle upgrade test method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Country or region after: China Address after: 130012 no.4888, Yushan Road, Changchun high tech Development Zone, Jilin Province Applicant after: FAW Besturn Automotive Co.,Ltd. Address before: 130000 No. 4888, Weishan Road, high tech Development Zone, Changchun City, Jilin Province Applicant before: FAW Pentium Car Co.,Ltd. Country or region before: China |
|
CB02 | Change of applicant information |