CN110737207B - Hardware-in-loop simulation test system and method based on power level virtual motor - Google Patents

Hardware-in-loop simulation test system and method based on power level virtual motor Download PDF

Info

Publication number
CN110737207B
CN110737207B CN201910920139.0A CN201910920139A CN110737207B CN 110737207 B CN110737207 B CN 110737207B CN 201910920139 A CN201910920139 A CN 201910920139A CN 110737207 B CN110737207 B CN 110737207B
Authority
CN
China
Prior art keywords
motor
module
current
virtual motor
model
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.)
Expired - Fee Related
Application number
CN201910920139.0A
Other languages
Chinese (zh)
Other versions
CN110737207A (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.)
Beijing Institute of Technology BIT
Original Assignee
Beijing Institute of Technology BIT
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 Beijing Institute of Technology BIT filed Critical Beijing Institute of Technology BIT
Priority to CN201910920139.0A priority Critical patent/CN110737207B/en
Publication of CN110737207A publication Critical patent/CN110737207A/en
Application granted granted Critical
Publication of CN110737207B publication Critical patent/CN110737207B/en
Expired - Fee Related 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
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0208Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0208Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
    • G05B23/021Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system adopting a different treatment of each operating region or a different mode of the monitored system, e.g. transient modes; different operating configurations of monitored system

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Control Of Electric Motors In General (AREA)
  • Control Of Ac Motors In General (AREA)
  • Electric Propulsion And Braking For Vehicles (AREA)

Abstract

The invention relates to the technical field related to simulation and test of an electric automobile electric drive system, in particular to a hardware-in-loop simulation test system and method based on a power level virtual motor. The system structure comprises an isolated AC/DC rectification module (1), an isolated DC/DC module (2), a power level virtual motor (3), a tested motor controller (4) and an upper computer (5), wherein the power level virtual motor comprises a port current simulation module (31), a rotary transformer/temperature signal simulation module (32) and a virtual motor real-time control system (33).

Description

Hardware-in-loop simulation test system and method based on power level virtual motor
Technical Field
The invention relates to the technical field related to simulation and test of an electric automobile electric drive system, in particular to a hardware-in-loop simulation test system and method based on a power level virtual motor.
Background
In the last two decades, with the enhancement of environmental awareness and the development of key technologies, the technology of electric vehicles has been rapidly developed, and electric vehicles are gradually popularized worldwide. The vehicle driving motor and the controller are one of the core parts of the electric vehicle, play a very important role in the electric vehicle, and are directly related to the driving range, the whole vehicle performance and the reliability of the electric vehicle, so that the core parts need to be tested and verified for multiple rounds from design to loading in the research and development process of the electric vehicle.
Hardware-in-the-Loop (HIL) is one of the commonly used testing methods for core components of electric vehicles. The HIL system simulates the running state of a controlled object by running a simulation model through a real-time processor, is connected with a tested component through an I/O interface and carries out comprehensive and systematic test on the tested component. From the consideration of safety, feasibility and cost, the HIL hardware loop simulation test is an important loop in the automobile part development process, the number of real automobile road tests is reduced, the development time is shortened, the cost is reduced, the software and hardware quality of the parts is verified, the iterative optimization cycle of the parts is shortened, and the performance and the reliability of the whole automobile are improved.
HIL test systems for vehicle drive motors and controllers are mainly classified into three categories: mechanical-level HIL systems, signal-level HIL systems, and power-level HIL systems.
Mechanical-grade HIL system: the material object controller, the material object motor and the dynamometer are dragged, and the dynamometer loads the motor with the load simulating the actual working condition. The mechanical-level HIL system can test and verify the matching of the motor and controller and the performance under various virtual conditions. However, the mechanical system has the disadvantages of high cost, large floor area, high operation noise, high safety risk and the like. And the response of the controller to motor failure cannot be verified.
Signal level HIL system: signals of a control board of the controller are directly connected to the HIL system, and a bridge arm and a back-end system of the power switch are all simulated by software. The signal level system is mainly used for testing a hardware circuit of the control board and an internal control algorithm of the hardware circuit. The controller has the advantages of small floor area, small running noise and small safety risk, and can virtualize the fault state of the motor and verify the response of the controller to the motor fault. However, the control performance and reliability of the entire controller cannot be verified due to the absence of an actual power module and a large current during operation.
Power stage HIL system: and connecting the physical motor controller to a virtual motor of a power stage, and testing the performance of the motor controller under the working condition of the whole vehicle by changing the load of the virtual motor. The port of the virtual motor is the same as that of the actual motor, the actual working current is generated during working, the virtual motor can be set to be in different motor parameters, different working conditions or even different fault states, and the control performance of the controller is tested. However, most of the existing virtual motors are composed of simple three-phase bridges and inductors, and the structure can only simulate fundamental current of the motor and cannot really reduce ripple current of the motor, so that the control characteristics and performance of the motor controller cannot be really reflected.
Disclosure of Invention
In order to solve the problems in the prior art, the invention provides a hardware-in-loop simulation test system and method based on a power level virtual motor, which can effectively restore the working current and the fault state of the motor, test and verify the working performance and the characteristics of a motor controller and the motor under the working condition of the whole vehicle, and have important significance for the design and the performance evaluation of the motor controller and the motor.
The technical scheme adopted by the invention is as follows:
a hardware-in-loop simulation test system based on a power level virtual motor comprises an isolation type AC/DC rectification module (1), an isolation type DC/DC module (2), the power level virtual motor (3), a tested motor controller (4) and an upper computer (5), and is characterized in that the power level virtual motor comprises a port current simulation module (31), a rotary transformer/temperature signal simulation module (32) and a virtual motor real-time control system (33). After the alternating current is accessed into the system, the alternating current is rectified by an isolation type AC/DC rectification module (1) and then converted into a stable primary direct current power supply to supply power for an isolation type DC/DC module (2) and a power level virtual motor (3), a secondary direct current power supply converted by the isolation type DC/DC module (2) supplies power for a tested motor controller (4), the upper computer (5) provides a torque instruction for the tested motor controller (4) according to the vehicle speed and a target working condition, then the tested motor controller (4) drives the power level virtual motor (3), the power level virtual motor (3) simulates stator working current at a power port through a port current simulation module (31) as an actual motor, simulates a rotation change and a temperature signal at a rotation change/winding temperature port through a rotation change/temperature signal simulation module (32), and simultaneously feeds operation parameters back to the upper computer (5), the upper computer (5) calculates the vehicle speed and the motor load information at the next moment. Meanwhile, the upper computer (5) continuously adjusts a voltage instruction of the secondary direct-current power supply according to the power battery model and the power consumption condition of the whole vehicle, and sends the voltage instruction to the isolated DC/DC module (2).
The hardware topology of the port current simulation module is a multi-bridge arm staggered parallel structure, each phase of the port current simulation module is formed by connecting N groups of half-bridges in series with inductors and then in parallel, and the PWM phase difference of each group of half-bridges is 2 pi/N radians during working; when one group of the inverter bridges has faults, the rest n-1 groups of the inverter bridges continue to work, the PWM phase difference is immediately adjusted to be 2 pi/(n-1), and the total capacity of the virtual motor is reduced to be (n-1)/n.
The upper computer (5) comprises a whole vehicle dynamic model, a working condition and driver model, a power battery model, a human-computer interaction interface module and a data recording module, wherein the power battery model provides a voltage instruction for the isolated DC/DC module (2) and simulates the change of battery voltage in the driving process, the whole vehicle dynamic model provides a load torque or a rotating speed constraint parameter for the power level virtual motor (3), and the working condition and the driver model provide a torque instruction for the tested motor controller (4).
The virtual motor real-time control system mainly has two functions of a motor model algorithm and a current control algorithm.
A hardware-in-loop simulation test method based on a power level virtual motor comprises the following steps:
A. after the alternating current is accessed into the system, the alternating current is rectified by the isolation type AC/DC rectification module (1) and then converted into a primary direct current power supply to supply power for the isolation type DC/DC module (2) and the power level virtual motor (3), and a secondary direct current power supply converted by the isolation type DC/DC module (2) supplies power for the tested motor controller (4);
B. the upper computer (5) runs a power battery model, a whole vehicle dynamic model, a working condition and a driver model, and provides a human-computer interface and a data recording function, the power battery model provides a voltage instruction for the isolated DC/DC module (2) and simulates the change of battery voltage in the driving process, the whole vehicle dynamic model provides a load torque or a rotating speed constraint parameter for the power level virtual motor (3), and the working condition and the driver model provide a torque instruction for the tested motor controller (4);
C. a driver model of the upper computer provides a torque instruction for a tested motor controller (4) according to the vehicle speed and the target working condition at the moment, then the tested motor controller (4) drives a power level virtual motor (3), the power level virtual motor (3) simulates stator working current at a power port as an actual motor, simulates a rotary transformer and a temperature signal at a rotary transformer/winding temperature port, and simultaneously feeds back operation parameters to the upper computer (5);
D. the vehicle speed and motor load information at the next moment are calculated by a whole vehicle dynamic model of the upper computer (5) and are respectively sent to the driver model and the virtual motor, and a voltage instruction at the next moment is calculated by the power battery model and is sent to the isolated DC/DC module (2). And the steps are executed in a circulating way.
The step C specifically comprises the following steps:
c1, configuring model parameters/fault parameters, environment temperature/wind speed parameters, cooling liquid temperature/flow parameters and load torque/rotating speed constraint parameters for the power level virtual motor by using the upper computer;
c2, the virtual motor detects the port voltage of the motor through a voltage sensor, then the voltage value is transmitted to a virtual motor real-time control system, and a motor model algorithm of the virtual motor real-time control system calculates the target value of the motor port current, the rotor position/rotating speed, the winding temperature and the output torque at the next moment according to the port voltage and a motor model;
c3, adjusting PWM of each bridge arm according to the error between the port current calculated by the motor model and the port current actually output by the virtual motor by a current control algorithm, so that the current output by the port current simulation module accurately follows the port current calculated by the model. And the circulation current between the bridge arms under each phase is monitored in real time, and PWM is finely adjusted to enable the currents of the bridge arms to be equal. And simultaneously, the rotary transformer/temperature signal simulation module simulates corresponding signals at a rotary transformer port and a temperature sensor port according to the rotor position/rotating speed and winding temperature information calculated by the motor model.
7. The hardware-in-loop simulation test method based on the power level virtual motor is characterized in that the hardware topology of the port current simulation module is a multi-bridge arm staggered parallel structure, each phase of the port current simulation module is formed by connecting N groups of half-bridge series inductors in parallel, and the PWM phase difference of each group of half-bridge is 2 pi/N radians during work; when one group of the inverter bridges has faults, the rest n-1 groups of the inverter bridges continue to work, the PWM phase difference is immediately adjusted to be 2 pi/(n-1), and the total capacity of the virtual motor is reduced to be (n-1)/n.
In the whole process, power flow is from the first-stage direct-current bus to the isolated DC/DC module, then to the tested motor controller, then to the power-stage virtual motor, and then back to the first-stage direct-current bus. The power loss in the whole process is supplemented by the isolated AC/DC rectifying module. Because the power loss of the whole system is small, and the power current circulates in the direct current bus, the power needed by the isolated AC/DC rectification module is small, only one-way rectification is needed, reverse inversion is not needed, and the cost and the influence on the power grid can be effectively reduced.
The technical scheme provided by the invention has the beneficial effects that:
1. the power level virtual motor adopts a hardware topological structure with multiple bridge arms in staggered parallel connection. The staggered pwm can reduce the current ripple caused by the hardware switch of the virtual motor, improve the current tracking bandwidth and simulate the port current of the actual motor more truly. The multi-bridge arm provides higher safety redundancy for the system, and when one group of bridge arms fails, other bridge arms can normally operate.
2. By adopting the HIL system of the virtual motor, the control performance and efficiency of the tested motor controller matched with different motors, different vehicles, different working conditions and different driving habits can be quickly checked. And motor faults can be injected at any time, the response of the motor controller to the motor faults is checked, and the safety of the whole vehicle is verified.
3. By adopting a power cycle structure of the direct current bus, the system loss and the hardware cost can be reduced, and the secondary interference to the power grid is reduced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a system structure diagram of a hardware-in-the-loop simulation test system based on a power level virtual motor according to the present invention;
FIG. 2 is a cross-connection topological diagram of a port current simulation module of a hardware-in-the-loop simulation test system based on a power level virtual motor according to the present invention;
FIG. 3 is a diagram of a functional structure of a host computer of a hardware-in-the-loop simulation test system based on a power level virtual motor according to the present invention;
FIG. 4 is a functional structure diagram of a virtual motor real-time control system of a hardware-in-the-loop simulation test system based on a power level virtual motor according to the present invention;
FIG. 5 is a sequence diagram of interleaved PWM switching of a hardware-in-the-loop simulation test system based on a power level virtual motor according to the present invention;
fig. 6 is a schematic simulation structure diagram of "controller + actual motor" in embodiment 2 of the present invention;
fig. 7 is a structural diagram of simulink simulation of "controller + virtual machine" in embodiment 2 of the present invention;
fig. 8 is a schematic structural diagram of a virtual motor portion in embodiment 2 of the present invention;
FIG. 9 is a diagram illustrating simulation results in embodiment 2 of the present invention;
fig. 10 is a comparison graph of two current waveforms of controller + actual motor and controller + virtual motor in embodiment 2 of the present invention;
fig. 11 is a detailed comparison diagram of two current waveforms of controller + actual motor and controller + virtual motor in embodiment 2 of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Example one
As shown in fig. 1, the hardware-in-loop simulation test system based on the power level virtual motor comprises an isolated AC/DC rectification module 1, an isolated DC/DC module 2, a power level virtual motor 3, a tested machine controller 4 and an upper computer 5, and is characterized in that the power level virtual motor comprises a port current simulation module 31, a resolver/temperature signal simulation module 32 and a virtual motor real-time control system 33. After the alternating current is accessed into the system, the alternating current is rectified by the isolation type AC/DC rectification module 1 and then converted into a stable primary direct current power supply to supply power for the isolation type DC/DC module 2 and the power level virtual motor 3, a secondary direct current power supply converted by the isolation type DC/DC module 2 supplies power for the tested motor controller 4, the upper computer 5 provides a torque instruction for the tested motor controller 4 according to the vehicle speed and the target working condition, then the controller 4 of the tested motor drives the power level virtual motor 3, the power level virtual motor 3 simulates the working current of the stator at the power port through the port current simulation module 31 as the actual motor, the resolver and temperature signals are simulated at the resolver/winding temperature port by the resolver/temperature signal simulation module 32, and meanwhile, the operation parameters are fed back to the upper computer 5, and the upper computer 5 calculates the vehicle speed and the motor load information at the next moment. Meanwhile, the upper computer 5 continuously adjusts a voltage instruction of the secondary direct-current power supply according to the power battery model and the power consumption condition of the whole vehicle, and sends the voltage instruction to the isolated DC/DC module 2.
As shown in fig. 2, the power port simulation module includes a capacitor 311, a power switch 312, an inductor 313, a current sensor 314, and a voltage sensor 315.
The hardware topology of the port current simulation module is a multi-bridge arm staggered parallel structure, each phase of the port current simulation module is formed by connecting N groups of half-bridges in series with inductors and then in parallel, and the PWM phase difference of each group of half-bridges is 2 pi/N radians during working; when one group of the inverter bridges has faults, the rest n-1 groups of the inverter bridges continue to work, the PWM phase difference is immediately adjusted to be 2 pi/(n-1), and the total capacity of the virtual motor is reduced to be (n-1)/n.
As shown in fig. 3, the upper computer 5 includes a complete vehicle dynamics model, a working condition and driver model, a power battery model, a human-computer interaction interface module and a data recording module, wherein the power battery model provides a voltage instruction for the isolated DC/DC module 2 to simulate the change of battery voltage in the driving process, the complete vehicle dynamics model provides a load torque or a rotating speed constraint parameter for the power level virtual motor 3, and the working condition and driver model provides a torque instruction for the measured motor controller 4.
The virtual motor real-time control system mainly has two functions of a motor model algorithm and a current control algorithm.
Example two
The embodiment provides a hardware-in-loop simulation test method based on a power level virtual motor, which comprises the following steps:
A. after the alternating current is accessed into the system, the alternating current is rectified by the isolation type AC/DC rectification module 1 and then converted into a stable direct current power supply to supply power for the isolation type DC/DC module 2 and the power level virtual motor 3, and the secondary direct current power supply converted by the isolation type DC/DC module 2 supplies power for the tested motor controller 4;
B. the upper computer 5 runs a power battery model, a whole vehicle dynamic model, a working condition and a driver model, and provides a human-computer interface and a data recording function, the power battery model provides a voltage instruction for the isolated DC/DC module 2 and simulates the change of battery voltage in the driving process, the whole vehicle dynamic model provides a load torque or a rotating speed constraint parameter for the power level virtual motor 3, and the working condition and the driver model provide a torque instruction for the tested motor controller 4;
C. a driver model of the upper computer provides a torque instruction for the tested motor controller 4 according to the vehicle speed and the target working condition at the moment, then the tested motor controller 4 drives the power level virtual motor 3, the power level virtual motor 3 simulates stator working current at a power port as an actual motor, simulates a resolver and a temperature signal at a resolver/winding temperature port, and simultaneously feeds back operation parameters to the upper computer 5;
D. the vehicle dynamics model of the upper computer 5 calculates the vehicle speed and the motor load information at the next moment and respectively sends the vehicle speed and the motor load information to the driver model and the virtual motor, and the power battery model calculates the voltage command at the next moment and sends the voltage command to the isolated DC/DC module 2. And the steps are executed in a circulating way.
The step C specifically comprises the following steps:
c1, configuring model parameters/fault parameters, environment temperature/wind speed parameters, cooling liquid temperature/flow parameters and load torque/rotating speed constraint parameters for the power level virtual motor by using the upper computer;
c2, the virtual motor detects the port voltage of the motor through a voltage sensor, then the voltage value is transmitted to a virtual motor real-time control system, and a motor model algorithm of the virtual motor real-time control system calculates the target value of the motor port current, the rotor position/rotating speed, the winding temperature and the output torque at the next moment according to the port voltage and a motor model;
c3, adjusting PWM of each bridge arm according to the error between the port current calculated by the motor model and the port current actually output by the virtual motor by a current control algorithm, so that the current output by the port current simulation module accurately follows the port current calculated by the model. And the circulation current between the bridge arms under each phase is monitored in real time, and PWM is finely adjusted to enable the currents of the bridge arms to be equal. And simultaneously, the rotary transformer/temperature signal simulation module simulates corresponding signals at a rotary transformer port and a temperature sensor port according to the rotor position/rotating speed and winding temperature information calculated by the motor model.
The hardware topology of the port current simulation module is a multi-bridge arm staggered parallel structure, each phase of the port current simulation module is formed by connecting N groups of half-bridges in series with inductors and then in parallel, and the PWM phase difference of each group of half-bridges is 2 pi/N radians during working; when one group of the inverter bridges has faults, the rest n-1 groups of the inverter bridges continue to work, the PWM phase difference is immediately adjusted to be 2 pi/(n-1), and the total capacity of the virtual motor is reduced to be (n-1)/n.
The following simulation and verification is performed by a specific example:
the simulation comparison is respectively carried out on the structures of the controller + the actual motor and the controller + the virtual motor by building a simulink simulation model. The simulation adopts a permanent magnet synchronous motor model in a powerlib library under simulink as a model of an actual motor. The motor controller employs vector control. The main topology of the virtual motor adopts four groups of modules which are connected in parallel in a staggered mode. The specific parameters are as follows:
motor parameters:
Ld=0.375mH
Lq=0.375mH
internal resistance: 12.5m omega
Electrical frequency: 100Hz
Motor controller parameters:
bus voltage: 400V
Switching frequency: 10kHz
Virtual motor parameters:
bridge arm parallel number: 4
One-arm inductance value: 1.5mH
Single-arm internal resistance: 50m omega
Switching frequency: 30kHz
PWM phase difference of pi/2 rad
The structure diagram of the simulink simulation of the controller + the actual motor is shown in fig. 6. The structure diagram of the simulink simulation of "controller + virtual motor" is shown in fig. 7, wherein the structure of the virtual motor part is shown in fig. 8.
The simulation result is shown in fig. 9, the four groups of waveforms are current waveforms of four inductors in the same phase of the virtual motor, and the switching ripples of the four groups of waveforms are sequentially different by 90 degrees.
Fig. 10 is a comparison of two current waveforms of "controller + actual motor" and "controller + virtual motor", where the current waveforms under the two schemes are substantially coincident.
Fig. 11 is a detail comparison of two current waveforms of "controller + actual motor" and "controller + virtual motor", where one of the waveforms is the current waveform of the actual motor, and the other is the current waveform of the virtual motor. As can be seen from fig. 11, the virtual motor not only simulates the fundamental current of the actual motor, but also well restores the higher harmonic current of the motor.
Simulation results prove that the virtual motor adopting the staggered parallel topology can replace and simulate an actual motor, and the current waveform of the actual motor is highly restored.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (4)

1. A hardware-in-loop simulation test system based on a power level virtual motor comprises an isolation type AC/DC rectification module (1), an isolation type DC/DC module (2), a power level virtual motor (3), a tested motor controller (4) and an upper computer (5), and is characterized in that the power level virtual motor comprises a port current simulation module (31), a rotary transformer/temperature signal simulation module (32) and a virtual motor real-time control system (33); after the alternating current is accessed into the system, the alternating current is rectified by an isolation type AC/DC rectification module (1) and then converted into a stable primary direct current power supply to supply power for an isolation type DC/DC module (2) and a power level virtual motor (3), a secondary direct current power supply converted by the isolation type DC/DC module (2) supplies power for a tested motor controller (4), the upper computer (5) provides a torque instruction for the tested motor controller (4) according to the vehicle speed and a target working condition, then the tested motor controller (4) drives the power level virtual motor (3), the power level virtual motor (3) simulates stator working current at a power port through a port current simulation module (31) as an actual motor, simulates a rotation change and a temperature signal at a rotation change/winding temperature port through a rotation change/temperature signal simulation module (32), and simultaneously feeds operation parameters back to the upper computer (5), the upper computer (5) calculates the vehicle speed and the motor load information at the next moment; meanwhile, the upper computer (5) continuously adjusts a voltage instruction of the secondary direct-current power supply according to the power battery model and the power consumption condition of the whole vehicle and sends the voltage instruction to the isolated DC/DC module (2); the hardware topology of the port current simulation module is a multi-bridge arm staggered parallel structure, each phase of the port current simulation module is formed by connecting N groups of half-bridges in series with inductors and then in parallel, and the PWM phase difference of each group of half-bridges is 2 pi/N radians during working; when one group of the inverter bridges has faults, the rest n-1 groups of the inverter bridges continue to work, the PWM phase difference is immediately adjusted to be 2 pi/(n-1), and the total capacity of the virtual motor is reduced to be (n-1)/n.
2. The hardware-in-loop simulation test system based on the power level virtual motor is characterized in that the upper computer (5) comprises a complete vehicle dynamic model, a working condition and driver model, a power battery model, a man-machine interaction interface module and a data recording module, wherein the power battery model provides a voltage instruction for the isolation type DC/DC module (2) and simulates the change of battery voltage in the driving process, the complete vehicle dynamic model provides a load torque or rotating speed constraint parameter for the power level virtual motor (3), and the working condition and the driver model provide a torque instruction for the tested motor controller (4).
3. The hardware-in-loop simulation test system based on the power level virtual motor as claimed in claim 1, wherein the virtual motor real-time control system mainly has two functions of a motor model algorithm and a current control algorithm.
4. A hardware-in-loop simulation test method based on a power level virtual motor comprises the following steps:
A. after the alternating current is accessed into the system, the alternating current is rectified by the isolation type AC/DC rectification module (1) and then converted into a stable primary direct current power supply to supply power for the isolation type DC/DC module (2) and the power level virtual motor (3), and a secondary direct current power supply converted by the isolation type DC/DC module (2) supplies power for the tested motor controller (4);
B. the upper computer (5) runs a power battery model, a whole vehicle dynamic model, a working condition and a driver model, and provides a human-computer interface and a data recording function, the power battery model provides a voltage instruction for the isolated DC/DC module (2) and simulates the change of battery voltage in the driving process, the whole vehicle dynamic model provides a load torque or a rotating speed constraint parameter for the power level virtual motor (3), and the working condition and the driver model provide a torque instruction for the tested motor controller (4);
C. a driver model of the upper computer provides a torque instruction for a tested motor controller (4) according to the vehicle speed and the target working condition at the moment, then the tested motor controller (4) drives a power level virtual motor (3), the power level virtual motor (3) simulates stator working current at a power port as an actual motor, simulates a rotary transformer and a temperature signal at a rotary transformer/winding temperature port, and simultaneously feeds back operation parameters to the upper computer (5);
D. the whole vehicle dynamics model of the upper computer (5) calculates the vehicle speed and the motor load information at the next moment and respectively sends the vehicle speed and the motor load information to the driver model and the virtual motor, and the power battery model calculates the voltage instruction at the next moment and sends the voltage instruction to the isolated DC/DC module (2), and the operation is executed in a circulating manner;
the step C specifically comprises the following steps:
c1, configuring model parameters/fault parameters, environment temperature/wind speed parameters, cooling liquid temperature/flow parameters and load torque/rotating speed constraint parameters for the power level virtual motor by using the upper computer;
c2, the virtual motor detects the port voltage of the motor through a voltage sensor, then the voltage value is transmitted to a virtual motor real-time control system, and a motor model algorithm of the virtual motor real-time control system calculates the target value of the motor port current, the rotor position/rotating speed, the winding temperature and the output torque at the next moment according to the port voltage and a motor model;
c3, adjusting PWM of each bridge arm according to the error between the port current calculated by the motor model and the port current actually output by the virtual motor by using a current control algorithm, enabling the current output by the port current simulation module to accurately follow the port current calculated by the model, monitoring the circulation current between each bridge arm at each phase in real time, and finely adjusting the PWM to enable the currents of each bridge arm to be equal; meanwhile, a rotary transformer/temperature signal simulation module simulates corresponding signals at a rotary transformer port and a temperature sensor port according to the rotor position/rotating speed and winding temperature information calculated by a motor model;
the hardware topology of the port current simulation module is a multi-bridge arm staggered parallel structure, each phase of the port current simulation module is formed by connecting N groups of half-bridges in series with inductors and then in parallel, and the PWM phase difference of each group of half-bridges is 2 pi/N radians during working; when one group of the inverter bridges has faults, the rest n-1 groups of the inverter bridges continue to work, the PWM phase difference is immediately adjusted to be 2 pi/(n-1), and the total capacity of the virtual motor is reduced to be (n-1)/n.
CN201910920139.0A 2019-09-26 2019-09-26 Hardware-in-loop simulation test system and method based on power level virtual motor Expired - Fee Related CN110737207B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910920139.0A CN110737207B (en) 2019-09-26 2019-09-26 Hardware-in-loop simulation test system and method based on power level virtual motor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910920139.0A CN110737207B (en) 2019-09-26 2019-09-26 Hardware-in-loop simulation test system and method based on power level virtual motor

Publications (2)

Publication Number Publication Date
CN110737207A CN110737207A (en) 2020-01-31
CN110737207B true CN110737207B (en) 2020-12-15

Family

ID=69269584

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910920139.0A Expired - Fee Related CN110737207B (en) 2019-09-26 2019-09-26 Hardware-in-loop simulation test system and method based on power level virtual motor

Country Status (1)

Country Link
CN (1) CN110737207B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111624975A (en) * 2020-04-27 2020-09-04 中国空间技术研究院 MSK series brushless DC motor driver verification test system
CN111707935B (en) * 2020-06-12 2022-11-01 上海科梁信息科技股份有限公司 Motor simulation system
CN113805558A (en) * 2020-06-17 2021-12-17 广州汽车集团股份有限公司 Motor controller offline detection system
CN111752260A (en) * 2020-06-18 2020-10-09 威迪斯电机技术(芜湖)有限公司 Motor controller offline automatic test system and method
CN111830930A (en) * 2020-07-15 2020-10-27 上海科梁信息工程股份有限公司 Motor controller simulation test method, system, device and computer storage medium
CN113252359A (en) * 2021-05-14 2021-08-13 宝能(广州)汽车研究院有限公司 Equipment test system and method
AT525947A1 (en) * 2021-12-16 2023-08-15 Avl List Gmbh Test method for testing a component under test of a component of an electric drive of a vehicle on a test bench
CN114489003A (en) * 2021-12-31 2022-05-13 上海科梁信息科技股份有限公司 Motor controller testing device and testing method, and computer-readable storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108416081A (en) * 2018-01-19 2018-08-17 长沙理工大学 A kind of synchronous generator exciting experiment training method based on semi-true object emulation technology

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7880460B2 (en) * 2008-08-12 2011-02-01 Hamilton Sundstrand Corporation Hardware in the loop motor simulation
CN102902263B (en) * 2012-09-28 2016-08-10 北京智行鸿远汽车技术有限公司 New energy vehicle electric machine controller hardware is in loop-around test equipment and method of testing
CN103092187B (en) * 2012-12-28 2014-09-10 清华大学 Hybrid power control system hardware-in-loop experimental platform
CN110032088A (en) * 2019-05-08 2019-07-19 渤海大学 The three-phase alternating-current motor Virtual simulation lab system and experimental method of hardware in loop

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108416081A (en) * 2018-01-19 2018-08-17 长沙理工大学 A kind of synchronous generator exciting experiment training method based on semi-true object emulation technology

Also Published As

Publication number Publication date
CN110737207A (en) 2020-01-31

Similar Documents

Publication Publication Date Title
CN110737207B (en) Hardware-in-loop simulation test system and method based on power level virtual motor
CN106650072B (en) Semi-physical simulation-based virtual grid-connected detection system and method for same generator
Hu et al. Flexible fault-tolerant topology for switched reluctance motor drives
Chen et al. Logic-based methods for intelligent fault diagnosis and recovery in power electronics
Hu et al. Central-tapped node linked modular fault-tolerance topology for SRM applications
Song et al. Analysis and experimental verification of a fault-tolerant HEV powertrain
CN106896323B (en) Main switch fault detection method for asymmetric half-bridge type power converter of switch reluctance motor
CN109655703B (en) Self-checking method, device and equipment for parallel power modules and storage medium
CN102624315A (en) High-precision permanent magnetic servo motor three-closed-loop control system and method
CN204013310U (en) Brushless dual-feed motor direct Torque Control
Orlowska-Kowalska et al. Simple sensorless diagnosis method for open-switch faults in SVM-VSI-fed induction motor drive
Gajanayake et al. Fault tolerant control method to improve the torque and speed response in PMSM drive with winding faults
CN104539220A (en) Self-adaptation pulse width modulation method for three-phase four-switch inverter
Ali et al. Power converter fault detection and isolation using high-frequency voltage injection in switched reluctance motor drives for automotive applications
Oettmeier et al. Machine emulator: Power-electronics based test equipment for testing high-power drive converters
CN112799313A (en) Modeling method of excitation synchronous motor and hardware-in-loop test system
CN103326652A (en) Alternating-current asynchronous motor control system and method
CN109995275B (en) Current source phase modulator variable frequency starting phase change lead angle subsection control method
Ben Mahdhi et al. Experimental investigation of an o pen‐switch fault diagnosis approach in the IGBT‐based power converter connected to permanent magnet synchronous generator‐DC system
CN108963980B (en) Multi-mode fault isolation method based on fault isolation library
CN112100946B (en) Inverter open-circuit fault diagnosis method and device based on fault online simulation
CN108649825B (en) Multi-fault isolation method for cascaded multi-level inverter
Qin et al. PWM Voltage-Based Modeling for PM Machines With Interturn Short Circuit Fault Considering the Effect of Drives
Allen Simulation and test systems for validation of electric drive and battery management systems
CN113126517A (en) Low-voltage ride through test platform for direct-drive fan

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20201215

Termination date: 20210926

CF01 Termination of patent right due to non-payment of annual fee