CN108873867A - A kind of automation load and direct fault location test macro and control method - Google Patents
A kind of automation load and direct fault location test macro and control method Download PDFInfo
- Publication number
- CN108873867A CN108873867A CN201810844510.5A CN201810844510A CN108873867A CN 108873867 A CN108873867 A CN 108873867A CN 201810844510 A CN201810844510 A CN 201810844510A CN 108873867 A CN108873867 A CN 108873867A
- Authority
- CN
- China
- Prior art keywords
- module
- under test
- equipment under
- fault location
- direct fault
- 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
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
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
The invention belongs to Automobile Measuring Techniques fields, more particularly to a kind of automation loads and direct fault location test macro and control method, the test macro includes upper thermomechanical components, data collecting plate card, direct fault location board and ECU control, by connection equipment, setting parameter, analog signal, Injection Signal, operation equipment under test, acquisition equipment under test information, output or analysis seven steps of equipment under test information, realize that automation load is tested with direct fault location.The present invention builds vehicle analog signal using simulation model module, realizes half object test, i.e., only equipment under test is really, to greatly reduce testing cost, improve testing efficiency.
Description
Technical field
The invention belongs to Automobile Measuring Techniques field more particularly to a kind of automation load with direct fault location test macro and
Control method.
Background technique
Since automobile is just gradually strided forward to the multifunctional intelligent epoch, the complexity of vehicle electronic control unit is also quick
Increase, control algolithm constantly enhances with function, is also integrated with the functions such as various bus communications, on-line fault diagnosis.Traditional inspection
Survey method seems unable to do what one wishes in face of complicated testing requirement, nor the test under extreme case can be carried out to signal,
So development it is more intelligent, it is more accurate, vehicle electronic control unit can be carried out to simulate extraneous load and direct fault location can be automated
The technology of test becomes important developing direction.
As Chinese Patent Application No. is:The patent disclosure of CN201110212490.8 is a kind of high-end fault-tolerant based on STAF
Machine direct fault location automatic test platform and method, are related to Failure Injection Technique.The invention provides one kind to be suitable for high-end appearance
The automatic test platform and method of wrong computer glitch injection test.The present invention is real using software embedding distribution formula test environment
Existing, the application layer in the software is the application program operated in the service of master control end, utilizes relevant database and file system
System carrys out the data and information in management automation test process, and provides friendly graphical interfaces;Agent layer operates in application layer
Task agent is realized among layer with realizing, is responsible for executing the automatic test task that user submits from interface;Realize layer encapsulation
It communicated between automatic test control server and the test agent of various platforms, execute various automatic test concrete operations.
The present invention be it is the automated test tool STAF building based on open source, distributed, automation, can integrate various software therefore
Hinder the direct fault location platform of implantation tool.But it can not carry out more comprehensively careful test, nothing to vehicle electronic control unit
Method realizes semi-hardware type simulation test, simulates external loading.
Summary of the invention
The purpose of the present invention is provide a kind of automation load and direct fault location test macro in view of the deficiencies of the prior art
And control method, more comprehensively careful test can be carried out to vehicle electronic control unit, realize semi-hardware type simulation test, really
Simulation external loading, closer to real steering vectors, automation carries out single-point or combined fault injection, and automatically generates test report
It accuses, monitors test process in real time.
A kind of automation load and direct fault location test macro, the system comprises:Upper thermomechanical components, data acquisition board
Card, direct fault location board and ECU control;Wherein upper thermomechanical components include sequentially connected bottom control module, user's interaction circle
Face mould block and signal transmission module, bottom control module include graphical programming module, simulation model module, signal transmission module packet
CAN communication bus and CCP protocol data library module are included, CAN communication bus is by 2 CAN communication equipment and 1 DBC file module
Composition;ECU control is arranged inside equipment under test, and CAN communication equipment one end connects ECU control;Data collecting plate card one end connects
The bottom control module of a thermomechanical components is connected, the other end connects ECU control;Direct fault location board one end connects upper thermomechanical components
Bottom control module, the other end connect ECU control.
Further, the user interface module is for sending test instruction and monitoring test process.
Further, the data collecting plate card is used to carry out analog quantity, digital quantity and the friendship of frequency quantity signal with ECU control
Mutually.
Further, the direct fault location board is used to inject fault simulation information to ECU control.
Further, the DBC file module is used to define the message of power CAN and vehicle CAN, CCP protocol database
For module for being demarcated and being measured in user interface module, CCP protocol data library module, DBC file module can
It is concentrated and is called by user interface module.
Further, the graphical programming module of the bottom control module, simulation model module connect user interface
Module, and pass through user interface module centralized control.
Further, the graphical programming module is for realizing data collecting plate card and direct fault location board and upper unit
The data interaction of part.
Further, the simulation model module is used to generate single-point or combined fault model signals, and in addition to tested
Other electronic control unit model signals, the load module signal of automobile except equipment.
A kind of control method of automation load and direct fault location test macro, described method includes following steps:
Step 1, equipment is connected:
CAN communication equipment in upper thermomechanical components, data collecting plate card, direct fault location board are separately connected equipment under test
In ECU control;
Step 2, parameter is set:
By user interface module, according to the pin definition addition interface of equipment under test, according to the DBC of equipment under test
File adds message and the measurement amount needed according to the CCP protocol data library module addition of equipment under test and scalar quantity, setting and needs
Fault-signal to be simulated;
Step 3, analog signal:
The simulation requirement that simulation model module is added according to user interface module, builds other than equipment under test
, the electronic unit model signals relevant to equipment under test that are related in DBC file module hold equipment under test control
Row device signal, simulation equipment under test shorted to earth, to power supply short circuit, bringing onto load shorted to earth and bringing onto load to four kinds of power supply short circuit
In the case of signal;
Step 4, Injection Signal:
The analog signal that simulation model module is built passes through graphical programming module transfer to direct fault location board, then passes through event
Barrier injection board injects equipment under test;
Step 5, equipment under test is run;
Step 6, equipment under test information is acquired, the interface message of the equipment under test including data collecting plate card acquisition, CAN leads to
Believe measurement amount and calibration comprising equipment under test in the message information and CCP protocol database of the equipment under test sending of equipment transmission
Measure information;
Step 7, export or analyze equipment under test information:Collected information real-time display is on user interface, together
The customized excitation file of Shi Yunhang, customized excitation file automatically analyze test result, are generated according to the customized format of user
Test report.
The beneficial effects of the invention are as follows:
1. the present invention builds vehicle analog signal using simulation model module, realize half object test, i.e., it is only tested to set
Standby is really, to reduce testing cost, improve testing efficiency.
2. the present invention builds vehicle analog signal using simulation model module, equipment under test can be preset single-point or combination or
Extreme direct fault location test, the performance of efficient verification equipment under test realize process automation.
3. the present invention collects equipment under test working signal using data collecting plate card, real time monitoring is realized.
Detailed description of the invention
Fig. 1 is the structural schematic diagram of the system;
Fig. 2 is the host computer component structure diagram of the system.
Specific embodiment
The present invention will be further described with reference to the accompanying drawings of the specification.
As shown in Figure 1 and Figure 2, the system comprises:Upper thermomechanical components, data collecting plate card, direct fault location board and ECU
Control;Wherein upper thermomechanical components include sequentially connected bottom control module, user interface module and signal transmission module,
Bottom control module includes graphical programming module, simulation model module, and signal transmission module includes that CAN communication bus and CCP are assisted
Database module is discussed, CAN communication bus is made of 2 CAN communication equipment and 1 DBC file module;ECU control is arranged in quilt
Inside measurement equipment, CAN communication equipment one end connects ECU control;Data collecting plate card one end connects the bottom control of upper thermomechanical components
Molding block, the other end connect ECU control;Direct fault location board one end connects the bottom control module of upper thermomechanical components, the other end
Connect ECU control.
Further, the user interface module is for sending test instruction and monitoring test process.
Further, the data collecting plate card is used to carry out analog quantity, digital quantity and the friendship of frequency quantity signal with ECU control
Mutually.
Further, the direct fault location board is used to inject fault simulation information to ECU control.
Further, the DBC file module is used to define the message of power CAN and vehicle CAN, CCP protocol database
For module for being demarcated and being measured in user interface module, CCP protocol data library module, DBC file module can
It is concentrated and is called by user interface module.
Further, the graphical programming module of the bottom control module, simulation model module connect user interface
Module, and pass through user interface module centralized control.
Further, the graphical programming module is for realizing data collecting plate card and direct fault location board and upper unit
The data interaction of part.
Further, the simulation model module is used to generate single-point or combined fault model signals, and in addition to tested
Other electronic control unit model signals, the load module signal of automobile except equipment.
The method includes the following steps:
Step 1, equipment is connected:
CAN communication equipment in upper thermomechanical components, data collecting plate card, direct fault location board are separately connected equipment under test
In ECU control;
Step 2, parameter is set:
By user interface module, according to the pin definition addition interface of equipment under test, including commonly powers and draw
The acquisitions such as foot, analog quantity, digital quantity, switching value and output pin;Message is added according to the DBC file of equipment under test and according to quilt
The measurement amount and scalar quantity, setting that the CCP protocol data library module addition of measurement equipment needs need fault-signal to be simulated;
Step 3, analog signal:
The simulation requirement that simulation model module is added according to user interface module, builds other than equipment under test
, the electronic unit model signals relevant to this equipment under test that are related in DBC file module, to equipment under test control
Actuator signal, simulation equipment under test shorted to earth, to power supply short circuit, bringing onto load shorted to earth and bringing onto load to power supply short circuit four
Signal in the case of kind;
Step 4, Injection Signal:
The analog signal that simulation model module is built passes through graphical programming module transfer to direct fault location board, then passes through event
Barrier injection board injects equipment under test;Signal transmission between simulation model module and graphical programming module is the side by mapping
Formula, by the interface reserved in two modules, accordingly transmission is can be realized in mapping one by one;The practical control failure of graphical programming module
It injects board, direct fault location board and equipment under test and physical connection is realized by test harness, what is finally showed is emulation mould
Type, which is controlled, injects failure into equipment under test;
Step 5, equipment under test is run;
Step 6, equipment under test information is acquired, the interface message of the equipment under test including data collecting plate card acquisition, CAN leads to
Believe measurement amount and calibration comprising equipment under test in the message information and CCP protocol database of the equipment under test sending of equipment transmission
Measure information;
Step 7, export or analyze equipment under test information:Collected information real-time display is on user interface, together
The customized excitation file of Shi Yunhang, customized excitation file automatically analyze test result, are generated according to the customized format of user
Test report.
Present invention is not limited to the embodiments described above, without departing substantially from substantive content of the present invention, art technology
Any deformation, improvement, the replacement that personnel are contemplated that each fall within protection scope of the present invention.
Claims (7)
1. a kind of automation load and direct fault location test macro, which is characterized in that including:Upper thermomechanical components, data acquisition board
Card, direct fault location board and ECU control;Wherein upper thermomechanical components include sequentially connected bottom control module, user's interaction circle
Face mould block and signal transmission module, bottom control module include graphical programming module, simulation model module, signal transmission module packet
CAN communication bus and CCP protocol data library module are included, CAN communication bus is by 2 CAN communication equipment and 1 DBC file module
Composition;ECU control is arranged inside equipment under test, and CAN communication equipment one end connects ECU control;Data collecting plate card one end connects
The bottom control module of a thermomechanical components is connected, the other end connects ECU control;Direct fault location board one end connects upper thermomechanical components
Bottom control module, the other end connect ECU control.
2. a kind of automation load according to claim 1 and direct fault location test macro, which is characterized in that the user
Interactive interface module is for sending test instruction and monitoring test process;Data collecting plate card with ECU control for being simulated
Amount, digital quantity and frequency quantity signal interaction;Direct fault location board is used to inject fault simulation information to ECU control.
3. a kind of automation load according to claim 1 and direct fault location test macro, which is characterized in that the DBC
File module is used to define the message of power CAN and vehicle CAN, and CCP protocol data library module is used in user interface mould
It is demarcated and is measured on block, CCP protocol data library module, DBC file module can be concentrated by user interface module
It calls.
4. a kind of automation load according to claim 1 and direct fault location test macro, which is characterized in that the bottom
Graphical programming module, the simulation model module of control module connect user interface module, and pass through user interface mould
Block centralized control.
5. a kind of automation load according to claim 1 and direct fault location test macro, which is characterized in that the figure
Programming module for realizing data collecting plate card and direct fault location board and upper thermomechanical components data interaction.
6. a kind of automation load according to claim 1 and direct fault location test macro, which is characterized in that the emulation
Model module is used to generate single-point or combined fault model signals, and other electronics controls of the automobile other than equipment under test
Model of element signal and load module signal processed.
7. for a kind of control method of automation load and direct fault location test macro described in claim 1, feature exists
In including the following steps:
Step 1, equipment is connected:
CAN communication equipment in upper thermomechanical components, data collecting plate card, direct fault location board are separately connected in equipment under test
ECU control;
Step 2, parameter is set:
By user interface module, according to the pin definition addition interface of equipment under test, according to the DBC file of equipment under test
It adds message and the measurement amount needed according to the CCP protocol data library module addition of equipment under test and scalar quantity, setting needs mould
Quasi- fault-signal;
Step 3, analog signal:
The simulation requirement that simulation model module is added according to user interface module, builds other than equipment under test,
The electronic unit model signals relevant to this equipment under test that are related in DBC file module hold equipment under test control
Row device signal, simulation equipment under test shorted to earth, to power supply short circuit, bringing onto load shorted to earth and bringing onto load to four kinds of power supply short circuit
In the case of signal;
Step 4, Injection Signal:
The analog signal that simulation model module is built is infused by graphical programming module transfer to direct fault location board, then by failure
Enter board injection equipment under test;
Step 5, equipment under test is run;
Step 6, equipment under test information is acquired, the interface message of the equipment under test including data collecting plate card acquisition, CAN communication is set
Measurement amount comprising equipment under test and scalar quantity letter in the message information and CCP protocol database that the equipment under test of standby transmission issues
Breath;
Step 7, export or analyze equipment under test information:Collected information real-time display is on user interface, same to luck
The customized excitation file of row, customized excitation file automatically analyze test result, generate test according to the customized format of user
Report.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810844510.5A CN108873867A (en) | 2018-07-27 | 2018-07-27 | A kind of automation load and direct fault location test macro and control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810844510.5A CN108873867A (en) | 2018-07-27 | 2018-07-27 | A kind of automation load and direct fault location test macro and control method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108873867A true CN108873867A (en) | 2018-11-23 |
Family
ID=64306177
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810844510.5A Pending CN108873867A (en) | 2018-07-27 | 2018-07-27 | A kind of automation load and direct fault location test macro and control method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108873867A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110162007A (en) * | 2019-05-06 | 2019-08-23 | 上海科梁信息工程股份有限公司 | A kind of detection system and detection method of vehicle trouble |
CN110377004A (en) * | 2019-07-12 | 2019-10-25 | 北京祥远通达科技有限公司 | Automobile-used half virtual ECU test macro and its test method |
CN111435143A (en) * | 2019-01-11 | 2020-07-21 | 中车株洲电力机车研究所有限公司 | Universal testing device and method |
CN112748713A (en) * | 2019-10-31 | 2021-05-04 | 广州汽车集团股份有限公司 | Vehicle-mounted ECU bus refreshing test system and method |
CN113655769A (en) * | 2021-06-29 | 2021-11-16 | 东风汽车集团股份有限公司 | Motor controller test method and test system |
CN114741289A (en) * | 2022-03-31 | 2022-07-12 | 重庆长安新能源汽车科技有限公司 | Automatic generation method and system of test case for controller software storage function |
CN114741289B (en) * | 2022-03-31 | 2024-06-04 | 深蓝汽车科技有限公司 | Automatic generation method and system for test cases aiming at controller software storage function |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102809962A (en) * | 2012-09-03 | 2012-12-05 | 同济汽车设计研究院有限公司 | Vehicle data acquisition terminal and vehicle information acquisition system |
CN103257925A (en) * | 2013-04-28 | 2013-08-21 | 株洲南车时代电气股份有限公司 | Automatic testing device, system and method for train operation monitoring record software |
CN103365638A (en) * | 2012-03-29 | 2013-10-23 | 北京九州华海科技有限公司 | Single-chip microcomputer development system and method based on ECUCoder |
CN104536856A (en) * | 2014-12-12 | 2015-04-22 | 北京新能源汽车股份有限公司 | Method and device for generating environment model of automobile controller test |
CN106444420A (en) * | 2016-08-31 | 2017-02-22 | 中车大连机车研究所有限公司 | Locomotive semi-physical simulation test system and method |
-
2018
- 2018-07-27 CN CN201810844510.5A patent/CN108873867A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103365638A (en) * | 2012-03-29 | 2013-10-23 | 北京九州华海科技有限公司 | Single-chip microcomputer development system and method based on ECUCoder |
CN102809962A (en) * | 2012-09-03 | 2012-12-05 | 同济汽车设计研究院有限公司 | Vehicle data acquisition terminal and vehicle information acquisition system |
CN103257925A (en) * | 2013-04-28 | 2013-08-21 | 株洲南车时代电气股份有限公司 | Automatic testing device, system and method for train operation monitoring record software |
CN104536856A (en) * | 2014-12-12 | 2015-04-22 | 北京新能源汽车股份有限公司 | Method and device for generating environment model of automobile controller test |
CN106444420A (en) * | 2016-08-31 | 2017-02-22 | 中车大连机车研究所有限公司 | Locomotive semi-physical simulation test system and method |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111435143A (en) * | 2019-01-11 | 2020-07-21 | 中车株洲电力机车研究所有限公司 | Universal testing device and method |
CN110162007A (en) * | 2019-05-06 | 2019-08-23 | 上海科梁信息工程股份有限公司 | A kind of detection system and detection method of vehicle trouble |
CN110377004A (en) * | 2019-07-12 | 2019-10-25 | 北京祥远通达科技有限公司 | Automobile-used half virtual ECU test macro and its test method |
CN112748713A (en) * | 2019-10-31 | 2021-05-04 | 广州汽车集团股份有限公司 | Vehicle-mounted ECU bus refreshing test system and method |
CN113655769A (en) * | 2021-06-29 | 2021-11-16 | 东风汽车集团股份有限公司 | Motor controller test method and test system |
CN114741289A (en) * | 2022-03-31 | 2022-07-12 | 重庆长安新能源汽车科技有限公司 | Automatic generation method and system of test case for controller software storage function |
CN114741289B (en) * | 2022-03-31 | 2024-06-04 | 深蓝汽车科技有限公司 | Automatic generation method and system for test cases aiming at controller software storage function |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108873867A (en) | A kind of automation load and direct fault location test macro and control method | |
CN102707170B (en) | Method for testing electro-magnetic compatibility of automotive CAN (controller area network) buses based on semi-physical simulation | |
CN201757767U (en) | General comprehensive automatic test system of airplane electronic part | |
CN105067933B (en) | General-purpose system and test method for electronics testability demonstration and assessment | |
CN102681532B (en) | Simulating test system for BCM (body control module) | |
CN103019940B (en) | A kind of electric energy meter embedded software half simulation testing device | |
CN108255649A (en) | A kind of Diagnosis Strategy Design method based on modeling and simulating Cooperative Analysis | |
CN104699068A (en) | Universal simulator for aircraft engines | |
CN102968059B (en) | Undercarriage simulator | |
CN206400286U (en) | A kind of test system based on hardware in loop equipment | |
CN102749917B (en) | Based on traction control unit real-time on-line simulation method of testing and the system of RT-LAB | |
CN104794258A (en) | Automobile hardware-in-loop simulation system | |
CN105808432A (en) | Software automated testing system and method for rail traffic drive control unit/ tractive control unit (DCU/TCU) | |
CN108919778A (en) | Vehicle control unit of electric vehicle test device | |
CN104598373B (en) | A kind of embedded software test method of multi-technical fusion | |
CN105301481A (en) | Circuit testing method and applicable testing system | |
CN105933173A (en) | Electric power system intelligent device automatic testing system | |
CN107944193A (en) | Avionics semi-matter simulating system | |
CN112036023B (en) | Software integrated generation system of generator transformer set protection device | |
CN102169157A (en) | Method for constructing multi-channel matrix switch parallel measurement cable network | |
CN104375024A (en) | In-situ self-inspection and metering device and method of automatic test system | |
CN106295809B (en) | The embedded real-time diagnosis reasoning algorithm pilot system of aircraft | |
CN106294121A (en) | Aircraft embedded real-time diagnosis reasoning algorithm test method | |
CN102880166B (en) | The HIL testboard bay of VMS | |
CN109932588A (en) | A kind of Aerial Electronic Equipment validation test engine |
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: 20181123 |
|
RJ01 | Rejection of invention patent application after publication |