Utility model content
The purpose of this utility model is to provide a kind of hardware-in―the-loop test system, real voltage, curent change can be simulated in system cloud gray model on the impact of system, also the operation of system in superpressure and under-voltage process can be simulated, can also the working condition of analog electrical system truly.
For solving the problems of the technologies described above, embodiment of the present utility model provides a kind of power hardware in ring test system, comprises: equipment to be tested, simulator, convertor equipment and the first power apparatus;
Described equipment to be tested is connected with described convertor equipment; Described convertor equipment is connected with described simulator through described first power apparatus;
Wherein, described simulator is used at signal level simulation controlled plant, and exports weak electric signal to described first power apparatus;
Described first power apparatus, receives described weak electric signal, and by the weak electric signal of reception according to preset scale amplifying be forceful electric power signal, simulate described controlled plant in power level.
The utility model embodiment in terms of existing technologies, utilize simulator to simulate controlled plant at signal level, and export the weak electric signal of simulation to first power apparatus, first power apparatus is according to the weak electric signal received, in power level, controlled plant is simulated, like this, first power apparatus can provide power level signal for convertor equipment, and then real voltage, curent change can be simulated in system cloud gray model on the impact of system, also the operation of system in superpressure and under-voltage process can be simulated, can also the working condition of analog electrical system truly.
In addition, described equipment to be tested can be hybrid power whole vehicle controller (HCU).
In addition, described convertor equipment comprises electric machine controller, DC to DC converter and DC-AC converter; Described first power apparatus comprises the first power amplifier, the second power amplifier and the 3rd power amplifier; Described electric machine controller, DC to DC converter, DC-AC converter are all connected with described HCU; Described electric machine controller, DC to DC converter are connected with described simulator respectively through described first power amplifier, the second power amplifier, the 3rd power amplifier with DC-AC converter; Wherein, described controlled plant comprises motor, DC load equipment, AC load equipment; The weak electric signal of simulation respectively at signal level simulated machine, DC load equipment, AC load equipment, and is exported to the first power amplifier, the second power amplifier and the 3rd power amplifier by described simulator respectively; First power amplifier, the second power amplifier, the 3rd power amplifier respectively according to receive weak electric signal at power level simulated machine, DC load equipment, AC load equipment.Can by power amplifier to arranging various fault, as high voltage fault, low voltage failure, over current fault etc., because power amplifier is arranged conveniently, flexibly, directly can be connected with civilian electricity by circuit.
In addition, described second power apparatus is all connected with described convertor equipment, described simulator, for simulated power source device.Like this, can set freely the voltage of power sourcing equipment, and real power source device cannot realize this function, breaches the limitation of hardware-in―the-loop test system in prior art.And, the operating instability of power supply can also be avoided, and the danger produced in power supply operation, security of system is high.
In addition, AC-DC converter and current sensor is also comprised; Described current sensor, described AC-DC converter are connected in turn between described HCU and described second power apparatus.
In addition, described 3rd power amplifier comprises voltage amplifier; Described voltage amplifier is connected between described DC-AC converter and AC load equipment.Like this, both supply voltage can be set flexibly, the operating instability of power supply can be avoided again, and the danger produced in power supply operation, security of system is high.
In addition, also impedance is comprised; Described equipment to be tested is connected with described convertor equipment through described impedance.
In addition, described impedance comprises resistance and inductance; Described equipment to be tested is connected with described convertor equipment through described inductance, resistance successively.
In addition, be connected by controller local area network's CAN between described HCU with described convertor equipment.
In addition, described simulator is connected by interface with described first power apparatus.
Embodiment
For making the purpose of this utility model, technical scheme and advantage clearly, below in conjunction with accompanying drawing, each embodiment of the present utility model is explained in detail.But, persons of ordinary skill in the art may appreciate that in each embodiment of the utility model, proposing many ins and outs to make reader understand the application better.But, even without these ins and outs with based on the many variations of following embodiment and amendment, each claim of the application technical scheme required for protection also can be realized.
A better embodiment of the present utility model relates to a kind of power hardware in ring test system, concrete structure as shown in Figure 1, comprises: equipment to be tested, controller group, simulator, convertor equipment, impedance 203, AC-DC converter (AC/DC), current sensor 201, first power apparatus and the second power apparatus.
Wherein, the second power apparatus is used for simulated power source, is all connected with simulator, convertor equipment.Wherein, power source both can be battery, also can be other power sourcing equipment such as super capacitor.The second power apparatus and simulator is used to come common simulated power source to feeding electric motors, therefore can set freely the voltage of power source, and real power source cannot realize this function, breach the limitation of hardware-in―the-loop test system in prior art.And, the operating instability of power supply can also be avoided, and the danger produced in power supply operation, security of system is high.
In the present embodiment, simulator in the upper realization of industrial computer (industrial control computer), and is connected by interface with the first power apparatus.The realistic model of controlled plant is preserved in simulator.When testing, simulator Dynamic simulation model, simulates each controlled plant at signal level, and exports the weak electric signal representing each controlled plant characteristic.Wherein, in the hardware-in―the-loop test of hybrid power whole vehicle controller, controlled plant comprises: motor, DC load equipment, AC load equipment and power source, simulator respectively at signal level simulated machine, DC load equipment, AC load equipment and power source, and exports the weak electric signal of simulation to the first power apparatus and the second power apparatus.
In industrial computer, simulator carrys out simulated machine according to motor model and runs, the ruuning situation of reaction motor.Such as, when IGBT (insulated gate bipolar transistor) driving circuit, motor should produce great electric current, exports how many moments of torsion.But electric machine controller itself is power device, built-in capacitance and large-scale power device, must be connected with power apparatus, and therefore, industrial computer can not meet testing requirement.Therefore, need power amplifier device to simulate required power, and the power of required output is instructed by industrial computer.
In the present embodiment, the first power apparatus comprises the first power amplifier, the second power amplifier and the 3rd power amplifier.Wherein, simulator exports the weak electric signal of simulated machine, DC load equipment, AC load equipment 204 to the first power amplifier, the second power amplifier and the 3rd power amplifier respectively.First power amplifier, the second power amplifier and the 3rd power amplifier, according to the weak electric signal received, are forceful electric power signal according to the scale amplifying preset, at power level simulated machine, DC load equipment, AC load equipment 204 respectively.Specifically, first power apparatus receives the control signal from simulator by communication interface, and the voltage preset is exported according to control signal, thus realize the object changing equipment working condition to be tested, under different working conditions, complete the standardized test of Devices to test various aspects.Like this, when testing, the first power amplifier, the second power amplifier and the 3rd power amplifier can electric current that is virtually reality like reality, voltage change procedure, and directly can be connected with convertor equipment, to breach power of test of the prior art.Run by real electric current and voltage and can find out the operation troubles that high-voltage operation process is potential, as short circuit phenomenon, open fault, superpressure and under-voltage phenomenon etc., the processing power of HCU is tested, shorten the HCU construction cycle, improve efficiency.Traditional approach just can only can carry out these tests after having HCU product, and then rectifies and improves, and efficiency is much lower.
The circuit structure of the first power amplifier, the second power amplifier as shown in Figure 3, the circuit structure of the 3rd power amplifier as shown in Figure 4, wherein, 301 is IGBT, and 302 is direct current reactor, 303 is electric capacity of voltage regulation, 304 is even resistance, and 305 is output filter, and 401 is diode, the positive pole of DC+ and DC/DC output terminal is connected, and the negative pole of DC-and DC/DC output terminal is connected.
Specifically, as shown in Figure 2, the 3rd power amplifier comprises voltage amplifier 201; Voltage amplifier 201 is connected between DC-AC converter and AC load equipment 204.Voltage amplifier 201 for analog voltage V1, and is connected directly between on HCU.
In the present embodiment, convertor equipment comprises electric machine controller, DC to DC converter (DC/DC) and DC-AC converter (DC/AC), electric machine controller, DC to DC converter, DC-AC converter are all connected with HCU by CAN (controller local area network) bus 101, are also connected with simulator with the 3rd power amplifier respectively through the first power amplifier, the second power amplifier.On the one hand, electric machine controller needs current detection feedback and could normally run, (breaking down because electric machine controller sampling will be thought less than motor).Traditional approach adopts motor bench, floor area is large, noise is large, have high-speed rotating mechanical part, danger coefficient is high, and motor bench can only for the electric machine controller of certain power section, electric machine controller for other power levels can only build motor bench more again, and with the first power amplifier at power level simulated machine, different motors can be realized by means of only optimum configurations, to be applicable to the electric machine controller of certain power section, reduce floor area, eliminate danger, and easy to use.On the other hand, this test macro can support that DC/DC and DC/AC normally runs, and could normal control voltage export, and the first power apparatus can Reality simulation load because these equipment need to connect real load.
In the present embodiment, equipment to be tested is hybrid power whole vehicle controller (HCU).HCU is connected with convertor equipment (electric machine controller, DC/DC, DC/AC) through impedance 203, for being controlled the first power amplifier, the second power amplifier and the 3rd power amplifier respectively by electric machine controller, DC/DC, DC/AC.In the present embodiment, impedance comprises resistance (R) and inductance (L); HCU is connected with electric machine controller, DC/DC, DC/AC through inductance (L), resistance (R) successively.
Current sensor 201, AC-DC converter (AC/DC) are connected in turn between HCU and the second power apparatus.Specifically, be the node that current sensor 201 one end is connected between resistance (R) and inductance (L), the other end is connected with AC-DC converter (AC/DC).The analog current (I1) of the reality gathered feeds back in simulator by current sensor 201, forms the current source (I2) of simulation.
Resistance (R) and inductance (L) are the simulations to carrying out in real circuits, simulator is according to the current signal collected, determine whether current electric current reaches the electric current of needs, if do not reached, then regulate V2, the less then electric current of V2 is larger, and V2 is larger, and then electric current is less.I2 is made to arrive the value needed by regulating V2.Wherein, I1 and V1 is real electric current and voltage, the numeral electric current of I2 and V2 and voltage.
Because industrial computer can produce real electric current by direct control voltage, by gathering the operation characteristic that electric current carries out voltage controlling to reflect circuit again, do not need material calculation, application is convenient.And in real-time simulation machine, mathematical formulae is needed to express to the circuit of test macro, and this mathematical formulae operationally, the middle course of work needs numeral to express, but this expression runs certain deviation with actual circuit, and need very little operation step-length to the simulation of test macro circuit, calculated amount is large.
Controller group comprises other controllers comprised in car load, does not introduce at this.
The utility model embodiment in terms of existing technologies, utilize simulator to simulate controlled plant at signal level, and export the weak electric signal of simulation to first power apparatus, first power apparatus is according to the weak electric signal received, in power level, controlled plant is simulated, like this, first power apparatus can be electric machine controller, DC/DC, the convertor equipments such as DC/AC provide power level signal, and then real voltage in system cloud gray model can be simulated, curent change is on the impact of system, also the operation of system in superpressure and under-voltage process can be simulated, can also the working condition of analog electrical system truly.
In addition, this test macro makes electrical phenomena have repeatability, as double faults, repeats motor operating condition etc.Like this, repeatedly can verify test result, improve the reliability of test result.
Persons of ordinary skill in the art may appreciate that the respective embodiments described above realize specific embodiment of the utility model, and in actual applications, various change can be done to it in the form and details, and do not depart from spirit and scope of the present utility model.