All-round static synchronous machine hardware-in-the-loop test system

By designing the hardware in-loop testing system of all-round static synchronous machines and using multiple upper and lower mechanisms to build power system simulation models and control strategy models, the problem of difficulty in effectively testing the all-round static synchronous machines in the existing technology is solved, and the problem of realizing the More efficient and accurate test results.

CN119493382AActive Publication Date: 2025-02-21GUANGDONG POWER GRID CO LTD +1
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411619097.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-13
Publication Date
2025-02-21
Estimated Expiration
2044-11-13

AI Technical Summary

Technical Problem

The prior art is difficult to effectively test the overall performance of an all-round stationary synchronous machine, especially the complexity of modular multi-level converters and lithium battery energy storage systems, making it difficult to simulate actual systems for testing.

Method used

A all-round static synchronous machine hardware in-loop testing system is designed, which includes multiple upper and lower computers. By building a power system simulation model and control strategy model, real-time testing and performance evaluation of the synchronous machine to be tested is realized.

Benefits of technology

The test efficiency and accuracy of the all-round static synchronous machine are improved, making the test process more in line with the control logic of the actual system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119493382A_ABST
    Figure CN119493382A_ABST
Patent Text Reader

Abstract

The invention discloses an all-round static synchronous machine hardware-in-the-loop test system. The system comprises a first upper computer, a second upper computer, a first lower computer, a second lower computer and an oscilloscope, the first upper computer is used for constructing a power system simulation model and transmitting the power system simulation model to the first lower computer; the second upper computer is used for constructing a modularized multi-level converter control strategy model and a battery energy storage control strategy model and transmitting the modularized multi-level converter control strategy model and the battery energy storage control strategy model to the second lower computer; the second lower computer is used for obtaining the switch control signal and transmitting the switch control signal to the first lower computer; the first lower computer is used for generating electrical data and transmitting the electrical data to the second lower computer and the oscilloscope; and the oscilloscope is used for acquiring the electrical data in a preset time period, comparing the electrical data with preset theoretical electrical data, and obtaining the performance of the synchronous machine to be tested according to a comparison result. According to the invention, the test efficiency of the universal static synchronous machine and the accuracy of the test result can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of power electronic converters, and in particular to an all-round static synchronous machine hardware-in-the-loop testing system. Background Art

[0002] Renewable energy power generation technology is a key factor in achieving my country's carbon neutrality goal. In the process of evolution from the existing power system to a new power system with new energy as the main body, it is urgent to construct a large number of new energy power sources with synchronous machine performance. Some scholars have proposed the concept of an all-round static synchronous machine and a synchronous machine simulation control strategy. Combining the active frequency support capability of the battery energy storage system with the fast response speed of the flexible DC converter, the all-round static synchronous machine can simulate the operating characteristics of the synchronous machine, and in principle, it can approach or even exceed the performance of the traditional synchronous generator, becoming one of the most promising supporting technologies for building a new power system.

[0003] Since the all-round static synchronous machine combines a modular multilevel converter and a lithium battery energy storage system, it is limited by the complexity of the modular multilevel converter structure. The lithium battery energy storage system makes the overall circuit structure more complicated. Usually, the modular multilevel converter and the lithium battery energy storage system are placed in different lower computers respectively, and tested using a physical controller and a virtual simulation control respectively, making it difficult to simulate the actual system for test verification during the entire test process. Summary of the invention

[0004] The invention provides a universal static synchronous machine hardware-in-the-loop test system, which can improve the test efficiency of the universal static synchronous machine and the accuracy of the test result.

[0005] An embodiment of the present invention provides an all-round static synchronous machine hardware-in-the-loop test system, comprising: a first host computer, a second host computer, a first slave computer, a second slave computer and an oscilloscope;

[0006] The first upper computer is connected to a first end of the first lower computer, the second end of the first lower computer is connected to the oscilloscope, and the second upper computer is connected to the second lower computer;

[0007] The first upper computer is used to obtain the initial capacitor voltage, initial capacitor current and initial switch control signal of the synchronous machine to be tested, construct a power system simulation model according to the initial capacitor voltage, initial capacitor current and initial switch control signal, and transmit the power system simulation model to the first lower computer;

[0008] The second upper computer is used to construct a modular multilevel converter control strategy model and a battery energy storage control strategy model according to the electrical data of the synchronous machine to be tested at the initial stage, and transmit the model to the second lower computer after translating and encoding the model; wherein the electrical data include: three-phase grid voltage, three-phase grid current, bridge arm current, battery voltage, capacitor voltage, battery current and battery capacity;

[0009] The second lower computer is used to calculate the current switch control signal according to the modular multi-level converter control strategy model, the battery energy storage control strategy model and the current electrical data, and transmit the current switch control signal to the first lower computer;

[0010] The first lower computer is used to generate electrical data at the next moment according to the power system simulation model and the current switch control signal, and transmit the electrical data at the next moment to the second lower computer to update the current electrical data of the second lower computer, and transmit the electrical data at the next moment to the oscilloscope;

[0011] The above-mentioned oscilloscope is used to obtain electrical data at each moment in real time until all electrical data within a preset time period are obtained, and all electrical data within the preset time period are compared with preset theoretical electrical data, and the performance of the above-mentioned synchronous machine to be tested is obtained based on the comparison result.

[0012] Furthermore, the construction of the above power system simulation model includes:

[0013] A switch function model is constructed based on the initial capacitor voltage, initial capacitor current and initial switch control signal;

[0014] According to the above switch function model, a power system simulation model is obtained;

[0015] Among them, the above switch function model is:

[0016]

[0017] i dc_ua_i =T ua_S1_i i ua +T ua_S3_i i B_ua_i

[0018] v L_ua_i =T ua_S3_i v C_ua_i

[0019] In the formula, v ua Indicates the equivalent output voltage of the upper bridge arm of phase a, v C_ua_i represents the capacitor voltage of the ith submodule of the upper bridge arm of phase a, T ua_S1_iIndicates the switching signal of the i-th submodule switch T1 of the upper bridge arm of phase a, i dc_ua_i represents the capacitive current flowing into the capacitor of the i-th submodule of the upper bridge arm of phase a, i ua Indicates the bridge arm current of phase a, T ua_S3_i Indicates the switching signal of the i-th submodule switch T3 of the upper bridge arm of phase a, i B_ua_i represents the battery current output by the battery cell of the ith submodule of the upper bridge arm of phase a, v L_ua_i It represents the low-voltage side voltage of the energy storage half-bridge of the ith submodule of the upper bridge arm of phase a, and N represents the number of submodules.

[0020] Furthermore, the construction of the above modular multi-level converter control strategy model and the battery energy storage control strategy model includes:

[0021] According to the above three-phase grid current, three-phase grid voltage, capacitor voltage and bridge arm current, a modular multilevel converter control strategy model is constructed;

[0022] According to the above battery voltage, battery current and battery capacity, a battery energy storage control strategy model is constructed.

[0023] Furthermore, the modular multilevel converter control strategy model is constructed based on the three-phase grid current, the three-phase grid voltage, the capacitor voltage and the bridge arm current, including:

[0024] According to the above three-phase grid current and three-phase grid voltage, an AC side synchronous machine control strategy is constructed;

[0025] According to the above capacitor voltage, a capacitor voltage balance control strategy is constructed;

[0026] According to the above bridge arm current, a circulating current suppression control strategy is constructed;

[0027] According to the above-mentioned AC side synchronous machine simulation control strategy, capacitor voltage balance control strategy and circulating current suppression control strategy, the above-mentioned modular multilevel converter control strategy model is obtained;

[0028] Among them, the above-mentioned AC side synchronous machine control strategy is:

[0029]

[0030]

[0031] Δω=ω pcc -ω N

[0032]

[0033] θ set-θ pcc =δ

[0034] E′ qset =E′ q0 +T v (s)·(U ref -U s )

[0035]

[0036] Where, T represents the moment of inertia of the synchronous machine, P m Represents mechanical power, P s Indicates the actual electromagnetic power of the system, K D represents the damping coefficient, δ represents the generator power angle, ω N Indicates rated power, ω pcc represents the actual frequency, Δω represents the difference between the actual frequency and the rated frequency, u a Indicates the voltage of phase a, u b represents the voltage of phase b, u c Represents the c-phase voltage, V d represents the d-axis component of the voltage vector, V q represents the q-axis component of the voltage vector, i a represents the a-phase current, i b represents the b-phase current, i c Indicates the c-phase current, I d represents the d-axis component of the current vector, I q represents the q-axis component of the current vector, represents the mechanical power setting reference value, G(s) represents the transfer function of the frequency regulator equation in the s domain, R d Indicates the adjustment coefficient, T G represents the time constant of the speed regulation system, θ set It indicates that the active power reference value generated by the frequency regulation link passes through the rotor motion balance equation and outputs the phase angle of the transient potential of the synchronous generator, θ ref Indicates the rated value of the phase angle, E′ qset represents the transient potential, E′ q0 Represents the transient potential reference value, T v (s) represents the s-domain transfer function corresponding to the simulated synchronous generator excitation circuit, U ref Indicates the reference value of the voltage amplitude at the grid connection point, U s Indicates the actual voltage amplitude at the grid connection point, K v Represents the gain factor, P ref Indicates the active power reference value output by the simulated synchronous control loop, x d represents the internal reactance of the simulated synchronous generator operation, Q refIndicates the reactive power reference value output by the simulated synchronous control loop;

[0037] The above capacitor voltage balance control strategy is:

[0038]

[0039] K c (v C_kj_i -v kj_ave )+sign(i kj )=Δv C_kj_i

[0040]

[0041] In the formula, v kj_ave represents the average value of the capacitor voltage of the j-phase k-bridge arm, v C_kj_i represents the capacitor voltage of the i-th submodule of the j-phase k-bridge arm, K c represents the gain coefficient, i kj Indicates the output current of the j-phase k-bridge arm, Δv C_kj_i represents the modulation signal correction value of the i-th submodule;

[0042] The above circulation suppression control strategy is:

[0043] (i pj +i nj ) / 2=i zj

[0044]

[0045] (0-i zj_ac )*PIR(s)=Δv cir_j

[0046]

[0047] In the formula, i pj represents the bridge arm current of the upper bridge arm of phase j, i nj represents the bridge arm current of the lower bridge arm of phase j, i zj represents the circulation of phase j, T L represents the low-pass filter time constant, i zj_ac represents the AC component in the circulating current, PIR(s) represents the transfer function of the PIR controller in the circulating current suppression link in the s domain, Δv cir_j Indicates the voltage correction component output by the circulating current suppression link, k p_PIR Indicates the proportional coefficient of the PIR controller, k i_PIR represents the integral coefficient, k r_PIR represents the resonance coefficient, ω c represents the cut-off frequency, ω rIndicates the resonant frequency.

[0048] Furthermore, the battery energy storage control strategy model is constructed based on the battery voltage, battery current and battery capacity, including:

[0049] According to the above battery voltage and battery current, an energy storage system control strategy is constructed;

[0050] According to the above battery capacity, a SoC balancing control strategy is constructed;

[0051] Generate the battery energy storage control strategy model according to the energy storage system control strategy and the SoC balancing control strategy;

[0052] Among them, the control strategy of the above energy storage system is:

[0053] P Bat =V Bat ×I Bat

[0054]

[0055] Where P Bat Indicates the actual battery power, V Bat Indicates the battery voltage, I Bat Represents the battery current, K p Represents the proportional coefficient of the proportional integral link, K i Indicates the integral coefficient of the proportional integral link, P Batref Battery outer ring power reference value, d represents the duty cycle, I Batref Indicates the current reference value output by the power outer loop;

[0056] The above SoC balance control strategy is:

[0057]

[0058]

[0059] Where, SoC avg_kj Represents the average state of charge on the j-phase k-bridge arm, SoC kji Indicates the charge state of the i-th submodule on the j-th phase k bridge arm, SoC avg_j Represents the average charge state of the upper and lower bridge arms of phase j, SoC avg_uj Represents the average state of charge on the j-th phase u bridge arm, SoC avg_lj Represents the average state of charge on the bridge arm of phase j, SoC avg_ph Indicates the three-phase average state of charge, SoC avg_a Indicates the average charge state of the upper and lower bridge arms of phase a, SoC avg_bIndicates the average charge state of the upper and lower bridge arms of phase b, SoC avg_c It represents the average charge state of the upper and lower bridge arms of phase c, P j * represents the total power of the j-phase battery, P bat_ref Indicates the total battery power, K ph represents the inter-phase SoC balance coefficient, Indicates the total battery power of phase j and arm k, K arm Indicates the SoC balance coefficient between bridge arms, Represents the total battery power of each battery unit, K sm Indicates the SoC balance coefficient between sub-modules.

[0060] Furthermore, the current switch control signal is calculated based on the modular multi-level converter control strategy model, the battery energy storage control strategy model and the current electrical data, including:

[0061] According to the modular multilevel converter control strategy model and the current electrical data, a current voltage modulation signal of each switch group on the bridge arm side is obtained;

[0062] After the voltage modulation signal is processed by pulse width modulation technology, a current switch control signal of the switch on the bridge arm side is obtained;

[0063] According to the above battery energy storage control strategy model and the current electrical data, the current duty cycle signal of each submodule switch on the energy storage side is obtained;

[0064] After the duty cycle signal is processed by pulse width modulation technology, the current switch control signal of the energy storage side switch is obtained.

[0065] Furthermore, the first lower computer comprises: a first communication unit, a first input-output unit and a real-time simulation unit; the second lower computer comprises: a second communication unit, a second input-output unit and a real-time digital control unit;

[0066] The first end of the first communication unit is connected to the first host computer, the second end of the first communication unit is connected to the first end of the real-time simulation unit, the second end of the real-time simulation unit is connected to the first end of the first input-output unit, the second end of the first input-output unit is connected to the first end of the second input-output unit, the second end of the second input-output unit is connected to the first end of the real-time digital control unit, the second end of the real-time digital control unit is connected to the first end of the second communication unit, the second end of the second communication unit is connected to the second host computer, and the third end of the first input-output unit is connected to the oscilloscope;

[0067] The second communication unit is used to transmit the translated and encoded modular multilevel converter control strategy model and battery energy storage control strategy model to the real-time digital control unit;

[0068] The real-time digital control unit is used to calculate the current switch control signal according to the modular multilevel converter control strategy model, the battery energy storage control strategy model, the electrical data and the current electrical data, and transmit the current switch control signal to the first input-output unit through the second input-output unit;

[0069] The first communication unit is used to transmit the power system simulation model to the real-time simulation unit;

[0070] The real-time simulation unit is used to generate electrical data at the next moment according to the power system simulation model and the current switch control signal, and transmit the electrical data at the next moment to the second input-output unit through the first input-output unit;

[0071] The first input-output unit is used to transmit the electrical data at the next moment to the second input-output unit and the oscilloscope;

[0072] The second input-output unit is used to transmit the electrical data at the next moment to the real-time digital control unit, and to transmit the current switch control signal to the first input-output unit.

[0073] Furthermore, the above-mentioned real-time digital control unit includes: a DSP processor, a signal port and an FPGA processor;

[0074] The first end of the DSP processor is connected to the second communication unit, the second end of the DSP processor is connected to the first end of the signal port, the second end of the signal port is connected to the first end of the FPGA processor, and the second end of the FPGA processor is connected to the second input-output unit;

[0075] The DSP processor is used to calculate the current voltage modulation signal and duty cycle signal according to the modular multi-level converter control strategy model, the battery energy storage control strategy model and the current electrical data, and transmit the current voltage modulation signal and duty cycle signal to the FPGA processor through the signal port;

[0076] The FPGA processor is used to generate an electrical digital signal at the next moment according to the electrical data at the next moment, and transmit the electrical digital signal at the next moment to the signal port, and to generate a current switch control signal according to the current voltage modulation signal and the duty cycle signal, and transmit the current switch control signal to the first input-output unit through the second input-output unit;

[0077] The above-mentioned signal port is used to transmit the current voltage modulation signal and duty cycle signal to the above-mentioned FPGA processor, and transmit the electrical digital signal at the next moment to the above-mentioned DSP processor, so as to update the current electrical data of the DSP processor.

[0078] Furthermore, the above-mentioned DSP processor includes: a core control unit and a first ADC converter;

[0079] The first ADC converter is used to convert the current electrical digital signal into current electrical data;

[0080] The core control unit is used to calculate the current voltage modulation signal and duty cycle signal according to the modular multi-level converter control strategy model, the battery energy storage control strategy model and the current electrical data, and transmit the current voltage modulation signal and duty cycle signal to the signal port;

[0081] The above-mentioned FPGA processor includes: a PWM signal generating unit and a second ADC converter;

[0082] The PWM signal generating unit is used to generate a current switch control signal according to a current voltage modulation signal and a duty cycle signal;

[0083] The second ADC converter is used to convert the electrical data at the next moment into the electrical digital signal at the next moment, and transmit the electrical digital signal at the next moment to the signal port.

[0084] Furthermore, it also includes: a first power supply unit and a second power supply unit;

[0085] The first end of the first power supply unit is connected to the first host computer, the second end of the first power supply unit is connected to the first slave computer, the third end of the first power supply unit is connected to the oscilloscope, the first end of the second power supply unit is connected to the second host computer, and the second end of the second power supply unit is connected to the second slave computer;

[0086] The first power supply unit is used to supply power to the first host computer, the first slave computer and the oscilloscope;

[0087] The second power supply unit is used to supply power to the second host computer and the second slave computer.

[0088] The embodiments of the present invention have the following beneficial effects:

[0089] The present invention provides an all-round static synchronous machine hardware-in-the-loop test system, the system comprising: a first host computer, a second host computer, a first slave computer, a second slave computer and an oscilloscope; the first host computer is connected to a first end of the first slave computer, the second end of the first slave computer is connected to the oscilloscope, and the second host computer is connected to the second slave computer; the first host computer is used to obtain an initial capacitor voltage, an initial capacitor current and an initial switch control signal of a synchronous machine to be tested, and to construct a power system simulation model according to the initial capacitor voltage, the initial capacitor current and the initial switch control signal, and transmit the power system simulation model to the first slave computer; the second host computer is used to construct a modular multi-level converter control strategy model and a battery energy storage control strategy model according to the electrical data of the synchronous machine to be tested at the initial stage, and to transmit the model to the second slave computer after translating and encoding the model; wherein the electrical data comprises: three phase grid voltage, three-phase grid current, bridge arm current, battery voltage, capacitor voltage, battery current and battery capacity; the above-mentioned second lower computer is used to calculate the current switch control signal according to the above-mentioned modular multi-level converter control strategy model, the battery energy storage control strategy model and the current electrical data, and transmit the current switch control signal to the above-mentioned first lower computer; the above-mentioned first lower computer is used to generate the electrical data at the next moment according to the above-mentioned power system simulation model and the current switch control signal, and transmit the electrical data at the next moment to the above-mentioned second lower computer to update the current electrical data of the second lower computer, and at the same time transmit the electrical data at the next moment to the above-mentioned oscilloscope; the above-mentioned oscilloscope is used to obtain the electrical data at each moment in real time until all the electrical data within a preset time period are obtained, all the electrical data within the preset time period are compared with the preset theoretical electrical data, and the performance of the above-mentioned synchronous machine to be tested is obtained according to the comparison result. Therefore, the control logic of the modular multi-level converter and the lithium battery energy storage system in the overall structure of the all-round static synchronous machine in the present invention does not affect each other. Therefore, the modular multi-level converter and the lithium battery energy storage system are controlled and tested at the same time using a physical real-time data controller, which is more in line with the control logic of the entire all-round static synchronous machine hardware test system in reality, thereby improving the test efficiency and the accuracy of the test results. BRIEF DESCRIPTION OF THE DRAWINGS

[0090] Figure 1 The present invention is a schematic diagram of the structure of a universal static synchronous machine hardware-in-the-loop test system provided by an embodiment of the present invention.

[0091] Figure 2The diagram is a schematic diagram of a circuit topology structure of an all-round static synchronous machine provided by an embodiment of the present invention.

[0092] Figure 3 It is a circuit simulation diagram of a half-bridge circuit switching function model provided by an embodiment of the present invention.

[0093] Figure 4 It is a circuit simulation diagram of a switch function model of a single submodule provided in one embodiment of the present invention.

[0094] Figure 5 It is a circuit simulation diagram of a simplified model of a switching function provided by an embodiment of the present invention.

[0095] Figure 6 This is a schematic diagram of the topological structure of the power system model provided by an embodiment of the present invention.

[0096] Figure 7 It is a schematic diagram of the control system structure corresponding to the modular multi-level converter control strategy model provided by an embodiment of the present invention.

[0097] Figure 8 It is a schematic diagram of the control system structure corresponding to the battery energy storage control strategy model provided in one embodiment of the present invention. DETAILED DESCRIPTION

[0098] The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0099] like Figure 1 As shown, an all-round static synchronous machine hardware-in-the-loop test system provided by an embodiment of the present invention includes:

[0100] A first upper computer, a second upper computer, a first lower computer, a second lower computer and an oscilloscope;

[0101] Specifically, the first slave computer is a real-time digital simulation machine, and the second slave computer is a real-time digital controller.

[0102] The first upper computer is connected to a first end of the first lower computer, the second end of the first lower computer is connected to the oscilloscope, and the second upper computer is connected to the second lower computer;

[0103] Specifically, the first upper computer and the first lower computer are connected via network communication, the second upper computer and the second lower computer are also connected via network communication, and the first lower computer and the second lower computer are electrically connected.

[0104] The first upper computer is used to obtain the initial capacitor voltage, initial capacitor current and initial switch control signal of the synchronous machine to be tested, construct a power system simulation model according to the initial capacitor voltage, initial capacitor current and initial switch control signal, and transmit the power system simulation model to the first lower computer;

[0105] In a preferred embodiment, the construction of the above-mentioned power system simulation model includes:

[0106] A switch function model is constructed based on the initial capacitor voltage, initial capacitor current and initial switch control signal;

[0107] According to the above switch function model, a power system simulation model is obtained;

[0108] Among them, the above switch function model is:

[0109]

[0110] i dc_ua_i =T ua_S1_i i ua +T ua_S3_i i B_ua_i

[0111] v L_ua_i =T ua_S3_i v C_ua_i

[0112] In the formula, v ua Indicates the equivalent output voltage of the upper bridge arm of phase a, v C_ua_i represents the capacitor voltage of the ith submodule of the upper bridge arm of phase a, T ua_S1_i Indicates the switching signal of the i-th submodule switch T1 of the upper bridge arm of phase a, i dc_ua_i represents the capacitive current flowing into the capacitor of the i-th submodule of the upper bridge arm of phase a, i ua Indicates the bridge arm current of phase a, T ua_S3_i Indicates the switching signal of the i-th submodule switch T3 of the upper bridge arm of phase a, i B_ua_i represents the battery current output by the battery cell of the ith submodule of the upper bridge arm of phase a, v L_ua_i It represents the low-voltage side voltage of the energy storage half-bridge of the ith submodule of the upper bridge arm of phase a, and N represents the number of submodules.

[0113] Specifically, the above formula is a switching function model corresponding to a single bridge arm, and the switching function models of the other five bridge arms can be obtained similarly.

[0114] Specifically, the initial switch control signal is a switch closing signal.

[0115] Schematically, the all-round static synchronous machine is based on a modular multi-level converter structure, so the circuit topology diagram of the all-round static synchronous machine is as follows Figure 2 As shown, a single bridge arm includes multiple submodules, and the submodules are composed of two groups of half-bridge circuits. One of the half-bridge circuits is used to form a multi-level voltage in the bridge arm, and the other group is used as a DC / DC converter to control the power, voltage or current of the energy storage unit.

[0116] Specifically, considering that the submodule capacitor voltage is generally positive, the output voltage of the half-bridge circuit will present a waveform related to the switch state when the switch is switched. For example, when the upper switch is turned on, the output voltage is equal to the capacitor voltage, and the current flowing into the DC capacitor is equal to the half-bridge input current; when the lower switch is turned on, the output voltage is 0, and the current flowing into the DC capacitor is 0. Therefore, it can be obtained as follows Figure 3 The circuit simulation diagram of the half-bridge circuit switching function model shown in FIG. Figure 3 V sm Indicates the submodule output voltage, i sm represents the current flowing into the submodule, T1 and T2 are the half-bridge submodule switches on the MMC side, v c is the capacitor voltage, i c is the current flowing into the capacitor of the half bridge on the MMC side, Figure 3 Part (a) is a circuit simulation diagram of the half-bridge circuit switch function model before equivalent, and part (b) is a circuit simulation diagram of the half-bridge circuit switch function model after equivalent. The AC side of the half-bridge circuit is equivalent to a controlled voltage source, and the DC side is equivalent to a controlled current source. The two controlled sources are coupled through the switch function.

[0117] Schematically, according to the above principle, the circuit simulation diagram of the switching function model of a single submodule of the all-round static synchronous machine can be obtained as shown in FIG. Figure 4 As shown, Figure 4 T1, T2, T3 and T4 are all bridge switches, v DC Represents the low-voltage side voltage of the energy storage half-bridge, i c1 Represents the current flowing into the capacitor on the energy storage half-bridge side, i DC Represents the output current of the low-voltage side of the energy storage half-bridge, Figure 4 Part (c) is a circuit simulation diagram of the switch function model of a single submodule before equivalence. Figure 4 Part (d) is a circuit simulation diagram of the equivalent switching function model of a single sub-module.

[0118] Schematically, after superimposing each submodule, a simplified model of the switching function of the entire all-round static synchronous machine can be obtained. The circuit simulation diagram of the simplified model of the switching function of the all-round static synchronous machine is as follows: Figure 5 shown.

[0119] Schematically, the topological structure diagram of the power system model is as follows Figure 6 As shown, in the present invention, Figure 6 The all-round static synchronous machine in the embodiment is replaced with a simplified model of the switching function of the all-round static synchronous machine to obtain the above-mentioned power system simulation model, build the power system simulation model in the first host computer, and load the built power system simulation model into the first slave computer through the first communication.

[0120] Preferably, a switching function model is used to ensure the simulation accuracy in scenarios such as normal operation and typical AC and DC port faults. Since the impedance and admittance matrix of the sub-module is a constant, the simulation efficiency is greatly improved and the calculation time of a single simulation step is reduced.

[0121] In this preferred embodiment, a switch function model is constructed by using the initial capacitor voltage, the initial capacitor current and the initial switch control signal, and then a power system simulation model is obtained based on the switch function model.

[0122] The second upper computer is used to construct a modular multilevel converter control strategy model and a battery energy storage control strategy model according to the electrical data of the synchronous machine to be tested at the initial stage, and transmit the model to the second lower computer after translating and encoding the model; wherein the electrical data include: three-phase grid voltage, three-phase grid current, bridge arm current, battery voltage, capacitor voltage, battery current and battery capacity;

[0123] In a preferred embodiment, the construction of the modular multilevel converter control strategy model and the battery energy storage control strategy model includes:

[0124] According to the above three-phase grid current, three-phase grid voltage, capacitor voltage and bridge arm current, a modular multilevel converter control strategy model is constructed;

[0125] According to the above battery voltage, battery current and battery capacity, a battery energy storage control strategy model is constructed.

[0126] In this preferred embodiment, a modular multi-level converter control strategy model is constructed through three-phase grid current, three-phase grid voltage, capacitor voltage and bridge arm current; a battery energy storage control strategy model is constructed according to battery voltage, battery current and battery capacity.

[0127] In another preferred embodiment, the modular multilevel converter control strategy model is constructed based on the three-phase grid current, the three-phase grid voltage, the capacitor voltage and the bridge arm current, including:

[0128] According to the above three-phase grid current and three-phase grid voltage, an AC side synchronous machine control strategy is constructed;

[0129] According to the above capacitor voltage, a capacitor voltage balance control strategy is constructed;

[0130] According to the above bridge arm current, a circulating current suppression control strategy is constructed;

[0131] According to the above-mentioned AC side synchronous machine simulation control strategy, capacitor voltage balance control strategy and circulating current suppression control strategy, the above-mentioned modular multilevel converter control strategy model is obtained;

[0132] Specifically, in order for the all-round static synchronous machine to realize the function of a synchronous generator, the all-round static synchronous machine grid-connected converter adopts a synchronous machine simulation control strategy, that is, the typical second-order motion equation of the synchronous generator is used to simulate the operating state of the synchronous generator.

[0133] Specifically, in order for the all-purpose static synchronous machine to realize the function of primary frequency regulation of the synchronous generator, the rated frequency is subtracted from the actual frequency obtained by actual monitoring of the AC bus, and the rated active power output value of the all-purpose static synchronous machine is output after the frequency regulator acts.

[0134] Specifically, the active power reference value generated by the frequency regulation link is output through the rotor motion balance equation to simulate the phase angle of the transient potential of the synchronous generator.

[0135] Specifically, the all-purpose static synchronous machine also needs to realize the function of synchronous generator voltage support. The output of the voltage support loop is used to obtain the transient potential of the synchronous generator.

[0136] Among them, the above-mentioned AC side synchronous machine control strategy is:

[0137]

[0138] Δω=ω pcc -ω N

[0139]

[0140]

[0141] θ set -θ pcc =δ

[0142] E′ qset =E′ q0 +T v (s)·(U ref -U s )

[0143]

[0144] Where, T represents the moment of inertia of the synchronous machine, P m Represents mechanical power, P s Indicates the actual electromagnetic power of the system, K D represents the damping coefficient, δ represents the generator power angle, ω N Indicates rated power, ω pcc represents the actual frequency, Δω represents the difference between the actual frequency and the rated frequency, u a Indicates the voltage of phase a, u b represents the voltage of phase b, u c Represents the c-phase voltage, V d represents the d-axis component of the voltage vector, V q represents the q-axis component of the voltage vector, i a represents the a-phase current, i b represents the b-phase current, i c Indicates the c-phase current, I d represents the d-axis component of the current vector, I q represents the q-axis component of the current vector, represents the mechanical power setting reference value, G(s) represents the transfer function of the frequency regulator equation in the s domain, R d Indicates the adjustment coefficient, T G represents the time constant of the speed regulation system, θ set It indicates that the active power reference value generated by the frequency regulation link passes through the rotor motion balance equation and outputs the phase angle of the transient potential of the synchronous generator, θ ref Indicates the rated value of the phase angle, E′ qset represents the transient potential, E′ q0 Represents the transient potential reference value, T v (s) represents the s-domain transfer function corresponding to the simulated synchronous generator excitation circuit, U ref Indicates the reference value of the voltage amplitude at the grid connection point, U s Indicates the actual voltage amplitude at the grid connection point, K v Represents the gain factor, P ref Indicates the active power reference value output by the simulated synchronous control loop, x d represents the internal reactance of the simulated synchronous generator operation, Q ref Indicates the reactive power reference value output by the simulated synchronous control loop;

[0145] Specifically, the active power reference value and reactive power reference value output by the above-mentioned AC-side synchronous machine control strategy will be used as the input of the all-purpose static synchronous machine grid-connected control strategy, which includes a power outer loop controller and a current inner loop controller. The grid-connected control strategy is the same as the conventional grid-connected converter control strategy.

[0146] Specifically, due to the large number of sub-modules in the modular multi-level converter topology, and the differences in the switching times of the sub-modules and the differences in the component parameters in actual situations, the capacitor voltage charging and discharging will be inconsistent. If it is not controlled, it will affect the safe and stable operation of the equipment.

[0147] The above capacitor voltage balance control strategy is:

[0148]

[0149] K c (v C_kj_i -v kj_ave )+sign(i kj )=Δv C_kj_i

[0150]

[0151] In the formula, v kj_ave represents the average value of the capacitor voltage of the j-phase k-bridge arm, v C_kj_i represents the capacitor voltage of the i-th submodule of the j-phase k-bridge arm, K c represents the gain coefficient, i kj Indicates the output current of the j-phase k-bridge arm, Δv C_kj_i represents the modulation signal correction value of the i-th submodule;

[0152] Specifically, since the three phase units of the modular multilevel converter are connected in parallel to the DC bus, there is an unbalanced voltage distribution between the sub-modules during operation, which will generate interphase circulation between the three-phase bridge arms. The interphase circulation will cause the bridge arm current to be distorted, affecting the output voltage waveform quality and reducing the converter operation efficiency. Therefore, in order to ensure the safe and stable operation of the system, it is necessary to adopt an effective circulation suppression control strategy.

[0153] The above circulation suppression control strategy is:

[0154] (i pj +i nj ) / 2=i zj

[0155]

[0156] (0-i zj_ac )*PIR(s)=Δv cir_j

[0157]

[0158] In the formula, i pj represents the bridge arm current of the upper bridge arm of phase j, i nj represents the bridge arm current of the lower bridge arm of phase j, izj represents the circulation of phase j, T L represents the low-pass filter time constant, i zj_ac represents the AC component in the circulating current, PIR(s) represents the transfer function of the PIR controller in the circulating current suppression link in the s domain, Δv cir_j Indicates the voltage correction component output by the circulating current suppression link, k p_PIR Indicates the proportional coefficient of the PIR controller, k i_PIR represents the integral coefficient, k r_PIR represents the resonance coefficient, ω c represents the cut-off frequency, ω r Indicates the resonant frequency.

[0159] Specifically, the upper and lower bridge arm currents of each phase are added and divided by 2 to obtain the circulating current of each phase. Then, the AC component in the circulating current is separated by a low-pass filter, and its reference value is set to 0. After the quasi-PIR circulating current suppression link, the reference value Δv of the internal unbalanced voltage can be obtained. cir_j It is superimposed on the voltage modulation signal of each phase to achieve circulating current suppression.

[0160] Schematically, the control system structure diagram corresponding to the constructed modular multilevel converter control strategy model is as follows: Figure 7 shown.

[0161] In this preferred embodiment, an AC side synchronous machine simulation control strategy is constructed based on the three-phase grid current and the three-phase grid voltage, a capacitor voltage balance control strategy is constructed based on the capacitor voltage, and a circulating current suppression control strategy is constructed based on the bridge arm current. A modular multi-level converter control strategy model is obtained based on the AC side synchronous machine simulation control strategy, the capacitor voltage balance control strategy and the circulating current suppression control strategy.

[0162] In another preferred embodiment, the battery energy storage control strategy model is constructed based on the battery voltage, battery current and battery capacity, including:

[0163] According to the above battery voltage and battery current, an energy storage system control strategy is constructed;

[0164] According to the above battery capacity, a SoC balancing control strategy is constructed;

[0165] Generate the battery energy storage control strategy model according to the energy storage system control strategy and the SoC balancing control strategy;

[0166] Among them, the control strategy of the above energy storage system is:

[0167] P Bat =V Bat ×I Bat

[0168]

[0169] Where P Bat Indicates the actual battery power, V Bat Indicates the battery voltage, I Bat Represents the battery current, K p Represents the proportional coefficient of the proportional integral link, K i Indicates the integral coefficient of the proportional integral link, P Batref Battery outer ring power reference value, d represents the duty cycle, I Batref Indicates the current reference value output by the power outer loop;

[0170] Specifically, the control strategy of the lithium battery energy storage system adopts a dual closed-loop control structure of a power outer loop and a current inner loop. The outer loop power reference value is subtracted from the actual battery power to generate a current inner loop reference value through a proportional integral (PI) control link. This reference value is subtracted from the actual battery current value, and the duty cycle of the DC / DC converter of the lithium battery energy storage system is finally generated through the PI link. The current direction when the energy storage battery releases power is set to the positive direction of the current. When the power setting value of the lithium battery energy storage system is positive, the energy storage system discharges and releases power to the outside world. When the setting value is negative, the energy storage system charges and absorbs power.

[0171] The above SoC balance control strategy is:

[0172]

[0173] Assume that the total battery power in the energy storage system is P bat_ref According to the power ratio control scheme, when the battery SoC in each submodule is inconsistent, the power allocation value of each phase, each bridge arm and each submodule is as follows:

[0174]

[0175] Where, SoC avg_kj Represents the average state of charge on the j-phase k-bridge arm, SoC kji Indicates the charge state of the i-th submodule on the j-th phase k bridge arm, SoC avg_j Represents the average charge state of the upper and lower bridge arms of phase j, SoC avg_uj Represents the average state of charge on the j-th phase u bridge arm, SoC avg_lj Represents the average state of charge on the bridge arm of phase j, SoC avg_ph Indicates the three-phase average state of charge, SoC avg_a Indicates the average charge state of the upper and lower bridge arms of phase a, SoC avg_b Indicates the average charge state of the upper and lower bridge arms of phase b, SoC avg_cIt represents the average charge state of the upper and lower bridge arms of phase c, P j * represents the total power of the j-phase battery, P bat_ref Indicates the total battery power, K ph represents the inter-phase SoC balance coefficient, Indicates the total battery power of phase j and bridge arm k, K arm Indicates the SoC balance coefficient between bridge arms, Represents the total battery power of each battery unit, K sm Indicates the SoC balance coefficient between sub-modules.

[0176] Specifically, after power ratio allocation, It is the P of each energy storage battery unit in the energy storage system control strategy. bat_ref .

[0177] Schematically, the control system structure diagram corresponding to the battery energy storage control strategy model is as follows Figure 8 shown.

[0178] Preferably, in actual engineering, the number of converter submodules is large, so the number of energy storage batteries assembled in each submodule is also large. When the state of charge (SoC) of these energy storage batteries is inconsistent, it will affect the energy utilization and service life of the battery. For example, when the energy storage battery is charged, the battery with a high SoC is fully charged first. At this time, the battery protection circuit is activated and no longer charges the battery, but the remaining batteries are not fully charged; when discharging, the inconsistent SoC will cause some batteries with high SoC to not be fully discharged. In addition, if the protection circuit cannot respond in time, some battery modules may be overcharged or over-discharged, affecting the service life of the battery. Therefore, when the energy storage system is working, if the energy utilization and service life of the battery are to be improved, balanced control should be adopted for each battery module to ensure that each battery module is in the same state. In the present invention, a power proportional control strategy is adopted to achieve SoC balance.

[0179] In this preferred embodiment, an energy storage system control strategy is constructed based on the battery voltage and battery current, a SoC balance control strategy is constructed based on the battery capacity, and a battery energy storage control strategy model is generated based on the energy storage system control strategy and the SoC balance control strategy.

[0180] The second lower computer is used to calculate the current switch control signal according to the modular multi-level converter control strategy model, the battery energy storage control strategy model and the current electrical data, and transmit the current switch control signal to the first lower computer;

[0181] In a preferred embodiment, the current switch control signal is calculated based on the modular multilevel converter control strategy model, the battery energy storage control strategy model and the current electrical data, including:

[0182] According to the modular multilevel converter control strategy model and the current electrical data, a current voltage modulation signal of each switch group on the bridge arm side is obtained;

[0183] After the voltage modulation signal is processed by pulse width modulation technology, a current switch control signal of the switch on the bridge arm side is obtained;

[0184] According to the above battery energy storage control strategy model and the current electrical data, the current duty cycle signal of each submodule switch on the energy storage side is obtained;

[0185] After the duty cycle signal is processed by pulse width modulation technology, the current switch control signal of the energy storage side switch is obtained.

[0186] In this preferred embodiment, the voltage modulation signal obtained by the modular multilevel converter control strategy model and the duty cycle signal obtained by the battery energy storage control strategy model are processed respectively by pulse width modulation technology to obtain switch control signals of the bridge arm side switch and the energy storage side switch.

[0187] The first lower computer is used to generate electrical data at the next moment according to the power system simulation model and the current switch control signal, and transmit the electrical data at the next moment to the second lower computer to update the current electrical data of the second lower computer, and transmit the electrical data at the next moment to the oscilloscope;

[0188] In another preferred embodiment, the first lower computer comprises: a first communication unit, a first input-output unit and a real-time simulation unit; the second lower computer comprises: a second communication unit, a second input-output unit and a real-time digital control unit;

[0189] The first end of the first communication unit is connected to the first host computer, the second end of the first communication unit is connected to the first end of the real-time simulation unit, the second end of the real-time simulation unit is connected to the first end of the first input-output unit, the second end of the first input-output unit is connected to the first end of the second input-output unit, the second end of the second input-output unit is connected to the first end of the real-time digital control unit, the second end of the real-time digital control unit is connected to the first end of the second communication unit, the second end of the second communication unit is connected to the second host computer, and the third end of the first input-output unit is connected to the oscilloscope;

[0190] The second communication unit is used to transmit the translated and encoded modular multilevel converter control strategy model and battery energy storage control strategy model to the real-time digital control unit;

[0191] The real-time digital control unit is used to calculate the current switch control signal according to the modular multilevel converter control strategy model, the battery energy storage control strategy model, the electrical data and the current electrical data, and transmit the current switch control signal to the first input-output unit through the second input-output unit;

[0192] The first communication unit is used to transmit the power system simulation model to the real-time simulation unit;

[0193] The real-time simulation unit is used to generate electrical data at the next moment according to the power system simulation model and the current switch control signal, and transmit the electrical data at the next moment to the second input-output unit through the first input-output unit;

[0194] The first input-output unit is used to transmit the electrical data at the next moment to the second input-output unit and the oscilloscope;

[0195] The second input-output unit is used to transmit the electrical data at the next moment to the real-time digital control unit, and to transmit the current switch control signal to the first input-output unit.

[0196] Schematically, the first input-output unit and the second input-output unit may be an I / O board, which includes a digital input / digital output interface (DI / DO) and an analog input / analog output interface (AI / AO), wherein the DI / DO and AI / AO interfaces may determine the required model and connection method according to actual test requirements.

[0197] Specifically, according to the electrical quantities required when constructing the power system simulation model, the modular multilevel converter control strategy model, and the battery energy storage control strategy model, the minimum hardware scale parameters of the first lower computer and the second lower computer can be finally obtained as shown in Table 1 and Table 2:

[0198] Table 1:

[0199]

[0200] Table 2:

[0201]

[0202] According to the above two tables, we can get the minimum number of input and output ports of the two groups of slave machines: the minimum number of output ports of the first slave machine and the minimum number of input ports of the second slave machine is 24N+12; the minimum number of input ports of the first slave machine and the minimum number of output ports of the second slave machine is 12N. Based on this minimum standard, we can select a suitable slave machine to build a hardware-in-the-loop test platform for an all-round static synchronous machine.

[0203] In a preferred embodiment, the real-time digital control unit comprises: a DSP processor, a signal port and an FPGA processor;

[0204] The first end of the DSP processor is connected to the second communication unit, the second end of the DSP processor is connected to the first end of the signal port, the second end of the signal port is connected to the first end of the FPGA processor, and the second end of the FPGA processor is connected to the second input-output unit;

[0205] The DSP processor is used to calculate the current voltage modulation signal and duty cycle signal according to the modular multi-level converter control strategy model, the battery energy storage control strategy model and the current electrical data, and transmit the current voltage modulation signal and duty cycle signal to the FPGA processor through the signal port;

[0206] The FPGA processor is used to generate an electrical digital signal at the next moment according to the electrical data at the next moment, and transmit the electrical digital signal at the next moment to the signal port, and to generate a current switch control signal according to the current voltage modulation signal and the duty cycle signal, and transmit the current switch control signal to the first input-output unit through the second input-output unit;

[0207] The above-mentioned signal port is used to transmit the current voltage modulation signal and duty cycle signal to the above-mentioned FPGA processor, and transmit the electrical digital signal at the next moment to the above-mentioned DSP processor, so as to update the current electrical data of the DSP processor.

[0208] Preferably, considering that in order to realize the above control, the real-time digital controller (the second lower computer) needs to collect a large amount of electrical data and output a large amount of switch control signals, the conventional real-time digital controller with a DSP processor as the controller cannot meet the above requirements, so the present invention adopts a real-time digital controller with a DSP chip as the core processor and an FPGA chip as the peripheral signal processor. The sampling channel of the FPGA processor collects electrical data and transmits it to the DSP processor through the data interface. The DSP processor outputs relevant control signals after calculation, which are also transmitted to the FPGA processor through the data interface, and the control signals are output to the real-time digital simulator (the first lower computer) through the output interface of the FPGA processor.

[0209] In this preferred embodiment, in the DSP processor, a voltage modulation signal and a duty cycle signal are generated according to the modular multilevel converter control strategy model, the battery energy storage control strategy model and the electrical digital signal, and then the voltage modulation signal and the duty cycle signal are transmitted to the FPGA processor via the signal port, a switch control signal is generated in the FPGA processor, and the generated switch control signal is transmitted to the second input and output unit; wherein, the obtained electrical data is converted into an electrical digital signal in the FPGA processor and transmitted to the DSP processor via the signal port.

[0210] In another preferred embodiment, the DSP processor comprises: a core control unit and a first ADC converter;

[0211] The first ADC converter is used to convert the current electrical digital signal into current electrical data;

[0212] The core control unit is used to calculate the current voltage modulation signal and duty cycle signal according to the modular multi-level converter control strategy model, the battery energy storage control strategy model and the current electrical data, and transmit the current voltage modulation signal and duty cycle signal to the signal port;

[0213] The above-mentioned FPGA processor includes: a PWM signal generating unit and a second ADC converter;

[0214] The PWM signal generating unit is used to generate a current switch control signal according to a current voltage modulation signal and a duty cycle signal;

[0215] The second ADC converter is used to convert the electrical data at the next moment into the electrical digital signal at the next moment, and transmit the electrical digital signal at the next moment to the signal port.

[0216] Specifically, in the PWM signal generation unit, a square wave switch control signal for switch control is generated according to the voltage modulation signal and the duty cycle signal. The core control unit includes a RAM and a corresponding core control level. The RAM is used to write the control program corresponding to the modular multi-level converter control strategy model and the battery energy storage control strategy model, and the memory parameters can be modified in real time.

[0217] In this preferred embodiment, the core control unit generates a voltage modulation signal and a duty cycle signal according to the modular multi-level converter control strategy model, the battery energy storage control strategy model and the electrical data, and transmits the voltage modulation signal and the duty cycle signal to the above-mentioned signal port, and then transmits them to the PWM signal generation unit through the signal port to generate a switch control signal. The second ADC converter converts the electrical data transmitted by the second input and output unit into an electrical digital signal, and transmits it to the first ADC converter through the signal port, and converts the electrical digital signal into electrical data in the first ADC converter.

[0218] In another preferred embodiment, it further comprises: a first power supply unit and a second power supply unit;

[0219] The first end of the first power supply unit is connected to the first host computer, the second end of the first power supply unit is connected to the first slave computer, the third end of the first power supply unit is connected to the oscilloscope, the first end of the second power supply unit is connected to the second host computer, and the second end of the second power supply unit is connected to the second slave computer;

[0220] The first power supply unit is used to supply power to the first host computer, the first slave computer and the oscilloscope;

[0221] The second power supply unit is used to supply power to the second host computer and the second slave computer.

[0222] In this preferred embodiment, the first power supply unit is used to supply power to the first host computer, the first slave computer and the oscilloscope, and the second power supply unit is used to supply power to the second host computer and the second slave computer.

[0223] The above-mentioned oscilloscope is used to obtain electrical data at each moment in real time until all electrical data within a preset time period are obtained, and all electrical data within the preset time period are compared with preset theoretical electrical data, and the performance of the above-mentioned synchronous machine to be tested is obtained based on the comparison result.

[0224] Specifically, the oscilloscope is used to record the electrical data that needs to be saved during the entire system test operation and the waveform diagram corresponding to the electrical data, and compare them with the preset theoretical electrical data obtained by offline simulation to prove that the results obtained by this hardware-in-the-loop test solution are consistent with the theory, and then obtain the performance test results of the synchronous motor to be tested.

[0225] Compared with the prior art, by implementing the above-mentioned embodiments of the present invention, the test efficiency of the all-round static synchronous machine and the accuracy of the test results can be improved.

[0226] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.

Claims

1. An all-round static synchronous machine hardware-in-the-loop test system, characterized in that: include: A first upper computer, a second upper computer, a first lower computer, a second lower computer and an oscilloscope; The first upper computer is connected to a first end of the first lower computer, the second end of the first lower computer is connected to the oscilloscope, and the second upper computer is connected to the second lower computer; The first upper computer is used to obtain the initial capacitor voltage, initial capacitor current and initial switch control signal of the synchronous machine to be tested, construct a power system simulation model according to the initial capacitor voltage, initial capacitor current and initial switch control signal, and transmit the power system simulation model to the first lower computer; The second upper computer is used to construct a modular multi-level converter control strategy model and a battery energy storage control strategy model according to the electrical data of the synchronous machine to be tested at the initial stage, and transmit the model to the second lower computer after translating and encoding the model; wherein the electrical data includes: three-phase grid voltage, three-phase grid current, bridge arm current, battery voltage, capacitor voltage, battery current and battery capacity; The second lower computer is used to calculate a current switch control signal according to the modular multi-level converter control strategy model, the battery energy storage control strategy model and the current electrical data, and transmit the current switch control signal to the first lower computer; The first lower computer is used to generate electrical data at the next moment according to the power system simulation model and the current switch control signal, and transmit the electrical data at the next moment to the second lower computer to update the current electrical data of the second lower computer, and transmit the electrical data at the next moment to the oscilloscope; The oscilloscope is used to obtain electrical data at each moment in real time until all electrical data within a preset period are obtained, all electrical data within the preset period are compared with preset theoretical electrical data, and the performance of the synchronous machine to be tested is obtained based on the comparison result.

2. The all-round static synchronous machine hardware-in-the-loop test system according to claim 1, characterized in that: The construction of the power system simulation model includes: Constructing a switch function model according to the initial capacitor voltage, the initial capacitor current and the initial switch control signal; According to the switch function model, a power system simulation model is obtained; Wherein, the switch function model is: i dc_ua_i =T ua_S1_i i ua +T ua_S3_i i B_ua_i v L_ua_i =T ua_S3_i v C_ua_i In the formula, v ua Indicates the equivalent output voltage of the upper bridge arm of phase a, v C_ua_i represents the capacitor voltage of the ith submodule of the upper bridge arm of phase a, T ua_S1_i Indicates the switching signal of the i-th submodule switch T1 of the upper bridge arm of phase a, i dc_ua_i represents the capacitive current flowing into the capacitor of the i-th submodule of the upper bridge arm of phase a, i ua Indicates the bridge arm current of phase a, T ua_S3_i Indicates the switching signal of the i-th submodule switch T3 of the upper bridge arm of phase a, i B_ua_i represents the battery current output by the battery cell of the ith submodule of the upper bridge arm of phase a, v L_ua_i It represents the low-voltage side voltage of the energy storage half-bridge of the ith submodule of the upper bridge arm of phase a, and N represents the number of submodules.

3. The all-round static synchronous machine hardware-in-the-loop test system according to claim 2, characterized in that: The construction of the modular multi-level converter control strategy model and the battery energy storage control strategy model includes: A modular multilevel converter control strategy model is constructed based on the three-phase grid current, the three-phase grid voltage, the capacitor voltage and the bridge arm current; A battery energy storage control strategy model is constructed based on the battery voltage, battery current and battery capacity.

4. The all-round static synchronous machine hardware-in-the-loop test system according to claim 3, characterized in that: The modular multi-level converter control strategy model is constructed according to the three-phase grid current, the three-phase grid voltage, the capacitor voltage and the bridge arm current, including: According to the three-phase grid current and the three-phase grid voltage, an AC side synchronous machine control strategy is constructed; According to the capacitor voltage, a capacitor voltage balance control strategy is constructed; According to the bridge arm current, a circulating current suppression control strategy is constructed; According to the AC side synchronous machine simulation control strategy, capacitor voltage balance control strategy and circulating current suppression control strategy, the modular multilevel converter control strategy model is obtained; The control strategy of the AC side synchronous machine is as follows: Give = oh pcc -oh N i set -θ pcc =d E q ′ set =E q ′0+T v (s)·(U ref -U s ) Where, T represents the moment of inertia of the synchronous machine, P m Represents mechanical power, P s Indicates the actual electromagnetic power of the system, K D represents the damping coefficient, δ represents the generator power angle, ω N Indicates rated power, ω pcc represents the actual frequency, Δω represents the difference between the actual frequency and the rated frequency, u a Indicates the voltage of phase a, u b Indicates the voltage of phase b, u c Represents the c-phase voltage, V d represents the d-axis component of the voltage vector, V q represents the q-axis component of the voltage vector, i a represents the a-phase current, i b represents the b-phase current, i c Indicates the c-phase current, I d represents the d-axis component of the current vector, I q represents the q-axis component of the current vector, represents the mechanical power setting reference value, G(s) represents the transfer function of the frequency regulator equation in the s domain, R d Indicates the adjustment coefficient, T G represents the time constant of the speed regulation system, θ set It indicates that the active power reference value generated by the frequency regulation link passes through the rotor motion balance equation and outputs the phase angle of the transient potential of the synchronous generator, θ ref Indicates the rated value of the phase angle, E′ qset represents the transient potential, E′ q0 Represents the transient potential reference value, T v (s) represents the s-domain transfer function corresponding to the simulated synchronous generator excitation circuit, U ref Indicates the reference value of the voltage amplitude at the grid connection point, U s Indicates the actual voltage amplitude at the grid connection point, K v Represents the gain factor, P ref Indicates the active power reference value output by the simulated synchronous control loop, x d represents the internal reactance of the simulated synchronous generator operation, Q ref Indicates the reactive power reference value output by the simulated synchronous control loop; The capacitor voltage balance control strategy is: K c (v C_kj_i -v kj_ave )+sign(i kj )=Δv C_kj_i In the formula, v kj_ave represents the average capacitor voltage of the j-phase k-bridge arm, v C_kj_i represents the capacitor voltage of the i-th submodule of the j-phase k-bridge arm, K c represents the gain coefficient, i kj Indicates the output current of the j-phase k-bridge arm, Δv C_kj_i represents the correction value of the modulation signal of the i-th submodule of the j-phase k-bridge arm; The circulation suppression control strategy is: (i pj +i nj ) / 2=i zj (0-i zj_ac )*PIR(s)=Δv cir_j In the formula, i pj represents the bridge arm current of the upper bridge arm of phase j, i nj represents the bridge arm current of the lower bridge arm of phase j, i zj represents the circulation of phase j, T L represents the low-pass filter time constant, i zj_ac represents the AC component in the circulating current, PIR(s) represents the transfer function of the PIR controller in the circulating current suppression link in the s domain, Δv cir_j Indicates the voltage correction component output by the circulating current suppression link, k p_PIR Indicates the proportional coefficient of the PIR controller, k i_PIR represents the integral coefficient, k r_PIR represents the resonance coefficient, ω c represents the cut-off frequency, ω r Indicates the resonant frequency.

5. The all-round static synchronous machine hardware-in-the-loop test system according to claim 4, characterized in that: The battery energy storage control strategy model is constructed according to the battery voltage, battery current and battery capacity, including: Constructing an energy storage system control strategy based on the battery voltage and the battery current; According to the battery capacity, a SoC balancing control strategy is constructed; Generate the battery energy storage control strategy model according to the energy storage system control strategy and the SoC balancing control strategy; Among them, the energy storage system control strategy is: P Bat =V Bat ×I Bat Where P Bat Indicates the actual battery power, V Bat Indicates the battery voltage, I Bat Represents the battery current, K p Represents the proportional coefficient of the proportional integral link, K i Represents the integral coefficient of the proportional integral link, P Batref Battery outer ring power reference value, d represents the duty cycle, I Batref Indicates the current reference value output by the power outer loop; The SoC balance control strategy is: Where, SoC avg_kj Represents the average state of charge on the j-phase k-bridge arm, SoC kji Indicates the charge state of the i-th submodule on the j-th phase k bridge arm, SoC avg_j Represents the average charge state of the upper and lower bridge arms of phase j, SoC avg_uj Represents the average state of charge on the j-th phase u bridge arm, SoC avg_lj Represents the average state of charge on the bridge arm of phase j, SoC avg_ph Indicates the three-phase average state of charge, SoC avg_a Indicates the average charge state of the upper and lower bridge arms of phase a, SoC avg_b Indicates the average charge state of the upper and lower bridge arms of phase b, SoC avg_c It represents the average charge state of the upper and lower bridge arms of phase c, represents the total power of the j-phase battery, P bat_ref Indicates the total battery power, K ph represents the inter-phase SoC balance coefficient, Indicates the total battery power of phase j and bridge arm k, K arm Indicates the SoC balance coefficient between bridge arms, Represents the total battery power of each battery unit, K sm Indicates the SoC balance coefficient between sub-modules.

6. The all-round static synchronous machine hardware-in-the-loop test system according to claim 5, characterized in that: The step of calculating the current switch control signal according to the modular multi-level converter control strategy model, the battery energy storage control strategy model and the current electrical data includes: According to the modular multilevel converter control strategy model and current electrical data, a current voltage modulation signal of each group of switches on the bridge arm side is obtained; After processing the voltage modulation signal through pulse width modulation technology, a current switch control signal of the bridge arm side switch is obtained; According to the battery energy storage control strategy model and the current electrical data, a current duty cycle signal of each submodule switch on the energy storage side is obtained; The duty cycle signal is processed by pulse width modulation technology to obtain the current switch control signal of the energy storage side switch.

7. The all-round static synchronous machine hardware-in-the-loop test system according to claim 6, characterized in that: The first lower computer includes: a first communication unit, a first input-output unit and a real-time simulation unit; the second lower computer includes: a second communication unit, a second input-output unit and a real-time digital control unit; The first end of the first communication unit is connected to the first host computer, the second end of the first communication unit is connected to the first end of the real-time simulation unit, the second end of the real-time simulation unit is connected to the first end of the first input-output unit, the second end of the first input-output unit is connected to the first end of the second input-output unit, the second end of the second input-output unit is connected to the first end of the real-time digital control unit, the second end of the real-time digital control unit is connected to the first end of the second communication unit, the second end of the second communication unit is connected to the second host computer, and the third end of the first input-output unit is connected to the oscilloscope; The second communication unit is used to transmit the translated and encoded modular multi-level converter control strategy model and battery energy storage control strategy model to the real-time digital control unit; The real-time digital control unit is used to calculate the current switch control signal according to the modular multi-level converter control strategy model, the battery energy storage control strategy model, the electrical data and the current electrical data, and transmit the current switch control signal to the first input-output unit through the second input-output unit; The first communication unit is used to transmit the power system simulation model to the real-time simulation unit; The real-time simulation unit is used to generate electrical data at the next moment according to the power system simulation model and the current switch control signal, and transmit the electrical data at the next moment to the second input-output unit through the first input-output unit; The first input-output unit is used to transmit the electrical data at the next moment to the second input-output unit and the oscilloscope; The second input-output unit is used to transmit the electrical data at the next moment to the real-time digital control unit, and to transmit the current switch control signal to the first input-output unit.

8. The all-round static synchronous machine hardware-in-the-loop test system according to claim 7, characterized in that: The real-time digital control unit includes: a DSP processor, a signal port and an FPGA processor; The first end of the DSP processor is connected to the second communication unit, the second end of the DSP processor is connected to the first end of the signal port, the second end of the signal port is connected to the first end of the FPGA processor, and the second end of the FPGA processor is connected to the second input-output unit; The DSP processor is used to calculate the current voltage modulation signal and the duty cycle signal according to the modular multi-level converter control strategy model, the battery energy storage control strategy model and the current electrical data, and transmit the current voltage modulation signal and the duty cycle signal to the FPGA processor through the signal port; The FPGA processor is used to generate an electrical digital signal at a next moment according to the electrical data at a next moment, and transmit the electrical digital signal at the next moment to the signal port, and to generate a current switch control signal according to the current voltage modulation signal and the duty cycle signal, and transmit the current switch control signal to the first input-output unit through the second input-output unit; The signal port is used to transmit the current voltage modulation signal and duty cycle signal to the FPGA processor, and transmit the electrical digital signal at the next moment to the DSP processor, so as to update the current electrical data of the DSP processor.

9. The all-round static synchronous machine hardware-in-the-loop test system according to claim 8, characterized in that: The DSP processor comprises: a core control unit and a first ADC converter; The first ADC converter is used to convert the current electrical digital signal into current electrical data; The core control unit is used to calculate the current voltage modulation signal and duty cycle signal according to the modular multi-level converter control strategy model, the battery energy storage control strategy model and the current electrical data, and transmit the current voltage modulation signal and duty cycle signal to the signal port; The FPGA processor includes: a PWM signal generating unit and a second ADC converter; The PWM signal generating unit is used to generate a current switch control signal according to a current voltage modulation signal and a duty cycle signal; The second ADC converter is used to convert the electrical data at the next moment into the electrical digital signal at the next moment, and transmit the electrical digital signal at the next moment to the signal port.

10. The all-round static synchronous machine hardware-in-the-loop test system according to claim 9, characterized in that: Also includes: A first power supply unit and a second power supply unit; The first end of the first power supply unit is connected to the first host computer, the second end of the first power supply unit is connected to the first slave computer, the third end of the first power supply unit is connected to the oscilloscope, the first end of the second power supply unit is connected to the second host computer, and the second end of the second power supply unit is connected to the second slave computer; The first power supply unit is used to supply power to the first host computer, the first slave computer and the oscilloscope; The second power supply unit is used to supply power to the second upper computer and the second lower computer.

Citation Information

Patent Citations

  • Electrical performance test system

    CN111781550A

  • Doubly-fed fan controller hardware-in-loop simulation test method based on RT-LAB

    CN116125827A

  • Upper computer simulation system and method

    CN117130290A

  • Simulation test system of energy storage system

    CN118795861A