CN112650078A - Hardware-in-loop simulation system for pure electric vehicle and extended range type electric vehicle controller - Google Patents

Hardware-in-loop simulation system for pure electric vehicle and extended range type electric vehicle controller Download PDF

Info

Publication number
CN112650078A
CN112650078A CN202011471319.4A CN202011471319A CN112650078A CN 112650078 A CN112650078 A CN 112650078A CN 202011471319 A CN202011471319 A CN 202011471319A CN 112650078 A CN112650078 A CN 112650078A
Authority
CN
China
Prior art keywords
model
engine
power battery
controller
simulation system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011471319.4A
Other languages
Chinese (zh)
Other versions
CN112650078B (en
Inventor
周东凯
邓璋琳
李金达
毛正松
张松
陆浩
陈涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangxi Yuchai Machinery Co Ltd
Original Assignee
Guangxi Yuchai Machinery Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangxi Yuchai Machinery Co Ltd filed Critical Guangxi Yuchai Machinery Co Ltd
Priority to CN202011471319.4A priority Critical patent/CN112650078B/en
Publication of CN112650078A publication Critical patent/CN112650078A/en
Application granted granted Critical
Publication of CN112650078B publication Critical patent/CN112650078B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B17/00Systems involving the use of models or simulators of said systems
    • G05B17/02Systems involving the use of models or simulators of said systems electric

Abstract

The invention discloses a hardware-in-loop simulation system of a vehicle controller of a pure electric and extended range type electric vehicle, which comprises the following steps: the controlled object model of the real-time simulation system comprises a driver model, a virtual controller model, a range extender model and an electric automobile body model. The invention solves the problem that the tested controller of the existing hardware-in-loop simulation system is single, can be simultaneously suitable for hardware-in-loop simulation of the whole vehicle controller of the pure electric vehicle and the extended range type electric vehicle, optimizes the calculation of internal resistance and effective output torque of the engine in the power battery model, and improves the simulation precision of the hardware-in-loop simulation system of the whole vehicle controller.

Description

Hardware-in-loop simulation system for pure electric vehicle and extended range type electric vehicle controller
Technical Field
The invention belongs to the technical field of electric vehicle simulation, and particularly relates to a hardware-in-loop simulation system for a vehicle controller of a pure electric vehicle and an extended range electric vehicle.
Background
In the development of a pure electric or extended range electric vehicle, the development of a vehicle control unit is a key link. In the system development process of the vehicle control unit, a V-type development process of demand mining, system demand analysis, system architecture design, system integration and integration test and system qualification test is generally adopted. In this V-type development flow, a system qualification test is indispensable. Generally, the system qualification test of the vehicle control unit is generally performed in a hardware-in-loop simulation system.
The system comprises an upper computer, simulation equipment, operation monitoring equipment and simulation monitoring equipment, wherein the simulation equipment is respectively connected with the upper computer, the whole vehicle controller to be subjected to simulation test and the simulation monitoring equipment, and the operation monitoring equipment is connected with the whole vehicle controller to be subjected to simulation test.
Through the above, it can be found that the hardware-in-loop simulation system in the prior art is mainly applied to hardware-in-loop simulation of a single pure electric vehicle type or single extended-range vehicle type vehicle controller, and cannot be simultaneously applied to hardware-in-loop simulation of pure electric vehicles and extended-range electric vehicle controllers.
Disclosure of Invention
The invention provides a hardware-in-loop simulation system of a vehicle control unit of a pure electric vehicle and a range-extended electric vehicle, which solves the problem that a tested controller of the existing hardware-in-loop simulation system is single, can be simultaneously suitable for hardware-in-loop simulation of the vehicle control unit of the pure electric vehicle and the range-extended electric vehicle, optimizes internal resistance and effective output torque calculation of an engine in a power battery model, and improves the simulation precision of the hardware-in-loop simulation of the vehicle control unit.
The technical scheme of the invention is as follows: the utility model provides a pure electric and increase form electric automobile vehicle control unit hardware is at ring simulation system for vehicle control unit's system qualification test includes: the system comprises a real-time simulation system, an upper computer, a vehicle control unit, a hardware CAN card and a load;
the real-time simulation system is connected with the vehicle control unit through a wire harness, the real-time simulation system is connected with a load through the wire harness, the real-time simulation system is connected with the upper computer through a network cable, the real-time simulation system is used for operating a controlled object model, and the real-time simulation system monitors the vehicle control unit in real time;
the vehicle control unit is used for controlling a load;
the hardware CAN card is connected with the vehicle controller in a CAN communication mode and is connected with the upper computer through a USB interface;
the controlled object model is a core component for realizing virtual simulation of a hardware-in-the-loop system, the controlled object model operated by the real-time simulation system comprises a driver model, a virtual controller model, a range extender model and an electric automobile body model, the virtual controller model is respectively in signal connection with the range extender model, the electric automobile body model and the driver model, and the electric automobile body model is in signal connection with the driver model;
the driver model is used for simulating the behavior of a driver and outputting the behavior parameters of the driver;
the virtual controller model comprises a virtual vehicle controller interface model, a virtual power battery management system model, a virtual driving motor controller model, a virtual engine controller model, a virtual generator controller model and a virtual accessory controller model which are in signal connection with the virtual vehicle controller interface model; the virtual controller model is used for simulating each controller of the electric automobile, monitoring the running data of the electric automobile and the range extender in real time, and controlling the electric automobile and the range extender according to the monitored data and the intention of a driver;
the electric automobile body model is used for simulating the operation of the whole electric automobile and comprises a power battery model, a driving motor model, a transmission system model and a vehicle longitudinal dynamics model which are sequentially connected through signals; the power battery model is used for calculating the SOC of the power battery, the voltage of the power battery and the internal resistance; the driving motor model is used for calculating the output torque and the required current of the driving motor; the transmission system model is used for calculating the torque of the output end of the transmission system and the rotating speed of the input end; the vehicle longitudinal dynamic model is used for calculating the running resistance of the whole vehicle and the speed of the whole vehicle;
the internal resistance calculation formula in the power battery model is as follows:
R=fEOL(t,soc)*(1-soh)+fNEW(t,soc)*soh
wherein R is the internal resistance in the power battery model; t is the power cell temperature; soc is the state of remaining charge available to the power battery; soh is power battery state of health; f. ofNEW(t, SOC) data Map of the internal resistance of the battery changing along with SOC and temperature when the power battery leaves a factory newly; f. ofEOL(t, SOC) is data Map of the change of the internal resistance of the battery along with the SOC and the temperature when the service life of the battery is ended;
the range extender model comprises an engine model, a generator model and a crankshaft model which are sequentially connected through signals; the crankshaft model calculates the rotating speed of the range extender through input engine torque information, generator torque information and inertia empirical values; the generator model is internally provided with generator external characteristics maps under different voltages, and the output torque and the required current of the generator are calculated through the input target torque, the high-voltage bus voltage and the actual rotating speed of the generator; the engine model simulates the effective engine output torque for normal operating conditions and exhaust braking conditions.
Preferably, the torque calculation formula for calculating the effective output torque of the engine through simulation of the engine model is as follows:
when the exhaust brake command is invalid, T ═ f (n) × r + fFri(n);
When the exhaust brake command is active, T ═ fbrk(n);
Wherein T is the effective output torque of the engine, n is the engine speed, r is the throttle opening, and f (n) is the maximum engine output torqueData Map, f of torque variation with rotational speedFri(n) is data Map, f of engine friction torque changing with rotating speedbrkAnd (n) is data Map of engine exhaust braking torque changing along with the rotating speed.
Preferably, the step of calculating the effective output torque of the engine by the engine model simulation comprises the following steps:
step one, three maps are built into an engine model, and the maps are respectively as follows: data Map of the maximum torque of the engine changing with the rotating speed; data Map of engine friction torque changing with rotating speed; data Map of engine exhaust brake torque variation with rotation speed;
secondly, judging whether an exhaust braking instruction is effective or not;
thirdly, if the exhaust braking instruction is invalid, searching data Map based on the opening degree of an accelerator and the rotating speed of the engine, and calculating to obtain the effective output torque of the engine;
fourthly, if the exhaust braking instruction is effective, searching data Map based on the rotating speed of the engine, and calculating to obtain effective output torque of the engine;
and fifthly, limiting the torque change rate of the effective output torque of the engine, wherein the limited torque is the effective output torque of the engine obtained through final calculation.
Preferably, the calculation steps of the internal resistance in the power battery model are as follows:
step one, four maps are built in a power battery model, and the method comprises the following steps: in a charging state, when the power battery leaves a factory newly, first data Map of battery internal resistance changing along with SOC and temperature; in a discharging state, when the power battery leaves a factory newly, second data Map of the change of the internal resistance of the battery along with the SOC and the temperature; in a charging state, when the service life of the power battery is ended, third data Map of the internal resistance of the battery changing along with the SOC and the temperature; in a discharging state, when the service life of the power battery is ended, fourth data Map of the internal resistance of the battery changing along with the SOC and the temperature;
secondly, judging whether the current power battery is in a charging or discharging state;
thirdly, if the current power battery is in a charging state, inquiring the first data Map and the third data Map according to the temperature and the SOC, and calculating to obtain the internal resistance in the power battery model according to the internal resistance calculation formula;
and fourthly, if the current power battery is in a discharging state, inquiring the second data Map and the fourth data Map according to the temperature and the SOC, and calculating to obtain the internal resistance in the power battery model according to the internal resistance calculation formula.
Preferably, the method for switching the work of the electric automobile body model and the range extender model in the controlled object model comprises the following steps: setting a calibration quantity in a controlled object model for enabling a range extender model, such as an engine model, a crankshaft model, a generator model, an engine controller model and a generator controller model; when the calibration quantity is invalid, the range extender model does not work, and the controlled object model is used for a pure electric vehicle type; when the calibration quantity is effective, the relevant model of the range extender model works, and the controlled object model is used for the range-extended electric vehicle model. By adopting the method, the controlled object can be switched between the pure electric mode and the range extending mode, and one system can simulate two working modes.
Preferably, the real-time simulation system is a dSPACE system, the upper computer comprises ControlDesk software, ECU Test software and INCA software, and the ControlDesk software is used for monitoring and controlling the operation data of a controlled object model in the real-time simulation system; the INCA software is used for controlling the internal parameters of the whole vehicle controller in real time and monitoring the internal operation data of the whole vehicle controller; and the ECU Test software calls a ControlDesk software interface and an INCA software interface according to the executable Test file to complete monitoring and control of external and internal data of the whole vehicle controller, so that the Test of the whole vehicle controller is realized.
Preferably, the real-time simulation system is communicated with the whole vehicle controller through a hard wire signal and a CAN communication signal, so that the stability and the speed of data transmission are improved.
Preferably, the driver behavior parameters include a key status, an accelerator opening, a brake signal and a gear signal. The most real working state at the position is simulated by adopting the parameters, so that the accuracy is improved.
Preferably, the virtual vehicle controller interface model comprises a hard-wire input interface model, a hard-wire output interface model, a CAN input interface model and a CAN output interface model, and the virtual vehicle controller interface model is used for realizing the functions of receiving and transmitting hardware signals and CAN signals.
The invention has the beneficial effects that:
1. the controlled object model comprises a range extender model and an electric vehicle body model, and modes can be switched, so that the requirement that hardware of a pure electric vehicle controller and a range extender electric vehicle controller can be simulated in a ring by one system can be met, and the simulation efficiency is improved.
2. The method for calculating the effective output torque in the engine model can calculate the output torque of the engine under the exhaust braking working condition, effectively simulate the scene that the range extender drags the engine under the exhaust braking working condition by using the generator, and improve the simulation accuracy of the range extender.
3. The method for calculating the internal resistance in the power battery model can calculate the internal resistance of the power battery under different SOH scenes, and improves the accuracy of the simulation of the internal resistance of the power battery. And then the simulation accuracy of the high-voltage loop voltage of the electric automobile is provided by combining the open-circuit voltage and the output current data of the power battery.
Drawings
Fig. 1 is a block diagram of a hardware-in-loop simulation system of a vehicle controller of a pure electric vehicle and an extended range electric vehicle according to the present invention.
Fig. 2 is a block diagram of a structure of a controlled object model of the real-time simulation system according to the present invention.
Fig. 3 is a structural block diagram of the virtual vehicle controller interface model according to the present invention.
FIG. 4 is a flowchart of the engine effective output torque calculation steps for the engine model described herein.
FIG. 5 is a flow chart of the steps for calculating internal resistance in the power battery model according to the present invention.
In the figure: 1-real-time simulation system, 2-upper computer, 3-vehicle controller, 4-hardware CAN card, 5-load, 6-driver model, 7-virtual controller model, 701-virtual vehicle controller interface model, 7011-hard-wire input interface model, 7012-hard-wire output interface model, 7013-CAN input interface model, 7014-CAN output interface model, 702-virtual power battery management system model, 703-virtual drive motor controller model, 704-virtual engine controller model, 705-virtual generator controller model, 706-virtual accessory controller model, 8-range extender model, 801-engine model, 802-generator model, 803-crankshaft model, 9-electric vehicle body model, 901-power battery model, 902-driving motor model, 903-transmission system model, 904-vehicle longitudinal dynamics model.
Detailed Description
The present invention will be further described with reference to the accompanying drawings and detailed description, wherein the exemplary embodiments and descriptions are provided for illustration of the invention and not for limitation of the invention.
Example 1:
as shown in fig. 1, an in-loop simulation system for hardware of a vehicle controller of a pure electric vehicle and an extended range electric vehicle includes: the system comprises a real-time simulation system 1, an upper computer 2, a vehicle control unit 3, a hardware CAN card 4 and a load 5;
the real-time simulation system 1 is connected with the vehicle control unit 3 through a wire harness, the real-time simulation system 1 is connected with a load 5 through the wire harness, the real-time simulation system 1 is connected with the upper computer 2 through a network cable, the real-time simulation system 1 is used for operating a controlled object model, and the real-time simulation system 1 monitors the vehicle control unit 3 in real time;
the vehicle control unit 3 is used for controlling a load 5;
the hardware CAN card 4 is connected with the vehicle control unit 3 in a CAN communication mode, and the hardware CAN card 4 is connected with the upper computer 2 through a USB interface;
as shown in fig. 2, the controlled object model run by the real-time simulation system 1 includes a driver model 6, a virtual controller model 7, a range extender model 8 and an electric vehicle body model 9, the virtual controller model 7 is respectively in signal connection with the range extender model 8, the electric vehicle body model 9 and the driver model 6, and the electric vehicle body model 9 is in signal connection with the driver model 6;
the driver model 6 is used for simulating the behavior of a driver and outputting the behavior parameters of the driver;
the virtual controller model 7 comprises a virtual vehicle controller interface model 701, and a virtual power battery management system model 702, a virtual driving motor controller model 703, a virtual engine controller model 704, a virtual generator controller model 705 and a virtual accessory controller model 706 which are in signal connection with the virtual vehicle controller interface model 701; the virtual controller model 7 is used for simulating each controller of the electric automobile, monitoring the running data of the electric automobile and the range extender in real time, and controlling the electric automobile and the range extender according to the monitored data and the intention of a driver;
the electric automobile body model 9 is used for simulating the running of the whole electric automobile, and the electric automobile body model 9 comprises a power battery model 901, a driving motor model 902, a transmission system model 903 and a vehicle longitudinal dynamics model 904 which are sequentially connected in a signal manner; the power battery model 901 is used for calculating the SOC of the power battery, the voltage of the power battery and the internal resistance; the driving motor model 902 is used for calculating the output torque and the required current of the driving motor; the transmission system model 903 is used for calculating the torque of the output end of the transmission system and the rotating speed of the input end; the vehicle longitudinal dynamics model 904 is used for calculating the running resistance of the whole vehicle and the speed of the whole vehicle;
in this implementation, the internal resistance calculation formula in the power battery model 901 is as follows:
R=fEOL(t,soc)*(1-soh)+fNEW(t,soc)*soh
in the formula, R is the internal resistance in the power battery model 901; t is the power cell temperature; soc is the available state of the power battery residual charge; soh is power battery state of health; f. ofNEW(t, SOC) data Map of the internal resistance of the battery changing along with SOC and temperature when the power battery leaves a factory newly; f. ofEOL(t, SOC) is data Map of the change of the internal resistance of the battery along with the SOC and the temperature when the service life of the battery is ended;
the range extender model 8 comprises an engine model 801, a generator model 802 and a crankshaft model 803 which are sequentially connected through signals; the crankshaft model 803 calculates the rotational speed of the range extender by inputting engine torque information, generator torque information and inertia empirical values; the generator model 802 is internally provided with generator external characteristics Map under different voltages, and the output torque and the required current of the generator are calculated through the input target torque, the high-voltage bus voltage and the actual rotating speed of the generator; the engine model 801 simulates the engine effective output torque for normal operating conditions and exhaust brake conditions.
Example 2:
as shown in fig. 1, an in-loop simulation system for hardware of a vehicle control unit of a pure electric and extended range electric vehicle is used for testing the system qualification of the vehicle control unit 3, and includes: the system comprises a real-time simulation system 1, an upper computer 2, a vehicle control unit 3, a hardware CAN card 4 and a load 5;
the real-time simulation system 1 is connected with the vehicle control unit 3 through a wire harness, the real-time simulation system 1 is connected with a load 5 through the wire harness, the real-time simulation system 1 is connected with the upper computer 2 through a network cable, the real-time simulation system 1 is used for operating a controlled object model, and the real-time simulation system 1 monitors the vehicle control unit 3 in real time;
the vehicle control unit 3 is used for controlling a load 5;
the hardware CAN card 4 is connected with the vehicle control unit 3 in a CAN communication mode, and the hardware CAN card 4 is connected with the upper computer 2 through a USB interface;
as shown in fig. 2, the controlled object model is a core component of a hardware-in-the-loop system for implementing virtual simulation, the controlled object model run by the real-time simulation system 1 includes a driver model 6, a virtual controller model 7, a range extender model 8 and an electric vehicle body model 9, the virtual controller model 7 is respectively in signal connection with the range extender model 8, the electric vehicle body model 9 and the driver model 6, and the electric vehicle body model 9 is in signal connection with the driver model 6;
the driver model 6 is used for simulating the behavior of a driver and outputting the behavior parameters of the driver;
the virtual controller model 7 comprises a virtual vehicle controller interface model 701, and a virtual power battery management system model 702, a virtual driving motor controller model 703, a virtual engine controller model 704, a virtual generator controller model 705 and a virtual accessory controller model 706 which are in signal connection with the virtual vehicle controller interface model 701; the virtual controller model 7 is used for simulating each controller of the electric automobile, monitoring the running data of the electric automobile and the range extender in real time, and controlling the electric automobile and the range extender according to the monitored data and the intention of a driver;
the electric automobile body model 9 is used for simulating the running of the whole electric automobile, and the electric automobile body model 9 comprises a power battery model 901, a driving motor model 902, a transmission system model 903 and a vehicle longitudinal dynamics model 904 which are sequentially connected in a signal manner; the power battery model 901 is used for calculating the SOC of the power battery, the voltage of the power battery and the internal resistance; the driving motor model 902 is used for calculating the output torque and the required current of the driving motor; the transmission system model 903 is used for calculating the torque of the output end of the transmission system and the rotating speed of the input end; the vehicle longitudinal dynamics model 904 is used for calculating the running resistance of the whole vehicle and the speed of the whole vehicle;
the internal resistance calculation formula in the power battery model 901 is as follows:
R=fEOL(t,soc)*(1-soh)+fNEW(t,soc)*soh
in the formula, R is the internal resistance in the power battery model 901; t is the power cell temperature; soc is the state of remaining charge available to the power battery; soh is power battery state of health; f. ofNEW(t, SOC) data Map of the internal resistance of the battery changing along with SOC and temperature when the power battery leaves a factory newly; f. ofEOL(t, SOC) is data Map of the change of the internal resistance of the battery along with the SOC and the temperature when the service life of the battery is ended;
the range extender model 8 comprises an engine model 801, a generator model 802 and a crankshaft model 803 which are sequentially connected through signals; the crankshaft model 803 calculates the rotational speed of the range extender by inputting engine torque information, generator torque information and inertia empirical values; the generator model 802 is internally provided with generator external characteristics Map under different voltages, and the output torque and the required current of the generator are calculated through the input target torque, the high-voltage bus voltage and the actual rotating speed of the generator; the engine model 801 simulates the engine effective output torque for normal operating conditions and exhaust brake conditions.
In this embodiment, the torque calculation formula for the engine model 801 to calculate the effective output torque of the engine in a simulation manner is as follows:
when the exhaust brake command is invalid, T ═ f (n) × r + fFri(n);
When the exhaust brake command is active, T ═ fbrk(n);
Wherein T is the effective output torque of the engine, n is the rotating speed of the engine, r is the opening degree of the accelerator, f (n) is the data Map of the maximum torque of the engine changing with the rotating speed, fFri(n) is data Map, f of engine friction torque changing with rotating speedbrkAnd (n) is data Map of engine exhaust braking torque changing along with the rotating speed.
As shown in fig. 4, in the present embodiment, the steps of calculating the effective engine output torque by simulating the engine model 801 are as follows:
the first step, three maps are built into the engine model 801, which are: data Map of the maximum torque of the engine changing with the rotating speed; data Map of engine friction torque changing with rotating speed; data Map of engine exhaust brake torque variation with rotation speed;
secondly, judging whether an exhaust braking instruction is effective or not;
thirdly, if the exhaust braking instruction is invalid, searching data Map based on the opening degree of an accelerator and the rotating speed of the engine, and calculating to obtain the effective output torque of the engine;
fourthly, if the exhaust braking instruction is effective, searching data Map based on the rotating speed of the engine, and calculating to obtain effective output torque of the engine;
and fifthly, limiting the torque change rate of the effective output torque of the engine, wherein the limited torque is the effective output torque of the engine obtained through final calculation.
As shown in fig. 5, in this embodiment, the step of calculating the internal resistance in the power battery model 901 includes:
first, four maps are built into the power battery model 901, which are respectively: in a charging state, when the power battery leaves a factory newly, first data Map of battery internal resistance changing along with SOC and temperature; in a discharging state, when the power battery leaves a factory newly, second data Map of the change of the internal resistance of the battery along with the SOC and the temperature; in a charging state, when the service life of the power battery is ended, third data Map of the internal resistance of the battery changing along with the SOC and the temperature; in a discharging state, when the service life of the power battery is ended, fourth data Map of the internal resistance of the battery changing along with the SOC and the temperature;
secondly, judging whether the current power battery is in a charging or discharging state;
thirdly, if the current power battery is in a charging state, inquiring the first data Map and the third data Map according to the temperature and the SOC, and calculating to obtain the internal resistance in the power battery model 901 according to the internal resistance calculation formula;
and fourthly, if the current power battery is in a discharging state, inquiring the second data Map and the fourth data Map according to the temperature and the SOC, and calculating the internal resistance in the power battery model 901 according to the internal resistance calculation formula.
In this embodiment, the method for switching the work of the electric vehicle body model 9 and the range extender model 8 in the controlled object model includes: in the controlled object model, a calibration amount is set for enabling the range extender model 8, such as an engine model 801, a crankshaft model 803, a generator model 802, an engine controller model, and a generator controller model; when the calibration quantity is invalid, the range extender model 8 does not work, and the controlled object model is used for a pure electric vehicle model; when the calibration quantity is valid, the model related to the range extender model 8 works, and the controlled object model is used for the range-extended electric vehicle type. By adopting the method, the controlled object can be switched between the pure electric mode and the range extending mode, and one system can simulate two working modes.
As shown in fig. 1, in this embodiment, the real-time simulation system 1 is a dSPACE system, the upper computer 2 includes a ControlDesk software, an ECU Test software, and an INCA software, and the ControlDesk software is used to monitor and control the operating data of the controlled object model in the real-time simulation system 1; the INCA software is used for controlling the internal parameters of the vehicle controller 3 in real time and monitoring the internal operation data of the vehicle controller 3; the ECU Test software calls a ControlDesk software interface and an INCA software interface according to an executable Test file to complete monitoring and control of external and internal data of the whole vehicle controller 3, and further Test of the whole vehicle controller 3 is achieved.
In this embodiment, the real-time simulation system 1 communicates with the vehicle control unit 3 through a hard-wired signal and a CAN communication signal, so as to improve the stability and speed of data transmission.
In this embodiment, the driver behavior parameters include a key state, an accelerator opening, a brake signal, and a gear signal. The most real working state at the position is simulated by adopting the parameters, so that the accuracy is improved.
As shown in fig. 3, in this embodiment, the virtual vehicle controller interface model 701 includes a hard-wire input interface model 7011, a hard-wire output interface model 7012, a CAN input interface model 7013, and a CAN output interface model 7014, and the virtual vehicle controller interface model 701 is configured to implement a function of receiving and transmitting a hardware signal and a CAN signal.
In this embodiment, in the charging state, when the power battery leaves the factory newly, the first data Map of the internal resistance of the battery changing along with the SOC and the temperature is as follows:
Figure BDA0002834059030000141
in a discharging state, when the power battery leaves a factory newly, second data Map of the internal resistance of the battery along with the change of the SOC and the temperature is as follows:
Figure BDA0002834059030000142
in the charging state, when the service life of the power battery is ended, the third data of the internal resistance of the battery along with the change of the SOC and the temperature are as follows:
Figure BDA0002834059030000151
in a discharging state, when the service life of the power battery is ended, the fourth data Map of the internal resistance of the battery along with the change of the SOC and the temperature is as follows:
Figure BDA0002834059030000152
specifically, according to an internal resistance calculation formula in the power battery model 901:
R=fEOL(t,soc)*(1-soh)+fNEW(t,soc)*soh
when the SOH of the power battery is 95%, the temperature is 25degC and the SOC is 80% in the discharging state, the corresponding single battery internal resistance is 0.95 × 46+ (1-0.95) × 246 ═ 56mOhn
The corresponding data Map of the effective output torque of the engine is specifically three, and f (n) is data Map of the maximum torque of the engine changing along with the rotating speed, fFri(n) is data Map, f of friction torque of engine varying with rotation speedbrk(n) is data Map of exhaust brake torque of the engine as a function of rotation speed, which is shown in the following table:
rotational speed (rpm) 0 20 1000 1200 1400 1600 1800 2000 2200 2400 2600
Torque (Nm) 0 0 477 514 518 515 520 518 487 455 419
Friction Torque (Nm) 0 0 -12.6 -12.6 -12.8 -13 -13.3 -13.9 -14.5 -15.5 -16.3
Exhaust brake torque (Nm) 0 0 -286.5 -238.75 -204.643 -179.063 -159.167 -143.25 -130.227 -119.375 -110.192
Specifically, for example, when the exhaust brake command is invalid, if the accelerator opening is 50% and the engine speed is 1000rpm, the Map is searched and the formula T ═ f (n) × r + f is substitutedFri(n), then the corresponding effective output torque is 477 x 0.5-12.6-225.9 Nm.
When the exhaust brake command is effective, if the engine speed is 1000rpm, inquiring the Map, and substituting the formula T-fbrk(n) the engine effective output torque is-286.5 Nm.

Claims (9)

1. The utility model provides a pure electric reaches extended range formula electric automobile vehicle control unit hardware is at ring simulation system which characterized in that includes: the system comprises a real-time simulation system (1), an upper computer (2), a whole vehicle controller (3), a hardware CAN card (4) and a load (5);
the real-time simulation system (1) is connected with the vehicle control unit (3) through a wire harness, the real-time simulation system (1) is connected with a load (5) through the wire harness, the real-time simulation system (1) is connected with the upper computer (2) through a network cable, the real-time simulation system (1) is used for operating a controlled object model, and the real-time simulation system (1) monitors the vehicle control unit (3) in real time;
the vehicle control unit (3) is used for controlling a load (5);
the hardware CAN card (4) is connected with the whole vehicle controller (3) in a CAN communication mode, and the hardware CAN card (4) is connected with the upper computer (2) through a USB interface;
the controlled object model operated by the real-time simulation system (1) comprises a driver model (6), a virtual controller model (7), a range extender model (8) and an electric vehicle body model (9), wherein the virtual controller model (7) is in signal connection with the range extender model (8), the electric vehicle body model (9) and the driver model (6) respectively, and the electric vehicle body model (9) is in signal connection with the driver model (6);
the driver model (6) is used for simulating the behavior of a driver and outputting the behavior parameters of the driver;
the virtual controller model (7) comprises a virtual vehicle controller interface model (701), and a virtual power battery management system model (702), a virtual driving motor controller model (703), a virtual engine controller model (704), a virtual generator controller model (705) and a virtual accessory controller model (706) which are in signal connection with the virtual vehicle controller interface model (701); the virtual controller model (7) is used for simulating each controller of the electric automobile, monitoring the running data of the electric automobile and the range extender in real time, and controlling the electric automobile and the range extender according to the monitored data and the intention of a driver;
the electric automobile body model (9) is used for simulating the running of the whole electric automobile, and the electric automobile body model (9) comprises a power battery model (901), a driving motor model (902), a transmission system model (903) and a vehicle longitudinal dynamics model (904) which are sequentially in signal connection; the power battery model (901) is used for calculating the SOC of the power battery, the voltage of the power battery and the internal resistance; the driving motor model (902) is used for calculating the output torque and the required current of the driving motor; the transmission system model (903) is used for calculating the torque of the output end of the transmission system and the rotating speed of the input end; the vehicle longitudinal dynamics model (904) is used for calculating the whole vehicle running resistance and the whole vehicle speed;
the internal resistance calculation formula in the power battery model (901) is as follows:
R=fEOL(t,soc)*(1-soh)+fNEW(t,soc)*soh
wherein R is the internal resistance in the power battery model (901); t is the power cell temperature; soc is the state of remaining charge available to the power battery; soh is power battery state of health; f. ofNEW(t, SOC) data Map of the internal resistance of the battery changing along with SOC and temperature when the power battery leaves a factory newly; f. ofEOL(t, SOC) is data Map of the change of the internal resistance of the battery along with the SOC and the temperature when the service life of the battery is ended;
the range extender model (8) comprises an engine model (801), a generator model (802) and a crankshaft model (803) which are sequentially connected through signals; the crankshaft model (803) calculates the rotating speed of the range extender according to the input engine torque information, the generator torque information and the inertia empirical value; the generator model (802) is internally provided with generator external characteristics Map under different voltages, and the output torque and the required current of the generator are calculated through the input target torque, the high-voltage bus voltage and the actual rotating speed of the generator; an engine model (801) simulates engine available output torque for normal operating conditions and exhaust braking conditions.
2. The hardware-in-the-loop simulation system of the vehicle controller of the pure electric and extended range electric vehicle according to claim 1, wherein: the torque calculation formula for simulating and calculating the effective output torque of the engine by the engine model (801) is as follows:
when the exhaust brake command is invalid, T ═ f (n) × r + fFri(n);
When the exhaust brake command is active, T ═ fbrk(n);
Wherein T is the effective output torque of the engine, n is the rotating speed of the engine, r is the opening degree of the accelerator, f (n) is the data Map of the maximum torque of the engine changing with the rotating speed, fFri(n) is data Map, f of engine friction torque changing with rotating speedbrkAnd (n) is data Map of engine exhaust braking torque changing along with the rotating speed.
3. The hardware-in-the-loop simulation system of the vehicle controller of the pure electric and extended range electric vehicle of claim 2, wherein: the calculation steps of the engine model (801) for simulating and calculating the effective output torque of the engine are as follows:
the first step, three maps are built into the engine model (801), which are respectively: data Map of the maximum torque of the engine changing with the rotating speed; data Map of engine friction torque changing with rotating speed; data Map of engine exhaust brake torque variation with rotation speed;
secondly, judging whether an exhaust braking instruction is effective or not;
thirdly, if the exhaust braking instruction is invalid, searching data Map based on the opening degree of an accelerator and the rotating speed of the engine, and calculating to obtain the effective output torque of the engine;
fourthly, if the exhaust braking instruction is effective, searching data Map based on the rotating speed of the engine, and calculating to obtain effective output torque of the engine;
and fifthly, limiting the torque change rate of the effective output torque of the engine, wherein the limited torque is the effective output torque of the engine obtained through final calculation.
4. The hardware-in-loop simulation system of a vehicle control unit of a pure electric and extended range electric vehicle according to claim 1, wherein the step of calculating the internal resistance in the power battery model (901) is as follows:
the first step, four maps are built in a power battery model (901), and the maps are respectively as follows: in a charging state, when the power battery leaves a factory newly, first data Map of battery internal resistance changing along with SOC and temperature; in a discharging state, when the power battery leaves a factory newly, second data Map of the change of the internal resistance of the battery along with the SOC and the temperature; in a charging state, when the service life of the power battery is ended, third data Map of the internal resistance of the battery changing along with the SOC and the temperature; in a discharging state, when the service life of the power battery is ended, fourth data Map of the internal resistance of the battery changing along with the SOC and the temperature;
secondly, judging whether the current power battery is in a charging or discharging state;
thirdly, if the current power battery is in a charging state, inquiring the first data Map and the third data Map according to the temperature and the SOC, and calculating to obtain the internal resistance in the power battery model (901) according to the internal resistance calculation formula;
and fourthly, if the current power battery is in a discharging state, inquiring the second data Map and the fourth data Map according to the temperature and the SOC, and calculating the internal resistance in the power battery model (901) according to the internal resistance calculation formula.
5. The hardware-in-loop simulation system of the vehicle controller of the pure electric and extended range electric vehicle according to claim 1, wherein the method for switching the work of the electric vehicle body model (9) and the extended range device model (8) in the controlled object model comprises: setting a calibration quantity for enabling a range extender model (8) in the controlled object model; when the calibration quantity is invalid, the range extender model (8) does not work, and the controlled object model is used for a pure electric vehicle model; when the calibration quantity is effective, the model related to the range extender model (8) works, and the controlled object model is used for the range-extended electric vehicle model.
6. The hardware-in-the-loop simulation system of the vehicle controller of the pure electric and extended range electric vehicle according to claim 1, wherein: the real-time simulation system (1) is a dSPACE HIL system, the upper computer (2) comprises ControlDesk software, ECU Test software and INCA software, and the ControlDesk software is used for monitoring and controlling the running data of a controlled object model in the real-time simulation system (1); the INCA software is used for controlling the internal parameters of the vehicle controller (3) in real time and monitoring the internal operation data of the vehicle controller (3); the ECU Test software calls a ControlDesk software interface and an INCA software interface according to an executable Test file to complete monitoring and control of external and internal data of the whole vehicle controller (3), and further Test of the whole vehicle controller (3) is achieved.
7. The hardware-in-the-loop simulation system of the vehicle controller of the pure electric and extended range electric vehicle according to claim 1, wherein: the real-time simulation system (1) is communicated with the whole vehicle controller (3) through a hard wire signal and a CAN communication signal.
8. The hardware-in-the-loop simulation system of the vehicle controller of the pure electric and extended range electric vehicle according to claim 1, wherein: the driver behavior parameters include key status, throttle opening, brake signal and gear signal.
9. The hardware-in-the-loop simulation system of the vehicle controller of the pure electric and extended range electric vehicle according to claim 1, wherein: the virtual vehicle controller interface model (701) comprises a hard-wire input interface model (7011), a hard-wire output interface model (7012), a CAN input interface model (7013) and a CAN output interface model (7014), and the virtual vehicle controller interface model (701) is used for achieving the functions of receiving and transmitting hardware signals and CAN signals.
CN202011471319.4A 2020-12-14 2020-12-14 Hardware-in-loop simulation system for vehicle control unit of pure electric vehicle and extended range electric vehicle Active CN112650078B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011471319.4A CN112650078B (en) 2020-12-14 2020-12-14 Hardware-in-loop simulation system for vehicle control unit of pure electric vehicle and extended range electric vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011471319.4A CN112650078B (en) 2020-12-14 2020-12-14 Hardware-in-loop simulation system for vehicle control unit of pure electric vehicle and extended range electric vehicle

Publications (2)

Publication Number Publication Date
CN112650078A true CN112650078A (en) 2021-04-13
CN112650078B CN112650078B (en) 2022-12-09

Family

ID=75354441

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011471319.4A Active CN112650078B (en) 2020-12-14 2020-12-14 Hardware-in-loop simulation system for vehicle control unit of pure electric vehicle and extended range electric vehicle

Country Status (1)

Country Link
CN (1) CN112650078B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113267347A (en) * 2021-05-17 2021-08-17 阳光电源股份有限公司 Method, device and system for testing slope-parking auxiliary function of electric automobile
CN113485298A (en) * 2021-07-15 2021-10-08 广州南洋理工职业学院 Electric automobile torque active distribution system control strategy test platform

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007118780A (en) * 2005-10-28 2007-05-17 Honda Motor Co Ltd Controller for hybrid vehicle
DE102008062205A1 (en) * 2008-12-13 2009-09-17 Daimler Ag Battery state of charge identifying method for motor vehicle, involves determining current state of charge under consideration of impedance of battery, and using transient internal resistance of battery as impedance of battery
US20120256569A1 (en) * 2009-10-14 2012-10-11 Youhei Kawahara Battery Control Device and Motor Drive System
CN104699070A (en) * 2015-01-12 2015-06-10 湖南大学 Full electric vehicle electrical matching semi-physical simulation system
US20150357852A1 (en) * 2013-03-29 2015-12-10 Hitachi Automotive Systems, Ltd. Battery control device
WO2017199629A1 (en) * 2016-05-18 2017-11-23 日立オートモティブシステムズ株式会社 Battery control device
WO2018189891A1 (en) * 2017-04-14 2018-10-18 日産自動車株式会社 Hybrid vehicle control method and hybrid vehicle control device
DE102019109057A1 (en) * 2018-04-06 2019-10-10 Toyota Jidosha Kabushiki Kaisha VEHICLE SYSTEM
JP2020083174A (en) * 2018-11-29 2020-06-04 マツダ株式会社 Control device of vehicle
CN111650925A (en) * 2020-06-18 2020-09-11 中车青岛四方车辆研究所有限公司 dSPACE-based hybrid electric vehicle hardware-in-loop simulation system construction method
CN111930100A (en) * 2020-07-31 2020-11-13 广西玉柴机器股份有限公司 Semi-physical simulation test system and simulation test method for range extender controller
CN111983933A (en) * 2020-07-31 2020-11-24 广西玉柴机器股份有限公司 In-loop simulation system for controller hardware of range extender

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007118780A (en) * 2005-10-28 2007-05-17 Honda Motor Co Ltd Controller for hybrid vehicle
DE102008062205A1 (en) * 2008-12-13 2009-09-17 Daimler Ag Battery state of charge identifying method for motor vehicle, involves determining current state of charge under consideration of impedance of battery, and using transient internal resistance of battery as impedance of battery
US20120256569A1 (en) * 2009-10-14 2012-10-11 Youhei Kawahara Battery Control Device and Motor Drive System
US20150357852A1 (en) * 2013-03-29 2015-12-10 Hitachi Automotive Systems, Ltd. Battery control device
CN104699070A (en) * 2015-01-12 2015-06-10 湖南大学 Full electric vehicle electrical matching semi-physical simulation system
WO2017199629A1 (en) * 2016-05-18 2017-11-23 日立オートモティブシステムズ株式会社 Battery control device
WO2018189891A1 (en) * 2017-04-14 2018-10-18 日産自動車株式会社 Hybrid vehicle control method and hybrid vehicle control device
DE102019109057A1 (en) * 2018-04-06 2019-10-10 Toyota Jidosha Kabushiki Kaisha VEHICLE SYSTEM
JP2020083174A (en) * 2018-11-29 2020-06-04 マツダ株式会社 Control device of vehicle
CN111650925A (en) * 2020-06-18 2020-09-11 中车青岛四方车辆研究所有限公司 dSPACE-based hybrid electric vehicle hardware-in-loop simulation system construction method
CN111930100A (en) * 2020-07-31 2020-11-13 广西玉柴机器股份有限公司 Semi-physical simulation test system and simulation test method for range extender controller
CN111983933A (en) * 2020-07-31 2020-11-24 广西玉柴机器股份有限公司 In-loop simulation system for controller hardware of range extender

Non-Patent Citations (9)

* Cited by examiner, † Cited by third party
Title
张立强等: "《电动汽车充电技术》", 31 May 2019, 天津:天津大学出版社 *
李沛森: "基于电池寿命模型的纯电动汽车动力系统参数匹配及能量管理研究", 《中国优秀硕士学位论文全文数据库工程科技Ⅱ辑》 *
毛正松: "插电式混合动力整车控制及能量管理系统研究", 《中国优秀硕士学位论文全文数据库工程科技Ⅱ辑》 *
毛正松等: "混联混合动力系统经济性的优化试验研究", 《内燃机与配件》 *
熊建: "增程式电动车辅助动力单元与整车协调控制算法研究", 《中国优秀硕士学位论文全文数据库工程科技Ⅱ辑》 *
王志强: "发动机辅助制动模拟研究", 《汽车实用技术》 *
聂广论: "汽油机控制单元硬件在环测试系统仿真研究", 《中国优秀硕士学位论文全文数据库工程科技Ⅱ辑》 *
陈涛: "动力电池系统状态参数研究", 《时代汽车》 *
龚金科等: "发动机辅助制动性能仿真研究", 《中国机械工程》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113267347A (en) * 2021-05-17 2021-08-17 阳光电源股份有限公司 Method, device and system for testing slope-parking auxiliary function of electric automobile
CN113485298A (en) * 2021-07-15 2021-10-08 广州南洋理工职业学院 Electric automobile torque active distribution system control strategy test platform

Also Published As

Publication number Publication date
CN112650078B (en) 2022-12-09

Similar Documents

Publication Publication Date Title
CN109375611B (en) Hardware-in-loop test system for vehicle control unit of new energy automobile
CN106970279A (en) The pure electric automobile pilot system and its test method of a variety of driving cycles can be achieved
CN112650078B (en) Hardware-in-loop simulation system for vehicle control unit of pure electric vehicle and extended range electric vehicle
CN104298123A (en) In-loop simulation test system and test method for vehicle management system
DE102017119547A1 (en) DISTRIBUTION OF RECOVERED BRAKING POWER
CN206162185U (en) Vehicle control unit is at ring emulation test system
CN113074952B (en) Energy consumption testing rack, system and method for power system of plug-in hybrid electric vehicle
CN111123900A (en) Hardware-in-loop test system for vehicle controller of four-wheel distributed drive electric bus
CN105115737A (en) Electric automobile complete vehicle simulation on-load test system
CN108692948A (en) Vehicle oil consumption tests system and control method
CN110609492A (en) Semi-physical simulation test system and method for key components of hybrid power assembly
CN110941202A (en) Verification method and device for automobile energy management strategy
CN110780605A (en) Hardware-in-loop simulation test platform for closed loop system of hybrid electric vehicle
CN111983933A (en) In-loop simulation system for controller hardware of range extender
CN205015162U (en) Electric automobile carries testing system in whole car simulation area
DE102020133508A1 (en) Vehicle, vehicle control system, and vehicle control method
CN113484027B (en) New energy power system hardware-in-loop test system and performance verification method thereof
CN111930100A (en) Semi-physical simulation test system and simulation test method for range extender controller
CN1246679C (en) Bench testing method for operating circulation and dynamic circulation of vehicle drive system
CN207717375U (en) A kind of hybrid vehicle test-bed based on contiuously variable transmission
DE102013210418A1 (en) A method and apparatus for controlling a high voltage electrical system for a multiple mode transmission
CN114577488B (en) Hybrid power assembly test bench based on model driving
CN114184875A (en) Test system and method for whole vehicle and test bench
CN113341908A (en) Pure electric vehicle control strategy simulation verification system and manufacturing method thereof
CN110597237B (en) Simulation method of RCP (remote control protocol) system of whole vehicle controller of extended range electric vehicle

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant