CN111983990A - Automatic testing platform for basic software - Google Patents

Automatic testing platform for basic software 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 card
software
testing
platform
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

Abstract

The invention provides a basic software automatic test platform which comprises automatic tests of a CAN bus bottom layer protocol and a diagnosis protocol. The platform comprises an industrial personal computer, a relay board card, a voltage conditioning board card, a fault injection board card, a programmable power supply, a VN1640, a CANspider and an oscilloscope. The modules are installed in the cabinet, and the wire harnesses are connected in a unified mode through the BOB interfaces, so that the interfaces are conveniently expanded. The PC is connected with the system through a USB line. The test platform CAN realize CAN bus bottom protocol test, and the content comprises a physical layer, a data link layer, an interaction layer, network management and fault management; the content of the test of the diagnostic protocol comprises a service test and a data test. The test case compiled according to the test specification can be tested in detail, and a test report including the output of test data is automatically generated.

Description

Automatic testing platform for basic software
Technical Field
The invention discloses an automatic testing platform for basic software, and belongs to the field of automatic testing in the automobile industry.
Background
The existing testing method has long period and huge workload. Moreover, the test content is more and more complex, and the test by using a single manual method obviously cannot meet the requirement of a client. The automatic testing platform of the basic software can simplify heavy testing work, improve working efficiency and reduce testing difficulty.
SUMMARY OF THE PATENT FOR INVENTION
Aiming at the defects in the prior art, the invention aims to provide an automatic test platform to solve the problems in the background technology.
In order to achieve the purpose, the invention is realized by the following technical scheme: the automatic test platform of basic software includes: the test equipment cabinet, the virtual software part and the diagnostic test software part; the virtual software part and the diagnostic test software part are arranged on the inner side of the test cabinet;
a PDU power supply, an industrial personal computer, a display, a program power supply, an ATS case, an oscilloscope, a signal generator and a digital multimeter are arranged in the test cabinet;
the test cabinet comprises a board card, a power supply module and a CAN module; the industrial personal computer is used for installing the control board card and the CAN module, the virtual software part and the diagnosis test software part are installed on the industrial personal computer,
the board cards comprise a relay board card, a voltage conditioning board card and a fault injection board card, wherein the relay board card is used for controlling the on-off of signals such as CAN, KL.30 and KL.15; the signal conditioning board card is used for converting the digital signal into a direct current level control relay; the fault injection board card is used for realizing short circuit to the ground or a power supply and can also realize open-circuit fault simulation; the IO board card is used for controlling the relay board card;
The CAN module comprises a VN1640 and a CANspider, the VN1640 is connected between the industrial personal computer and the tested ECU, and network data and test cases are monitored and executed through a CANoe software upper computer; the CANspider is used for simulating bus faults;
the oscilloscope is used for collecting CAN bus data waveform, and Labview calls a function to collect the data waveform;
the virtual software part is a user platform developed by Labview, has functional modules for data acquisition, signal analysis and the like, and completes functions of driving hardware, measuring parameters and acquiring and storing data;
the diagnostic test software part comprises three parts of CANoe, CANdela and CANdiva. CANdela is used for manufacturing CDD diagnosis database files; CANdiva is used for generating an automatic test case according to the diagnosis database file and outputting a detailed test report; CANoe is an environmental vehicle for the execution of the test cases and data monitoring of diva engineering.
The virtual software part CAN realize an integrated automatic test platform of a CAN bus and a diagnosis protocol.
The diagnostic test software part can automatically store test data and automatically output a test report.
The power module comprises 2 programmable power supplies and a switching power supply, wherein the programmable power supply 1 is used for supplying power to the whole vehicle test system and is a main power supply of the test system; the programmable power supply 2 is used for adjusting the voltage of the ground offset board card; the switching power supply is used for supplying power to the relay and other active devices.
The industrial personal computer is connected with the board card, the power module and the CAN module through the interface.
The interface is a BOB interface.
The industrial personal computer performs man-machine interaction and hardware driving by operating an upper computer program. The CAN module includes a VN1640 for bus snooping and a CANspider for measuring sampling points and BUSoff recovery tests. The VN1640 is combined with upper computer test software CANoe, supports CAN/LIN bus monitoring, load statistics, error frame identification and data recording, CAN perform multi-node simulation, and CAN write a test framework by using CAPL language. And the LABview software control is combined, so that the automatic test among the test cases can be realized one by one, and the configurability and the automatic test degree of the test are improved. The automatic diagnosis test system consists of three parts, including CANoe, CANdela and CANdiva. CANdela is used for manufacturing CDD diagnosis database files; CANdiva is used for generating an automatic test case according to the diagnosis database file and outputting a detailed test report; CANoe is an environmental vehicle for the execution of the test cases and data monitoring of diva engineering. The system can perform diagnosis service, ECU logistics data reading, fault code reading and bus monitoring, and support whole vehicle configuration and data refreshing; a diagnostic automated test is provided that is automatically imported into a diagnostic database.
The virtual software part and the diagnosis test software part are built by LABview, the parameter configuration and execution of the related use case are in one page, and a user can select the type of the protocol to be tested according to the previous configuration, such as: the physical layer, the OSEKNm and the AutoSARNm select a network to be tested, and a node to be tested can configure parameter constraints related to each use case under the node, so that simplicity and clarity are realized; after the case constraint parameters are configured successfully, one or more cases to be tested can be selected optionally, the execution times of the cases are set, the cases are executed, the system automatically checks the integrity of the configured parameters, prompts are provided during the execution process and after the execution of the cases is finished, the program automatically enters a test report generation page, a user can select a report of a node to be generated on a network topological graph according to needs on the page, the program automatically captures related data after the determination, and a test report in an Excel format is generated.
The invention has the beneficial effects that: in the invention, the interface is a BOB interface, so that the wiring harness in the invention is uniformly connected by using the BOB interface, and the interface is conveniently expanded. The PC is connected with the system through a USB line. The test platform CAN realize CAN bus bottom protocol test, and the content comprises a physical layer, a data link layer, an interaction layer, network management and fault management; the content of the test of the diagnostic protocol comprises a service test and a data test. The test case compiled according to the test specification can be tested in detail, and a test report including the output of test data is automatically generated. The invention combines LABview software control, can realize automatic test between test cases one by one, thereby improving test configurability and automatic test degree. The automatic diagnosis test system can perform diagnosis service, ECU logistics data reading, fault code reading and bus monitoring, and support vehicle configuration and data refreshing; a diagnostic automated test is provided that is automatically imported into a diagnostic database.
Drawings
FIG. 1 is a schematic view of the structure of the present invention.
FIG. 2 is a schematic view of the internal structure of the present invention.
For example, PDU power supply 1, display 2, industrial personal computer 3, program power supply 4, ATS case 5, oscilloscope 6, signal generator 7, digital multimeter 8.
Detailed Description
Example 1
The invention is a basic software automation test platform, including: the test equipment cabinet, the virtual software part and the diagnostic test software part; the virtual software part and the diagnosis test software part are arranged on the inner side of the test cabinet; a PDU power supply 1, an industrial personal computer 3, a display 2, a program power supply 4, an ATS case 5, an oscilloscope 6, a signal generator 7 and a digital multimeter 8 are arranged in the test cabinet; the test cabinet has the functions of a board card, a power supply module, a CAN module and an oscilloscope 6; the industrial personal computer 3 is used for installing a control board card and a CAN module, a virtual software part and a diagnosis test software part are installed on the industrial personal computer 3, the board cards comprise a relay board card, a voltage conditioning board card and a fault injection board card, and the relay board card is used for controlling the on-off of signals such as CAN, KL.30 and KL.15; the signal conditioning board card is used for converting the digital signal into a direct current level control relay; the fault injection board card is used for realizing short circuit to the ground or a power supply and can also realize open-circuit fault simulation; the IO board card is used for controlling the relay board card; the CAN module comprises a VN1640 and a CANspider, the VN1640 is connected between the industrial personal computer 3 and the ECU to be tested, and network data and test cases are monitored and executed through a CANoe software upper computer; the CANspider is used for simulating bus faults; the oscilloscope is used for collecting CAN bus data waveform, and Labview calls a function to collect the data waveform; the virtual software part is a user platform developed by Labview, has functional modules for data acquisition, signal analysis and the like, and completes functions of driving hardware, measuring parameters and data acquisition and storage; the diagnostic test software comprises three parts of CANoe, CANdela and CANdiva. CANdela is used for manufacturing CDD diagnosis database files; CANdiva is used for generating an automatic test case according to the diagnosis database file and outputting a detailed test report; CANoe is an environmental vehicle for the execution of the test cases and data monitoring of diva engineering.
Example 2
The industrial personal computer 3 of the invention performs man-machine interaction and hardware drive by running an upper computer program. The CAN module includes a VN1640 for bus snooping and a CANspider for measuring sampling points and BUSoff recovery tests. The VN1640 is combined with upper computer test software CANoe, supports CAN/LIN bus monitoring, load statistics, error frame identification and data recording, CAN perform multi-node simulation, and CAN write a test framework by using CAPL language. And the LABview software control is combined, so that the automatic test among the test cases can be realized one by one, and the configurability and the automatic test degree of the test are improved. The automatic diagnosis test system consists of three parts, including CANoe, CANdela and CANdiva. CANdela is used for manufacturing CDD diagnosis database files; CANdiva is used for generating an automatic test case according to the diagnosis database file and outputting a detailed test report; CANoe is an environmental vehicle for the execution of the test cases and data monitoring of diva engineering. The system can perform diagnosis service, ECU logistics data reading, fault code reading and bus monitoring, and support whole vehicle configuration and data refreshing; a diagnostic automated test is provided that is automatically imported into a diagnostic database. The virtual software part and the diagnosis test software part are built by LABview, the parameter configuration and execution of the related use case are in one page, and a user can select the type of the protocol to be tested according to the previous configuration, such as: the physical layer, the OSEKNm and the AutoSARNm select a network to be tested, and a node to be tested can configure parameter constraints related to each use case under the node, so that simplicity and clarity are realized; after the case constraint parameters are configured successfully, one or more cases to be tested can be selected optionally, the execution times of the cases are set, the cases are executed, the system automatically checks the integrity of the configured parameters, prompts are provided during the execution process and after the execution of the cases is finished, the program automatically enters a test report generation page, a user can select a report of a node to be generated on a network topological graph according to needs on the page, the program automatically captures related data after the determination, and a test report in an Excel format is generated.
While there have been shown and described what are at present considered the fundamental principles and essential features of the invention and its advantages, it will be apparent to those skilled in the art that the invention is not limited to the details of the foregoing exemplary embodiments, but is capable of other specific forms without departing from the spirit or essential characteristics thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned.
Furthermore, it should be understood that although the present description refers to embodiments, not every embodiment may contain only a single embodiment, and such description is for clarity only, and those skilled in the art should integrate the description, and the embodiments may be combined as appropriate to form other embodiments understood by those skilled in the art.

Claims (8)

1. The basic software automation test platform comprises a test cabinet, a virtual software part and a diagnosis test software part; the virtual software part and the diagnostic test software part are arranged on the inner side of the test cabinet;
a PDU power supply, an industrial personal computer, a display, a program power supply, an ATS case, an oscilloscope, a signal generator and a digital multimeter are arranged in the test cabinet; the customer is required to illustrate the relationship of these components to the virtual software component and diagnostic test software component
The internal module of the test cabinet comprises a board card, a power supply module and a CAN module; the industrial personal computer is used for installing the control board card and the CAN module, and the virtual software part and the diagnosis test software part are installed on the industrial personal computer;
the board cards comprise a relay board card, a voltage conditioning board card and a fault injection board card, wherein the relay board card is used for controlling the on-off of signals such as CAN, KL.30 and KL.15; the signal conditioning board card is used for converting the digital signal into a direct current level control relay; the fault injection board card is used for realizing short circuit to the ground or a power supply and can also realize open-circuit fault simulation; the IO board card is used for controlling the relay board card;
the CAN module comprises a VN1640 and a CANspider, the VN1640 is connected between the industrial personal computer and the tested ECU, and network data and test cases are monitored and executed through a CANoe software upper computer; the CANspider is used for simulating bus faults;
The oscilloscope is used for collecting CAN bus data waveform, and Labview calls a function to collect the data waveform;
the virtual software part is a user platform developed by Labview, has functional modules for data acquisition, signal analysis and the like, and completes functions of driving hardware, measuring parameters and acquiring and storing data;
the diagnostic test software part comprises three parts of CANoe, CANdela and CANdiva, wherein the CANdela is used for manufacturing a CDD diagnostic database file; CANdiva is used for generating an automatic test case according to the diagnosis database file and outputting a detailed test report; CANoe is an environmental vehicle for the execution of the test cases and data monitoring of diva engineering.
2. The base software automated test platform of claim 1, wherein the virtual software component implements an integrated automated test platform for CAN bus and diagnostic protocols.
3. The automated platform for testing basic software according to claim 1, wherein the diagnostic testing software part can automatically save the test data and automatically output the test report.
4. The basic software automated testing platform according to claim 1, wherein the power module comprises 2 programmable power supplies and a switching power supply, and the programmable power supply 1 is used for supplying power to the whole vehicle testing system and is a main power supply of the testing system; the programmable power supply 2 is used for adjusting the voltage of the ground offset board card; the switching power supply is used for supplying power to the relay and other active devices.
5. The automated testing platform of basic software according to claim 1, wherein the industrial personal computer is connected with the board card, the power module and the CAN module through an interface.
6. The automated test platform of basic software according to claim 5, wherein the interface is a BOB interface.
7. The basic software automated testing platform according to claim 1, characterized in that the CAN module comprises a VN1640 for bus monitoring and a CANspider, VN1640 for measuring sampling points and BUSoff recovery testing in combination with upper computer testing software CANoe, supports CAN/LIN bus monitoring, load statistics, error frame identification and data recording, CAN perform multi-node simulation, writes a testing framework using CAPL language, and in combination with LABview software control, CAN realize automatic testing between testing cases one by one, thereby improving test configurability and automated testing degree.
8. The automated testing platform of basic software according to claim 1, wherein the virtual software part and the diagnostic testing software part are constructed by LABview.
CN201910433992.XA 2019-05-23 2019-05-23 Automatic testing platform for basic software Pending CN111983990A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910433992.XA CN111983990A (en) 2019-05-23 2019-05-23 Automatic testing platform for basic software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910433992.XA CN111983990A (en) 2019-05-23 2019-05-23 Automatic testing platform for basic software

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 Automatic testing platform for basic software

Country Status (1)

Country Link
CN (1) CN111983990A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112699030A (en) * 2020-12-29 2021-04-23 中国航空工业集团公司西安飞机设计研究所 Automatic testing method for 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

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 (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112699030A (en) * 2020-12-29 2021-04-23 中国航空工业集团公司西安飞机设计研究所 Automatic testing method for 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
CN112798939A (en) * 2021-02-05 2021-05-14 开迈斯新能源科技有限公司 Testing device
CN112798939B (en) * 2021-02-05 2023-09-05 开迈斯新能源科技有限公司 Testing device

Similar Documents

Publication Publication Date Title
CN103728968B (en) CAN network and ECU Function Test Automation system
CN205301987U (en) Electric motor car machine controller hardware is in ring testing system
CN202649810U (en) Equipment used for automotive electronic control module CAN network integration test
CN109840207A (en) One kind being based on AUTOSAR network management automatization test system and test method
CN111983990A (en) Automatic testing platform for basic software
CN104298224A (en) Automatic vehicle-mounted electronic control unit CAN bus communication testing device and system
CN106444712A (en) CAN/LIN network interference automation test system
CN102081145B (en) Functional verification platform of battery management system
JP2012118043A (en) Automatic evaluation system for vehicle device using vehicle simulator
CN101509948A (en) Automobile electronic test system and test method thereof
CN206388062U (en) Controller of new energy automobile test system
CN111158348A (en) Hardware maintenance test platform of subway vehicle-mounted signal control equipment
CN103455024B (en) ECU tests system and method
CN114385480A (en) Hardware-in-loop test system for automatic verification of FOTA function of vehicle
CN102200777B (en) Performance monitoring method for new energy vehicle controller verification test
CN203422426U (en) Universal comprehensive automatic test system of airborne computer of civilian airliner
CN202339497U (en) Verification system of satellite-bone integrated service unit
CN202102310U (en) Performance monitoring device for new-energy complete-vehicle controller verification test
CN112485699A (en) Server power supply test system
CN207529222U (en) A kind of fault diagnosis system
CN203405731U (en) An off-line service life testing system of an electric vehicle controller
CN215268313U (en) Domain controller system-level network automatic test system
CN114756008A (en) Fault injection system, automatic test system and method for automobile hybrid bus integrated rack
Yang et al. Automated test system design of body control module
CN114879647A (en) ECU fault code test system, electronic controller and car

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