Summary of the invention
The object of the present invention is to provide the emulation test methods and system of a kind of valve control device based on FPGA, realize to valve
Control device deeply, comprehensively completely test, and improves the emulation testing ability and level of valve control device.
The embodiment of the invention provides a kind of emulation test methods of valve control device based on FPGA, comprising:
The working condition of Real Time Digital Simulator analog DC transmission system, and generate fortune corresponding with the working condition
Row information;
Practical Project control protection equipment generates the first control parameter and the second control according to the operation information received
Parameter processed;
The Real Time Digital Simulator is according to first control parameter received, to the DC power transmission system of simulation
The working condition of system is updated;
The Real Time Digital Simulator generates the detection electric current of the valve block of inverter in the DC transmission system of simulation
Voltage, and the detection Current Voltage is sent to valve module analog card;
The valve module analog card is according to the detection Current Voltage received to the DC transmission system of simulation
The valve block of middle inverter is detected, and the Current Voltage letter of the valve block of inverter in the DC transmission system of simulation is obtained
Breath;
The valve module analog card judges the current-voltage information, obtains the judgement of the current-voltage information
As a result, being handled according to state of the judging result to the valve block of the inverter;
The Practical Project control protection equipment generates the touching of the valve block of inverter in the DC transmission system of simulation
Hair control signal, and the Trig control signal is sent to valve control device;
The valve control device is converted according to the Trig control signal received, obtains the DC power transmission system of simulation
The start pulse signal of the valve block of inverter in system, and the start pulse signal is sent to the valve module analog card;
The Real Time Digital Simulator is according to the state processing result of the valve block of the inverter and described in receiving
Start pulse signal and second control parameter, are updated the working condition of the DC transmission system of simulation.
Preferably, when the valve control device detects that the valve block of the inverter breaks down, the valve control device pair
The Practical Project control protection equipment sends fault-signal.
Preferably, first control parameter includes the simulation in addition to the inverter of the DC transmission system of simulation
The DC transmission system operating status;Second control parameter includes the change of current of the DC transmission system of simulation
The operating status of device.
Preferably, the valve module analog card judges the current-voltage information, obtains the Current Voltage letter
The judging result of breath is handled according to state of the judging result to the valve block of the inverter, is specifically included:
Detect the voltage direction and size of the valve block of the inverter;
When detecting the voltage direction of valve block of the inverter is positive direction, then judge that the valve block of the inverter is
It is no in the conductive state;
If it is not, when the forward voltage of the valve block of the inverter is greater than preset first protection threshold value, the valve module
Analog card carries out reissuing trigger pulse to the valve block of the inverter, and the valve block of the inverter is connected;
When detecting the voltage direction of valve block of the inverter is negative direction, then judge that the valve block of the inverter is
It is no in an off state;
If so, when the negative voltage change rate of the valve block of the inverter is greater than preset second protection threshold value, it is described
Valve module analog card sends light trigger pulse to the valve block of the inverter, and the valve block of the inverter is connected.
Preferably, after obtaining the current-voltage information of the DC transmission system of simulation, further includes:
Detect the size of current of the valve block of the inverter;
When detecting the electric current of valve block of the inverter is zero, the valve module analog card is sent out to the valve control device
Current over-zero cut-off signals are sent, the valve control device sends the practical control for the current over-zero cut-off signals received and protects
Protect equipment.
It is preferably, described that the start pulse signal is sent to the valve module analog card, further includes:
The valve module analog card detects the forward voltage of the valve block of the inverter, when the forward voltage is big
When preset third protects threshold value, corresponding time inspection signal of the valve block for sending the inverter to the valve control device.
Preferably, described when the valve control device detects that the valve block of the inverter breaks down, the valve control dress
It sets and protection equipment transmission fault-signal is controlled to the Practical Project, specifically include:
When N piece valve block is connected due to carrying out and reissuing trigger pulse in the single valve for detecting the inverter, to described
Practical Project control protection equipment sends alarm signal;
When M piece valve block does not return to corresponding time inspection signal in the single valve for detecting the inverter, to the reality
Engineering Control protects equipment to send alarm signal;
When detecting the valve block pulsing failure of the inverter, protection equipment is controlled to the Practical Project and is sent
Alarm signal;
When P piece valve block is connected due to carrying out and reissuing trigger pulse in the single valve for detecting the inverter, to described
Practical Project control protection equipment sends trip signal;
When Q piece valve block does not return to corresponding time inspection signal in the single valve for detecting the inverter, to the reality
Engineering Control protects equipment to send trip signal.
Preferably, the valve module analog card uses the valve module analog card based on FPGA, is removed by FPGA programming simulation
The equipment in valve control system except valve control device.
Preferably, the Real Time Digital Simulator is equipped with human-computer interaction interface;By the human-computer interaction interface to described
Circuit element parameter and component type are modified in the DC transmission system of Real Time Digital Simulator simulation, to change
State the working condition of the DC transmission system of Real Time Digital Simulator simulation.
Preferably, the electricity for the DC transmission system that the human-computer interaction interface simulates the Real Time Digital Simulator
Road carries out fault setting, realizes the fault for simulating the DC transmission system.
The embodiment of the invention also provides a kind of emulation test systems of valve control device based on FPGA, comprising: is used for mould
The valve module analog card of equipment in the quasi- valve control system in addition to valve control device, the reality for simulating true DC transmission system
When digital simulator, Practical Project control protection equipment, valve control device;The Practical Project control protection equipment and the valve control
Device is communicated by optical fiber bidirectional, and the valve control device and the valve module analog card are communicated by optical fiber bidirectional, the valve mould
Block analog card and the Real Time Digital Simulator by Aurora agreement both-way communication, the Practical Project control protection equipment with
The Real Time Digital Simulator passes through I O Interface both-way communication.
Compared with the existing technology, the emulation test method of a kind of valve control device based on FPGA provided in an embodiment of the present invention
Beneficial effect be: the emulation test method of the valve control device based on FPGA includes: that Real Time Digital Simulator simulation is straight
The working condition of transmission system is flowed, and generates operation information corresponding with the working condition;Practical Project control protection equipment
According to the operation information received, the first control parameter and the second control parameter are generated;The Real Time Digital Simulator root
According to first control parameter received, the working condition of the DC transmission system of simulation is updated;The reality
When digital simulator generate the detection Current Voltage of the valve block of inverter in the DC transmission system of simulation, and by the inspection
It surveys Current Voltage and is sent to valve module analog card;The valve module analog card is according to the detection Current Voltage received to mould
The valve block of inverter is detected in the quasi- DC transmission system, obtains inverter in the DC transmission system of simulation
Valve block current-voltage information;The valve module analog card judges the current-voltage information, obtains the electric current
The judging result of information of voltage is handled according to state of the judging result to the valve block of the inverter;The reality
Engineering Control protects equipment to generate the Trig control signal of the valve block of inverter in the DC transmission system of simulation, and by institute
It states Trig control signal and is sent to valve control device;The valve control device is converted according to the Trig control signal received, is obtained
The start pulse signal of the valve block of inverter in the DC transmission system that must be simulated, and the start pulse signal is sent
To the valve module analog card;The Real Time Digital Simulator is according to the state processing result of the valve block of the inverter and connects
The start pulse signal received and second control parameter, to the working condition of the DC transmission system of simulation into
Row updates.This method is by removing valve control using the simulation of valve module analog card and filling in existing DC control protecting platform technology
The equipment in valve control system except setting, wherein valve module analog card is mainly to carry out valve block by the valve block to the inverter
Grade simulation, thus realize to valve control device carry out deeply, comprehensive complete test, improve valve control device emulation testing ability and
It is horizontal.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
Referring to Fig. 1, it is a kind of emulation test method of valve control device based on FPGA provided in an embodiment of the present invention
Flow diagram, the emulation test method of the valve control device based on FPGA, comprising:
S100: the working condition of Real Time Digital Simulator analog DC transmission system, and generate and the working condition pair
The operation information answered;
S200: Practical Project control protection equipment according to the operation information received, generate the first control parameter with
Second control parameter;
S300: the Real Time Digital Simulator is according to first control parameter received, to the direct current of simulation
The working condition of transmission system is updated;
S400: the Real Time Digital Simulator generates the detection of the valve block of inverter in the DC transmission system of simulation
Current Voltage, and the detection Current Voltage is sent to valve module analog card;
S500: the direct current transportation of the valve module analog card according to the detection Current Voltage received to simulation
The valve block of inverter is detected in system, obtains the Current Voltage of the valve block of inverter in the DC transmission system of simulation
Information;
S600: the valve module analog card judges the current-voltage information, obtains the current-voltage information
Judging result, handled according to state of the judging result to the valve block of the inverter;
S700: the Practical Project control protection equipment generates the valve block of inverter in the DC transmission system of simulation
Trig control signal, and the Trig control signal is sent to valve control device;
S800: the valve control device is converted according to the Trig control signal received, obtains the direct current of simulation
The start pulse signal of the valve block of inverter in transmission system, and the start pulse signal is sent to the valve module and is simulated
Card;
S900: the Real Time Digital Simulator is according to the state processing result of the valve block of the inverter and receives
The start pulse signal and second control parameter carry out more the working condition of the DC transmission system of simulation
Newly.
In the present embodiment, detailed, Accurate Model is carried out to inverter based on Real Time Digital Simulator, and by existing
DC control protecting platform it is technical, use valve module analog card simulation setting in valve control system in addition to valve control device
Standby, wherein valve module analog card is mainly to carry out the simulation of valve block grade by the valve block to the inverter, to realize to valve control
Device deeply, comprehensively completely test, and improves the emulation testing ability and level of valve control device, it is defeated to be conducive to promotion direct current
Electric system reliability of operation.
In an alternative embodiment, when the valve control device detects that the valve block of the inverter breaks down,
The valve control device controls protection equipment to the Practical Project and sends fault-signal, specifically includes:
When N piece valve block is connected due to carrying out and reissuing trigger pulse in the single valve for detecting the inverter, to described
Practical Project control protection equipment sends alarm signal;Wherein, N can be formulated according to the actual situation, General N≤4;
When M piece valve block does not return to corresponding time inspection signal in the single valve for detecting the inverter, to the reality
Engineering Control protects equipment to send alarm signal;Wherein, M can be formulated according to the actual situation, M≤3;
When detecting the valve block pulsing failure of the inverter, protection equipment is controlled to the Practical Project and is sent
Alarm signal;
When P piece valve block is connected due to carrying out and reissuing trigger pulse in the single valve for detecting the inverter, to described
Practical Project control protection equipment sends trip signal;Wherein, P can be formulated according to the actual situation, P >=5;
When Q piece valve block does not return to corresponding time inspection signal in the single valve for detecting the inverter, to the reality
Engineering Control protects equipment to send trip signal, wherein Q can be formulated according to the actual situation, Q >=4.
In the present embodiment, the pulse fault includes: that pulse circuit does not form access or pulse power power loss etc..
In an alternative embodiment, S200: Practical Project control protection equipment is believed according to the operation received
Breath generates the first control parameter and the second control parameter, specifically includes:
First control parameter includes described in the simulation in addition to the inverter of the DC transmission system of simulation
The operating status of DC transmission system;Second control parameter includes the fortune of the inverter of the DC transmission system of simulation
Row state.
In the present embodiment, first control parameter can be controlled protection equipment by the Practical Project and is transmitted directly to
The Real Time Digital Simulator;Second control parameter just can be transmitted after needing the valve module analog card to be handled to the reality
When digital simulator.
In an alternative embodiment, S500: the valve module analog card is according to the detection electric current electricity received
Pressure detects the valve block of inverter in the DC transmission system of simulation, obtains in the DC transmission system of simulation
The current-voltage information of the valve block of inverter;
In an alternative embodiment, S600: the valve module analog card judges the current-voltage information,
The judging result for obtaining the current-voltage information, according to the judging result to the state of the valve block of the inverter at
Reason, specifically includes:
Detect the voltage direction and size of the valve block of the inverter;
When detecting the voltage direction of valve block of the inverter is positive direction, then judge that the valve block of the inverter is
It is no in the conductive state;
If it is not, when the forward voltage of the valve block of the inverter is greater than preset first protection threshold value, the valve module
Analog card carries out reissuing trigger pulse to the valve block of the inverter, and the valve block of the inverter is connected;
When detecting the voltage direction of valve block of the inverter is negative direction, then judge that the valve block of the inverter is
It is no in an off state;
If so, when the negative voltage change rate of the valve block of the inverter is greater than preset second protection threshold value, it is described
Valve module analog card sends light trigger pulse to the valve block of the inverter, and the valve block of the inverter is connected.
In the present embodiment, the valve module analog card adjusts every according to the current-voltage information of the DC transmission system
The trigger pulse of a valve block, it is ensured that all valve blocks bear identical electricity under each converter valve series connection in the inverter
Pressure.Wherein, it is described first protection threshold value is determined by the valve block model, can value be 7500V;The second protection threshold value is by institute
State valve block model determine, can value be 100V/us.
In an alternative embodiment, after obtaining the current-voltage information of the DC transmission system of simulation,
Further include:
Detect the size of current of the valve block of the inverter;
When detecting the electric current of valve block of the inverter is zero, the valve module analog card is sent out to the valve control device
Current over-zero cut-off signals are sent, the valve control device sends the practical control for the current over-zero cut-off signals received and protects
Protect equipment.
In the present embodiment, power device excessive pressure damages are prevented to reduce switching loss, guarantees zero-current switching, needs to utilize
Current zero-crossing signal turns off trigger pulse.
In an alternative embodiment, described that the start pulse signal is sent to the valve module analog card, also
Include:
The valve module analog card detects the forward voltage of the valve block of the inverter, when the forward voltage is big
When preset third protects threshold value, corresponding time inspection signal of the valve block for sending the inverter to the valve control device.
In the present embodiment, corresponding time inspection signal of the valve block for sending the inverter to the valve control device, be in order to
Illustrate that the valve block of the inverter has been in state to be triggered, triggering work can be carried out;Wherein, the third protection threshold value is
70V。
In an alternative embodiment, the valve module analog card uses the valve module analog card based on FPGA, passes through
Equipment of the FPGA programming simulation in the valve control system in addition to valve control device.
In the present embodiment, the corresponding one piece of valve module analog card of a valve module in inverter, the valve module simulation
Card can be programmed according to the actual situation to simulate the VBE host of valve control device, TVM plate and RPU plate etc.;Wherein, DC engineering
In valve control system include valve control device, VBE host, TVM plate and RPU plate.
In an alternative embodiment, the Real Time Digital Simulator is equipped with human-computer interaction interface;By described man-machine
In the DC transmission system that interactive interface simulates the Real Time Digital Simulator circuit element parameter and component type into
Row modification to change the working condition of the DC transmission system of the Real Time Digital Simulator simulation, and passes through the people
The circuit for the DC transmission system that machine interactive interface simulates the Real Time Digital Simulator carries out fault setting, real
Now simulate the fault of the DC transmission system.
In the present embodiment, after the Real Time Digital Simulator receives the data of the valve module analog card, in real time more
The working condition for the DC transmission system newly simulated, the data that the alternating interface between man and computer is shown also real-time update;Work as institute
After stating the data that Real Time Digital Simulator receives the Practical Project control protection equipment, the direct current of real-time update simulation is defeated
The working condition of electric system, the data that the alternating interface between man and computer is shown also real-time update;Wherein, the fault includes:
The ground short circuit failure of some element, the overvoltage failure of some element, overcurrent fault of some element etc..
Referring to Fig. 2, it is a kind of emulation test system of valve control device based on FPGA provided in an embodiment of the present invention
Structural schematic diagram, the emulation test system of the valve control device based on FPGA, comprising:
For simulating the valve module analog card of the equipment in the valve control system in addition to valve control device, for simulating really directly
Flow Real Time Digital Simulator, Practical Project control the protection equipment, valve control device of transmission system;The Practical Project control protection
Equipment and the valve control device are communicated by optical fiber bidirectional, and the valve control device and the valve module analog card pass through optical fiber bidirectional
Communication, the valve module analog card and the Real Time Digital Simulator pass through Aurora agreement both-way communication, the Practical Project
Control protection equipment and the Real Time Digital Simulator pass through I/O interface both-way communication.
In the present embodiment, the Practical Project control protection equipment includes inverter layer control host (CCP), pole layer control
Host (PCP), layer of standing control host (DCC), converter unit protection host (CPR) and direct current pole layer protected host (PPR) processed.
It includes: alternating-current field, alternating current filter, the change of current that the Real Time Digital Simulator, which simulates true DC transmission system,
Device, disconnecting switch, breaker, DC filter, DC line, trap, smoothing reactor etc..Wherein the inverter carries out
The simulation of valve block grade, by taking 12 pulse conversion devices as an example: 12 pulse conversion devices have 12 valves, and a valve contains 3 valve modules, and one
Valve module is connected by two valve cells;After wherein 13 valve blocks are connected with two anode reactors, then with an equalizing capacitor
Parallel connection constitutes a valve cell.
Compared with the existing technology, the emulation test method of a kind of valve control device based on FPGA provided in an embodiment of the present invention
Beneficial effect be: the emulation test method of the valve control device based on FPGA includes: that Real Time Digital Simulator simulation is straight
The working condition of transmission system is flowed, and generates operation information corresponding with the working condition;Practical Project control protection equipment
According to the operation information received, the first control parameter and the second control parameter are generated;The Real Time Digital Simulator root
According to first control parameter received, the working condition of the DC transmission system of simulation is updated;The reality
When digital simulator generate the detection Current Voltage of the valve block of inverter in the DC transmission system of simulation, and by the inspection
It surveys Current Voltage and is sent to valve module analog card;The valve module analog card is according to the detection Current Voltage received to mould
The valve block of inverter is detected in the quasi- DC transmission system, obtains inverter in the DC transmission system of simulation
Valve block current-voltage information;The valve module analog card judges the current-voltage information, obtains the electric current
The judging result of information of voltage is handled according to state of the judging result to the valve block of the inverter;The reality
Engineering Control protects equipment to generate the Trig control signal of the valve block of inverter in the DC transmission system of simulation, and by institute
It states Trig control signal and is sent to valve control device;The valve control device is converted according to the Trig control signal received, is obtained
The start pulse signal of the valve block of inverter in the DC transmission system that must be simulated, and the start pulse signal is sent
To the valve module analog card;The Real Time Digital Simulator is according to the state processing result of the valve block of the inverter and connects
The start pulse signal received and second control parameter, to the working condition of the DC transmission system of simulation into
Row updates.This method is by removing valve control using the simulation of valve module analog card and filling in existing DC control protecting platform technology
The equipment in valve control system except setting, wherein valve module analog card is mainly to carry out valve block by the valve block to the inverter
Grade simulation, thus realize to valve control device carry out deeply, comprehensive complete test, improve valve control device emulation testing ability and
It is horizontal.
The above is a preferred embodiment of the present invention, it is noted that for those skilled in the art
For, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also considered as
Protection scope of the present invention.