Interaction test method and system of hybrid vehicle driving controller

By imagining the generated CAN signal and IO signal input into the vehicle controller, the interactive test of the torque request message and response signal of the engine and motor controller is completed, solving the problems of different test environments and high cost in the prior art, and improving the accuracy and efficiency of the test.

CN119806101AActive Publication Date: 2025-04-11SAIC GM WULING AUTOMOBILE CO LTD

Patent Information

Application Number
CN202411891604.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-20
Publication Date
2025-04-11
Estimated Expiration
2044-12-20

AI Technical Summary

Technical Problem

The functional testing methods of existing automotive drive controllers have problems such as high cost, high safety risks, difficulty in large-scale testing, and large differences between the single-unit test environment and the real-vehicle interaction and torque coordination functions, and it is difficult to effectively verify the up-down power interaction and torque coordination functions.

Method used

An interactive test method for a hybrid vehicle drive controller is provided. By obtaining input signals, simulating the generation of CAN signals and IO signals, inputting them into the vehicle controller, generating a torque request message to the engine and motor controller, obtaining a response signal and comparing it with the preset results, and determining whether the function of the driving control system is normal.

Benefits of technology

A test environment closer to the real vehicle drive control system is built, which improves the accuracy and efficiency of the interactive test of the drive controller, and can discover systemic interaction problems that the real vehicle may find when the test prototype is not completed, reducing the testing cost and risk.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119806101A_ABST
    Figure CN119806101A_ABST
Patent Text Reader

Abstract

The invention provides an interaction test method and system for a hybrid vehicle driving controller, and the method comprises the steps: obtaining an input signal which comprises a vehicle state signal and an operation signal; inputting the input signal to a preset signal simulation model, so that the signal simulation model simulates and generates a plurality of corresponding CAN signals and a plurality of corresponding IO signals according to the input signal; inputting the plurality of CAN signals and the plurality of IO signals to a vehicle control unit, so that the vehicle control unit carries out operation processing on the plurality of CAN signals and the plurality of IO signals, generates corresponding torque request messages and respectively sends the torque request messages to an engine controller and a motor controller; acquiring a plurality of response signals output by the engine controller and the motor controller; and comparing the plurality of response signals with a preset output result so as to judge whether the tested function of the driving control system is normal or not, thereby improving the accuracy of the interaction test of the driving controller.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of interactive testing, and in particular to an interactive testing method and system for a hybrid vehicle drive controller. Background Art

[0002] As the core component of the power system of electric vehicles or hybrid vehicles, the vehicle drive controller is responsible for receiving instructions from the vehicle control unit and accurately controlling the speed, torque and other parameters of the motor to achieve vehicle acceleration, deceleration, braking and energy recovery functions. Therefore, functional testing of the vehicle drive controller to ensure its stable performance, safety and reliability is an indispensable part of the automotive R&D and production process.

[0003] At present, the functional test of automobile drive controller mainly relies on simulation test and actual road test in laboratory environment. Actual road test directly evaluates the performance of drive controller in actual use by driving on actual road. Although this method can more truly reflect the performance of drive controller, the test cost is high and there are safety risks, which makes it difficult to carry out large-scale testing. Simulation test usually uses motor test bench and data acquisition system to simulate different working conditions and load conditions to test key indicators such as output performance, efficiency and response speed of drive controller. However, traditional simulation test mainly builds controller single test environment for engine controller or motor controller. The defects of this method are mainly: 1) There is a big difference between the test environment of drive controller single body and the test environment of interaction of real vehicle drive control system, and the upper and lower power interaction and torque coordination function of real vehicle drive control system cannot be verified in the controller single body environment. 2) Due to the difference between the controller single body test environment and the real vehicle environment, the problems of upper and lower power timing and torque controller timing of drive control system are easily left until the real vehicle stage, and the cost of changing problems in the real vehicle stage is far higher than the controller development stage. 3) Drive controller problems discovered after-sales are usually drive control system interaction problems. The controller unit test environment is difficult to reproduce such complex after-sales problem scenarios and cannot help quickly solve after-sales problems. Summary of the invention

[0004] In response to the above technical problems, the present application provides an interactive testing method and system for a hybrid vehicle drive controller, constructing a testing environment that is closer to the actual vehicle drive control system and improving the accuracy and efficiency of the interactive testing of the drive controller.

[0005] In a first aspect, an embodiment of the present application provides an interactive testing method for a hybrid vehicle drive controller, comprising:

[0006] Acquiring an input signal, wherein the input signal includes a vehicle state signal and an operation signal;

[0007] Inputting the input signal into a preset signal simulation model, so that the signal simulation model generates corresponding CAN signals and IO signals according to the input signal simulation;

[0008] Inputting the plurality of CAN signals and the plurality of IO signals into a vehicle controller, so that the vehicle controller performs calculations on the plurality of CAN signals and the plurality of IO signals, generates corresponding torque request messages and sends them to an engine controller and a motor controller respectively;

[0009] Acquiring a plurality of response signals output by the engine controller and the motor controller;

[0010] The plurality of response signals are compared with the preset output results to determine whether the tested function of the drive control system is normal.

[0011] The embodiment of the present application provides an interactive test method for a hybrid vehicle drive controller, which integrates a real vehicle controller, a motor controller and an engine controller, inputs a simulation signal to the vehicle controller, and responds to the operation of the vehicle controller and further interacts with the engine controller and the motor controller. Finally, by analyzing the response signals of the engine controller and the motor controller, the overall interactive test of each drive controller is completed, avoiding the problem that there is a large difference between the test environment of the drive controller monomer in the prior art and the test environment of the interaction of the real vehicle drive control system. In addition, in the embodiment of the present application, a signal simulation model is used to generate simulation signals of other controllers of the vehicle to construct a complete vehicle test environment, so that systemic interaction problems that can only be found in the real vehicle can be found in the bench test environment in advance before the test sample vehicle is manufactured, and serious systemic problems can be intercepted in the component development stage, thereby improving the efficiency of vehicle manufacturing and design. Furthermore, the design of the simulation signal can facilitate the test personnel to quickly adjust the relevant simulation parameters according to the needs, which greatly improves the efficiency of the interactive test of the drive controller compared to the full physical test.

[0012] In a possible implementation manner, obtaining an input signal includes:

[0013] Acquire an operation signal through a host computer, wherein the operation signal includes a throttle signal and a brake signal;

[0014] The vehicle status signal is acquired through a preset vehicle model, and the vehicle status signal includes a vehicle speed signal, a vehicle posture signal, a battery status signal, a gear position signal, and a power mode signal.

[0015] The embodiment of the present application simulates the acceleration and braking operations of the vehicle during driving by inputting the operation signal from the upper machine position. At the same time, since only the vehicle controller, engine controller and motor controller actually exist in the embodiment of the present application, it is necessary to simulate the vehicle driving state according to the preset vehicle model and obtain the vehicle state signal from the vehicle model. By obtaining the operation signal and the vehicle state signal, a data basis is provided for the subsequent operation of the vehicle controller.

[0016] In a possible implementation, the signal simulation model generates corresponding CAN signals and IO signals according to the input signal simulation, including:

[0017] According to the input signal, a plurality of VCU sensor signals, a plurality of ECM sensor signals and a plurality of MCU sensor signals are generated through a preset IO model as the plurality of IO signals;

[0018] According to the input signal, a plurality of preset residual bus simulation signals and a plurality of real-time residual bus simulation signals are generated through a preset CAN bus model as the plurality of CAN signals, wherein the real-time residual bus simulation signals are generated by real-time calculation of a preset whole vehicle model.

[0019] The embodiment of the present application provides a method for signal simulation generation. Since the input signal obtained cannot be directly recognized by the vehicle controller, it is necessary to convert the input signal to simulate and generate several IO signals and CAN signals. Among them, IO signals are mainly sensor signals, such as the throttle opening, brake switch, etc. of the VCU, the oxygen sensor, intake pressure, oil temperature, water temperature, ambient temperature, etc. of the ECM, the temperature, rotary transformer, etc. of the MCU, and the CAN signal is mainly a residual bus simulation signal, part of which is set by the tester, such as the ignition key position, gear position, vehicle mode, etc., and part of which is generated in real time after calculation by the vehicle model, such as vehicle speed, lateral acceleration, yaw angular velocity, etc. By generating several IO signals and several CAN signals, it is ensured that the controller under test realizes closed-loop control in a simulation environment, and the accuracy of the interactive test of the drive controller is improved.

[0020] In a possible implementation, the engine controller and the motor controller output response signals, including:

[0021] The engine controller generates a corresponding injection actuator signal and an ignition actuator signal as the response signal according to the torque request message;

[0022] The motor controller generates a corresponding PWM drive actuator signal as the response signal according to the torque request message.

[0023] Further, after the engine controller and the motor controller receive the torque request message, the engine controller and the motor controller perform data exchange, including:

[0024] The engine controller acquires a fault lamp lighting request signal sent by the motor controller;

[0025] The engine controller sends engine starting status, rotation speed and fault information to the motor controller.

[0026] In an embodiment of the present application, the engine controller and the motor controller each generate different response signals according to the simulated driving environment and the torque request message of the vehicle controller. The interactive test of the drive controller can be completed by subsequently collecting these response signals and comparing them with the preset output results. Among them, after receiving the torque request message, the engine controller and the motor controller will also perform a number of data interactions with each other, which more realistically simulates the data interaction scenario of the vehicle during actual operation, and realizes the data linkage of different drive controllers under the test environment. Compared with the existing single drive controller test method, the embodiment of the present application can effectively capture the potential problems that may exist in the data interaction of each drive controller, and further improve the accuracy of the drive controller interaction test.

[0027] In a possible implementation, comparing the plurality of response signals with preset output results to determine whether the tested function of the drive control system is normal includes:

[0028] Calculating a first time difference between a signal received by the vehicle controller and a response signal output by the engine controller;

[0029] Calculating a second time difference between the vehicle controller receiving the signal and the motor controller outputting the response signal;

[0030] Calculating a third time difference between the engine controller output response signal and the motor controller output response signal;

[0031] The first time difference, the second time difference and the third time difference are respectively compared with the preset output results to determine whether the torque coordination control function among the vehicle controller, the engine controller and the motor controller is normal.

[0032] In an embodiment of the present application, by recording the time difference from the vehicle controller receiving the input signal to the engine controller and the motor controller outputting the signal, a first time difference, a second time difference and a third time difference are obtained, and each time difference is compared with a preset output result to verify whether the real-time performance of the actual vehicle torque collaborative control meets the preset requirements and to determine whether the functional logic strategy of the drive control system is normal.

[0033] Furthermore, the interactive testing method further includes:

[0034] The plurality of response signals are input into a preset whole vehicle model, so that the whole vehicle model updates the current vehicle state according to the plurality of response signals, thereby generating a corresponding updated vehicle state signal.

[0035] In an embodiment of the present application, after the engine controller and the motor controller generate response signals, each response signal is further input into the whole vehicle model to update the current vehicle status, thereby providing a data basis for the next input of the whole vehicle controller, thereby realizing cyclic data interaction and data conversion between the virtual whole vehicle model and each real drive controller, providing an efficient automated testing environment for testers, and realizing automated testing of the interactive functions of hybrid drive controllers that is more efficient than manual testing of real vehicles, thereby improving the efficiency of interactive testing of drive controllers.

[0036] In a second aspect, accordingly, an embodiment of the present application provides an interactive testing system for a hybrid vehicle drive controller, including a first acquisition module, a signal simulation module, a controller execution module, a second acquisition module, and a judgment module;

[0037] Wherein, the first acquisition module is used to acquire input signals, and the input signals include vehicle status signals and operation signals;

[0038] The signal simulation module is used to input the input signal into a preset signal simulation model, so that the signal simulation model generates corresponding CAN signals and IO signals according to the input signal simulation;

[0039] The controller execution module is used to input the plurality of CAN signals and the plurality of IO signals into the vehicle controller, so that the vehicle controller performs calculations on the plurality of CAN signals and the plurality of IO signals, generates corresponding torque request messages and sends them to the engine controller and the motor controller respectively;

[0040] The second acquisition module is used to acquire a plurality of response signals output by the engine controller and the motor controller;

[0041] The judgment module is used to compare the plurality of response signals with preset output results, and then judge whether the tested function of the drive control system is normal.

[0042] In a possible implementation, the signal simulation model generates corresponding CAN signals and IO signals according to the input signal simulation, including:

[0043] According to the input signal, a plurality of VCU sensor signals, a plurality of ECM sensor signals and a plurality of MCU sensor signals are generated through a preset IO model as the plurality of IO signals;

[0044] According to the input signal, a plurality of preset residual bus simulation signals and a plurality of real-time residual bus simulation signals are generated through a preset CAN bus model as the plurality of CAN signals, wherein the real-time residual bus simulation signals are generated by real-time calculation of a preset whole vehicle model.

[0045] In a possible implementation, the engine controller and the motor controller output response signals, including:

[0046] The engine controller generates a corresponding injection actuator signal and an ignition actuator signal as the response signal according to the torque request message;

[0047] The motor controller generates a corresponding PWM drive actuator signal as the response signal according to the torque request message. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] Figure 1 : A flow chart of an interactive testing method for a hybrid vehicle drive controller provided in an embodiment of the present application.

[0049] Figure 2 : A structural diagram of a traditional single-body drive controller simulation test system.

[0050] Figure 3 : A schematic diagram of the structure of a traditional multi-controller real vehicle testing system.

[0051] Figure 4 : A structural diagram of a simulation test system used to implement the interactive test method provided in an embodiment of the present application.

[0052] Figure 5 : A structural diagram of an interactive testing device used to implement the interactive testing method provided in an embodiment of the present application.

[0053] Figure 6 : A schematic diagram of the data interaction process of each model in an interactive testing method for a hybrid vehicle drive controller provided in an embodiment of the present application.

[0054] Figure 7 : A structural diagram of an interactive testing system for a hybrid vehicle drive controller provided in an embodiment of the present application. DETAILED DESCRIPTION

[0055] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0056] It should be noted that the step numbers in the text are only for the convenience of explanation of the specific embodiments and do not serve to limit the order in which the steps are executed. In the description of this application, the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features.

[0057] Embodiment 1:

[0058] like Figure 1 As shown, embodiment 1 provides an interactive testing method for a hybrid vehicle drive controller, including steps S1-S5:

[0059] Step S1, obtaining an input signal, wherein the input signal includes a vehicle state signal and an operation signal;

[0060] Step S2, inputting the input signal into a preset signal simulation model, so that the signal simulation model generates corresponding CAN signals and IO signals according to the input signal simulation;

[0061] Step S3, inputting the plurality of CAN signals and the plurality of IO signals into a vehicle controller, so that the vehicle controller performs calculations on the plurality of CAN signals and the plurality of IO signals, generates corresponding torque request messages and sends them to an engine controller and a motor controller respectively;

[0062] Step S4, obtaining a plurality of response signals output by the engine controller and the motor controller;

[0063] Step S5: Compare the plurality of response signals with the preset output results to determine whether the tested function of the drive control system is normal.

[0064] The embodiment of the present application provides an interactive test method for a hybrid vehicle drive controller, which integrates a real vehicle controller, a motor controller and an engine controller, inputs a simulation signal to the vehicle controller, and responds to the operation of the vehicle controller and further interacts with the engine controller and the motor controller. Finally, by analyzing the response signals of the engine controller and the motor controller, the overall interactive test of each drive controller is completed, avoiding the problem that there is a large difference between the test environment of the drive controller monomer in the prior art and the test environment of the interaction of the real vehicle drive control system. In addition, in the embodiment of the present application, a signal simulation model is used to generate simulation signals of other controllers of the vehicle to construct a complete vehicle test environment, so that systemic interaction problems that can only be found in the real vehicle can be found in the bench test environment in advance before the test sample vehicle is manufactured, and serious systemic problems can be intercepted in the component development stage, thereby improving the efficiency of vehicle manufacturing and design. Furthermore, the design of the simulation signal can facilitate the test personnel to quickly adjust the relevant simulation parameters according to the needs, which greatly improves the efficiency of the interactive test of the drive controller compared to the full physical test.

[0065] Traditional controller unit test system such as Figure 2 As shown in the figure, the message interaction between the controllers is sent by the tester through the host computer, so it is impossible to verify the millisecond-level real-time message interaction between the drive controllers. Figure 3 As shown in the figure, although the real-time performance of the message interaction between the various drive controllers can be effectively verified through the actual vehicle, the test system relies on the real vehicle driving environment, and the deployment cost and testing cost are both high; even if problems are found through testing, the cost of correcting the problems in the actual vehicle stage is much higher than that in the controller development stage. Therefore, in a preferred embodiment, Figure 4 As shown, the real vehicle is replaced with a real-time system, and a test environment of a real-time system-vehicle controller-engine and motor controller is constructed to implement the interactive test method proposed in the embodiment of the present application. In the embodiment of the present application, the physical characteristics of the real vehicle, engine, and motor are simulated by a vehicle model. The sensor signals and driver operation signals are simulated by the IO model, and the actuator drive signals issued by the engine controller and the motor controller are collected at the same time; the vehicle status messages issued by other controllers are simulated by the CAN bus model, and the CAN messages issued by the engine controller and the motor controller are collected at the same time. By recording the time difference from the vehicle controller receiving the input signal to the engine controller and the motor controller outputting the signal, the purpose of verifying the real-time performance of the torque collaborative control of the real vehicle on the test bench is achieved.

[0066] In a possible implementation, in step S1, obtaining an input signal includes:

[0067] Acquire an operation signal through a host computer, wherein the operation signal includes a throttle signal and a brake signal;

[0068] The vehicle status signal is acquired through a preset vehicle model, and the vehicle status signal includes a vehicle speed signal, a vehicle posture signal, a battery status signal, a gear position signal, and a power mode signal.

[0069] The embodiment of the present application simulates the acceleration and braking operations of the vehicle during driving by inputting the operation signal from the upper machine position. At the same time, since only the vehicle controller, engine controller and motor controller actually exist in the embodiment of the present application, it is necessary to simulate the vehicle driving state according to the preset vehicle model and obtain the vehicle state signal from the vehicle model. By obtaining the operation signal and the vehicle state signal, a data basis is provided for the subsequent operation of the vehicle controller.

[0070] In a possible implementation, in step S2, the signal simulation model generates corresponding CAN signals and IO signals according to the input signal simulation, including:

[0071] According to the input signal, a plurality of VCU sensor signals, a plurality of ECM sensor signals and a plurality of MCU sensor signals are generated through a preset IO model as the plurality of IO signals;

[0072] According to the input signal, a plurality of preset residual bus simulation signals and a plurality of real-time residual bus simulation signals are generated through a preset CAN bus model as the plurality of CAN signals, wherein the real-time residual bus simulation signals are generated by real-time calculation of a preset whole vehicle model.

[0073] The embodiment of the present application provides a method for signal simulation generation. Since the input signal obtained cannot be directly recognized by the vehicle controller, it is necessary to convert the input signal to simulate and generate several IO signals and CAN signals. Among them, IO signals are mainly sensor signals, such as the throttle opening, brake switch, etc. of the VCU, the oxygen sensor, intake pressure, oil temperature, water temperature, ambient temperature, etc. of the ECM, the temperature, rotary transformer, etc. of the MCU, and the CAN signal is mainly a residual bus simulation signal, part of which is set by the tester, such as the ignition key position, gear position, vehicle mode, etc., and part of which is generated in real time after calculation by the vehicle model, such as vehicle speed, lateral acceleration, yaw angular velocity, etc. By generating several IO signals and several CAN signals, it is ensured that the controller under test realizes closed-loop control in a simulation environment, and the accuracy of the interactive test of the drive controller is improved.

[0074] In a possible implementation, in step S4, the engine controller and the motor controller output response signals, including:

[0075] The engine controller generates a corresponding injection actuator signal and an ignition actuator signal as the response signal according to the torque request message;

[0076] The motor controller generates a corresponding PWM drive actuator signal as the response signal according to the torque request message.

[0077] Further, after the engine controller and the motor controller receive the torque request message, the engine controller and the motor controller perform data exchange, including:

[0078] The engine controller acquires a fault lamp lighting request signal sent by the motor controller;

[0079] The engine controller sends engine starting status, rotation speed and fault information to the motor controller.

[0080] In an embodiment of the present application, the engine controller and the motor controller each generate different response signals according to the simulated driving environment and the torque request message of the vehicle controller. The interactive test of the drive controller can be completed by subsequently collecting these response signals and comparing them with the preset output results. Among them, after receiving the torque request message, the engine controller and the motor controller will also perform a number of data interactions with each other, which more realistically simulates the data interaction scenario of the vehicle during actual operation, and realizes the data linkage of different drive controllers under the test environment. Compared with the existing single drive controller test method, the embodiment of the present application can effectively capture the potential problems that may exist in the data interaction of each drive controller, and further improve the accuracy of the drive controller interaction test.

[0081] In a possible implementation, in step S5, comparing the plurality of response signals with preset output results to determine whether the tested function of the drive control system is normal includes:

[0082] Calculating a first time difference between a signal received by the vehicle controller and a response signal output by the engine controller;

[0083] Calculating a second time difference between the vehicle controller receiving the signal and the motor controller outputting the response signal;

[0084] Calculating a third time difference between the engine controller output response signal and the motor controller output response signal;

[0085] The first time difference, the second time difference and the third time difference are respectively compared with the preset output results to determine whether the torque coordination control function among the vehicle controller, the engine controller and the motor controller is normal.

[0086] In an embodiment of the present application, by recording the time difference from the vehicle controller receiving the input signal to the engine controller and the motor controller outputting the signal, a first time difference, a second time difference and a third time difference are obtained, and each time difference is compared with a preset output result to verify whether the real-time performance of the actual vehicle torque collaborative control meets the preset requirements and to determine whether the functional logic strategy of the drive control system is normal.

[0087] In addition, in addition to testing the interactive functions of the three controllers, the embodiments of the present application can also test the functions of two-to-two interactions, such as the high-voltage system power on and off control and anti-shake control of the VCU and MCU, and the engine start and stop control and high-pressure fuel tank control of the VCU and ECM.

[0088] Furthermore, the interactive testing method further includes:

[0089] The plurality of response signals are input into a preset whole vehicle model, so that the whole vehicle model updates the current vehicle state according to the plurality of response signals, thereby generating a corresponding updated vehicle state signal.

[0090] In an embodiment of the present application, after the engine controller and the motor controller generate response signals, each response signal is further input into the whole vehicle model to update the current vehicle status, thereby providing a data basis for the next input of the whole vehicle controller, thereby realizing cyclic data interaction and data conversion between the virtual whole vehicle model and each real drive controller, providing an efficient automated testing environment for testers, and realizing automated testing of the interactive functions of hybrid drive controllers that is more efficient than manual testing of real vehicles, thereby improving the efficiency of interactive testing of drive controllers.

[0091] In a preferred embodiment, an interactive testing device for a hybrid vehicle drive controller is provided to implement the interactive testing method proposed in the embodiment of the present application, such as Figure 5 As shown, it includes software system and hardware system.

[0092] The hardware system includes a host computer, optical fiber, real-time system, IO harness, CAN bus, power supply line, and controller under test. The real-time system consists of a real-time processor, a programmable power supply, an IO board, and a CAN bus board. The programmable power supply, IO board, and CAN bus board of the real-time system are respectively connected to the power interface, sensor / actuator interface, and CAN bus interface of the controller under test. The connection method between the CAN bus board and the CAN bus interface of the controller under test requires the CAN bus architecture of the participating vehicle model. The host computer communicates with the real-time system through optical fiber.

[0093] The software system includes a host computer interface, an IO model, a CAN bus model, and a vehicle dynamics model. The IO model is used to set the signal parameters of each channel of the IO board, which must be consistent with the sensor / actuator interface signal parameters of the controller under test, such as analog signals, digital signals, or other special signals. The CAN bus model is used to set the CAN bus board, import the DBC file (CAN bus database file) of the controller under test, and establish a CAN network environment consistent with the actual vehicle, in which the CAN signals sent by the vehicle controller, engine controller, and motor controller are actually sent by the controller, while the CAN signals of other controllers are simulated by the CAN bus board. The vehicle dynamics model (referred to as the vehicle model) is used to simulate the physical environment when the drive control system is working, including the driver, road scenes, engine, motor, vehicle, etc. The host computer interface is used to display the actuator signals and CAN signals of the controller under test collected by the real-time system, as well as the power supply value and sensor signals and residual CAN bus signals output by the real-time system to the controller under test. The specific steps for testing using the interactive test device are as follows:

[0094] 1) Build the hardware system. Figure 4 The hardware system solution connects the vehicle controller, motor controller, engine controller and real-time system, and the host computer and real-time system are connected through optical fiber.

[0095] 2) Configure the IO model. Configure the IO model according to the interface specification of the controller under test to ensure that the parameters of each channel connecting the IO board and the controller under test are correct.

[0096] 3) Configure the CAN bus model. Configure the CAN bus model according to the communication matrix and CAN bus architecture, import the DBC file, and the CAN signals sent by the vehicle controller, engine controller, and motor controller are real controllers, while the CAN signals of other controllers are simulated by the CAN bus board.

[0097] 4) Debug the dynamics model. Prepare the road scenes and driver models that need to be verified in the vehicle dynamics model, such as highways, urban roads, slippery roads, curves, etc. Configure the vehicle dynamics model according to the engine, motor, and vehicle parameters to ensure that the simulated vehicle model is close to the real vehicle.

[0098] 5) Design the host computer interface. The host computer interface prepares the variables that need to be controlled and displayed, such as power control, sensor input interface, actuator feedback signal, display and control of CAN bus signals, etc.

[0099] 6) Test execution. Figure 4As shown, the tester sets the vehicle status signal and the driver operation signal through the host computer, and the real-time system converts these input signals into IO signals, CAN signals, etc. and sends them to the vehicle controller. After calculation and processing, the vehicle controller outputs the torque request to the engine controller and the motor controller through the CAN bus. After receiving the torque request instruction, the engine controller and the motor controller output the torque response message and the actuator signal after calculation and processing. The real-time system collects these output signals and displays them on the host computer. The tester observes whether the output signal meets the expected results of the test case, so as to judge whether the functional design of the hybrid drive control system is correct.

[0100] Further, such as Figure 6 As shown in the figure, the actuator signals output by the engine controller and the motor controller can be further input into the engine model and the motor model in the vehicle model to jointly generate the torque signal. The vehicle model updates the current vehicle state according to the torque signal, and then generates the corresponding updated vehicle state signal and inputs it into the real-time system again, providing a data basis for the next test and improving the efficiency of the interactive test of the drive controller.

[0101] In summary, the technical solution provided by the embodiments of the present application has the following beneficial effects:

[0102] 1) The constructed drive controller interactive test environment includes a real vehicle controller, motor controller and engine controller. The power management and CAN network communication are closer to the working environment of the actual vehicle drive control system than the controller single test environment. The real-time performance of the power-on and power-off functions and torque coordination functions is also closer to the actual vehicle.

[0103] 2) When the test prototype has not yet been manufactured, the constructed drive controller interactive test environment can be used to discover systemic interaction problems that can only be discovered in the actual vehicle in advance in the bench test environment, thereby intercepting serious systemic problems in the component development stage.

[0104] 3) After-sales problems of the drive control system are usually systemic problems of the interaction of multiple controllers. The constructed drive controller interaction test environment can reproduce complex after-sales problem scenarios, observe the communication timing of the vehicle controller, engine controller, and motor controller, and locate the problem to the specific controller, IO signal or CAN message.

[0105] 4) It can realize automated testing of the interactive functions of the hybrid drive controller with higher efficiency than manual testing of the actual vehicle, thus greatly shortening the testing time.

[0106] Embodiment 2:

[0107] like Figure 7As shown, the second embodiment provides an interactive test system for a hybrid vehicle drive controller, including a first acquisition module 10, a signal simulation module 20, a controller execution module 30, a second acquisition module 40 and a judgment module 50;

[0108] Wherein, the first acquisition module 10 is used to acquire input signals, and the input signals include vehicle status signals and operation signals;

[0109] The signal simulation module 20 is used to input the input signal into a preset signal simulation model, so that the signal simulation model generates corresponding CAN signals and IO signals according to the input signal simulation;

[0110] The controller execution module 30 is used to input the plurality of CAN signals and the plurality of IO signals into the vehicle controller, so that the vehicle controller performs calculations on the plurality of CAN signals and the plurality of IO signals, generates corresponding torque request messages and sends them to the engine controller and the motor controller respectively;

[0111] The second acquisition module 40 is used to acquire a plurality of response signals output by the engine controller and the motor controller;

[0112] The judgment module 50 is used to compare the plurality of response signals with the preset output results, and then judge whether the tested function of the driving control system is normal.

[0113] In a possible implementation, the first acquisition module 10 acquires an input signal, including:

[0114] Acquire an operation signal through a host computer, wherein the operation signal includes a throttle signal and a brake signal;

[0115] The vehicle status signal is acquired through a preset vehicle model, and the vehicle status signal includes a vehicle speed signal, a vehicle posture signal, a battery status signal, a gear position signal, and a power mode signal.

[0116] In a possible implementation, the signal simulation model generates corresponding CAN signals and IO signals according to the input signal simulation, including:

[0117] According to the input signal, a plurality of VCU sensor signals, a plurality of ECM sensor signals and a plurality of MCU sensor signals are generated through a preset IO model as the plurality of IO signals;

[0118] According to the input signal, a plurality of preset residual bus simulation signals and a plurality of real-time residual bus simulation signals are generated through a preset CAN bus model as the plurality of CAN signals, wherein the real-time residual bus simulation signals are generated by real-time calculation of a preset whole vehicle model.

[0119] In a possible implementation, the engine controller and the motor controller output response signals, including:

[0120] The engine controller generates a corresponding injection actuator signal and an ignition actuator signal as the response signal according to the torque request message;

[0121] The motor controller generates a corresponding PWM drive actuator signal as the response signal according to the torque request message.

[0122] Further, after the engine controller and the motor controller receive the torque request message, the engine controller and the motor controller perform data exchange, including:

[0123] The engine controller acquires a fault lamp lighting request signal sent by the motor controller;

[0124] The engine controller sends engine starting status, rotation speed and fault information to the motor controller.

[0125] In a possible implementation, the judgment module 50 compares the plurality of response signals with the preset output results to judge whether the tested function of the driving control system is normal, including:

[0126] Calculating a first time difference between a signal received by the vehicle controller and a response signal output by the engine controller;

[0127] Calculating a second time difference between the vehicle controller receiving the signal and the motor controller outputting the response signal;

[0128] Calculating a third time difference between the engine controller output response signal and the motor controller output response signal;

[0129] The first time difference, the second time difference and the third time difference are respectively compared with the preset output results to determine whether the torque coordination control function among the vehicle controller, the engine controller and the motor controller is normal.

[0130] In one possible implementation, the interactive testing system also includes an update module, which is used to input the multiple response signals into a preset whole vehicle model so that the whole vehicle model updates the current vehicle state according to the multiple response signals, thereby generating a corresponding updated vehicle state signal.

[0131] The embodiment of the present application provides an interactive test system for a hybrid vehicle drive controller, which integrates a real vehicle controller, a motor controller and an engine controller, inputs a simulation signal to the vehicle controller, and responds to the operation of the vehicle controller and further interacts with the engine controller and the motor controller. Finally, by analyzing the response signals of the engine controller and the motor controller, the overall interactive test of each drive controller is completed, avoiding the problem that there is a large difference between the test environment of the drive controller monomer in the prior art and the test environment of the interaction of the real vehicle drive control system. In addition, in the embodiment of the present application, a signal simulation model is used to generate simulation signals of other vehicle controllers to construct a complete vehicle test environment, and systemic interaction problems that can only be found in the real vehicle can be found in the bench test environment in advance before the test sample vehicle is manufactured, and serious systemic problems are intercepted in the component development stage, thereby improving the efficiency of vehicle manufacturing and design. Furthermore, the design of the simulation signal can facilitate the test personnel to quickly adjust the relevant simulation parameters according to the needs, which greatly improves the efficiency of the interactive test of the drive controller compared to the full physical test.

[0132] The more detailed working principle and step flow of this embodiment can refer to, but are not limited to, the relevant records of Embodiment 1.

[0133] The specific embodiments described above further describe the purpose, technical solutions and beneficial effects of the present application in detail. It should be understood that the above description is only a specific embodiment of the present application and is not intended to limit the scope of protection of the present application. It is particularly pointed out that for those skilled in the art, any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of protection of the present application.

Claims

1. An interactive testing method for a hybrid vehicle drive controller, characterized in that: include: Acquiring an input signal, wherein the input signal includes a vehicle state signal and an operation signal; Inputting the input signal into a preset signal simulation model, so that the signal simulation model generates corresponding CAN signals and IO signals according to the input signal simulation; Inputting the plurality of CAN signals and the plurality of IO signals into a vehicle controller, so that the vehicle controller performs calculations on the plurality of CAN signals and the plurality of IO signals, generates corresponding torque request messages and sends them to an engine controller and a motor controller respectively; Acquiring a plurality of response signals output by the engine controller and the motor controller; The plurality of response signals are compared with the preset output results to determine whether the tested function of the drive control system is normal.

2. The interactive testing method of a hybrid vehicle drive controller according to claim 1, characterized in that: The obtaining of the input signal comprises: Acquire an operation signal through a host computer, wherein the operation signal includes a throttle signal and a brake signal; The vehicle status signal is acquired through a preset vehicle model, and the vehicle status signal includes a vehicle speed signal, a vehicle posture signal, a battery status signal, a gear position signal, and a power mode signal.

3. The interactive testing method of a hybrid vehicle drive controller according to claim 1, characterized in that: The signal simulation model generates corresponding CAN signals and IO signals according to the input signal simulation, including: According to the input signal, a plurality of VCU sensor signals, a plurality of ECM sensor signals and a plurality of MCU sensor signals are generated through a preset IO model as the plurality of IO signals; According to the input signal, a plurality of preset residual bus simulation signals and a plurality of real-time residual bus simulation signals are generated through a preset CAN bus model as the plurality of CAN signals, wherein the real-time residual bus simulation signals are generated by real-time calculation of a preset whole vehicle model.

4. The interactive testing method of a hybrid vehicle drive controller according to claim 1, characterized in that: The engine controller and the motor controller output response signals, including: The engine controller generates a corresponding injection actuator signal and an ignition actuator signal as the response signal according to the torque request message; The motor controller generates a corresponding PWM drive actuator signal as the response signal according to the torque request message.

5. The interactive testing method of a hybrid vehicle drive controller according to claim 4, characterized in that: After the engine controller and the motor controller receive the torque request message, the engine controller and the motor controller perform data exchange, including: The engine controller acquires a fault lamp lighting request signal sent by the motor controller; The engine controller sends engine starting status, rotation speed and fault information to the motor controller.

6. The interactive testing method of a hybrid vehicle drive controller according to claim 1, characterized in that: The step of comparing the plurality of response signals with the preset output results to determine whether the tested function of the drive control system is normal includes: Calculating a first time difference between a signal received by the vehicle controller and a response signal output by the engine controller; Calculating a second time difference between the vehicle controller receiving the signal and the motor controller outputting the response signal; Calculating a third time difference between the engine controller output response signal and the motor controller output response signal; The first time difference, the second time difference and the third time difference are respectively compared with the preset output results to determine whether the torque coordination control function among the vehicle controller, the engine controller and the motor controller is normal.

7. An interactive testing method for a hybrid vehicle drive controller according to any one of claims 1 to 5, characterized in that: The interactive testing method further comprises: The plurality of response signals are input into a preset whole vehicle model, so that the whole vehicle model updates the current vehicle state according to the plurality of response signals, thereby generating a corresponding updated vehicle state signal.

8. An interactive test system for a hybrid vehicle drive controller, characterized in that: It includes a first acquisition module, a signal simulation module, a controller execution module, a second acquisition module and a judgment module; Wherein, the first acquisition module is used to acquire input signals, and the input signals include vehicle status signals and operation signals; The signal simulation module is used to input the input signal into a preset signal simulation model, so that the signal simulation model generates corresponding CAN signals and IO signals according to the input signal simulation; The controller execution module is used to input the plurality of CAN signals and the plurality of IO signals into the vehicle controller, so that the vehicle controller performs calculations on the plurality of CAN signals and the plurality of IO signals, generates corresponding torque request messages and sends them to the engine controller and the motor controller respectively; The second acquisition module is used to acquire a plurality of response signals output by the engine controller and the motor controller; The judgment module is used to compare the plurality of response signals with preset output results, and then judge whether the tested function of the drive control system is normal.

9. An interactive test system for a hybrid vehicle drive controller as claimed in claim 8, characterized in that: The signal simulation model generates corresponding CAN signals and IO signals according to the input signal simulation, including: According to the input signal, a plurality of VCU sensor signals, a plurality of ECM sensor signals and a plurality of MCU sensor signals are generated through a preset IO model as the plurality of IO signals; According to the input signal, a plurality of preset residual bus simulation signals and a plurality of real-time residual bus simulation signals are generated through a preset CAN bus model as the plurality of CAN signals, wherein the real-time residual bus simulation signals are generated by real-time calculation of a preset whole vehicle model.

10. An interactive test system for a hybrid vehicle drive controller as claimed in claim 8, characterized in that: The engine controller and the motor controller output response signals, including: The engine controller generates a corresponding injection actuator signal and an ignition actuator signal as the response signal according to the torque request message; The motor controller generates a corresponding PWM drive actuator signal as the response signal according to the torque request message.

Citation Information

Patent Citations

  • Test bench and mounting method and testing method thereof

    CN102680248A

  • Design method for HIL test system, and HIL test system

    CN109031977A

  • Test system and method for engine control unit

    CN110794803A

  • Planet row hybrid motor test method, device, equipment and medium

    CN119044763A

  • Communication integrated type test platform of mixed power automobile test stand

    CN202119624U

Cited By

  • Automobile motion state evaluation method and system based on automobile CAN signal

    CN120122629A