CN114489020A - CANoe-based function test system and method for automobile electronic controller - Google Patents
CANoe-based function test system and method for automobile electronic controller Download PDFInfo
- Publication number
- CN114489020A CN114489020A CN202210114653.7A CN202210114653A CN114489020A CN 114489020 A CN114489020 A CN 114489020A CN 202210114653 A CN202210114653 A CN 202210114653A CN 114489020 A CN114489020 A CN 114489020A
- Authority
- CN
- China
- Prior art keywords
- controller
- canoe
- tested
- development
- module
- 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.)
- Withdrawn
Links
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/0218—Electric 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/0256—Electric 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 injecting test signals and analyzing monitored process response, e.g. injecting the test signal while interrupting the normal operation of the monitored system; superimposing the test signal onto a control signal during normal operation of the monitored system
-
- 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
Abstract
The invention discloses a CANoe-based function test system and method for an automobile electronic controller. During testing, the CANoe module receives a first instruction signal of a tested controller, generates a feedback signal of the first instruction signal and sends the feedback signal to the tested controller; and the CANoe module completely replaces a development controller to send all bus signals which are sent to a communication bus by the development controller to the communication bus through programming. The invention controls the value and the state of the relevant instruction in real time through CANoe software on the PC during the function test, and can simply, conveniently and accurately test the internal logic of the vehicle electric control unit.
Description
Technical Field
The invention relates to a vehicle communication and function debugging technology, in particular to a CANoe-based vehicle electronic controller function testing system and method, which CAN be used for CAN communication node simulation and message receiving and sending, CAN communication message editing, CAN bus data acquisition and the like, and belongs to the technical field of vehicle communication.
Background
With the increasing maturity of automobile electronic control technology, most functions of the vehicle realize electronic control. Because the electronic network system of the automobile is large and complex, one function often involves the cooperative work of a plurality of controllers. Because the safety of the vehicle is related to the safety of life and property of people, the whole vehicle test aiming at newly developed vehicle functions is very important.
In the past, the functions are tested only after all the related functions of each controller are developed and completed, and then the functions can be integrated into the whole vehicle for debugging and verification. Since each controller is generally developed by different suppliers or different departments, the development schedules cannot be completely consistent, and communication among related personnel consumes a lot of time and energy, which undoubtedly affects the cost and the development test schedule.
In order to realize the test of the vehicle electric control unit, various improvements are made in the prior art, for example, a chinese utility model patent with a patent number of "202020667070.3" discloses a vehicle electric control unit test system, which comprises a CANoe module and a first upper computer, wherein the CANoe module is connected with a vehicle control unit of the vehicle and an electric control unit to be tested; the first upper computer is used for receiving a first instruction signal of the vehicle control unit through the CANoe module, sending a second instruction signal to the electric control unit to be tested through the CANoe module, receiving a feedback signal of the electric control unit to be tested aiming at the second instruction signal through the CANoe module, and sending a feedback signal of the first instruction signal to the vehicle control unit through the CANoe module. The utility model discloses a technical principle is to change the back again with the instruction retransmission to the other side to whole vehicle controller instruction and the automatically controlled unit instruction that awaits measuring, what realize is to the change of signal, can't satisfy the test of whole controller disappearance or relevant signal disappearance sight. If the development of the whole vehicle controller is not finished or the related instruction signals of the whole vehicle controller do not exist in the communication network, the electric control unit to be tested cannot be tested. Accordingly, there is a need for improvement in the art.
Disclosure of Invention
Aiming at the defects in the prior art, the invention aims to provide a CANoe-based function test system and a CANoe-based function test method for an automobile electronic controller.
The technical scheme of the invention is realized as follows:
a function test system of an automobile electronic controller based on a CANoe comprises a tested controller and a development controller and further comprises a CANoe module, wherein the CANoe module is connected between the tested controller and the development controller, and the CANoe module replaces part or all functions which should be realized on the development controller originally through programming.
And the CANoe module is connected with the tested controller through a communication bus.
If the solution of the controller is not developed, the CANoe module is connected with the tested controller through a communication bus at the moment; the CANoe module receives a first instruction signal of the tested controller, generates a feedback signal of the first instruction signal and sends the feedback signal to the tested controller; and the CANoe module completely replaces a development controller to send all bus signals to a communication bus through programming, wherein the bus signals are sent to the communication bus by the development controller.
The invention also provides a CANoe-based function test method of the automobile electronic controller, which comprises the following steps,
1) connecting the CANoe module with a tested controller through a communication bus;
2) programming a CANoe module to replace part or all of the functions which should be realized on the development controller originally;
3) the CANoe module receives a first instruction signal of the tested controller, generates a feedback signal of the first instruction signal and sends the feedback signal to the tested controller; and the CANoe module completely replaces a development controller to send all bus signals to a communication bus, wherein the bus signals are sent to the communication bus by the development controller.
If a development controller exists, step 1) connecting a CANoe module between a tested controller and the development controller; and 2) programming a CANoe module to replace part or all of functions which are originally realized on the development controller. Step 3) the CANoe module receives a first instruction signal of the tested controller, generates a feedback signal of the first instruction signal and sends the feedback signal to the tested controller; and the CANoe module mutually forwards signals of other developed functions to the tested controller and the developed controller without change so as to partially replace the functions of the developed controller.
Compared with the prior art, the invention has the following beneficial effects:
the CANoe module is connected between a tested controller and a development controller, and can be directly connected with the tested controller through a communication bus if the development controller is not arranged; the CAPL programming replaces part or all of functions which should be realized on the development controller originally, so that the aim of testing and debugging the controller to be tested can be achieved when the related controller is not developed and completed. The CANoe module is convenient to connect, large-scale real vehicle transformation is not needed, and the CANoe module is only needed to be connected between the two controllers; the method is simple and efficient, the target scene can be simply realized only through CAPL programming without waiting for formal development of the related functions of the vehicle controller, and the method can be used for the complete vehicle function verification of the tested controller, so that the time and energy consumed by a developer for waiting for development completion and communication of the interactive object controller are reduced.
Drawings
Fig. 1 is a system block diagram of embodiment 1 partially replacing a controller in development.
Fig. 2 is a block diagram of a controller system in full replacement development of embodiment 2.
Detailed Description
The following detailed description of specific embodiments of the invention refers to the accompanying drawings.
The invention relates to a testing method for verifying software and logic in a controller based on a CANoe module, which simulates the behavior and communication of an interactive object controller through CAPL programming, such as normal working conditions, special working conditions, communication faults and the like, and quickly and conveniently helps a developer to realize functional logic verification on the whole vehicle level.
The present invention will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Example 1
Fig. 1 is a schematic structural diagram of a vehicle electronic controller function test system provided in embodiment 1 of the present invention. The CANoe module in embodiment 1 replaces part of the functionality of the controller under development. As shown in fig. 1, the system includes: the CANoe module is connected with a development controller and a tested controller of the vehicle; and the CANoe module is connected with the tested controller through a communication bus. The CANoe module receives a first instruction signal of a tested controller, generates a feedback signal of the first instruction signal and sends the feedback signal to the tested controller. And the CANoe module forwards other developed signals of the completed function to the tested controller and the developing controller without change.
Example 2
Fig. 2 is a schematic structural diagram of a vehicle electronic controller function test system provided in embodiment 2 of the present invention. The CANoe module in embodiment 2 replaces all the functions of the developed controller, which may not be needed at this time. As shown in fig. 2, the system includes: the CANoe module is connected with the tested controller through a communication bus; the CANoe module receives a first instruction signal of the tested controller, generates a feedback signal of the first instruction signal and sends the feedback signal to the tested controller. And the CANoe module completely replaces a development controller to send all bus signals which are sent to the bus by the development controller to the bus through programming.
The invention relates to a CANoe-based function test method of an automobile electronic controller, which comprises the following steps,
1) connecting the CANoe module with a tested controller through a communication bus;
2) programming a CANoe module to replace part or all of the functions which should be realized on the development controller originally;
3) the CANoe module receives a first instruction signal of the tested controller, generates a feedback signal of the first instruction signal and sends the feedback signal to the tested controller; and the CANoe module completely replaces a development controller to send all bus signals to a communication bus, wherein the bus signals are sent to the communication bus by the development controller.
If a development controller exists, step 1) connecting a CANoe module between a tested controller and the development controller; and 2) programming a CANoe module to replace part or all of functions which are originally realized on the development controller. Step 3) the CANoe module receives a first instruction signal of the tested controller, generates a feedback signal of the first instruction signal and sends the feedback signal to the tested controller; and the CANoe module mutually forwards signals of other developed functions to the tested controller and the developed controller without change so as to partially replace the functions of the developed controller.
CANoe is a tool developed by Vector corporation for simulation and testing. The first instruction signal in the tested controller is acquired through a CANoe module, and part or all functions which should be realized in the developed controller originally are realized by writing a CAPL script, including logic operation on the instruction signal, generation and sending of feedback messages and signals, signal routing and the like. And the value and the state of a related instruction are controlled in real time through CANoe software on a PC (personal computer) during function test, closed-loop interaction of data is realized, and the whole vehicle cannot break down. And the action generated by the control execution mechanism after the data signal changed by the tester is received by the tested controller is consistent with the action generated by the control execution mechanism after the same data signal sent by the development controller is received by the tested controller in the complete vehicle network.
Finally, it should be noted that the above-mentioned examples of the present invention are only examples for illustrating the present invention, and are not intended to limit the embodiments of the present invention. Although the present invention has been described in detail with reference to preferred embodiments, it will be apparent to those skilled in the art that other variations and modifications can be made based on the above description. Not all embodiments are exhaustive. All obvious changes and modifications of the present invention are within the scope of the present invention.
Claims (5)
1. A CANoe-based function test system for an automobile electronic controller comprises a tested controller and a development controller, and is characterized in that: the testing controller further comprises a CANoe module, the CANoe module is connected between the tested controller and the development controller, and the CANoe module replaces part or all of functions which should be realized on the development controller originally through programming.
2. The CANoe-based automotive electronic controller function testing system of claim 1, wherein: and the CANoe module is connected with the tested controller through a communication bus.
3. Automobile electronic controller functional test system based on CANoe, including being tested the controller, its characterized in that: the CANoe module is connected with the tested controller through a communication bus; the CANoe module receives a first instruction signal of the tested controller, generates a feedback signal of the first instruction signal and sends the feedback signal to the tested controller; and the CANoe module replaces a development controller to send part or all of bus signals which should be sent to a communication bus by the development controller to the communication bus through programming.
4. A CANoe-based function test method for an automobile electronic controller is characterized by comprising the following steps: the steps are as follows,
1) connecting the CANoe module with a tested controller through a communication bus;
2) programming a CANoe module to replace part or all of the functions which should be realized on the development controller originally;
3) the CANoe module receives a first instruction signal of the tested controller, generates a feedback signal of the first instruction signal and sends the feedback signal to the tested controller; and the CANoe module completely replaces a development controller to send all bus signals to a communication bus, wherein the bus signals are sent to the communication bus by the development controller.
5. The CANoe-based functional test method for the electronic controller of the automobile, according to claim 1, characterized in that: in the step 1), a CANoe module is connected between a tested controller and a development controller; step 2) programming a CANoe module to replace part or all of functions which should be realized on a development controller originally; step 3) the CANoe module receives a first instruction signal of the tested controller, generates a feedback signal of the first instruction signal and sends the feedback signal to the tested controller; and the CANoe module mutually forwards signals of other developed functions to the tested controller and the developed controller without change so as to partially replace the functions of the developed controller.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210114653.7A CN114489020A (en) | 2022-01-30 | 2022-01-30 | CANoe-based function test system and method for automobile electronic controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210114653.7A CN114489020A (en) | 2022-01-30 | 2022-01-30 | CANoe-based function test system and method for automobile electronic controller |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114489020A true CN114489020A (en) | 2022-05-13 |
Family
ID=81479024
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210114653.7A Withdrawn CN114489020A (en) | 2022-01-30 | 2022-01-30 | CANoe-based function test system and method for automobile electronic controller |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114489020A (en) |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103592940A (en) * | 2013-11-26 | 2014-02-19 | 重庆长安汽车股份有限公司 | System for automatically testing automotive electronic controller on basis of CANoe |
CN103699018A (en) * | 2014-01-09 | 2014-04-02 | 上汽通用五菱汽车股份有限公司 | Finished car control model simulation method |
CN204595599U (en) * | 2015-04-01 | 2015-08-26 | 上海汽车集团股份有限公司 | Based on the automobile electronic controller general-utility test platform of CANoe |
CN106681304A (en) * | 2016-12-29 | 2017-05-17 | 普天新能源车辆技术有限公司 | Vehicle control unit test system and vehicle control unit test method |
CN108646713A (en) * | 2018-05-24 | 2018-10-12 | 广东戈兰玛汽车系统有限公司 | Based on CANoe to the analogue system of P grades of director demon logic checkings |
CN108919785A (en) * | 2018-07-25 | 2018-11-30 | 安徽江淮汽车集团股份有限公司 | A kind of test macro and test method |
CN109991955A (en) * | 2017-12-29 | 2019-07-09 | 长城汽车股份有限公司 | A kind of entire car controller test method, device and equipment |
CN110174132A (en) * | 2019-05-20 | 2019-08-27 | 武汉格罗夫氢能汽车有限公司 | A kind of test method of automobile combination meter |
CN111240302A (en) * | 2020-01-14 | 2020-06-05 | 吉利汽车研究院(宁波)有限公司 | Signal verification method and device, electronic equipment and storage medium |
CN111273644A (en) * | 2020-04-09 | 2020-06-12 | 上海申沃客车有限公司 | Automatic parking active braking test method based on CAN bus programming |
CN212112225U (en) * | 2020-04-27 | 2020-12-08 | 蜂巢智能转向科技河北有限公司 | Vehicle electronic control unit test system |
-
2022
- 2022-01-30 CN CN202210114653.7A patent/CN114489020A/en not_active Withdrawn
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103592940A (en) * | 2013-11-26 | 2014-02-19 | 重庆长安汽车股份有限公司 | System for automatically testing automotive electronic controller on basis of CANoe |
CN103699018A (en) * | 2014-01-09 | 2014-04-02 | 上汽通用五菱汽车股份有限公司 | Finished car control model simulation method |
CN204595599U (en) * | 2015-04-01 | 2015-08-26 | 上海汽车集团股份有限公司 | Based on the automobile electronic controller general-utility test platform of CANoe |
CN106681304A (en) * | 2016-12-29 | 2017-05-17 | 普天新能源车辆技术有限公司 | Vehicle control unit test system and vehicle control unit test method |
CN109991955A (en) * | 2017-12-29 | 2019-07-09 | 长城汽车股份有限公司 | A kind of entire car controller test method, device and equipment |
CN108646713A (en) * | 2018-05-24 | 2018-10-12 | 广东戈兰玛汽车系统有限公司 | Based on CANoe to the analogue system of P grades of director demon logic checkings |
CN108919785A (en) * | 2018-07-25 | 2018-11-30 | 安徽江淮汽车集团股份有限公司 | A kind of test macro and test method |
CN110174132A (en) * | 2019-05-20 | 2019-08-27 | 武汉格罗夫氢能汽车有限公司 | A kind of test method of automobile combination meter |
CN111240302A (en) * | 2020-01-14 | 2020-06-05 | 吉利汽车研究院(宁波)有限公司 | Signal verification method and device, electronic equipment and storage medium |
CN111273644A (en) * | 2020-04-09 | 2020-06-12 | 上海申沃客车有限公司 | Automatic parking active braking test method based on CAN bus programming |
CN212112225U (en) * | 2020-04-27 | 2020-12-08 | 蜂巢智能转向科技河北有限公司 | Vehicle electronic control unit test system |
Non-Patent Citations (1)
Title |
---|
陈朝军: "基于CAN通讯的汽车组合仪表的数据定义和测试平台", 中国优秀硕士论文全文数据库 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109039824B (en) | Automatic test system and method for wireless remote communication protocol of vehicle-mounted terminal | |
CN107885097B (en) | Nuclear power station simulator control system DCS transformation closed loop verification system and method | |
CN109324601B (en) | Test platform of robot controller or control system based on hardware-in-the-loop | |
CN109740222B (en) | Testing device and system for automobile networking scene | |
CN108919778B (en) | electric automobile vehicle control unit testing arrangement | |
CN104483959A (en) | Fault simulation and test system | |
CN112817872A (en) | Development test system and method | |
CN101788945A (en) | Diagnostic test system and method for electronic system with multiple circuit boards or multiple modules | |
CN111580501A (en) | Test equipment and method for vehicle electronic stability system | |
CN203759531U (en) | Automatic test system based on OSEK direct network management mechanism | |
CN104101504A (en) | Motor car automatic testing method and device | |
CN103376340A (en) | Adapter plate, a multi-platform serial test system and method | |
CN103676939A (en) | Automatic test system based on OSEK direct network management mechanism | |
CN114325333A (en) | High-efficiency normalized SOC (system on chip) system level verification method and device | |
CN109933521A (en) | Automated testing method, device, computer equipment and storage medium based on BDD | |
CN114385480A (en) | Hardware-in-loop test system for automatic verification of FOTA function of vehicle | |
CN116089281A (en) | Chip testing method, testing platform and device | |
CN210666480U (en) | Vehicle test system | |
CN109117371A (en) | A kind of fault filling method improving period BIT verifying ability | |
CN111983990A (en) | Automatic testing platform for basic software | |
CN109932588A (en) | A kind of Aerial Electronic Equipment validation test engine | |
CN103576667A (en) | Main control panel test method, device and system | |
CN102902852A (en) | Automatic generation system and automatic generation method of electronic control unit (ECU) diagnosis software model of automobile | |
CN114489020A (en) | CANoe-based function test system and method for automobile electronic controller | |
CN207965630U (en) | A kind of FIU test systems based on HIL racks |
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 | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20220513 |
|
WW01 | Invention patent application withdrawn after publication |