HIL simulation test system of commercial vehicle domain controller

By designing a commercial vehicle domain controller HIL simulation test system including HIL system software platform, simulation model, simulation hardware platform and body system dedicated simulation components, the problems of inefficient testing and insufficient automation of existing systems are solved, and a more efficient testing and development process is achieved.

CN120143798APending Publication Date: 2025-06-13NANCHANG AUTOMOTIVE INST OF INTELLIGENCE & NEW ENERGY
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202510334620.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-20
Publication Date
2025-06-13

AI Technical Summary

Technical Problem

When testing commercial vehicle domain controllers, the existing HIL simulation testing system has low testing efficiency and insufficient automation, which seriously restricts the rapid development and iteration of commercial vehicle domain controllers.

Method used

A HIL simulation test system for commercial vehicle domain controllers was designed, including HIL system software platform, HIL system simulation model, HIL system simulation hardware platform and body system specific simulation components. The system controls the simulation test process, manages test tasks and automatically generates interface models through the HIL system software platform. The HIL system simulation model builds the controller's virtual test environment, and interacts with the simulation hardware platform signal. The dedicated simulation components of the body system simulate body control, air conditioning control, gateway and vehicle control functions.

Benefits of technology

Through the cooperation of this system, the testing efficiency and automation of the HIL simulation test system of commercial vehicle domain controllers has been improved, helping to efficiently develop and iterate commercial vehicle domain controllers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120143798A_ABST
    Figure CN120143798A_ABST
Patent Text Reader

Abstract

The invention provides an HIL simulation test system of a commercial vehicle domain controller. The system comprises an HIL system software platform, an HIL system simulation model, an HIL system simulation hardware platform and a vehicle body system special simulation assembly which are electrically connected. The HIL system simulation hardware platform is used for providing hardware support and executing the hardware-in-the-loop simulation test; the HIL system software platform is used for controlling a simulation test process, managing a test task and automatically generating an interface model; the HIL system simulation model is used for constructing a virtual test environment of a controller and performing signal interaction with the HIL system simulation hardware platform; the simulation assembly special for the vehicle body system is used for simulating vehicle body control, air conditioner control, gateway and vehicle control functions so as to improve the test coverage degree, and efficient development and iteration of a commercial vehicle domain controller are facilitated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of automotive electronics testing, and particularly relates to a HIL simulation test system for a commercial vehicle domain controller. Background Art

[0002] With the continuous development of commercial vehicle technology, the core position of the domain controller in the vehicle control system has become increasingly prominent. The stability and reliability of its integrated functions such as body control, air conditioning regulation, gateway communication, and vehicle control unit directly determine the comprehensive performance, safety standards, and ride comfort of commercial vehicles.

[0003] Currently, the testing methods of domain controllers mainly rely on on-vehicle testing and bench testing. On-vehicle testing is difficult to comprehensively cover all working conditions and fault scenarios due to high costs and strict restrictions on conditions such as the environment and time. Although bench testing can simulate some working conditions, its simulation accuracy and testing depth are still insufficient when dealing with complex interaction scenarios and extreme working conditions.

[0004] In contrast, the HIL (Hardware-in-the-Loop) test system can comprehensively and deeply test the domain controller under laboratory conditions by constructing a virtual test environment and a high-precision simulation model, effectively making up for the deficiencies of on-vehicle and bench testing. However, when the existing HIL simulation test system is used to test commercial vehicle domain controllers, there are still problems such as low test efficiency and insufficient automation, which seriously restrict the rapid development and iteration process of commercial vehicle domain controllers. Summary of the Invention

[0005] In order to solve the above technical problems, the present invention provides a HIL simulation test system for a commercial vehicle domain controller to solve the technical problems in the prior art.

[0006] On the one hand, the invention provides the following technical solution. A HIL simulation test system for a commercial vehicle domain controller, the system includes: a HIL system software platform, a HIL system simulation model, a HIL system simulation hardware platform, and a body system dedicated simulation component that are electrically connected;

[0007] The HIL system simulation hardware platform is used to provide hardware support and execute the hardware-in-the-loop simulation test;

[0008] The HIL system software platform is used to control the simulation test process, manage test tasks, and automatically generate interface models;

[0009] The HIL system simulation model is used to construct a virtual test environment for the controller and perform signal interaction with the HIL system simulation hardware platform;

[0010] The special simulation component for the vehicle body system is used to simulate vehicle body control, air conditioning control, gateway, and vehicle control functions to improve test coverage.

[0011] Compared with the prior art, the beneficial effects of the present application are as follows: Through the cooperation of the HIL system software platform, the HIL system simulation model, the HIL system simulation hardware platform, and the special simulation component for the vehicle body system, it is possible to solve the problem of low test efficiency in the field of the HIL simulation test system for commercial vehicle domain controllers and solve the problem of low automation level in the field of the HIL simulation test system for commercial vehicle domain controllers, which is helpful for the efficient development and iteration of commercial vehicle domain controllers.

[0012] Further, the HIL system simulation hardware platform includes:

[0013] A real-time system component for real-time processing of simulation data and execution of control instructions;

[0014] An I / O and communication board card for input and output of simulation signals;

[0015] A fault injection unit for simulating different types of faults;

[0016] A power-on logic simulation board card for simulating vehicle power switch logic and power management;

[0017] Signal conditioning power supply, programmable power supply, and power management for providing stable power supply and signal conditioning functions.

[0018] Further, the HIL system software platform includes:

[0019] Test engineering software for experiment management, automatically generating the interface model, and providing controller variable observation and calibration functions;

[0020] Fault injection software for simulating fault scenarios by the control fault injection unit and verifying the fault response logic of the controller;

[0021] Automatic test software for automatically constructing test sequences, executing test tasks, and generating test reports.

[0022] Further, the interface model includes:

[0023] A hardware I / O interface model automatically generated by importing an EXCEL hardwired signal list and bound to the I / O and communication board card;

[0024] A CAN bus I / O interface model generated by importing a DBC file and selecting transmit and receive messages. The model integrates a checksum algorithm and includes message identifiers, signal definitions, and bus parameters.

[0025] Further, both the hardware I / O interface model and the CAN bus I / O interface model are generated in an independent encapsulated form by the test engineering software and are directly associated with the physical channels of the HIL system simulation hardware platform.

[0026] Further, the automatic test software is connected to the test engineering software through an API interface, and the test sequence is constructed as follows: predefined test modules are dragged based on a graphical interface, and trigger conditions and decision thresholds are configured.

[0027] Further, the graphical interface of the test engineering software includes:

[0028] An editable text input box for configuring simulation parameters;

[0029] A numerical display instrument for real-time monitoring of controller variables;

[0030] Switch controls and sliders for manually triggering signal inputs;

[0031] Status indicator lights for feedback of test results.

[0032] Further, the types of faults supported by the fault injection software include short circuits, open circuits, and loose connections.

[0033] Further, the HIL system simulation model includes:

[0034] An I / O model for signal interaction with the HIL system simulation hardware platform;

[0035] A controller software model for simulating the operating logic of the controller and supporting independent simulation tests without an actual controller.

[0036] Further, the special simulation components of the vehicle body system include:

[0037] A vehicle body electronic and electrical load bench for simulating the load state of the vehicle body electronic system;

[0038] An anti-pinch tooling for simulating the anti-pinch protection function of windows or sunroofs;

[0039] A special bench for simulating the control logic of seats and rear doors. Description of the Drawings

[0040] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required for use in the embodiments or the description of the prior art. Obviously, the following drawings are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0041] Figure 1 It is a schematic structural diagram of the HIL simulation test system of the commercial vehicle domain controller in an embodiment of the present invention.

[0042] Main component symbol descriptions: 1. HIL system simulation hardware platform; 11. Real-time system component; 12. I / O and communication board; 13. Fault injection unit; 14. Power-on logic simulation board; 15. Signal conditioning power supply; 16. Programmable power supply; 17. Power management; 2. HIL system software platform; 21. Test engineering software; 22. Fault injection software; 23. Automatic test software; 3. HIL system simulation model; 31. I / O model; 32. Controller software model; 4. Special simulation component for vehicle body system; 41. Vehicle body electronic and electrical load bench; 42. Window / skylight anti-pinch tooling; 43. Special bench for seat / rear door.

[0043] The following will further illustrate the embodiments of the present invention with reference to the accompanying drawings. Specific embodiments

[0044] The embodiments of the present invention will be described in detail below. The examples of the embodiments are shown in the accompanying drawings, where the same or similar reference numerals throughout are the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to explain the embodiments of the present invention, and should not be construed as limiting the present invention.

[0045] In the description of the embodiments of the present invention, it should be understood that the orientation or positional relationship indicated by the terms "length", "width", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc. is based on the orientation or positional relationship shown in the accompanying drawings, and is only for the convenience of describing the embodiments of the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus should not be construed as limiting the present invention.

[0046] In addition, the terms "first" and "second" are only used for descriptive purposes and should not be construed as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include one or more of such features. In the description of the embodiments of the present invention, "a plurality" means two or more, unless otherwise specifically defined.

[0047] In the embodiments of the present invention, please refer to Figure 1, a Hardware-in-the-Loop (HIL) simulation test system for a commercial vehicle domain controller, the system includes an electrically connected HIL system software platform 2, an HIL system simulation model 3, an HIL system simulation hardware platform 1, and a special simulation component 4 for the body system;

[0048] The HIL system simulation hardware platform 1 is used to provide hardware support and perform the hardware-in-the-loop simulation test;

[0049] The HIL system software platform 2 is used to control the simulation test process, manage test tasks, and automatically generate interface models;

[0050] The HIL system simulation model 3 is used to build a virtual test environment for the controller and perform signal interaction with the HIL system simulation hardware platform 1;

[0051] The special simulation component 4 for the body system is used to simulate body control, air conditioning control, gateway, and vehicle control functions to improve test coverage.

[0052] The system in this embodiment consists of an HIL system simulation hardware platform 1, an HIL system software platform 2, an HIL system simulation model 3, and a special simulation component 4 for the body system.

[0053] The HIL system simulation hardware platform 1 includes a real-time system component 11, an I / O (Input / Output) and communication board card, a fault injection unit 13, a power-on logic simulation board card 14, a signal conditioning power supply 15, a programmable power supply 16, and a power management 17.

[0054] The HIL system software platform 2 includes a test engineering software 21, a fault injection software 22, and an automatic test software 23.

[0055] The HIL system simulation model 3 is composed of an I / O model 31 and a controller software model 32.

[0056] The special simulation component 4 for the body system includes a body electronic and electrical load bench 41, a window / sunroof anti-pinch tooling 42, and a seat / rear door special bench 43.

[0057] Specifically, the HIL system simulation hardware platform 1 includes:

[0058] A real-time system component 11, used to process simulation data in real time and execute control instructions;

[0059] An I / O and communication board card 12, used for the input and output of simulation signals;

[0060] A fault injection unit 13, used to simulate different types of faults;

[0061] The power-on logic simulation board 14 is used to simulate the vehicle power switch logic and power management 17;

[0062] The signal conditioning power supply 15, the programmable power supply 16, and the power management 17 are used to provide stable power and signal conditioning functions.

[0063] In this embodiment, the real-time system component 11 of the HIL system simulation hardware platform 1 outputs the signals required by the controller through various I / O and communication boards 12, and collects all the signals sent by the controller. The I / O model 31 and the controller software model 32 of the HIL system simulation model 3 run in real time on the HIL system simulation hardware platform 1.

[0064] The fault injection unit 13 of the HIL system simulation hardware platform 1 is a fault injection board that simulates faults such as short circuits (to power, to ground, between signals), open circuits, loose connections, leakage currents, and changes in contact resistance.

[0065] The power-on logic simulation board 14 of the HIL system simulation hardware platform 1 manages the power-on logic of the controller.

[0066] The signal conditioning power supply 15, the programmable power supply 16, and the power management 17 of the HIL system simulation hardware platform 1 together constitute the power supply management and power control system of the HIL simulation test system.

[0067] The test engineering software 21 of the HIL system software platform 2 has functions of experiment management, automatic generation of the I / O model 31, and observation and calibration of controller variables. The interface of the test engineering software 21 is presented in a graphical form, providing components including but not limited to text, pictures, numerical values, switches, sliders, meters, status lights, and knobs.

[0068] Specifically, the HIL system software platform 2 includes:

[0069] The test engineering software 21 is used for experiment management, automatically generating the interface model, and providing functions of observing and calibrating controller variables;

[0070] The fault injection software 22 is used to control the fault injection unit 13 to simulate fault scenarios and verify the fault response logic of the controller;

[0071] The automatic test software 23 is used to automatically construct test sequences, execute test tasks, and generate test reports.

[0072] In this embodiment, the process of the test engineering software 21 performing HIL simulation testing is as follows: First, create a test project, configure parameters such as the simulation step size, import A2L (a file format for describing ECU information), and set communication parameters; then, configure the CAN (Controller Area Network) card, multi-functional I / O card, resistor card, ultrasonic card, communication card, and fault injection board; subsequently, import the DBC (Controller Area Network Database) file and configure the CAN message attributes; then, automatically generate the HIL system I / O model 31, import and configure the model parameters, and establish the association between the model and the hardware channels and message signals; finally, run the simulation model and view the data playback.

[0073] The automatic test software 23 in the HIL system software platform 2 is used for the construction and execution of the automatic test sequence of the commercial vehicle domain controller, and generates a test report after the test is completed. All test sequence action modules of this software are built by dragging and dropping. From test case import to execution and then to report generation, the entire process is automated, improving the automation level and efficiency of the HIL simulation test system. The automatic test software 23 and the test engineering software 21 are seamlessly connected through the API interface, and the test sequence is constructed by dragging and dropping. The graphical interface of the test engineering software 21 includes a text input box, a numerical display instrument, a switch control, a slider, and a status indicator light, and the fault injection software 22 supports fault types such as short circuit, open circuit, and virtual connection.

[0074] Specifically, the combined use of the test engineering software 21 and the automatic test software 23 can further improve the test efficiency, and the process is as follows: First, import the test cases output by the test engineering software 21 into the automatic test software 23 to generate a test sequence, or build a test sequence by yourself; then, the user selects whether to adjust the test sequence and modifies it through graphical dragging and dropping; then, the automatic test software 23 generates a test script according to the test sequence; subsequently, configure the test plan; finally, automatically run the test script according to the test plan, generate a test report, and save the log to a specified folder.

[0075] More specifically, the interface model includes:

[0076] The hardware I / O interface model is automatically generated by importing the EXCEL hardwired signal list and is bound to the I / O and communication board 12;

[0077] The CAN bus I / O interface model is generated by importing the DBC file and selecting the transmitted and received messages. The model integrates a checksum algorithm and includes message identifiers, signal definitions, and bus parameters.

[0078] In this embodiment, the I / O model 31 of the HIL system simulation model 3 is a standardized Simulink I / O interface model (simulation link input / output interface model), that is, an interface model, which is automatically generated by importing the corresponding template file into the test engineering software 21 and clicking the corresponding button. The controller software model 32 is a simulation of the commercial vehicle virtual controller, and can perform HIL testing of the commercial vehicle domain controller without the non-test node entity controller.

[0079] Specifically, the process of automatically generating the HIL system hardware I / O interface model (hardware input / output interface model) is as follows: First, import the HIL hardware I / O signal list (hardware input / output signal list) filled based on the EXCEL template into the test engineering software 21; then, click the corresponding button of the software to automatically generate the HIL system hardware I / O interface model.

[0080] Specifically, the process of automatically generating the HIL system CAN I / O interface model (controller area network input / output interface model) is as follows: First, import the CAN bus DBC file into the test engineering software 21; then, select the messages that the HIL simulation test system needs to send and receive; subsequently, import the checksum algorithm into the test engineering software 21; finally, click the corresponding button of the software to automatically generate the HIL system CAN I / O interface model.

[0081] Specifically, the HIL system simulation model 3 includes:

[0082] The I / O model 31 is used for signal interaction with the HIL system simulation hardware platform 1;

[0083] The controller software model 32 is used to simulate the operation logic of the controller and support independent simulation testing without the actual controller.

[0084] Specifically, the dedicated simulation component 4 of the body system includes:

[0085] The body electronic and electrical load bench 41 is used to simulate the load state of the body electronic system;

[0086] The anti-pinch tooling is used to simulate the anti-pinch protection function of the window or sunroof;

[0087] The dedicated bench is used to simulate the control logic of the seat and the rear door.

[0088] In this embodiment, the body electronic and electrical load bench 41, the window / sunroof anti-pinch tooling 42, and the seat / rear door dedicated bench 43 of the dedicated simulation component 4 for the body system are used to improve the test coverage of the HIL system, enabling the HIL simulation test system provided by the present invention to cover the HIL simulation tests of the body control, air conditioning control, gateway, and vehicle control functions of the commercial vehicle domain controller.

[0089] This system includes the HIL system simulation hardware platform 1 (including the real-time system component 11, the I / O and communication board 12, the fault injection unit 13, etc.), the HIL system software platform 2 (including the test engineering software 21, the fault injection software 22, and the automatic test software 23), the HIL system simulation model 3 (including the I / O model 31 and the controller software model 32), and the dedicated simulation component 4 for the body system (including the body electronic and electrical load bench 41, etc.). Among them, the test engineering software 21 has the function of automatically generating the Simulink I / O interface model, covering generating the HIL system hardware I / O interface model by importing the signal list written in EXCEL, and generating the HIL system CAN bus I / O model 31 by importing DBC files and other operations. In addition, the automatic test software 23 can work in cooperation with the test engineering software 21 to realize the automation of test sequence construction, execution, and report generation, and the test sequence action module is constructed in a drag-and-drop manner. The present invention effectively solves the problems of low test efficiency and low automation degree of the existing commercial vehicle domain controller HIL simulation test system, and helps the efficient development and iteration of the commercial vehicle domain controller.

[0090] In summary, a HIL simulation test system for a commercial vehicle domain controller has the following effects:

[0091] The test engineering software developed by the present invention has the function of automatically generating the Simulink I / O interface model. By importing the information of the standard template, it realizes one-key generation of the standardized Simulink I / O interface model for the HIL system simulation test, and solves the problem of low test efficiency in the field of the current commercial vehicle domain controller HIL simulation test system.

[0092] The automatic test software developed by the present invention realizes the construction of all test sequence action modules in a drag-and-drop manner, thereby reducing the complexity of sequence construction and improving the test efficiency of the HIL simulation test system for the commercial vehicle domain controller.

[0093] The automatic test software developed by the present invention realizes automation throughout the process from test case import to test case execution and then to test report generation, and solves the problem of low automation degree in the field of the current commercial vehicle domain controller HIL simulation test system.

[0094] The technical features of the above-described embodiments can be combined arbitrarily. For the sake of brevity of description, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope described in this specification.

[0095] The above-described embodiments merely represent several implementation manners of the present application. The description thereof is relatively specific and detailed, but it should not be construed as a limitation on the scope of the invention patent. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present application, several modifications and improvements can still be made, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the appended claims.

Claims

1. A HIL simulation test system for a commercial vehicle domain controller, characterized in that: The system includes an electrically connected HIL system software platform, a HIL system simulation model, a HIL system simulation hardware platform and a vehicle body system dedicated simulation component; The HIL system simulation hardware platform is used to provide hardware support and perform the hardware-in-the-loop simulation test; The HIL system software platform is used to control the simulation test process, manage test tasks and automatically generate interface models; The HIL system simulation model is used to construct a virtual test environment for the controller and perform signal interaction with the HIL system simulation hardware platform; The body system dedicated simulation component is used to simulate body control, air conditioning control, gateway and vehicle control functions to improve test coverage.

2. The HIL simulation test system for a commercial vehicle domain controller according to claim 1, characterized in that: The HIL system simulation hardware platform includes: Real-time system components, used to process simulation data and execute control instructions in real time; I / O and communication boards for input and output of simulation signals; Fault injection unit, used to simulate different types of faults; Power-on logic simulation board, used to simulate vehicle power switch logic and power management; Signal conditioning power supply, programmable power supply and power management are used to provide stable power supply and signal conditioning functions.

3. The HIL simulation test system for a commercial vehicle domain controller according to claim 2, characterized in that: The HIL system software platform includes: Experimental engineering software, used for experimental management, automatic generation of the interface model, and providing controller variable observation and calibration functions; Fault injection software, used for the control fault injection unit to simulate fault scenarios and verify the fault response logic of the controller; Automatic testing software is used to automatically build test sequences, execute test tasks, and generate test reports.

4. The HIL simulation test system for a commercial vehicle domain controller according to claim 3, characterized in that: The interface model includes: The hardware I / O interface model is automatically generated by importing the EXCEL hard-wire signal list and is bound to the I / O and communication board; The CAN bus I / O interface model is generated by importing a DBC file and selecting the send and receive messages. The model integrates a checksum algorithm and includes a message identifier, signal definition, and bus parameters.

5. The HIL simulation test system for a commercial vehicle domain controller according to claim 4, characterized in that: The hardware I / O interface model and the CAN bus I / O interface model are both generated in an independent package form through the test engineering software, and are directly associated with the physical channel of the HIL system simulation hardware platform.

6. The HIL simulation test system for a commercial vehicle domain controller according to claim 3, characterized in that: The automatic test software is connected to the test engineering software through an API interface, and the test sequence is constructed by dragging predefined test modules based on a graphical interface and configuring trigger conditions and judgment thresholds.

7. The HIL simulation test system for a commercial vehicle domain controller according to claim 3, characterized in that: The graphical interface of the test engineering software includes: Editable text input box for configuring simulation parameters; Numerical display instrument, used to monitor controller variables in real time; Switch controls and sliders for manual trigger signal input; Status indicator light to provide feedback on test results.

8. The HIL simulation test system for a commercial vehicle domain controller according to claim 3, characterized in that: The fault injection software supports fault types including short circuit, open circuit and virtual connection.

9. The HIL simulation test system for a commercial vehicle domain controller according to claim 1, characterized in that: The HIL system simulation model includes: An I / O model, used for signal interaction with the HIL system simulation hardware platform; The controller software model is used to simulate the operating logic of the controller and support independent simulation testing without the actual controller.

10. The HIL simulation test system for a commercial vehicle domain controller according to claim 1, characterized in that: The body system dedicated simulation component includes: Body electronic and electrical load bench, used to simulate the load state of the body electronic system; Anti-pinch tooling, used to simulate the anti-pinch protection function of car windows or sunroofs; A dedicated test bench for simulating the control logic of seats and back doors.

Citation Information

Cited By

  • Commercial vehicle power domain controller and all-in-one controller testing device

    CN120802915A

  • Vehicle body domain controller hardware-in-loop simulation method under AUTOSAR architecture

    CN120871821A

  • Seat diagnosis test method based on HIL platform and related equipment

    CN121540442A