A Generator Simulator Control Method and System Based on Improved PCD Method
By using the improved partial circuit duplication method (PCD method), the voltage and current values at the output of the generator simulator are collected, the reference current value is calculated using the generator model, and the inductor voltage is corrected through current feedback compensation. This solves the accuracy and stability problems of the generator simulator system and realizes high-precision and stable generator simulator control.
Patent Information
- Application Number
- CN202311222813.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-20
- Publication Date
- 2026-11-10
- Estimated Expiration
- 2043-09-20
AI Technical Summary
Existing generator simulator interface algorithms are insufficient in terms of accuracy and stability, especially the partial circuit duplication method (PCD method), which has low accuracy and cannot meet the requirements of high precision and stability.
An improved partial circuit duplication method (PCD method) is adopted. By collecting the voltage and current values at the output of the generator simulator, coordinate transformation is performed, the reference current value is calculated using the generator model, and the inductor voltage is corrected through current feedback compensation to calculate the reference voltage value. Combined with PWM modulation, the electrical characteristics of the target generator port are simulated.
This improved the accuracy and stability of the generator simulator system, enhancing its precision and stability, and meeting the requirements for high precision and stability.
Smart Images

Figure CN117193039B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to power hardware-in-the-loop simulation technology, and particularly to a generator simulator control method and system based on an improved PCD method. Background Technology
[0002] Generally, a complete power hardware-in-the-loop simulation system includes the device under test (DUT), a virtual simulation system, and a power converter. Power-level hardware-in-the-loop simulation technology can perform full-power testing on the DUT, and the simulation system composed of digital controllers and power converters is also flexible enough that its built-in mathematical models can simulate the port characteristics of various electrical devices. Therefore, power-level hardware-in-the-loop simulation technology has been widely researched and applied.
[0003] However, due to the fact that power converters are not ideal voltage or current sources, and issues such as control and sampling delays exist, the actual power conversion process on the data and physical sides suffers from decreased accuracy and stability. Therefore, when designing a hardware-in-the-loop simulation system, the primary guarantee is system stability, and on this basis, the system's accuracy is improved. Various types of interface algorithms have thus been proposed to meet the accuracy and stability requirements of different applications.
[0004] Currently, commonly used interface algorithms for generator simulators include the Ideal Transformer (ITM) method, the Damped Impedance (DIM) method, and the Partial Circuit Replication (PCD) method. These algorithms have the following characteristics: The ITM method is simple to calculate and highly accurate, but suffers from poor stability; the DIM method has high stability, but its accuracy still needs improvement. To achieve high accuracy, impedance matching is often required, resulting in high algorithm complexity and impedance measurement deviation; the PCD method has slightly lower accuracy than the ITM method, but its stability is effectively improved. The DIM method itself is essentially a combination of the PCD and ITM methods, therefore the stability of the PCD method is basically the same as that of the DIM method, but its accuracy is lower. Summary of the Invention
[0005] Purpose of the invention: To address the above problems, the purpose of this invention is to provide a generator simulator control method and system based on an improved PCD method.
[0006] Technical solution: This invention provides a generator simulator control method based on an improved PCD method, comprising the following steps:
[0007] Collect the voltage and current values at the output of the generator simulator and perform coordinate transformation;
[0008] The reference current value for the generator simulator is calculated using the generator model;
[0009] Calculate the physical side input voltage reference value based on the improved partial circuit replication method;
[0010] The inductor voltage is corrected by current feedback compensation, and the reference voltage value of the generator simulator is calculated.
[0011] The reference voltage value is input to the generator simulator via PWM modulation to simulate the electrical characteristics of the target generator port.
[0012] Furthermore, the steps for calculating the reference current value of the generator simulator using the generator model include:
[0013] The stator voltage equation of the permanent magnet synchronous generator, i.e., the generator model, is established as follows:
[0014] ;
[0015] in, , The target generator's back electromotive force. , , The target generator stator impedance, , This is the reference current value for the generator simulator. Electric angular velocity, , This is the voltage sample value at the output port of the generator simulator;
[0016] Using the generator model and the voltage sampling values after coordinate transformation, the reference current value of the generator simulator is calculated. , .
[0017] Furthermore, the steps for calculating the reference voltage value of the generator simulator by correcting the inductor voltage through current feedback compensation include:
[0018] Before the generator simulator control system reaches steady state, there is a deviation between the sampled current value and the reference value. This deviation causes a deviation in the inductor voltage. By introducing current feedback compensation to correct the inductor voltage, the reference voltage value of the generator simulator is obtained. The calculation expression is as follows:
[0019] ;
[0020] in, , This indicates the reference voltage value for the generator simulator. , This represents the physical side input voltage reference value, and K is the current correction term coefficient. , This is the current sample value at the output port of the generator simulator.
[0021] Furthermore, the physical side input voltage reference value , The calculation methods include:
[0022] The generator stator voltage equation can be broken down as follows:
[0023] ;
[0024] In the formula, , For the generator simulator interface filter impedance;
[0025] The expression for the physical side input voltage reference value, derived from the split stator voltage equation, is as follows:
[0026] .
[0027] Furthermore, the physical side input voltage reference value , The calculation methods include:
[0028] The current derivative term is calculated using the generator stator voltage equation, and its expression is:
[0029] ;
[0030] Substituting the current derivative into the physical side calculation yields the physical side input voltage reference value, expressed as:
[0031] ;
[0032] The above expression can be rearranged as follows:
[0033] .
[0034] Furthermore, the solution process for the current correction term coefficient K is as follows:
[0035] The open-loop transfer function of the generator simulator control system is calculated as follows:
[0036] ;
[0037] In the formula, The target motor stator impedance, s is a complex variable representing the frequency in the circuit. For the interface filter impedance, , For load impedance, For sampling delay time, To control the delay time;
[0038] According to the Nyquist stability condition, we have:
[0039] ;
[0040] remember When no current correction term is added, i.e., K=0, the stability condition is: Right now ,because ,so , so when When this condition is met, the system is stable, i.e., it satisfies... At that time, the generator simulator control system was stable;
[0041] When a current correction term is added, i.e., K>0, let If a is a real number, then , right Differentiation yields With other parameters fixed, right It is a monotonic function, therefore when When both conditions are met, the system is stable, that is... , so when The generator simulator control system is stable.
[0042] Furthermore, the electrical characteristics of the simulated target generator port refer to the voltage sample values generated by the output port of the power plant simulator. , and current sampling value , .
[0043] Another aspect of the present invention provides a generator simulator control system based on an improved PCD method, comprising:
[0044] Power converter module, used to generate voltage and current and to achieve power amplification;
[0045] Interface filter module, used with digital impedance Together, we achieve the desired effect on generator stator impedance. The simulation;
[0046] The current and voltage sampling module is used to sample the output voltage and current.
[0047] And a generator simulator control module, used to calculate voltage sample values. , and current sampling value , It is then input to the power converter module via PWM modulation.
[0048] Beneficial effects: Compared with the prior art, the significant advantages of this invention are:
[0049] This invention proposes an improved power hardware-in-the-loop interface algorithm and applies it to a generator simulator system. By sampling the output voltage of the generator simulator port, the reference voltage of the physical-side power converter is calculated using an improved PCD method. At the same time, the output current of the generator simulator port is sampled and fed back to the digital side. The calculated reference voltage is compensated by a current correction term, thereby improving the accuracy and stability of the system. Attached Figure Description
[0050] Figure 1 This is a flowchart of the generator simulator control method based on the improved PCD method in Example 1;
[0051] Figure 2 This is a schematic diagram of the improved partial circuit replication method in Embodiment 1;
[0052] Figure 3 This is the equivalent circuit of the generator simulator system in Example 1;
[0053] Figure 4 This is the interface algorithm control block diagram in Implementation Example 1;
[0054] Figure 5 This is a block diagram of the generator simulator control system based on the improved PCD method in Embodiment 2. Detailed Implementation
[0055] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments.
[0056] Example 1
[0057] like Figure 1 The flowchart shown is a process for controlling a generator simulator based on the improved PCD method described in this embodiment, including the following steps:
[0058] Step 1: Collect the voltage and current values at the output of the generator simulator and perform coordinate transformation.
[0059] The three-phase terminal voltage and phase current of the generator simulator output are collected in the natural coordinate system and then converted into voltage and current values in the synchronous rotating coordinate system for use in subsequent calculations.
[0060] Step 2: Calculate the reference current value of the generator simulator using the generator model.
[0061] Specifically, the steps described above for calculating the reference current value of the generator simulator using the generator model include:
[0062] like Figure 3 The equivalent circuit of a permanent magnet synchronous generator is shown. The stator voltage equation of the permanent magnet synchronous generator, i.e., the generator model, is established as follows:
[0063] ;
[0064] in, , The target generator's back electromotive force. , , The target generator stator impedance, , This is the reference current value for the generator simulator. Electric angular velocity, , This is the voltage sample value at the output port of the generator simulator;
[0065] Voltage sample value after coordinate transformation , Substituting these values into the generator model above, the reference current value of the generator simulator on the physical side is calculated. , The reference current value can be obtained by calculating the rate of change of current and then performing numerical calculations.
[0066] Step 3: Calculate the physical side input voltage reference value based on the improved partial circuit replication method.
[0067] In one example, the above physical-side input voltage reference value , The calculation methods include:
[0068] The generator stator voltage equation can be broken down as follows:
[0069] ;
[0070] In the formula, , For the generator simulator interface filter impedance;
[0071] The expression for the physical side input voltage reference value, derived from the split stator voltage equation, is as follows:
[0072] .
[0073] In another example, the physical side input voltage reference value , The calculation methods include:
[0074] The current derivative term is calculated using the generator stator voltage equation, and its expression is:
[0075] ;
[0076] Substituting the current derivative into the physical side calculation yields the physical side input voltage reference value, expressed as:
[0077] ;
[0078] The above expression can be rearranged as follows:
[0079] .
[0080] Step 4: Correct the inductor voltage through current feedback compensation and calculate the reference voltage value of the generator simulator.
[0081] Specifically, the steps for calculating the reference voltage value of the generator simulator by correcting the inductor voltage through current feedback compensation include:
[0082] Before the generator simulator control system reaches steady state, there is a deviation between the sampled current value and the reference value. This deviation causes a deviation in the inductor voltage. By introducing current feedback compensation to correct the inductor voltage, the reference voltage value of the generator simulator is obtained. The calculation expression is as follows:
[0083] ;
[0084] in, , This indicates the reference voltage value for the generator simulator. , This represents the physical side input voltage reference value, and K is the current correction term coefficient. , This is the current sample value at the generator simulator output port. The current correction term is combined with the aforementioned physical side input voltage reference value and fed into the PWM modulation to generate the drive signal for the power converter.
[0085] The basic principle of improving the PCD algorithm is as follows: Figure 2 As shown, the complete circuit system is divided into multiple sub-circuit systems, and the total impedance is... Divided into physical impedance and digital impedance By sampling the physical side output voltage Transmitted to the digital side for calculation Post-stage voltage reference value and current reference value Sample physical side current Current correction on the digital side Reference voltage and current correction item Together they serve as a reference value for the physical side input voltage.
[0086] Furthermore, the solution process for the current correction term coefficient K is as follows:
[0087] According to such Figure 4 The block diagram shown calculates the open-loop transfer function of the generator simulator control system, and the expression is:
[0088] ;
[0089] In the formula, The target motor stator impedance, s is a complex variable representing the frequency in the circuit. For the interface filter impedance, , For load impedance, For sampling delay time, To control the delay time;
[0090] According to the Nyquist stability condition, we have:
[0091] ;
[0092] remember When no current correction term is added, i.e., K=0, the stability condition is: Right now ,because ,so , so when When this condition is met, the system is stable, i.e., it satisfies... At that time, the generator simulator control system was stable;
[0093] When a current correction term is added, i.e., K>0, let If a is a real number, then , right Differentiation yields With other parameters fixed, right It is a monotonic function, therefore when When both conditions are met, the system is stable, that is... , so when The generator simulator control system is stable. The improved partial circuit replication method removes the constraint on the physical side impedance, and only the parameter K needs to be adjusted to stabilize the generator simulator control system.
[0094] Step 5: Input the reference voltage value into the generator simulator via PWM modulation to simulate the electrical characteristics of the target generator port.
[0095] The current correction term is combined with the aforementioned physical-side input voltage reference value to obtain a reference voltage value, which is then fed into the drive signal of the power converter generated using PWM modulation. The generator simulator uses this drive signal to generate current and voltage. The electrical characteristics of the simulated target generator port refer to the voltage sampling value generated by the output port of the power station simulator. , and current sampling value , .
[0096] Example 2
[0097] This embodiment describes a generator simulator control system based on an improved PCD method. This system is used to implement the generator simulator control method based on the improved PCD method described in Embodiment 1, such as... Figure 5 The diagram shown is a framework diagram of the generator simulator controller, including:
[0098] Power converter module, used to generate voltage and current and to achieve power amplification;
[0099] Interface filter module, used with digital impedance Together, we achieve the desired effect on generator stator impedance. The simulation;
[0100] The current and voltage sampling module is used to sample the output voltage and current.
[0101] And a generator simulator control module, used to calculate voltage sample values. , and current sampling value , It is then input to the power converter module via PWM modulation.
[0102] The foregoing description illustrates the basic principles, main features, and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the specific embodiments described above. The specific embodiments and descriptions in the specification are merely illustrative of the principles of the invention. Various changes and modifications can be made to the invention without departing from its spirit and scope, and all such changes and modifications fall within the scope of the claims. The scope of protection of this invention is defined by the claims and their equivalents.
Claims
1. A generator simulator control method based on an improved PCD method, characterized in that, Includes the following steps: Collect the voltage and current values at the output of the generator simulator and perform coordinate transformation; The reference current value for the generator simulator is calculated using the generator model; The reference value of the physical side input voltage is calculated based on the improved partial circuit replication method; the reference voltage value of the generator simulator is calculated by correcting the inductor voltage through current feedback compensation. Specifically: Before the generator simulator control system reaches steady state, there is a deviation between the sampled current value and the reference value. This deviation causes a deviation in the inductor voltage. By introducing current feedback compensation to correct the inductor voltage, the reference voltage value of the generator simulator is obtained. The calculation expression is as follows: ; in, , This indicates the reference voltage value for the generator simulator. , This represents the physical side input voltage reference value, and K is the current correction term coefficient. , This is the current sample value at the output port of the generator simulator. , This is the reference current value for the generator simulator; The reference voltage value is input to the generator simulator via PWM modulation to simulate the electrical characteristics of the target generator port.
2. The generator simulator control method based on the improved PCD method according to claim 1, characterized in that, The steps for calculating the reference current value for the generator simulator using the generator model include: The stator voltage equation of the permanent magnet synchronous generator, i.e., the generator model, is established as follows: ; in, , The target generator's back electromotive force. , , The target generator stator impedance, , This is the reference current value for the generator simulator. Electric angular velocity, , This is the voltage sample value at the output port of the generator simulator; Using the generator model and the voltage sampling values after coordinate transformation, the reference current value of the generator simulator is calculated. , .
3. The generator simulator control method based on the improved PCD method according to claim 1, characterized in that, Physical side input voltage reference value , The calculation methods include: The generator stator voltage equation can be broken down as follows: ; In the formula, , For the generator simulator interface filter impedance; The expression for the physical side input voltage reference value, derived from the split stator voltage equation, is as follows: 。 4. The generator simulator control method based on the improved PCD method according to claim 1, characterized in that, Physical side input voltage reference value , The calculation methods include: The current derivative term is calculated using the generator stator voltage equation, and its expression is: ; Substituting the current derivative into the physical side calculation yields the physical side input voltage reference value, expressed as: ; The above expression can be rearranged as follows: 。 5. The generator simulator control method based on the improved PCD method according to claim 1, characterized in that, The solution process for the current correction term coefficient K is as follows: The open-loop transfer function of the generator simulator control system is calculated as follows: ; In the formula, The target motor stator impedance, s is a complex variable representing the frequency in the circuit. For the interface filter impedance, , For load impedance, For sampling delay time, To control the delay time; According to the Nyquist stability condition, we have: ; remember When no current correction term is added, i.e., K=0, the stability condition is: Right now ,because ,so , so when When this condition is met, the system is stable, i.e., it satisfies... At that time, the generator simulator control system was stable; When a current correction term is added, i.e., K>0, let If a is a real number, then , right Differentiation yields With other parameters fixed, right It is a monotonic function, therefore when When both conditions are met, the system is stable, that is... , so when The generator simulator control system is stable.
6. The generator simulator control method based on the improved PCD method according to claim 1, characterized in that, The electrical characteristics of the simulated target generator port refer to the voltage sample values generated by the output port of the power plant simulator. , and current sampling value , .
7. A generator simulator control system based on an improved PCD method, the system being used to implement the generator simulator control method based on an improved PCD method as described in any one of claims 1-5, characterized in that, include: Power converter module, used to generate voltage and current and to achieve power amplification; Interface filter module, used with digital impedance Together, we achieve the desired effect on the generator stator impedance. The simulation; The current and voltage sampling module is used to sample the output voltage and current. And a generator simulator control module, used to calculate voltage sample values. , and current sampling value , It is then input to the power converter module via PWM modulation.
