Embodiment
For making object, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
The structural representation of the AuCT hardware in the loop test-rig that Fig. 1 provides for one embodiment of the invention.As shown in Figure 1, the system of the present embodiment comprises: the first industrial computer 10 and peripheral circuit 20.
The first industrial computer 10, for building the emulation major loop of the primary work loop under the control of simulation AuCT, and the control signal of sending according to the controller 30 of AuCT is controlled emulation major loop, and the feedback signal of emulation major loop is offered to controller 30, to adjust the steering logic of controller 30.
Peripheral circuit 20 comprises a plurality of electronic circuits, and wherein each electronic circuit is connected with the corresponding plug of AuCT respectively.Whole peripheral circuit 20 is for building the working environment of controller 30.
In the present embodiment, peripheral circuit 20 comprises: in order to simulate the contactor analog submodule circuit 21 of duty of the contactor of AuCT, in order to simulate the fuse analog submodule circuit 22 of duty of the fuse of AuCT, fan analog submodule circuit 23 in order to the duty of the fan of AuCT, in order to simulate the overtemperature prote analog submodule circuit 24 of duty of the transformer Overtemperature protection circuit of AuCT, in order to the signal that the amplitude of the feedback signal of the analog input channel of input AuCT is adjusted, adjust electronic circuit 25, in order to simulate igbt (the Insulated Gate Bipolar Transistor of AuCT, referred to as: IGBT) the anti-phase electronic circuit 26 of duty, in order to measure AuCT temperature of power module temperature survey electronic circuit 27 and in order to regulate the speed governing electronic circuit 28 of the rotation speed of the fan of AuCT.
Wherein, contactor analog submodule circuit 21 is connected with the plug X082 of controller 30 output contactor control signals, be used for receiving contactor control signal, and contactor analog submodule circuit 21 is also connected with the plug X080 that controller 30 receives contactor response signal (claiming again contactor feedback signal), for returning to contactor response signal to controller 30.Comparatively preferred, contactor analog submodule circuit 21 can be an electromagnetic relay, is connected between plug X082 and plug X080, with electromagnetic relay, carrys out simulating contact device.When controller 30 sends the control signal of control contactor closure or disconnection, electromagnetic relay disconnects accordingly or is closed, and by auxiliary contact, response signal is returned to controller 30.In addition, the first industrial computer 10 is also connected with contactor analog submodule circuit 21, for the contactor control signal of acquisition controller 30 outputs.
Wherein, when AuCT is normally worked, fuse, fan, transformer Overtemperature protection circuit should be all normal, also just say and on fuse, fan and the transformer Overtemperature protection circuit being connected with plug X081, have the input of normal working signal.In the present embodiment, by fuse analog submodule circuit 22, fan analog submodule circuit 23 and overtemperature prote analog submodule circuit 24 are connected in to plug X081, simulate the normal working signal of fuse, fan and transformer Overtemperature protection circuit respectively.Comparatively preferred, fuse analog submodule circuit 22, fan analog submodule circuit 23 and overtemperature prote analog submodule circuit 24 are respectively a normally closed push button switch, and the two ends of normally closed push button switch are connected to the two ends of plug X081.With normally closed push button switch, in closed condition, simulate normal operating conditions, with normally closed push button switch, in off-state, simulate the malfunction of fuse, fan and transformer Overtemperature protection circuit.
It is plug X371 and/or X372 for the feedback signal of the first industrial computer 10 outputs being sent into the analog input channel of AuCT that signal is adjusted electronic circuit 25.Because the signal amplitude of the first industrial computer output is conventionally between 0-5V, and the receptible signal amplitude scope of AuCT is-arrive+5V of 5V, therefore the amplitude that the present embodiment is adjusted 25 pairs of feedback signals of electronic circuit by signal is adjusted, be adjusted into the scope that AuCT can be identified, and then send into analog input channel.The input end that this signal is adjusted electronic circuit 25 is connected with the first industrial computer 10, and for receiving feedback signals, its output terminal is connected with analog input channel, the feedback signal after adjusting for output amplitude.The signal of the present embodiment is adjusted electronic circuit 25 except the amplitude of feedback signal is adjusted, and also can to feedback signal, adjust for the satisfied condition that is greater than 50 milliamperes (mA) of electric current of assurance part input channel.
Wherein, IGBT is generally operational in high frequency switch-mode, and turning on and off of IGBT is to be added in voltage-controlled on IGBT gate pole by outside.IGBT is the Primary Component that power electronic equipment is changed, and whether power electronic equipment in the course of the work necessary implementing monitoring IGBT work is normal, once there is abnormal necessary closing device immediately, this just requires the feedback of necessary real-time monitoring IGBT.When AuCT is normally worked, controller 30 can send IGBT control signal, on the plug X252 of AuCT, has the output of IGBT control signal, to control conducting and the shutoff of IGBT; Meanwhile, IGBT also can return to its status signal to controller 30 by plug X254.Wherein, the status signal that IGBT control signal is returned with IGBT is contrary relation, for example: when IGBT control signal is high level, status signal is exactly low level; When IGBT control signal is low level, status signal is exactly high level, therefore the present embodiment is used for Simulation with I GBT by anti-phase electronic circuit 26, and to giving controller after the negate of IGBT control signal, controller just thinks that IGBT is normal, could continue to keep duty so.Conventionally IGBT is realized by the power model of AuCT, therefore the anti-phase electronic circuit 26 of the present embodiment is also equivalent to simulated power module.Concrete, anti-phase electronic circuit 26 is connected between plug X252 and plug X254, for receiving IGBT control signal and returning to IGBT control signal (being status signal) after negate to controller 30.In addition, in the present embodiment, the first industrial computer 10 is also connected with anti-phase electronic circuit 26, for the IGBT control signal of acquisition controller 30 outputs.
In order to measure the temperature of power model, the present embodiment is by being connected to temperature survey electronic circuit 27 the upper measurement realizing temperature of power module of the plug X251 corresponding with power model.Wherein, temperature survey electronic circuit 27 can be by being arranged on the air inlet of power model and two PT100 temperature sensors of air outlet are realized.Each PT100 temperature sensor is the resistance that resistance can change along with the variation of temperature, can be by measuring the resistance of two adjustable resistances and obtaining the temperature of power model according to the temperature variant characteristic of resistance.
In addition, the present embodiment is simulated the adjustment to rotation speed of the fan by speed governing electronic circuit 28.In actual applications, the speed governing of fan is to send current signal by controller 30, and current signal is given fan after the resistance on being arranged on A7 installing plate is converted to voltage signal, by regulating the size of current signal to realize the adjusting of rotation speed of the fan.Therefore the two ends by the plug X093 at controller 30 output current signals connect the speed regulating control that speed governing electronic circuit 28 is realized fan in the present embodiment.Wherein, the circuit in speed governing electronic circuit 28 simulation practical work process; Comparatively preferred, the speed governing electronic circuit 28 of the present embodiment can be a resistance that is connected in plug X093 two ends.
Further, the first industrial computer 10 is connected with anti-phase electronic circuit 26 with contactor analog submodule circuit 21 respectively by digital input data capture card, in order to contactor control signal and the IGBT control signal sending by digital input data capture card acquisition controller 30.The first industrial computer 10 is exported data collecting card by simulation and is connected with signal adjustment electronic circuit 25, in order to export data collecting card by simulation, sends to signal to adjust electronic circuit 25 feedback signal.Wherein, first industrial computer 10 of the present embodiment has the interface that allows numeral input capture card or simulation output data collecting card to insert, for example Peripheral Component Interconnect (Peripheral Component Interconnect; Referred to as: PCI) interface, industrial standard structure (Industry Standard Architecture; Referred to as: ISA) interface etc.
The AuCT hardware in the loop test-rig of the present embodiment, by peripheral circuit 20, simulate the working environment of AuCT, and by the emulation major loop of the primary work loop under the first industrial computer structure AuCT control, realization to AuCT with and control under the emulation of workflow of primary work loop, the operating characteristic of AuCT is analyzed and is realized the object of its duty of monitoring in simulation process, no longer be subject to the restriction of the large electric current of actual working environment high voltage appearance, be no longer subject to the restriction of external condition.For example: in measuring the input voltage protection pH-value determination pH process of AuCT; need an above duration of 4280V to be accurately controlled at the externally fed voltage of 20ms; the power supply of this requirement is what be difficult to realize, and the pulse that increases a lasting 20ms on the software of hardware in the loop test-rig just can realize the simulation that is accurately controlled to the externally fed voltage of 20ms the above duration of 4280V.Moreover, the AuCT half actual loading test system of the present embodiment can also be simulated the operating characteristic of AuCT under different loads operating mode, if and there is no the AuCT half actual loading test system of the present embodiment, with regard to must preparing various loads and various loads being connected on real AuCT and being tested, research cost and danger have been increased.
The structural representation of the AuCT hardware in the loop test-rig that Fig. 2 provides for one embodiment of the invention.The present embodiment is based on realization embodiment illustrated in fig. 1, and as shown in Figure 2, the system of the present embodiment also comprises: the second industrial computer 40.
The second industrial computer 40 is connected with anti-phase electronic circuit 26 with contactor analog submodule circuit 21 respectively, for receiving the control signal that controller 30 sends and being stored and show.Wherein, the second industrial computer 40 also has the interface that allows digital input data capture card and analog input data collecting card to insert, such as pci interface, ISA interface etc.Concrete, the second industrial computer 40 is connected with contactor analog submodule circuit 21 by digital input data capture card, for receiving by digital input data capture card and contactor analog submodule circuit 21 the contactor control signal that controller 30 sends, and show in real time and contactor control signal is stored contactor control signal for inquire about and analyze the operating characteristic of AuCT in the future and lay the first stone simultaneously.The second industrial computer 40 is connected with the output terminal of anti-phase electronic circuit 26 by digital input data capture card, for receiving by digital input data capture card and anti-phase electronic circuit 26 the IGBT control signal that controller 30 sends, and show in real time and IGBT control signal is stored IGBT control signal for inquire about and analyze the operating characteristic of AuCT in the future and lay the first stone simultaneously.In addition, the second industrial computer 40 is also adjusted electronic circuit 25 with signal and is connected, the output terminal of specifically adjusting electronic circuit 25 by analog input Data Acquisition Card with signal is connected, for being received the feedback signal after amplitude adjustment and stored and show by analog input data collecting card.
In embodiments of the present invention, analog input data collecting card can, with 75KHz frequency collection data, adopt asynchronous direct memory access (Direct Memory Access; Referred to as: reading out data in the user cache district (buffer) that DMA) mode arranges from it.Wherein, on analog input data collecting card, can be provided with the user cache district of 200K.In like manner, digital input data capture card can be with 2MHz frequency collection data, reading out data in the user cache district that employing Asynchronous DMA mode arranges from it.Wherein, on digital input data capture card, can be provided with the user cache district of 20K.
Such as: the display interface part on the second industrial computer 40 mainly comprises: waveform viewing area, function button district, AuCT main circuit schematic diagram district etc.Waveform viewing area is similar to oscillographic display window, can show the data waveform that each passage by digital input data capture card and/or analog input data collecting card reads up.In the present embodiment, this display window shows 6 road IGBT high-frequency impulses, be respectively IGBT1, IGBT2, IGBT3, IGBT4, IGBT6 and IGBT6,3 way switch quantity of states, be respectively Q21, Q22/23 and Q30,11 tunnel analog quantitys, are respectively T21-T23, T30-T32, T33, T34, T10, T11, T12.In the present embodiment, the second industrial computer 40 can be realized by the mode of continuous setting-out section in drawing (Picture) control in the Visual Basic of mapping software.This method is relatively applicable to show that data volume is less, shows the not high occasion of requirement of real-time.The mass data arriving for high speed acquisition, and the higher system of requirement of real-time, second industrial computer 40 of the present embodiment is by calling window application interface (Application Programming Interface; Referred to as: API) function is used the mode of two display buffers greatly to improve flicker problem.The demonstration thought of two display buffers is that two viewing areas are set, and the first viewing area is that the second viewing area is as interface display as slow aobvious (user can't see).First data are drawn on first viewing area, after painting first viewing area, again by all data Replicas to the second viewing area on first viewing area, are shown to operation user, by extending refresh interval, alleviated the phenomenon of frequent flicker.
In addition, second industrial computer 40 of the present embodiment can also provide the function of wave shape playback.Concrete, the second industrial computer 40, by being provided with one and display buffer playback buffer memory of a size, directly copies to playback buffer memory by data.
In addition, except display waveform, second industrial computer 40 of the present embodiment can also show the data that collect.But owing to need to showing the uncertainty of data bulk, the speed of demonstration is always faster or slower than the picking rate of digital input data capture card and/or analog input data collecting card.For addressing this problem, on second industrial computer 40 of the present embodiment, a larger display buffer is set, the memory space of display buffer is the maximum data volume that can show of display window, and the capture program by digital input data capture card and/or analog input data collecting card constantly to refresh display buffer be the data that continuous acquisition arrives with what guarantee to store in display buffer, guaranteed the stability of shown data waveform.
Function button district is the platform of human-machine operation, and user can, according to corresponding operating function, reach the object of expection.For example: horizontal adjustment district can adjust the time base of waveform viewing area horizontal ordinate, can carry out horizontal scaling to display waveform.The vertical district that adjusts can make display waveform move up and down, and is presented at vertical different region, is convenient to the observation of waveform.
AuCT main circuit schematic diagram district shows the schematic diagram of main circuit, Q21, and Q22/23, the state of Q30 switch can show in the drawings intuitively.In addition, in schematic diagram, also identified each need display waveform position in the drawings.
For the ease of the later stage, to the data analysis collecting, the storage of data is essential.Second industrial computer 40 of the present embodiment also has the function of storage data, and can in storage data, guarantee integrality and the real-time of data.Wherein, in order to guarantee integrality and the real-time of data, the mode that second industrial computer 40 of the present embodiment adopts read-write texts at a high speed, reliably data are deposited in Excel 2003 worksheets of MS Office Applications (Microsoft Office).
The AuCT hardware in the loop test-rig of the present embodiment, the feedback signal that the control signal of sending by the second industrial computer gathering simulation process middle controller and emulation major loop return, and show in real time, for analyzing the operating characteristic of AuCT, provide convenience, the course of work that simultaneously can check more intuitively AuCT, monitors the workflow of AuCT more intuitively.
In this explanation, the present embodiment comes display control signal and feedback signal by being different from the second industrial computer of the first industrial computer, but is not limited to this.For example: the first industrial computer and the second industrial computer can be same industrial computer, the first industrial computer in building emulation major loop and carry out the process of emulation, can also show simultaneously with storage emulation process in control signal and feedback signal.
In the various embodiments described above, the first industrial computer 10 is by matrix experiment chamber (Matrix Laboratory; Referred to as: MATLAB) emulation in simulation software (Simulink) tool box builds emulation major loop, and constructed emulation major loop comprises in order to the input interface of reception control signal with in order to the output interface of output feedback signal.Wherein, Figure 3 shows that the emulation major loop structure schematic diagram that one embodiment of the invention provides.As shown in Figure 3, the emulation major loop of the present embodiment comprises: input interface 31, output interface 32, major loop part 33 and external power source part 34.
Wherein, input interface 31, in order to receive contactor control signal or IGBT control signal.Output interface 32, in order to output feedback signal.
As shown in Figure 3, major loop part 33 mainly comprises the subdivision of the IGBT circuit in 6 IGBT module composition simulation AuCTs; The subdivision of the sensor in the simulation AuCT being formed by 11 modules such as T21, T22, T23, T30, T31, T32, T33, T34, T10, T11, T12 etc.; Subdivision by the subdivision of the direct supply of the simulation AuCT of DC0 and DC1 module composition, amplitude regulator in the simulation AuCT of 11 module compositions such as gain G 1-G11; And the subdivision of the contactor in the simulation AuCT of 3 module compositions such as Q21, Q22/Q23, Q30 etc.
Because CRH3 type car AuCT is incorporated into the power networks, while that is to say normal work, the ac bus that full row connect of passing through of all AuCTs connects together simultaneously and works.It is in order to simulate other AuCT that external power source part 34 is set in the present embodiment, supposes that other AuCT normally worked and exported three-phase supply.External power source part 34 mainly comprises the external ac power source of SS module simulation, voltage sensor t30, t31, t32, and the gain G 7, G8, the G9 etc. that adjust signal amplitude.
In this explanation, the emulation major loop of the present embodiment is not limited to each part mentioned above, according to the object of practical application scene and test, can also increase new emulation loop or delete part loop wherein.
The emulation major loop of the present embodiment is used the existing module in Simulink to realize, and has and realizes simply, by emulation major loop analog operation major loop, has avoided the restriction of the high-voltage large current in real work environment.
The process flow diagram of the AuCT Hardware In The Loop Simulation Method that Fig. 4 provides for one embodiment of the invention.The AuCT hardware in the loop test-rig that the method for the present embodiment provides based on above-described embodiment is realized, and as shown in Figure 4, the method for the present embodiment comprises:
Step 400, by contactor analog submodule circuit, fuse analog submodule circuit, fan analog submodule closing of circuit.
This step 400 is for guaranteeing that AuCT is in normal operating conditions.
Step 401a, when the controller of AuCT sends IGBT control signal, anti-phase electronic circuit receives IGBT control signal, IGBT control signal is sent to the first industrial computer, and will after the negate of IGBT control signal, send to controller.
Step 401b, the first industrial computer are sent IGBT control signal into emulation major loop, to control the action of emulation major loop, and send to signal to adjust electronic circuit the feedback signal of emulation major loop.
The analog input channel that step 401c, signal adjustment electronic circuit are adjusted rear logical AuCT to the amplitude of feedback signal is sent into controller.
Step 402a, when the controller of AuCT sends contactor control signal, contactor analog submodule circuit receives contactor control signal, contactor control signal is sent to the first industrial computer, and return to response signal to controller.
Step 402b, the first industrial computer are sent contactor control signal into emulation major loop, to control the action of emulation major loop, and send to signal to adjust electronic circuit the feedback signal of emulation major loop.
Step 402c, signal are adjusted after electronic circuit is adjusted the amplitude of feedback signal and are sent into controller by the analog input channel of AuCT.
The AuCT Hardware In The Loop Simulation Method of the present embodiment, by using AuCT hardware in the loop test-rig, the control flow of simulation AuCT, the emulation of realization to the course of work of AuCT, thus realize the analysis of the operating characteristic of AuCT and the monitoring to the duty of AuCT.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can complete by the relevant hardware of programmed instruction, aforesaid program can be stored in a computer read/write memory medium, this program, when carrying out, is carried out the step that comprises said method embodiment; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CDs.
Finally it should be noted that: above embodiment only, in order to technical scheme of the present invention to be described, is not intended to limit; Although the present invention is had been described in detail with reference to previous embodiment, those of ordinary skill in the art is to be understood that: its technical scheme that still can record aforementioned each embodiment is modified, or part technical characterictic is wherein equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.