CN111983990A - Basic software automated test platform - Google Patents

Basic software automated test platform Download PDF

Info

Publication number
CN111983990A
CN111983990A CN201910433992.XA CN201910433992A CN111983990A CN 111983990 A CN111983990 A CN 111983990A CN 201910433992 A CN201910433992 A CN 201910433992A CN 111983990 A CN111983990 A CN 111983990A
Authority
CN
China
Prior art keywords
test
board
diagnostic
power supply
software
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
Application number
CN201910433992.XA
Other languages
Chinese (zh)
Inventor
魏静
王冠
李趁前
李刚
徐荣荣
吴宝忠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TIANJIN BODUN ELECTRONICS CO Ltd
Original Assignee
TIANJIN BODUN ELECTRONICS CO Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by TIANJIN BODUN ELECTRONICS CO Ltd filed Critical TIANJIN BODUN ELECTRONICS CO Ltd
Priority to CN201910433992.XA priority Critical patent/CN111983990A/en
Publication of CN111983990A publication Critical patent/CN111983990A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0218Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterised by the fault detection method dealing with either existing or incipient faults
    • G05B23/0224Process history based detection method, e.g. whereby history implies the availability of large amounts of data
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24065Real time diagnostics

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Testing Electric Properties And Detecting Electric Faults (AREA)

Abstract

本发明专利提供一个基础软件自动化测试平台,包括CAN总线底层协议和诊断协议的自动化测试。平台包括工控机、继电器板卡、电压调理板卡、故障注入板卡、可编程电源、VN1640、CANspider、示波器。上述模块都安装在机柜中,线束使用BOB接口统一连接,方便扩展接口。PC机与系统之间通过一根USB线连接。本测试平台可实现CAN总线底层协议测试,内容包括物理层、数据链路层、交互层、网络管理、故障管理;诊断协议的测试,内容包括服务测试和数据测试。能够根据测试规范编写的测试案例进行详细的测试,自动生成测试报告,包括测试数据的输出。

Figure 201910433992

The patent of the present invention provides a basic software automatic test platform, including the automatic test of the CAN bus bottom layer protocol and the diagnosis protocol. The platform includes industrial computer, relay board, voltage conditioning board, fault injection board, programmable power supply, VN1640, CANspider, and oscilloscope. The above modules are installed in the cabinet, and the wiring harness is connected by BOB interface, which is convenient for expanding the interface. The PC and the system are connected by a USB cable. This test platform can realize CAN bus bottom protocol test, including physical layer, data link layer, interaction layer, network management, fault management; diagnostic protocol test, including service test and data test. It can conduct detailed tests according to the test cases written in the test specification, and automatically generate test reports, including the output of test data.

Figure 201910433992

Description

基础软件自动化测试平台Basic software automated test platform

技术领域technical field

本发明专利是一种基础软件自动化测试平台,属于汽车行业中自动化测试领域。The patent of the present invention is a basic software automatic testing platform, which belongs to the field of automatic testing in the automobile industry.

背景技术Background technique

现有的测试手段周期长,工作量巨大。而且越来越复杂的测试内容,使用单一手动方法测试显然无法满足客户要求。基础软件自动化测试平台能够简化繁重的测试工作,提高工作效率,降低测试难度。The existing testing methods have a long cycle and a huge workload. And more and more complex test content, testing with a single manual method is obviously unable to meet customer requirements. The basic software automated test platform can simplify the heavy test work, improve work efficiency and reduce test difficulty.

发明专利内容Invention patent content

针对现有技术存在的不足,本发明专利目的是提供一种自动化测试平台,以解决上述背景技术中提出的问题。Aiming at the deficiencies in the prior art, the purpose of the patent of the present invention is to provide an automated testing platform to solve the problems raised in the above background art.

为了实现上述目的,本发明是通过如下的技术方案来实现:基础软件自动化测试平台,包括:测试机柜、虚拟软件部分、诊断测试软件部分;所述虚拟软件部分、诊断测试软件部分安装在测试机柜内侧;In order to achieve the above object, the present invention is achieved through the following technical solutions: a basic software automatic test platform, including: a test cabinet, a virtual software part, and a diagnostic test software part; the virtual software part and the diagnostic test software part are installed in the test cabinet. inside;

所述测试机柜内部安装有PDU电源、工控机、显示器、程序电源、ATS机箱、示波器、信号发生器、数字万用表;A PDU power supply, an industrial computer, a display, a program power supply, an ATS chassis, an oscilloscope, a signal generator, and a digital multimeter are installed inside the test cabinet;

所述测试机柜包括板卡、电源模块、CAN模块;所述工控机用于安装控制板卡和CAN模块,且虚拟软件部分和诊断测试软件部分安装在工控机上,The test cabinet includes a board, a power supply module, and a CAN module; the industrial computer is used to install the control board and the CAN module, and the virtual software part and the diagnostic test software part are installed on the industrial computer,

所述板卡包括继电器板卡、继电器板卡、电压调理板卡、故障注入板卡,继电器板卡用于控制CAN、KL.30、KL.15等信号的通断;信号调理板卡用于将数字信号转换为直流电平控制继电器;故障注入板卡用于实现对地或者对电源的短接,也可实现开路故障模拟;IO板卡用于控制继电器板卡;The board includes a relay board, a relay board, a voltage conditioning board, and a fault injection board. The relay board is used to control the on-off of CAN, KL.30, KL.15 and other signals; the signal conditioning board is used for Convert the digital signal to DC level to control the relay; the fault injection board is used to realize the short circuit to the ground or the power supply, and it can also realize the simulation of open circuit fault; the IO board is used to control the relay board;

所述CAN模块包括VN1640和CANspider,VN1640连接在工控机和被测ECU之间,通过CANoe软件上位机来监控网络数据及执行测试案例;CANspider用于总线故障的模拟;The CAN module includes VN1640 and CANspider, VN1640 is connected between the industrial computer and the ECU under test, and the CANoe software host computer monitors network data and executes test cases; CANspider is used for bus fault simulation;

所述示波器用于CAN总线数据波形的采集,由Labview调用函数进行采集;The oscilloscope is used for the acquisition of the CAN bus data waveform, and the function is called by Labview for acquisition;

所述虚拟软件部分,是Labview开发的一个用户平台,具有数据采集、信号分析等功能模块,完成对硬件的驱动、测量参数以及数据采集和保存的功能;The virtual software part is a user platform developed by Labview, which has functional modules such as data acquisition and signal analysis, and completes the functions of driving hardware, measuring parameters, and data acquisition and storage;

所述诊断测试软件部分,包括CANoe、CANdela、CANdiva三个部分。CANdela用于制作.CDD诊断数据库文件;CANdiva是依据诊断数据库文件生成自动化测试案例并输出详细测试报告;CANoe是一个环境载体,用于执行.diva工程的测试案例和数据的监控。The diagnostic test software part includes three parts: CANoe, CANdela and CANdiva. CANdela is used to make .CDD diagnostic database files; CANdiva is to generate automated test cases and output detailed test reports based on the diagnostic database files; CANoe is an environment carrier for executing test cases and data monitoring of .diva projects.

所述虚拟软件部分可以实现CAN总线和诊断协议的一体式自动化测试平台。The virtual software part can realize an integrated automatic test platform of CAN bus and diagnostic protocol.

所述诊断测试软件部分可以自动保存测试数据,自动输出测试报告。The diagnostic test software part can automatically save test data and output test reports automatically.

所述电源模块包括2个可编程电源和开关电源,可编程电源1用于为整车测试系统供电,是测试系统的主电源;可编程电源2用于地偏移板卡电压的调节;开关电源用于给继电器以及其他有源器件供电。The power module includes two programmable power supplies and a switching power supply. The programmable power supply 1 is used to supply power to the vehicle test system and is the main power supply of the test system; the programmable power supply 2 is used to adjust the voltage of the ground offset board; Power supplies are used to power relays and other active devices.

所述工控机通过接口和板卡、电源模块、CAN模块连接。The industrial computer is connected with the board, the power supply module and the CAN module through the interface.

所述接口为BOB接口。The interface is a BOB interface.

所述工控机通过运行上位机程序,进行人机交互和硬件驱动。CAN模块包括用于总线监听的VN1640和用于测量采样点和BUSoff恢复测试的CANspider。VN1640结合上位机测试软件CANoe,支持CAN/LIN总线监控、负载统计、错误帧识别和数据记录,能进行多节点仿真,可使用CAPL语言编写测试框架。结合LABview软件控制,能够实现测试案例之间的逐条自动测试,从而提高测试的可配置性和自动化测试程度。诊断自动化测试系统,由CANoe、CANdela、CANdiva三个部分。CANdela用于制作.CDD诊断数据库文件;CANdiva是依据诊断数据库文件生成自动化测试案例并输出详细测试报告;CANoe是一个环境载体,用于执行.diva工程的测试案例和数据的监控。能够进行诊断服务、ECU物流数据读取、故障码读取和总线监控,支持整车配置、数据刷新;提供自动化导入诊断数据库的诊断自动化测试。The industrial computer performs human-computer interaction and hardware driving by running the host computer program. CAN modules include VN1640 for bus monitoring and CANspider for measuring sampling points and BUSoff recovery testing. VN1640 combined with the host computer test software CANoe, supports CAN/LIN bus monitoring, load statistics, error frame identification and data recording, can perform multi-node simulation, and can use CAPL language to write test frameworks. Combined with LABview software control, it can realize the automatic test one by one between the test cases, thereby improving the configurability of the test and the degree of automatic testing. The diagnostic automated test system consists of three parts: CANoe, CANdela and CANdiva. CANdela is used to make .CDD diagnostic database files; CANdiva is to generate automated test cases and output detailed test reports based on the diagnostic database files; CANoe is an environment carrier for executing test cases and data monitoring of .diva projects. It can perform diagnostic services, ECU logistics data reading, fault code reading and bus monitoring, support vehicle configuration, data refresh, and provide automatic diagnostic testing for importing into the diagnostic database.

所述虚拟软件部分、诊断测试软件部分选用LABview搭建,有关用例的参数配置与执行在一个页面中,用户可以根据先前配置的待测协议类型,如:物理层、OSEKNm,AutoSARNm,选择待测网络,待测节点,即可配置该节点下各用例相关的参数约束,简单明了;在用例约束参数配置成功后,可以任选一个或者多个待测用例,设置用例的执行次数,执行用例,系统自动校验所配参数的完整性,各用例执行过程中、执行完毕均有提示,所选用例执行完毕后,程序自动进入测试报告生成页,在该页面,用户可以根据需要,在网络拓扑图上勾选待生成的节点的报告,确定后程序自动抓取相关数据,生成Excel格式的测试报告。The virtual software part and the diagnostic test software part are built with LABview. The parameters of the use case are configured and executed in one page, and the user can select the network to be tested according to the previously configured protocol type to be tested, such as: physical layer, OSEKNm, AutoSARNm , the node to be tested, you can configure the parameter constraints related to each use case under the node, which is simple and clear; after the use case constraint parameters are successfully configured, you can choose one or more test cases, set the execution times of the use case, execute the use case, system Automatically verify the integrity of the configured parameters. There are prompts during and after the execution of each use case. After the selected use case is executed, the program automatically enters the test report generation page. Check the report of the node to be generated, and the program automatically grabs the relevant data and generates a test report in Excel format after confirmation.

本发明的有益效果为:本发明中指出,接口为BOB接口,由此可以得知本发明中的线束使用BOB接口统一连接,方便扩展接口。PC机与系统之间通过一根USB线连接。本测试平台可实现CAN总线底层协议测试,内容包括物理层、数据链路层、交互层、网络管理、故障管理;诊断协议的测试,内容包括服务测试和数据测试。能够根据测试规范编写的测试案例进行详细的测试,自动生成测试报告,包括测试数据的输出。本发明结合LABview软件控制,能够实现测试案例之间的逐条自动测试,从而提高测试的可配置性和自动化测试程度。诊断自动化测试系统能够进行诊断服务、ECU物流数据读取、故障码读取和总线监控,支持整车配置、数据刷新;提供自动化导入诊断数据库的诊断自动化测试。The beneficial effects of the present invention are as follows: in the present invention, it is pointed out that the interface is a BOB interface, thus it can be known that the wire harness in the present invention is connected uniformly by the BOB interface, which is convenient for expanding the interface. The PC and the system are connected by a USB cable. This test platform can realize CAN bus bottom protocol test, including physical layer, data link layer, interaction layer, network management, fault management; diagnostic protocol test, including service test and data test. It can conduct detailed tests according to the test cases written in the test specification, and automatically generate test reports, including the output of test data. Combined with the control of LABview software, the invention can realize the automatic test one by one between the test cases, thereby improving the configurability of the test and the degree of the automatic test. The diagnostic automated test system can perform diagnostic services, ECU logistics data reading, fault code reading and bus monitoring, support vehicle configuration, data refresh, and provide automated diagnostic testing for importing into the diagnostic database.

附图说明Description of drawings

图1为本发明结构示意图。Figure 1 is a schematic structural diagram of the present invention.

图2为本发明内部结构示意图。Figure 2 is a schematic diagram of the internal structure of the present invention.

如,PDU电源1、显示器2、工控机3、程序电源4、ATS机箱5、示波器6、信号发生器7、数字万用表8。For example, PDU power supply 1, display 2, industrial computer 3, program power supply 4, ATS chassis 5, oscilloscope 6, signal generator 7, digital multimeter 8.

具体实施方式Detailed ways

实施例1Example 1

本发明为基础软件自动化测试平台,包括:测试机柜、虚拟软件部分、诊断测试软件部分;虚拟软件部分、诊断测试软件部分安装在测试机柜内侧;测试机柜内部安装有PDU电源1、工控机3、显示器2、程序电源4、ATS机箱5、示波器6、信号发生器7、数字万用表8;测试机柜包括板卡、电源模块、CAN模块、示波器6有什么作用;工控机3用于安装控制板卡和CAN模块,且虚拟软件部分和诊断测试软件部分安装在工控机3上,板卡包括继电器板卡、继电器板卡、电压调理板卡、故障注入板卡,继电器板卡用于控制CAN、KL.30、KL.15等信号的通断;信号调理板卡用于将数字信号转换为直流电平控制继电器;故障注入板卡用于实现对地或者对电源的短接,也可实现开路故障模拟;IO板卡用于控制继电器板卡;CAN模块包括VN1640和CANspider,VN1640连接在工控机3和被测ECU之间,通过CANoe软件上位机来监控网络数据及执行测试案例;CANspider用于总线故障的模拟;所述示波器用于CAN总线数据波形的采集,由Labview调用函数进行采集;虚拟软件部分,是Labview开发的一个用户平台,具有数据采集、信号分析等功能模块,完成对硬件的驱动、测量参数以及数据采集和保存的功能;诊断测试软件部分,包括CANoe、CANdela、CANdiva三个部分。CANdela用于制作.CDD诊断数据库文件;CANdiva是依据诊断数据库文件生成自动化测试案例并输出详细测试报告;CANoe是一个环境载体,用于执行.diva工程的测试案例和数据的监控。The invention is a basic software automatic test platform, including: a test cabinet, a virtual software part, and a diagnostic test software part; the virtual software part and the diagnostic test software part are installed inside the test cabinet; the inside of the test cabinet is installed with a PDU power supply 1, an industrial computer 3, Display 2, program power supply 4, ATS chassis 5, oscilloscope 6, signal generator 7, digital multimeter 8; the test cabinet includes the board, power module, CAN module, and oscilloscope 6. What is the function of; the industrial computer 3 is used to install the control board and CAN module, and the virtual software part and the diagnostic test software part are installed on the industrial computer 3, the board includes a relay board, a relay board, a voltage conditioning board, a fault injection board, and the relay board is used to control CAN, KL .30, KL.15 and other signals on and off; the signal conditioning board is used to convert digital signals into DC level control relays; the fault injection board is used to realize short-circuit to ground or power supply, and can also realize open-circuit fault simulation ;IO board is used to control the relay board; CAN module includes VN1640 and CANspider, VN1640 is connected between IPC 3 and the ECU under test, and the CANoe software upper computer is used to monitor network data and execute test cases; CANspider is used for bus faults The oscilloscope is used for the acquisition of CAN bus data waveform, and the function is called by Labview for acquisition; the virtual software part is a user platform developed by Labview, with functional modules such as data acquisition and signal analysis, and completes the driving of hardware, Measurement parameters and functions of data acquisition and storage; diagnostic testing software, including CANoe, CANdela, CANdiva. CANdela is used to make .CDD diagnostic database files; CANdiva is to generate automated test cases and output detailed test reports based on the diagnostic database files; CANoe is an environment carrier for executing test cases and data monitoring of .diva projects.

实施例2Example 2

本发明的工控机3通过运行上位机程序,进行人机交互和硬件驱动。CAN模块包括用于总线监听的VN1640和用于测量采样点和BUSoff恢复测试的CANspider。VN1640结合上位机测试软件CANoe,支持CAN/LIN总线监控、负载统计、错误帧识别和数据记录,能进行多节点仿真,可使用CAPL语言编写测试框架。结合LABview软件控制,能够实现测试案例之间的逐条自动测试,从而提高测试的可配置性和自动化测试程度。诊断自动化测试系统,由CANoe、CANdela、CANdiva三个部分。CANdela用于制作.CDD诊断数据库文件;CANdiva是依据诊断数据库文件生成自动化测试案例并输出详细测试报告;CANoe是一个环境载体,用于执行.diva工程的测试案例和数据的监控。能够进行诊断服务、ECU物流数据读取、故障码读取和总线监控,支持整车配置、数据刷新;提供自动化导入诊断数据库的诊断自动化测试。所述虚拟软件部分、诊断测试软件部分选用LABview搭建,有关用例的参数配置与执行在一个页面中,用户可以根据先前配置的待测协议类型,如:物理层、OSEKNm,AutoSARNm,选择待测网络,待测节点,即可配置该节点下各用例相关的参数约束,简单明了;在用例约束参数配置成功后,可以任选一个或者多个待测用例,设置用例的执行次数,执行用例,系统自动校验所配参数的完整性,各用例执行过程中、执行完毕均有提示,所选用例执行完毕后,程序自动进入测试报告生成页,在该页面,用户可以根据需要,在网络拓扑图上勾选待生成的节点的报告,确定后程序自动抓取相关数据,生成Excel格式的测试报告。The industrial computer 3 of the present invention performs human-computer interaction and hardware driving by running the host computer program. CAN modules include VN1640 for bus monitoring and CANspider for measuring sampling points and BUSoff recovery testing. VN1640 combined with the host computer test software CANoe, supports CAN/LIN bus monitoring, load statistics, error frame identification and data recording, can perform multi-node simulation, and can use CAPL language to write test frameworks. Combined with LABview software control, it can realize the automatic test one by one between the test cases, thereby improving the configurability of the test and the degree of automatic testing. The diagnostic automated test system consists of three parts: CANoe, CANdela and CANdiva. CANdela is used to make .CDD diagnostic database files; CANdiva is to generate automated test cases and output detailed test reports based on the diagnostic database files; CANoe is an environment carrier for executing test cases and data monitoring of .diva projects. It can perform diagnostic services, ECU logistics data reading, fault code reading and bus monitoring, support vehicle configuration, data refresh, and provide automatic diagnostic testing for importing into the diagnostic database. The virtual software part and the diagnostic test software part are built with LABview. The parameters of the use case are configured and executed in one page, and the user can select the network to be tested according to the previously configured protocol type to be tested, such as: physical layer, OSEKNm, AutoSARNm , the node to be tested, you can configure the parameter constraints related to each use case under the node, which is simple and clear; after the use case constraint parameters are successfully configured, you can choose one or more test cases, set the execution times of the use case, execute the use case, system Automatically verify the integrity of the configured parameters. There are prompts during and after the execution of each use case. After the selected use case is executed, the program automatically enters the test report generation page. Check the report of the node to be generated, and the program automatically grabs the relevant data and generates a test report in Excel format after confirmation.

以上显示和描述了本发明的基本原理和主要特征和本发明的优点,对于本领域技术人员而言,显然本发明不限于上述示范性实施例的细节,而且在不背离本发明的精神或基本特征的情况下,能够以其他的具体形式实现本发明。因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本发明的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化囊括在本发明内。不应将权利要求中的任何附图标记视为限制所涉及的权利要求。The basic principles and main features of the present invention and the advantages of the present invention have been shown and described above, and it will be apparent to those skilled in the art that the present invention is not limited to the details of the above-described exemplary embodiments, but without departing from the spirit or essential aspects of the present invention. In the case of the characteristic features, the present invention can be implemented in other specific forms. Therefore, the embodiments are to be regarded in all respects as illustrative and not restrictive, and the scope of the invention is to be defined by the appended claims rather than the foregoing description, which are therefore intended to fall within the scope of the claims. All changes within the meaning and scope of the equivalents of , are included in the present invention. Any reference signs in the claims shall not be construed as limiting the involved claim.

此外,应当理解,虽然本说明书按照实施方式加以描述,但并非每个实施方式仅包含一个独立的技术方案,说明书的这种叙述方式仅仅是为清楚起见,本领域技术人员应当将说明书作为一个整体,各实施例中的技术方案也可以经适当组合,形成本领域技术人员可以理解的其他实施方式。In addition, it should be understood that although this specification is described in terms of embodiments, not each embodiment only includes an independent technical solution, and this description in the specification is only for the sake of clarity, and those skilled in the art should take the specification as a whole , the technical solutions in each embodiment can also be appropriately combined to form other implementations that can be understood by those skilled in the art.

Claims (8)

1.基础软件自动化测试平台,包括测试机柜、虚拟软件部分、诊断测试软件部分;所述虚拟软件部分、诊断测试软件部分安装在测试机柜内侧;1. The basic software automated test platform, including a test cabinet, a virtual software part, and a diagnostic test software part; the virtual software part and the diagnostic test software part are installed inside the test cabinet; 所述测试机柜内部安装有PDU电源、工控机、显示器、程序电源、ATS机箱、示波器、信号发生器、数字万用表;需要客户阐述一下这些部件和虚拟软件部分、诊断测试软件部分的关系The test cabinet is equipped with PDU power supply, industrial computer, display, program power supply, ATS chassis, oscilloscope, signal generator, digital multimeter; the customer needs to explain the relationship between these components and the virtual software part and the diagnostic test software part 所述测试机柜内部模块包括板卡、电源模块、CAN模块;所述工控机用于安装控制板卡和CAN模块,且虚拟软件部分和诊断测试软件部分安装在工控机上;The internal modules of the test cabinet include a board card, a power supply module, and a CAN module; the industrial computer is used for installing the control board card and the CAN module, and the virtual software part and the diagnostic test software part are installed on the industrial computer; 所述板卡包括继电器板卡、继电器板卡、电压调理板卡、故障注入板卡,继电器板卡用于控制CAN、KL.30、KL.15等信号的通断;信号调理板卡用于将数字信号转换为直流电平控制继电器;故障注入板卡用于实现对地或者对电源的短接,也可实现开路故障模拟;IO板卡用于控制继电器板卡;The board includes a relay board, a relay board, a voltage conditioning board, and a fault injection board. The relay board is used to control the on-off of CAN, KL.30, KL.15 and other signals; the signal conditioning board is used for Convert the digital signal to DC level to control the relay; the fault injection board is used to realize the short circuit to the ground or the power supply, and it can also realize the simulation of open circuit fault; the IO board is used to control the relay board; 所述CAN模块包括VN1640和CANspider,VN1640连接在工控机和被测ECU之间,通过CANoe软件上位机来监控网络数据及执行测试案例;CANspider用于总线故障的模拟;The CAN module includes VN1640 and CANspider, VN1640 is connected between the industrial computer and the ECU under test, and the CANoe software host computer monitors network data and executes test cases; CANspider is used for bus fault simulation; 所述示波器用于CAN总线数据波形的采集,由Labview调用函数进行采集;The oscilloscope is used for the acquisition of the CAN bus data waveform, and the function is called by Labview for acquisition; 所述虚拟软件部分,是Labview开发的一个用户平台,具有数据采集、信号分析等功能模块,完成对硬件的驱动、测量参数以及数据采集和保存的功能;The virtual software part is a user platform developed by Labview, which has functional modules such as data acquisition and signal analysis, and completes the functions of driving hardware, measuring parameters, and data acquisition and storage; 所述诊断测试软件部分,包括CANoe、CANdela、CANdiva三个部分,CANdela用于制作.CDD诊断数据库文件;CANdiva是依据诊断数据库文件生成自动化测试案例并输出详细测试报告;CANoe是一个环境载体,用于执行.diva工程的测试案例和数据的监控。The diagnostic test software part includes three parts: CANoe, CANdela and CANdiva. CANdela is used to make the .CDD diagnostic database file; CANdiva is to generate automatic test cases and output detailed test reports based on the diagnostic database file; CANoe is an environmental carrier that uses Test cases and data monitoring for executing .diva projects. 2.根据权利要求1所述的基础软件自动化测试平台,其特征在于所述虚拟软件部分可以实现CAN总线和诊断协议的一体式自动化测试平台。2. The basic software automatic test platform according to claim 1, wherein the virtual software part can realize the integrated automatic test platform of CAN bus and diagnostic protocol. 3.根据权利要求1所述的基础软件自动化测试平台,其特征在于诊断测试软件部分可以自动保存测试数据,自动输出测试报告。3. The basic software automatic testing platform according to claim 1, wherein the diagnostic testing software part can automatically save the test data and automatically output the test report. 4.根据权利要求1所述的基础软件自动化测试平台,其特征在于所述电源模块包括2个可编程电源和开关电源,可编程电源1用于为整车测试系统供电,是测试系统的主电源;可编程电源2用于地偏移板卡电压的调节;开关电源用于给继电器以及其他有源器件供电。4. The basic software automated testing platform according to claim 1, wherein the power supply module comprises 2 programmable power supplies and switching power supplies, and the programmable power supply 1 is used to supply power for the vehicle testing system, and is the main component of the testing system. Power supply; programmable power supply 2 is used to adjust the voltage of the ground offset board; switching power supply is used to supply power to relays and other active devices. 5.根据权利要求1所述的基础软件自动化测试平台,其特征在于所述工控机通过接口和板卡、电源模块、CAN模块连接。5. The basic software automated testing platform according to claim 1, wherein the industrial computer is connected to a board, a power supply module and a CAN module through an interface. 6.根据权利要求5所述的基础软件自动化测试平台,其特征在于所述接口为BOB接口。6. The basic software automated testing platform according to claim 5, wherein the interface is a BOB interface. 7.根据权利要求1所述的基础软件自动化测试平台,其特征在于CAN模块包括用于总线监听的VN1640和用于测量采样点和BUSoff恢复测试的CANspider、VN1640结合上位机测试软件CANoe,支持CAN/LIN总线监控、负载统计、错误帧识别和数据记录,能进行多节点仿真,使用CAPL语言编写测试框架,结合LABview软件控制,能够实现测试案例之间的逐条自动测试,从而提高测试的可配置性和自动化测试程度。7. basic software automatic test platform according to claim 1 is characterized in that CAN module comprises VN1640 for bus monitoring and CANspider, VN1640 for measuring sampling point and BUSoff recovery test in conjunction with host computer test software CANoe, supports CAN /LIN bus monitoring, load statistics, error frame identification and data recording, can perform multi-node simulation, use CAPL language to write test framework, combined with LABview software control, can realize one-by-one automatic testing between test cases, thereby improving the configurability of the test degree of performance and automated testing. 8.根据权利要求1所述的基础软件自动化测试平台,其特征在于所述虚拟软件部分、诊断测试软件部分选用LABview搭建。8. The basic software automated testing platform according to claim 1, wherein the virtual software part and the diagnostic testing software part are built by using LABview.
CN201910433992.XA 2019-05-23 2019-05-23 Basic software automated test platform Pending CN111983990A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910433992.XA CN111983990A (en) 2019-05-23 2019-05-23 Basic software automated test platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910433992.XA CN111983990A (en) 2019-05-23 2019-05-23 Basic software automated test platform

Publications (1)

Publication Number Publication Date
CN111983990A true CN111983990A (en) 2020-11-24

Family

ID=73436482

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910433992.XA Pending CN111983990A (en) 2019-05-23 2019-05-23 Basic software automated test platform

Country Status (1)

Country Link
CN (1) CN111983990A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112699030A (en) * 2020-12-29 2021-04-23 中国航空工业集团公司西安飞机设计研究所 A kind of automatic test method of power supply partition software
CN112783139A (en) * 2020-12-30 2021-05-11 上汽通用五菱汽车股份有限公司 CAN bus BusOff logic test system and method
CN112798939A (en) * 2021-02-05 2021-05-14 开迈斯新能源科技有限公司 Testing device
CN113765733A (en) * 2021-03-18 2021-12-07 北京京东乾石科技有限公司 Bus network testing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104298224A (en) * 2014-09-12 2015-01-21 中国第一汽车股份有限公司 Automatic vehicle-mounted electronic control unit CAN bus communication testing device and system
CN104865948A (en) * 2014-12-19 2015-08-26 北汽福田汽车股份有限公司 Automatic vehicle controller diagnosing device and method
CN108205308A (en) * 2017-12-19 2018-06-26 中国第汽车股份有限公司 A kind of automated diagnostic tester system based on vehicle body domain controller
CN109507981A (en) * 2017-09-15 2019-03-22 长城汽车股份有限公司 Vehicle testing method, device and machine readable storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104298224A (en) * 2014-09-12 2015-01-21 中国第一汽车股份有限公司 Automatic vehicle-mounted electronic control unit CAN bus communication testing device and system
CN104865948A (en) * 2014-12-19 2015-08-26 北汽福田汽车股份有限公司 Automatic vehicle controller diagnosing device and method
CN109507981A (en) * 2017-09-15 2019-03-22 长城汽车股份有限公司 Vehicle testing method, device and machine readable storage medium
CN108205308A (en) * 2017-12-19 2018-06-26 中国第汽车股份有限公司 A kind of automated diagnostic tester system based on vehicle body domain controller

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112699030A (en) * 2020-12-29 2021-04-23 中国航空工业集团公司西安飞机设计研究所 A kind of automatic test method of power supply partition software
CN112699030B (en) * 2020-12-29 2023-10-20 中国航空工业集团公司西安飞机设计研究所 Automatic testing method for power supply partition software
CN112783139A (en) * 2020-12-30 2021-05-11 上汽通用五菱汽车股份有限公司 CAN bus BusOff logic test system and method
CN112783139B (en) * 2020-12-30 2024-06-11 上汽通用五菱汽车股份有限公司 CAN bus BusOff logic test system and method
CN112798939A (en) * 2021-02-05 2021-05-14 开迈斯新能源科技有限公司 Testing device
CN112798939B (en) * 2021-02-05 2023-09-05 开迈斯新能源科技有限公司 Testing device
CN113765733A (en) * 2021-03-18 2021-12-07 北京京东乾石科技有限公司 Bus network testing method and device

Similar Documents

Publication Publication Date Title
CN111983990A (en) Basic software automated test platform
CN107463473B (en) Chip software and hardware simulation environment based on UVM and FPGA
CN111158348B (en) A hardware maintenance and testing platform for subway vehicle signal control equipment
CN205301987U (en) Electric motor car machine controller hardware is in ring testing system
CN203965936U (en) New forms of energy controller hardware is in ring test system
CN111007840A (en) Whole vehicle controller hardware-in-loop test platform and method
CN108205308A (en) A kind of automated diagnostic tester system based on vehicle body domain controller
CN103728968A (en) Automatic test system for CAN network and ECU functions
CN111624987A (en) Automatic test system of automobile motor controller
CN102081145B (en) Functional verification platform of battery management system
CN105388881B (en) The fault detect display device and method of a kind of entire car controller
CN205483578U (en) Hardware that no key got into start -up system is in ring testing system
CN105629960A (en) Electric vehicle controller model in-the-loop test system and method
CN105700512A (en) A test system for testing a vehicle control system and a method thereof
CN107656207A (en) A kind of dynamic testing method of vehicle fuel battery engine in power assembly loop
CN104598373A (en) Embedded software testing method capable of realizing multi-technology fusion
CN105425766B (en) The failure detector and method of a kind of entire car controller
CN103116656A (en) Circuit fault diagnostic system based on fault logic interpreter and achieving method thereof
CN203422426U (en) Universal comprehensive automatic test system of airborne computer of civilian airliner
CN103713627A (en) Function node test system
CN112799311A (en) High-power PCU semi-physical simulation system
CN202339497U (en) Verification system of satellite-bone integrated service unit
CN210038541U (en) Function test system of motor controller PCBA board
CN204680004U (en) Spaceborne embedded software reliability test verification system
CN205301993U (en) Programmable logic controler module testing platform

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20201124

RJ01 Rejection of invention patent application after publication