Hardware-in-the-loop testing device and method for commercial vehicle electronic parking system controller

Through the hardware-in-the-loop test system based on IPG/TruckMaker and IPG/Xpack4, the real driving environment is simulated, the complexity and consistency problems of traditional automobile brake controller testing are solved, and efficient and comprehensive electronic parking system functional testing is achieved. Reduced development costs and personnel skill requirements.

CN113671927BActive Publication Date: 2024-10-15武汉辅安科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010412755.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-05-15
Publication Date
2024-10-15
Estimated Expiration
2040-05-15

AI Technical Summary

Technical Problem

The actual vehicle testing method of traditional automobile brake controllers is complex, which increases the difficulty and cost of testing, and cannot guarantee the consistency and safety of the test. The existing hardware-in-the-loop test system has a single function and cannot fully simulate the real driving environment.

Method used

A commercial vehicle electronic parking system controller hardware-in-the-loop test system based on IPG/TruckMaker and IPG/Xpack4 is used to simulate real test scenarios, including virtual Vehicle simulation software and multiple test functions enable comprehensive functional testing of the electronic parking system.

Benefits of technology

It improves test efficiency and coverage, reduces development costs and cycles, simplifies operations through a visual interface, significantly reduces personnel skill requirements, and enables systematic testing of electronic parking system functions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure HDA0002493897910000011
    Figure HDA0002493897910000011
  • Figure HDA0002493897910000021
    Figure HDA0002493897910000021
Patent Text Reader

Abstract

The invention relates to the technical field of automobile brake control, and discloses a hardware-in-the-loop test device and a test method for a commercial vehicle electronic parking system controller. The hardware-in-the-loop test device comprises an air brake test bench, an EPB controller, a computer, IPG / Xpack4 real-time hardware and a programmable power supply, which can simulate a real test scenario, restore the driver's operation, road environment, actual vehicle operating conditions, etc. to the maximum extent, facilitate various functional tests on the EPB controller, reduce various restrictions that may be encountered during the actual vehicle test, reduce development costs, shorten development cycles, and has the advantages of high test efficiency, wide test coverage, and real-time visualization of test results.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of automobile brake control, and in particular to a hardware-in-the-loop testing device and method for a controller of an electronic parking system of a commercial vehicle. Background Art

[0002] The hardware-in-the-loop test system uses a real-time processor to run a simulation model to simulate the operating state of the controlled object, connects to the controller under test through the I / O interface, and performs functional and performance tests on the controller system under test. The traditional test method uses real vehicle testing. Since it is necessary to realize various complex working conditions of vehicle operation, it puts forward high requirements on the driver's operating level and working condition design, which greatly increases the test difficulty and development cycle, and at the same time increases the test risk and cannot guarantee the consistency of the test. The control strategies in today's controllers are becoming more and more complex. Considering safety, reliability and cost management, hardware-in-the-loop testing has become a very important part of the controller development process. By using virtual vehicles for simulation testing, the real vehicle test cycle can be reduced, which can greatly shorten the development time and reduce development costs.

[0003] The patent (patent number CN201320883579.1, published on June 4, 2014) discloses a hardware-in-the-loop test bench for a hydraulic electronic parking brake system, which mainly simulates the vehicle inclination angle through a motor-driven ramp test bench, with a complex structure and a single function. The patent (patent number CN201010132475.8, published on September 1, 2010) discloses an in-the-loop simulation test system for an electronic parking system, which mainly tests the hydraulic brake system of a passenger car. Summary of the invention

[0004] In order to overcome the deficiencies of the above-mentioned prior art, the present invention provides a commercial vehicle electronic parking system controller hardware-in-the-loop test system based on IPG / TruckMaker and IPG / Xpack4, which can simulate real test scenarios, restore driver operations, road environments, actual vehicle operating conditions, etc. to the maximum extent, facilitate various functional tests of the EPB controller, reduce various restrictions that may be encountered during actual vehicle testing, reduce development costs, and shorten development cycles. The technical solution adopted by the present invention is:

[0005] A hardware-in-the-loop test device for a commercial vehicle electronic parking system controller comprises a pneumatic brake test bench, an EPB controller, a computer, an IPG / Xpack4 real-time hardware and a programmable power supply; the pneumatic brake test bench comprises a test bench, a pressure sensor, a solenoid valve, an air storage tank, a brake air chamber, a brake pedal and an accelerator pedal; the EPB controller is installed on the pneumatic brake test bench; the computer is equipped with IPG / TruckMaker virtual vehicle simulation software for simulating the vehicle's motion state, vehicle driving environment and driver operation; the IPG / Xpack4 real-time hardware is loaded with an M410 high-speed CAN communication board, an M404 wheel speed simulation board and an M36 AD signal acquisition card, and the IPG / Xpack4 is connected to the EPB controller and the pneumatic brake test bench via the M410, M404 and M36 boards; the computer is connected to the IPG / Xpack4 via an Ethernet cable; the programmable power supply simulates the vehicle-mounted power supply to supply power to the pneumatic brake test bench and the EPB controller. M404 converts the wheel speed of the virtual vehicle into an analog signal and sends it to the EPB controller; M410 communicates with the EPB controller and sends the status signals of the virtual vehicle such as vehicle speed, engine speed, real-time engine torque, brake status, throttle opening, etc. to the EPB controller through CAN messages, and receives the parking system status sent by EPB. The EPB controller receives and processes the received vehicle status signals, and uses CAN communication to send parking or unparking instructions to the IPG / TruckMaker virtual vehicle, so that the vehicle in TruckMaker can park or unpark. At the same time, the EPB status is sent to IPG / Xpack4 through CAN messages to operate the virtual vehicle in IPG / TruckMaker to park or unpark, and the real-time status of the vehicle is displayed on the IPG / TruckMaker interface. According to the test needs, the parameters of the virtual vehicle and the road scene parameters are set in the IPG / TruckMaker software, such as vehicle weight, engine rated torque, transmission ratio, slope, section length, road adhesion coefficient, etc. According to the different control strategies of the controller, set appropriate test scenes to test the corresponding functions.

[0006] The steps of the hardware-in-the-loop testing method for the commercial vehicle electronic parking system controller provided by the present invention include:

[0007] 1) Configure the system to enable normal communication between the EPB controller, pneumatic brake test bench, IPG / Xpack4 real-time hardware and IPG / TruckMaker;

[0008] 2) Set up the relevant test environment in IPG / TruckMaker software;

[0009] 3) After the setting is completed, the test is carried out. During the test, the vehicle status is displayed in real time on IPG / TruckMaker, and the test results are output after the test is completed;

[0010] 4) If the test fails, the fault reminder interface will pop up on IPG / TruckMaker and indicate the corresponding fault type. After the fault is eliminated, restart the test program to continue the test. The relevant test environment tests include vehicle parameter settings, driver model settings, driving operation settings, road settings and traffic environment settings. The tests that can be performed include:

[0011] a) Conventional parking / release function test: the vehicle in IPG / TruckMaker is stationary on a straight horizontal road. After the system is powered on, the vehicle is in parking state by default, and the current vehicle state is sent to the EPB controller via CAN message. Then the brake pedal is operated and the release button is pressed. The parking indicator light goes out and the parking state is released. Then the parking button is pulled up to park the vehicle, and the parking state is sent to IPG / Xpack4 via CAN message to operate the virtual vehicle in IPG / TruckMaker to achieve parking. The parking indicator light comes on to indicate that parking is completed.

[0012] b) Flame-out parking function test: when the simulated vehicle in IPG / TruckMaker turns off the IGN and flames out, the EPB controller ECU receives the vehicle status information sent by the M410 high-speed CAN communication board, and then controls the parking brake valve to exhaust air to achieve parking. Then the controller sends the EPB status to IPG / Xpack4 through the CAN message to operate the virtual vehicle in IPG / TruckMaker to achieve parking, and the parking indicator light is on;

[0013] c) Autohold function test: press the Autohold switch to light up the Autohold indicator. When the vehicle moves uphill to the middle of the slope, release the accelerator pedal and press the brake pedal. After the IPG / TruckMaker virtual vehicle stops, the EPB controller detects that the vehicle is parked and the Autohold function is activated. The parking key is automatically pulled up and the parking indicator is lit. Then, shift gears and press the accelerator pedal. The parking indicator goes out and the parking is automatically released, completing the Autohold function test.

[0014] d) Hill start assist test: The IPG / TruckMaker virtual vehicle stops on an uphill section, and the EPB controller receives the vehicle status signal sent by the M410 high-speed CAN communication board, including vehicle speed, engine speed, torque, brake status, and throttle opening. Combined with the current slope signal analysis, when the ECU determines that the driving torque is greater than the gravity component on the slope, the EPB controller sends a release command to release the parking, the parking lights go out, and the vehicle in the IPG / TruckMaker starts smoothly;

[0015] e) Emergency braking function test: When the IPG / TruckMaker virtual vehicle accelerates to a speed above the critical speed on a straight road, the electronic parking button is pulled up, and the EPB does not respond at this time; the brake pedal is pressed to slow down the vehicle. When the vehicle decelerates to below the critical speed, the button is continuously pulled up for more than 1 second, and the controller ECU will issue an emergency braking command. The EPB will perform dynamic braking, so that the virtual vehicle in TruckMaker will decelerate smoothly to a stop, and the parking indicator light will light up.

[0016] Compared with the prior art, the present invention has the following beneficial effects:

[0017] 1. High test efficiency: Based on the established hardware-in-the-loop test bench, after completing the settings of test conditions, roads and driver operations in IPG / TruckMaker, the test can be repeated according to the set detection process. The test process only requires replacing the controller ECU under test, which greatly improves the test efficiency and reduces the labor intensity of personnel.

[0018] 2. Wide test coverage: IPG / TruckMaker can simulate a variety of test scenarios and restore the real test environment to the greatest extent, so as to systematically conduct complete tests on functions such as parking / releasing, hill start, and dynamic braking.

[0019] 3. Visualization of test results: IPG / TruckMaker has an easy-to-use visual interactive interface that allows convenient setting of various parameters and real-time output of test results and various faults, greatly reducing the difficulty of operation and lowering the requirements for personnel skills. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 This is a schematic diagram of a hardware-in-the-loop test device for a commercial vehicle electronic parking system controller of the present invention;

[0021] Figure 2 This is a flowchart of the hardware-in-the-loop test of the commercial vehicle electronic parking system controller of the present invention. DETAILED DESCRIPTION

[0022] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the present invention is further described below with reference to the accompanying drawings.

[0023] like Figure 1 As shown, the present invention proposes a test device for an electronic parking system controller based on hardware in the loop. The test device system used mainly includes an air brake test bench, an EPB controller, a computer, an IPG / Xpack4 and a programmable power supply. The air brake test bench includes a test bench, a pressure sensor, a solenoid valve, an air tank, a brake air chamber, a pedal and other components as the actuator of the entire test system; the computer is equipped with IPG / TruckMaker virtual vehicle simulation software, and the computer is connected to the IPG / Xpack4 real-time hardware via Ethernet. The IPG / Xpack 4. Use the M36 board to collect the brake pedal and accelerator pedal opening on the brake system test bench, and use the M410 high-speed CAN communication board to send vehicle status signals such as vehicle speed, engine speed, torque, brake status, throttle opening, etc. to the EPB controller; the EPB controller receives and processes the received vehicle status signals, and then uses the built-in control algorithm to issue parking or unparking operation instructions, and at the same time sends the EPB status to the virtual vehicle in the IPG / Xpack4 TruckMaker through CAN messages to realize parking or unparking actions, and displays the real-time status of the vehicle on the host computer interface.

[0024] Combined with Figure 2 , the specific test process is as follows:

[0025] First, configure the system to enable normal communication between the EPB controller, pneumatic brake test bench, IPG / Xpack4 real-time hardware and IPG / TruckMaker, and then set the relevant test environment in the host computer software, including vehicle parameter settings, driver model settings, driving operation settings, road settings and traffic environment settings. After completing the above settings, run the set test cases in the host computer software and test the EPB functions according to the following process, as follows:

[0026] 1) Conventional parking / release function

[0027] The vehicle in IPG / TruckMaker is stationary on a straight horizontal road. After the system is powered on, the vehicle is in the parking state by default, and the current vehicle state is sent to the EPB controller via CAN messages. Then operate the brake pedal, press the release button, the parking indicator light goes out, and the parking state is released; then pull up the parking button to park the vehicle, and send the parking state to IPG / Xpack4 to operate the virtual vehicle in TruckMaker to achieve parking, and the parking indicator light turns on to indicate that parking is completed.

[0028] 2) Flame-out parking function

[0029] When the simulated vehicle in IPG / TruckMaker turns off the IGN and shuts down, the EPB controller ECU receives the vehicle status information sent by the M410 high-speed CAN communication board, and then controls the parking brake valve to exhaust to achieve parking. Then the controller sends the EPB status through the CAN message to IPG / Xpack4 to operate the virtual vehicle in TruckMaker to achieve parking, and the parking indicator light turns on.

[0030] 3) Autohold function

[0031] Press the Autohold switch to light up the Autohold indicator light. When the vehicle moves uphill to the middle of the slope, release the accelerator pedal and step on the brake pedal. After the IPG / TruckMaker virtual vehicle stops, the EPB controller detects that the vehicle has stopped and the Autohold function is activated. The parking key is automatically pulled up and the parking indicator light is on. Then, shift gears and step on the accelerator pedal. The parking indicator light goes out and the parking is automatically released, completing the Autohold function test.

[0032] 4) Hill start assist

[0033] The IPG / TruckMaker virtual vehicle stops on an uphill road with a certain slope. The EPB controller receives vehicle status signals such as vehicle speed, engine speed, torque, braking status, throttle opening, etc. sent by the M410 high-speed CAN communication board. Combined with the current slope signal analysis, when the virtual vehicle operates the throttle opening to a certain extent, the ECU determines that the driving torque is greater than the gravity component on the slope, the EPB controller sends a release parking command to release the parking, the parking lights go out, and the vehicle in the IPG / TruckMaker starts smoothly.

[0034] 5) Emergency brake function

[0035] When the IPG / TruckMaker virtual vehicle accelerates to a speed above the critical speed on a straight road, the electronic parking button is pulled up and the EPB does not respond. Press the brake pedal to slow down the vehicle. When the vehicle decelerates to below the critical speed, the button is continuously pulled up for more than 1 second. The EPB controller will issue an emergency braking command and the EPB will brake dynamically, so that the virtual vehicle in TruckMaker will decelerate smoothly to a stop and the parking indicator light will come on.

[0036] When performing the above functional tests, if any function test of the controller fails, IPG / TruckMaker will pop up a fault reminder interface and indicate the corresponding fault type so that the operator can troubleshoot the fault. After the fault is eliminated, the test program can be restarted and the test can be continued according to the above test process.

[0037] In addition, it should be noted that the names of the components of the specific embodiments described in this specification may be different. Any equivalent or simple changes made based on the structure, features and principles described in the patent concept of the present invention are included in the protection scope of the patent of the present invention. The technicians in the technical field of the present invention can make various modifications or supplements to the specific embodiments described or replace them in a similar manner, as long as they do not deviate from the structure of the present invention or exceed the scope defined by the claims, they should all fall within the protection scope of the present invention.

Claims

1. A hardware-in-the-loop test method for a commercial vehicle electronic parking system controller, characterized in that: The device for hardware-in-the-loop testing of a commercial vehicle electronic parking system controller includes a pneumatic brake test bench, an EPB controller, a computer, an IPG / Xpack4 real-time hardware and a programmable power supply; the EPB controller is installed on the pneumatic brake test bench; the computer is equipped with IPG / TruckMaker virtual vehicle simulation software for simulating the vehicle's motion state, vehicle driving environment and driver operation; the IPG / Xpack4 real-time hardware is loaded with an M410 high-speed CAN communication board, an M404 wheel speed simulation board and an M36 AD signal acquisition card, and the IPG / Xpack4 is connected to the EPB controller and the pneumatic brake test bench through the M410, M404 and M36 boards; the computer is connected to the IPG / Xpack4 through an Ethernet cable; the programmable power supply simulates the vehicle-mounted power supply to supply power to the pneumatic brake test bench and the EPB controller; the hardware-in-the-loop testing method of the commercial vehicle electronic parking system controller includes: a) Conventional parking / release function test: the vehicle in IPG / TruckMaker is stationary on a straight horizontal road. After the system is powered on, the vehicle is in parking state by default, and the current vehicle state is sent to the EPB controller via CAN message. Then the brake pedal is operated and the release button is pressed. The parking indicator light goes out and the parking state is released. Then the parking button is pulled up to park the vehicle, and the parking state is sent to IPG / Xpack4 via CAN message to operate the virtual vehicle in IPG / TruckMaker to achieve parking. The parking indicator light turns on to indicate that parking is completed. b) Flame-out parking function test: when the simulated vehicle in IPG / TruckMaker turns off the IGN and flames out, the EPB controller receives the vehicle status information sent by the M410 high-speed CAN communication board, and then controls the parking brake valve to exhaust air to achieve parking. Then the controller sends the EPB status to IPG / Xpack4 through the CAN message to operate the virtual vehicle in IPG / TruckMaker to achieve parking, and the parking indicator light is on; c) Autohold function test: press the Autohold switch to light up the Autohold indicator. When the vehicle moves uphill to the middle of the slope, release the accelerator pedal and press the brake pedal. After the IPG / TruckMaker virtual vehicle stops, the EPB controller detects that the vehicle is parked and the Autohold function is activated. The parking key is automatically pulled up and the parking indicator is lit. Then, shift gears and press the accelerator pedal. The parking indicator goes out and the parking is automatically released, completing the Autohold function test. d) Hill start assist test: The IPG / TruckMaker virtual vehicle stops on an uphill section, and the EPB controller receives the vehicle status signal sent by the M410 high-speed CAN communication board, including vehicle speed, engine speed, torque, brake status, and throttle opening. Combined with the current slope signal analysis, when the ECU determines that the driving torque is greater than the gravity component on the slope, the EPB controller sends a release command to release the parking, the parking lights go out, and the vehicle in the IPG / TruckMaker starts smoothly; e) Emergency braking function test: When the IPG / TruckMaker virtual vehicle accelerates to a speed above the critical speed on a straight road, the electronic parking button is pulled up, and the EPB does not respond at this time; the brake pedal is pressed to slow down the vehicle. When the vehicle decelerates to below the critical speed, the button is continuously pulled up for more than 1 second, and the controller ECU will issue an emergency braking command. The EPB will perform dynamic braking, so that the virtual vehicle in TruckMaker will decelerate smoothly to a stop, and the parking indicator light will light up.

2. The commercial vehicle electronic parking system controller hardware-in-the-loop testing method according to claim 1, characterized in that: The pneumatic brake test bench comprises a test bench, a pressure sensor, a solenoid valve, an air storage tank, a brake air chamber, a brake pedal, and an accelerator pedal.

3. The commercial vehicle electronic parking system controller hardware-in-the-loop testing method according to claim 2, characterized in that: The M404 converts the wheel speed of the virtual vehicle into an analog signal and sends it to the EPB controller; the M410 communicates with the EPB controller, sends the status signal of the virtual vehicle to the EPB controller via a CAN message, and simultaneously receives the parking system status sent by the EPB.

4. The commercial vehicle electronic parking system controller hardware-in-the-loop testing method according to claim 2, characterized in that: The EPB controller receives and processes the received vehicle status signal, and then issues a parking or unparking operation instruction, and at the same time sends the EPB status to IPG / Xpack4 through a CAN message to operate the virtual vehicle in IPG / TruckMaker to realize the parking or unparking action, and displays the real-time status of the vehicle on the IPG / TruckMaker interface.

5. The commercial vehicle electronic parking system controller hardware-in-the-loop testing method according to claim 2, characterized in that: The parameters of the virtual vehicle and the road scene parameters are set in the IPG / TruckMaker software.

6. The method for hardware-in-the-loop testing of a commercial vehicle electronic parking system controller according to any one of claims 1 to 5, comprising the steps of: 1) Configure the system to enable normal communication between the EPB controller, pneumatic brake test bench, IPG / Xpack4 real-time hardware and IPG / TruckMaker; 2) Set up the relevant test environment in IPG / TruckMaker software; 3) After the setting is completed, the test is carried out. During the test, the vehicle status is displayed in real time on IPG / TruckMaker, and the test results are output after the test is completed; 4) If the test fails, a fault reminder interface will pop up on the IPG / TruckMaker and indicate the corresponding fault type. After the fault is eliminated, the test program will be restarted to continue the test.

7. The commercial vehicle electronic parking system controller hardware-in-the-loop testing method according to claim 6, characterized in that: The setting of the relevant test environment includes vehicle parameter setting, driver model setting, driving operation setting, road setting and traffic environment setting.