Method and system for controlling digital-physical hybrid simulation interface of power distribution network

By adding a controlled source to the PHILs model circuit of the distribution network and using a fuzzy controlled adaptive PID controller for phase compensation, the problem of delay compensation of the distribution network digital physical hybrid simulation interface is solved, and the stability of the system is improved and simulation accuracy.

CN118938707APending Publication Date: 2024-11-12GUANGDONG POWER GRID CORP ZHAOQING POWER SUPPLY BUREAU +2
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410935940.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-12
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

The existing digital physical hybrid simulation interface delay compensation method of the distribution network is difficult to quickly realize signal tracking compensation, and it is difficult to eliminate the error caused by time delay, resulting in system instability.

Method used

By adding a controlled source to the PHILs model circuit of the distribution network, the phase difference signal is fuzzy controlled by using an adaptive PID controller based on fuzzy control, the leading phase compensation signal is output, and it is used to the output current on the physical side for leading time Phase compensation is formed to form a closed loop to indirectly compensate for the voltage delay.

Benefits of technology

It realizes fast signal tracking compensation, eliminates the impact of delay on the system in real time, and improves the reliability and applicability of the hybrid simulation interface system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118938707A_ABST
    Figure CN118938707A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of electromagnetic transient simulation of a power distribution network, and discloses a digital-physical hybrid simulation interface control method and system for the power distribution network. A controlled source is added by utilizing a power distribution network PHILs model circuit based on an ideal transformer model interface, so that a closed loop is formed between a digital side and a physical side; a self-adaptive PID controller based on fuzzy control is used for conducting fuzzy control on phase difference signals of voltages on the two sides of the hybrid simulation interface, and leading phase compensation signals are added into a controlled current source and injected into a feedback current signal transmission channel, so that the leading phase compensation signals directly participate in whole closed-loop generalized control; the voltage delay amount is indirectly compensated through the closed-loop feedback effect, the influence of delay on the system is eliminated in real time, tracking compensation of signals is rapidly achieved, and therefore the reliability and applicability of the hybrid simulation interface system are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electromagnetic transient simulation of distribution networks, and in particular to a distribution network digital-physical hybrid simulation interface control method and system. Background Art

[0002] With the development of new power systems, new energy power generation, energy storage, electric vehicles, etc. are connected to the distribution network on a large scale through power electronic devices, causing dual uncertainty problems in the temporal and spatial distribution of "source-grid-load-storage", resulting in frequent voltage fluctuations in the active distribution network under the access of distributed resource clusters, weak system overload capacity, and difficulty in precise voltage-frequency regulation of regional power grids. These problems pose severe challenges to the efficient, high-quality, economical and reliable operation of the active distribution network.

[0003] In response to the ever-increasing demand for simulation precision, accuracy and real-time performance brought about by large-scale renewable energy access, as well as the unique challenges brought to numerical algorithms by high-dimensional system models, multi-time scale computing efficiency, and component models such as distributed parameter components and power electronic devices, Power Hardware-in-the-loop simulation (PHILs) has become the basis for analyzing and designing the safety, stability and control protection of new distribution systems. It is an effective means to analyze AC / DC hybrid power systems containing large-scale power electronic converters.

[0004] In order to accurately and effectively apply PHILs to the research of digital-physical hybrid simulation of distributed resource clusters in distribution networks, appropriate interfaces and control methods need to be adopted. Among them, the ideal transformer model (ITM) algorithm is the most traditional and convenient interface algorithm. It is divided into voltage source ITM and current source ITM based on the power transmission type, and has been applied to the research of PHIL simulation of power systems. However, since the interface device generally includes voltage / current measurement devices, digital-to-analog signal conversion modules, power amplifiers, etc., there must be interface delay, which will cause delay operation residual distortion between the digital side and the physical side, indirectly reducing the accuracy and stability of the simulation. Therefore, in order to further improve the accuracy and stability of digital-physical hybrid simulation, it is urgent to select a suitable interface delay compensation method.

[0005] At present, the delay compensation method of the digital-physical hybrid simulation interface applied to the distribution network is difficult to quickly realize signal tracking compensation, and it is difficult to eliminate the errors caused by time delays. It is also difficult to meet the stability requirements and easily cause system instability. Summary of the invention

[0006] The present invention provides a control method and system for a digital-physical hybrid simulation interface of a distribution network, which solves the technical problems that the delay compensation method of the digital-physical hybrid simulation interface applied to the distribution network is difficult to quickly realize signal tracking compensation, difficult to eliminate the error caused by time delay, and difficult to meet the stability requirements, which easily leads to system instability.

[0007] In view of this, a first aspect of the present invention provides a distribution network digital-physical hybrid simulation interface control method, which is applied to a distribution network PHILs model circuit based on an ideal transformer model interface, wherein the distribution network PHILs model circuit includes a digital side and a physical side, and the digital side and the physical side are connected via a hybrid simulation interface. The control method of the hybrid simulation interface includes:

[0008] Adding a controlled source to the distribution network PHILs model circuit, the controlled source includes a controlled current source introduced by the digital side and a controlled voltage source introduced by the physical side; wherein the input quantity of the controlled current source is the output current of the physical side, and the input quantity of the controlled voltage source is the output voltage of the digital side;

[0009] Collect voltage signals at the connection points between the digital side and the physical side and the hybrid simulation interface respectively in real time, extract fundamental wave phases of the two voltage signals, perform difference processing on the fundamental wave phases of the two voltage signals, and obtain a phase difference signal;

[0010] The phase difference signal is fuzzy controlled by an adaptive PID controller based on fuzzy control to output an advanced phase compensation signal;

[0011] The output current of the physical side is subjected to leading phase compensation using the leading phase compensation signal to obtain a feedback current output signal, and the feedback current output signal is input into the controlled current source.

[0012] Preferably, the method further comprises:

[0013] Different delays are set for the forward channel and feedback channel of the controlled source, the forward channel is a transmission channel for the output voltage of the digital side to be input to the controlled voltage source, and the feedback channel is a transmission channel for the output current of the physical side to be input to the controlled current source.

[0014] Preferably, the method further comprises:

[0015] A phase-locked loop is used to extract the fundamental phases of the two voltage signals.

[0016] Preferably, the step of performing leading phase compensation on the output current of the physical side by using the leading phase compensation signal to obtain a feedback current output signal, and inputting the feedback current output signal into the controlled current source specifically includes:

[0017] The output current of the physical side is transformed into dq coordinates using a preset fundamental angular frequency, and the leading phase compensation signal is introduced into a dq inverse transformation matrix. The output current of the physical side after the dq coordinate transformation is transformed into dq inverse transformation using the dq inverse transformation matrix after the leading phase compensation signal is introduced to obtain a feedback current output signal, and the feedback current output signal is input into the controlled current source.

[0018] In a second aspect, the present invention further provides a distribution network digital-physical hybrid simulation interface control system, which is applied to a distribution network PHILs model circuit based on an ideal transformer model interface, wherein the distribution network PHILs model circuit includes a digital side and a physical side, wherein the digital side and the physical side are connected via a hybrid simulation interface, and the hybrid simulation interface control system includes:

[0019] A controlled source module, used to add the distribution network PHILs model circuit to a controlled source, wherein the controlled source includes a controlled current source introduced by the digital side and a controlled voltage source introduced by the physical side; wherein the input quantity of the controlled current source is the output current of the physical side, and the input quantity of the controlled voltage source is the output voltage of the digital side;

[0020] A voltage processing module, used for collecting voltage signals at the connection points between the digital side and the physical side and the hybrid simulation interface in real time, extracting fundamental wave phases of the two voltage signals, performing difference processing on the fundamental wave phases of the two voltage signals, and obtaining a phase difference signal;

[0021] A fuzzy control module, used for performing fuzzy control on the phase difference signal through an adaptive PID controller based on fuzzy control, and outputting an advanced phase compensation signal;

[0022] The phase compensation module is used to perform leading phase compensation on the output current of the physical side by using the leading phase compensation signal to obtain a feedback current output signal, and input the feedback current output signal into the controlled current source.

[0023] Preferably, the system further comprises:

[0024] A delay simulation module is used to set different delays for the forward channel and feedback channel of the controlled source, wherein the forward channel is a transmission channel for the output voltage of the digital side to be input to the controlled voltage source, and the feedback channel is a transmission channel for the output current of the physical side to be input to the controlled current source.

[0025] Preferably, the system further comprises:

[0026] The phase-locked loop module is used to extract the fundamental wave phase of the two voltage signals.

[0027] Preferably, the phase compensation module is specifically used to perform dq coordinate transformation on the output current of the physical side using a preset fundamental angular frequency, and introduce the leading phase compensation signal into the dq inverse transformation matrix, and perform dq inverse transformation on the output current of the physical side after the dq coordinate transformation using the dq inverse transformation matrix after the introduction of the leading phase compensation signal to obtain a feedback current output signal, and input the feedback current output signal into the controlled current source.

[0028] In a third aspect, the present invention further provides an electronic device comprising a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the distribution network digital-physical hybrid simulation interface control method as described above.

[0029] In a fourth aspect, the present invention further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed, the steps of the distribution network digital-physical hybrid simulation interface control method as described above are implemented.

[0030] It can be seen from the above technical solutions that the present invention has the following advantages:

[0031] The present invention uses a distribution network PHILs model circuit based on an ideal transformer model interface to add a controlled source, so that a closed loop is formed between the digital side and the physical side, and uses an adaptive PID controller based on fuzzy control to perform fuzzy control on the phase difference signal of the voltage on both sides of the hybrid simulation interface. By adding an advanced phase compensation signal to the controlled current source and injecting it into the feedback current signal transmission channel, the advanced phase compensation signal is directly involved in the entire closed-loop generalized control, and the voltage delay is indirectly compensated through the closed-loop feedback effect, the influence of the delay on the system is eliminated in real time, and the signal tracking compensation is realized quickly, thereby improving the reliability and applicability of the hybrid simulation interface system. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1a The typical structural diagram of the new distribution network PHILs system is shown in Figure 2.

[0033] Figure 1b It is a schematic diagram of equivalent circuit of an interface system based on voltage source ITM algorithm for digital-physical hybrid simulation of a new distribution network;

[0034] Figure 2 A schematic diagram of a PHILs model circuit of a distribution network based on an ideal transformer model interface provided by an embodiment of the present invention;

[0035] Figure 3 A flow chart of a distribution network digital-physical hybrid simulation interface control method provided by an embodiment of the present invention;

[0036] Figure 4 A control block diagram of a hybrid simulation interface provided by an embodiment of the present invention;

[0037] Figure 5 A control block diagram of an adaptive PID controller based on fuzzy control provided by an embodiment of the present invention;

[0038] Figure 6 A voltage waveform diagram of the PSS side interface provided by an embodiment of the present invention;

[0039] Figure 7a A comparison diagram of voltage waveforms on the PSS side provided by an embodiment of the present invention;

[0040] Figure 7b A voltage absolute error comparison diagram provided by an embodiment of the present invention;

[0041] Figure 8a A comparison diagram of voltage waveforms of the PSS side interface provided by an embodiment of the present invention;

[0042] Figure 8b A comparison diagram of the current waveform of the PSS side interface provided by an embodiment of the present invention;

[0043] Fig. 9 A schematic diagram of the structure of a distribution network digital-physical hybrid simulation interface control system provided by an embodiment of the present invention;

[0044] Fig.10 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0045] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments 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.

[0046] It should be noted that the terms "including" and "having" and any variations thereof in the specification and claims of the present invention and the above-mentioned drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product or apparatus comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or apparatus.

[0047] At present, the delay compensation methods of digital-physical hybrid simulation interface applied to distribution networks mainly include the following:

[0048] (1) Delay compensation method based on Fourier transform. The input signal is transformed, the initial phase angle obtained is compared with the delay time, the phase angle corresponding to the delay time is determined, and the phase difference between the phase angle corresponding to the delay time and the initial phase angle of the signal is judged, and it is compensated to the initial phase angle of the signal. After the inverse Fourier transform, a new signal is obtained to complete the delay compensation of the signal. However, this compensation method requires a lot of time to complete the Fourier transform process. When a dynamic process occurs in the circuit, the signal tracking compensation cannot be quickly realized.

[0049] (2) Interface filter-based method. Adding interface filters on the digital side and the physical side, using the characteristics of high-pass filters that present high impedance in the low-frequency region and resistance in the high-frequency region to improve the accuracy of the simulation, achieve frequency compensation and immunity to noise, and also improve the stability of the interface. However, this method only improves the accuracy of the simulation and does not completely eliminate the error caused by time delay.

[0050] (3) Delay compensation method based on virtual line. A virtual line is added between the digital side and the physical side. This line is composed of resistance and inductance. By calculating the virtual power or impedance flowing through the line, it is determined whether there is a delay at both ends of the interface. The virtual current flowing through the line is obtained by subtracting the voltage on the digital side from the voltage on the physical side through the virtual impedance of the line. The active virtual power is obtained by taking the inner product of the virtual current and the voltage on the digital side. After control, the phase compensation signal is obtained and input as the voltage signal on the physical side to achieve the purpose of delay compensation. However, the performance of this method depends on the size of the impedance on the digital side and the physical side. In the actual process, its value may be nonlinear and time-varying, which is difficult to meet the stability requirements, resulting in system instability, which limits the application and expansion of the algorithm to a certain extent. At the same time, the simulation error caused on the transmission line continues to accumulate under the action of interface delay, which will have an adverse effect on the accuracy of the simulation.

[0051] (4) Delay compensation method based on dq coordinate transformation. The initial phase value of the input signal is obtained by using a phase-locked loop and a dq matrix transformation is introduced. After phase compensation, the voltage signal is regenerated. The voltage signal after dq inverse transformation is used as the input signal of the power amplifier to obtain a signal without phase delay, thereby achieving the purpose of delay compensation. However, this method requires the use of a phase-locked loop to analyze the signal, and the characteristics of the phase-locked loop are unstable. Affected by various factors, it may reduce the accuracy of the simulation results and has certain limitations.

[0052] like Figure 1a As shown, Figure 1a The typical structure of the new distribution network PHILs system is illustrated.

[0053] from Figure 1a It can be seen that the new distribution network PHILs system includes a digital simulation system (DSS), a physical simulation system (PSS) and an interface system. Among them, the interface system includes a D / A converter, an A / D converter, a voltage / current transformer and a power amplifier, and the connection between DSS and PSS is realized through the interface system.

[0054] Normally, the delay of D / A converter, A / D converter and voltage / current transformer is very small and can be ignored. However, the delay of power amplifier and the transmission delay of information of devices on both sides can easily affect the stability and simulation accuracy of the system. Therefore, processing the type of signal received by the real-time simulator and suppressing and compensating the interface delay based on the interface algorithm become the key to improve the stability and accuracy of digital-physical hybrid simulation of distribution network.

[0055] like Figure 1b As shown, Figure 1b The equivalent circuit of the interface system based on the voltage source ITM algorithm for digital-physical hybrid simulation of the new distribution network is illustrated. The theoretical basis of ITM is the substitution theorem in circuit theory. At the partition cut of the electrical system, a controlled power source is used to connect the gap: one side is a controlled current source, and the other side is a controlled voltage source. The controlled signal is the current or voltage signal of the interface on the opposite side. In this equivalent circuit diagram, the digital side is represented by a mathematical model in a digital simulator, and the physical side represents a physical device in a semi-physical simulator. The digital simulation part is composed of an ideal voltage source U s , digital side equivalent impedance Z1 and controlled current source I1, the physical simulation part is composed of an ideal voltage source U p, the physical side equivalent impedance Z2 and the controlled voltage source U2. The output voltage signal u1 on the digital side is transformed and input into the controlled voltage source on the physical side through the power interface (equivalent to a power amplifier). The output current signal i1 on the physical side is transformed and input into the controlled current source on the digital side. The two independent systems form a closed loop. Obviously, during the signal transmission process, there is an obvious delay link in the power interface system, which produces a corresponding delay error. The delay error is analyzed as follows:

[0056] The KVL equations for the digital side system and the physical side are shown in equation (1):

[0057]

[0058] Where U1(s) and U2(s) represent the voltages on both sides of the ITM interface, respectively. S (s) represents an ideal voltage source, I k (s) represents the output current signal of the digital side system, Z1(s) represents the equivalent impedance of the digital side, T s , T d They represent the signal receiving time and signal sending time of the power interface respectively, e represents a constant, s represents the frequency domain differential operator, and U P (s) represents an ideal voltage source, I2(s) represents the output current signal of the power interface, and Z2(s) represents the equivalent impedance on the physical side.

[0059] Let ε=e -s(Ts+Td) , there is an error ε between the voltages U1 and U2 on both sides of the interface, and the voltage error will form a current error Δi on the physical side, where Δi=ε / Z2. Further, the error Δi is transmitted back to the digital side through the controlled current source, further causing a voltage error ΔU on the digital side, where ΔU=-(Z1 / Z2)ε. When |Z1 / Z2|>1, the error will continue to amplify in the closed-loop simulation process, which may eventually cause the hybrid simulation system to become unstable.

[0060] From the error analysis, it can be seen that in the interfaces on both sides of the system, the voltage error ε generated by the delay link of the power interface system forms a phase angle offset between the digital side and the physical side. Since the power amplifier has a second-order low-pass filter characteristic, the influence of each harmonic on the output voltage can be approximately ignored, and only the delay compensation of the fundamental component can meet the accuracy requirements.

[0061] In view of this, an embodiment of the present invention provides a distribution network digital-physical hybrid simulation interface control method. The embodiment of the present invention can be applicable to the situation of controlling the distribution network digital-physical hybrid simulation interface. The method can be executed by a distribution network digital-physical hybrid simulation interface control device. The distribution network digital-physical hybrid simulation interface control device can be implemented in the form of hardware and / or software. The distribution network digital-physical hybrid simulation interface control device can be configured in a computer device.

[0062] A distribution network digital-physical hybrid simulation interface control method provided in an embodiment of the present invention is applied to a distribution network PHILs model circuit based on an ideal transformer model interface. The distribution network PHILs model circuit includes a digital side and a physical side, and the digital side and the physical side are connected through a hybrid simulation interface.

[0063] For example, Figure 2 As shown, Figure 2 The PHILs model circuit of the distribution network based on the ideal transformer model interface is illustrated. The digital side is the IEEE 33-node standard distribution network, which is connected to the permanent magnet direct-drive wind power generation system through a back-to-back converter at the 29th node; the physical side is a passive feeder, and the digital side and the physical side are connected through a hybrid simulation interface.

[0064] like Figure 3 As shown, Figure 3 The present invention illustrates a flow chart of a method for controlling a distribution network digital-physical hybrid simulation interface according to an embodiment of the present invention.

[0065] An embodiment of the present invention provides a distribution network digital-physical hybrid simulation interface control method, comprising:

[0066] Step S1, adding a controlled source to the distribution network PHILs model circuit, the controlled source includes a controlled current source introduced from the digital side, and a controlled voltage source introduced from the physical side; wherein the input quantity of the controlled current source is the output current of the physical side, and the input quantity of the controlled voltage source is the output voltage of the digital side.

[0067] For example, Figure 2 As shown, the PHILs model circuit of the distribution network based on the ideal transformer model interface is divided at node 18, and a controlled source is added at the division point: a controlled current source is introduced on the digital side, and the input quantity is set to the output current on the physical side; a controlled voltage source is introduced on the physical side, and the input quantity is set to the output voltage on the digital side. After adding the controlled source, the output voltage signal on the digital side is transformed and input into the controlled voltage source on the physical side after passing through the power amplifier, and the output current signal on the physical side is transformed and input into the controlled current source on the digital side, and the two independent systems form a closed loop.

[0068] In this embodiment, due to the delay link in the transmission process of the analog signal, different delays are set for the forward channel and feedback channel of the controlled source. The forward channel is the transmission channel from the output voltage of the digital side to the controlled voltage source, and the feedback channel is the transmission channel from the output current of the physical side to the controlled current source.

[0069] Exemplarily, the forward channel delay is set to 100 μs, and the feedback channel delay is set to 80 μs.

[0070] Step S2, collecting voltage signals at the connection points between the digital side and the physical side and the hybrid simulation interface in real time, extracting the fundamental phases of the two voltage signals, performing difference processing on the fundamental phases of the two voltage signals, and obtaining a phase difference signal.

[0071] The fundamental wave phases of the two voltage signals are extracted using a phase-locked loop.

[0072] Step S3: Perform fuzzy control on the phase difference signal through an adaptive PID controller based on fuzzy control, and output an advanced phase compensation signal.

[0073] Step S4: Perform leading phase compensation on the output current of the physical side using the leading phase compensation signal to obtain a feedback current output signal, and input the feedback current output signal into the controlled current source.

[0074] Specifically, step S4 includes:

[0075] The output current on the physical side is transformed into dq coordinates using a preset fundamental angular frequency, and the leading phase compensation signal is introduced into the dq inverse transformation matrix. The output current on the physical side after the dq coordinate transformation is transformed into dq inverse transformation using the dq inverse transformation matrix after the leading phase compensation signal is introduced to obtain a feedback current output signal, which is then input into the controlled current source.

[0076] like Figure 4 As shown, Figure 4 The control block diagram of the hybrid simulation interface is shown. The control strategy of the hybrid simulation interface is to use a typical dq coordinate transformation and apply a phase-locked loop to extract and analyze the fundamental voltage phase of the DSS subsystem and the PSS subsystem to determine the phase value required for compensation. From the above error analysis, it can be seen that the voltage quantity U1 on the DSS side needs to be corrected to offset the error caused by the delay.

[0077] Similarly, there is also a transmission delay in the current of the feedback channel. Therefore, the traditional method of directly compensating the phase of the voltage signal is difficult to solve the delay problem. Therefore, this method adds the phase compensation signal to the controlled current source and injects it into the feedback current signal transmission channel, so that it directly participates in the entire closed-loop generalized control, and indirectly compensates the voltage delay through the closed-loop feedback effect, eliminating the influence of the delay on the PHILs system in real time. This method can use the existing structure and algorithm to achieve phase compensation with a simpler architecture and lower calculation amount, thereby improving the reliability and applicability of the ITM interface algorithm.

[0078] At the same time, if Figure 5 As shown, this method adopts an adaptive PID controller based on fuzzy control and designs a compensation signal that can use historical values ​​to compensate and correct the feedback current of the next step.

[0079] In practical applications, the specific process of steps S2 to S4 is as follows:

[0080] The voltage signals u1 and u2 at the connection points between the digital side and the physical side and the hybrid simulation interface are collected in real time, and the fundamental phase of the two is obtained by phase-locked loop analysis and a phase difference signal is output; the phase difference signal is sent to an adaptive PID controller based on fuzzy control, and the controller outputs an advanced phase compensation signal Δθ.

[0081] Assuming the fundamental angular frequency is ωt, the current signal i of the feedback channel is 2-abc Perform dq coordinate transformation, and then introduce the real leading phase compensation signal Δθ into the dq inverse transformation matrix to make it 2-dq0 The phase is shifted forward by Δθ.

[0082] The conversion matrix of Park transformation is as shown in formula (2).

[0083]

[0084] The leading phase compensation is added, and the Park inverse transform is performed on the compensated signal to obtain a new signal, and its conversion matrix is ​​shown in formula (3).

[0085]

[0086] The newly generated current signal with adaptive leading phase compensation is used as the input control quantity of the controlled current source and acts on the DSS to achieve leading compensation for the next step voltage signal u1, thereby offsetting the phase error caused by the delay link in the forward signal transmission.

[0087] In order to verify the leading phase prediction compensation effect proposed by the method, the embodiment of the present invention sets a steady-state scenario and performs simulation, and verifies the leading phase prediction compensation effect of the method by recording the voltage response at the adaptive leading phase compensation PSS interface.

[0088] The specific verification process includes:

[0089] A simulation scenario of steady-state operation of the system is set, and the simulation step size is set to 10μs. The PSS side interface voltage waveforms obtained by using the ITM interface algorithm without delay compensation and the ITM interface algorithm using the improved method proposed in this patent are compared.

[0090] The output pulse is set on the input side of the compensation link, and the adaptive leading phase compensation response is added at t = 1.5s to obtain the voltage waveform of the PSS side interface as follows: Figure 6 As shown in the figure. The dotted line is the PSS side interface voltage waveform of the original PHILs system without segmentation, and the solid line is the PSS side interface voltage waveform of the PHILs system segmented by the ITM interface algorithm. Figure 6 It can be seen that before the compensation algorithm is added, the interface voltage has an obvious amplitude difference; after the compensation is added at t=1.5s, the amplitude of the interface voltage is significantly reduced, and basically coincides with the voltage waveform of the original system, indicating that the adaptive advance phase compensation proposed in the present invention is effective in eliminating the errors introduced by transmission delay and power amplifier delay, and has good tracking performance, thereby improving the accuracy of the digital-physical hybrid simulation system.

[0091] During the steady-state operation of the system, the voltage waveforms and absolute voltage errors on the PSS side obtained by using the original ITM algorithm without delay compensation, the ITM algorithm based on virtual line compensation, and the ITM algorithm based on the adaptive leading phase delay compensation proposed by the present invention are compared. The voltage waveforms and absolute voltage errors on the PSS side obtained by using different delay compensation algorithms are compared. Figure 7a As shown in ~b. Figure 7a ~b can illustrate that the adaptive leading phase compensation proposed by the present invention eliminates the effectiveness of the errors introduced by transmission delay and power amplifier delay, and has good tracking performance, thereby improving the accuracy of the digital-physical hybrid simulation system.

[0092] In order to quantitatively compare the compensation effects of the original system, the traditional ITM method, the ITM method based on virtual line compensation and the delay compensation method proposed in the present invention, the absolute errors and phase differences of voltage and current of different algorithms at the PSS side interface are shown in Table 1; among them, the absolute errors are all taken as the maximum values ​​in the simulation process.

[0093] Table 1 Performance comparison of different delay compensation methods

[0094] algorithm Voltage error absolute error / V Phase difference / (°) Original ITM 5.5 0.313 Virtual Line Compensation 2.7 0.109 Adaptive Lead Phase Compensation 0.3 0.0415

[0095] By comparing Table 1, it can be seen that the PSS output voltage and current waveforms of the hybrid simulation interface based on the method proposed in the present invention are almost identical to those of the original system, and the absolute errors and phase differences of voltage and current are significantly reduced compared to the virtual line method. Therefore, the method proposed in this paper has a better delay compensation effect than the traditional ITM and the ITM method based on virtual line compensation, bringing higher system simulation accuracy.

[0096] At the same time, in order to verify the stability of the proposed method, the present invention sets a three-phase short-circuit scenario of the physical side feeder for simulation, and verifies the stability of the method by recording the voltage and current responses at the adaptive leading phase compensation PSS interface.

[0097] Specifically: Based on Figure 2 The topology diagram of the new distribution network PHILs system circuit is shown in Figure 1. A three-phase ground short circuit fault is set at point D of the physical side feeder to test the stability of the interface algorithm when an AC fault occurs.

[0098] At t=1.4s, a three-phase ground short circuit fault is set with a duration of 0.1s. The voltage waveform comparison and current waveform comparison of the PSS side interface are as follows: Figure 8a As shown in ~b.

[0099] Depend on Figure 8a From Figure 1, it can be seen that when a ground fault occurs, the ground phase voltage is 0 and the fault current increases sharply; when the fault is removed, the voltage and current on the PSS side can quickly return to a stable state, and the voltage and current can return to their original levels. This shows that in the case of a three-phase ground fault, the ITM algorithm based on the improved method proposed in the present invention exhibits good stability, and can still ensure the stable operation of the interface while compensating for interface delay and improving simulation accuracy.

[0100] It should be noted that the present invention forms a closed loop between the digital side and the physical side by adding a controlled source to the distribution network PHILs model circuit based on the ideal transformer model interface, and uses an adaptive PID controller based on fuzzy control to perform fuzzy control on the phase difference signal of the voltage on both sides of the hybrid simulation interface. By adding the leading phase compensation signal to the controlled current source and injecting it into the feedback current signal transmission channel, the advanced phase compensation signal is directly involved in the entire closed-loop generalized control, and the voltage delay is indirectly compensated through the closed-loop feedback effect, thereby eliminating the influence of the delay on the system in real time, and realizing rapid tracking compensation of the signal, thereby improving the reliability and applicability of the hybrid simulation interface system.

[0101] The above is an embodiment of a distribution network digital-physical hybrid simulation interface control method provided by the present invention, and the following is an embodiment of a distribution network digital-physical hybrid simulation interface control system provided by the present invention.

[0102] like Fig. 9 As shown, the present invention also provides a distribution network digital-physical hybrid simulation interface control system, which is applied to a distribution network PHILs model circuit based on an ideal transformer model interface. The distribution network PHILs model circuit includes a digital side and a physical side, and the digital side and the physical side are connected through a hybrid simulation interface. The hybrid simulation interface control system includes:

[0103] The controlled source module 100 is used to add the distribution network PHILs model circuit to the controlled source, and the controlled source includes a controlled current source introduced from the digital side and a controlled voltage source introduced from the physical side; wherein the input quantity of the controlled current source is the output current of the physical side, and the input quantity of the controlled voltage source is the output voltage of the digital side;

[0104] The voltage processing module 200 is used to collect voltage signals at the connection points between the digital side and the physical side and the hybrid simulation interface in real time, extract the fundamental phases of the two voltage signals, perform difference processing on the fundamental phases of the two voltage signals, and obtain a phase difference signal;

[0105] The invention also includes a phase-locked loop module for extracting the fundamental wave phase of two voltage signals.

[0106] A fuzzy control module 300 is used to perform fuzzy control on the phase difference signal through an adaptive PID controller based on fuzzy control, and output an advanced phase compensation signal;

[0107] The phase compensation module 400 is used to perform leading phase compensation on the output current of the physical side by using the leading phase compensation signal to obtain a feedback current output signal, and input the feedback current output signal into the controlled current source.

[0108] In a specific embodiment, the system further includes:

[0109] The delay simulation module is used to set different delays for the forward channel and feedback channel of the controlled source. The forward channel is the transmission channel from the output voltage input of the digital side to the controlled voltage source, and the feedback channel is the transmission channel from the output current input of the physical side to the controlled current source.

[0110] In a specific embodiment, the phase compensation module 400 is specifically used to perform dq coordinate transformation on the output current of the physical side using a preset fundamental angular frequency, and introduce the leading phase compensation signal into the dq inverse transformation matrix, and perform dq inverse transformation on the output current of the physical side after the dq coordinate transformation using the dq inverse transformation matrix after the introduction of the leading phase compensation signal to obtain a feedback current output signal, and input the feedback current output signal into the controlled current source.

[0111] like Fig.10As shown, the present invention also provides an electronic device 10, including a memory 20 and a processor 30, wherein the memory 20 stores a computer program, and when the computer program is executed by the processor 30, the processor 30 executes the steps of the distribution network digital-physical hybrid simulation interface control method as described above.

[0112] The present invention also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed, the steps of the distribution network digital-physical hybrid simulation interface control method as described above are implemented.

[0113] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described system, electronic device and computer storage medium can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0114] In several embodiments provided by the present invention, it is understood that each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and a part of a module, a program segment or a code includes one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from that marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved.

[0115] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, electronic devices, computer storage media and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0116] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0117] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0118] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for executing all or part of the steps of the method described in each embodiment of the present invention through a computer device (which can be a personal computer, a server, or a network device, etc.). The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (full name in English: Read-Only Memory, English abbreviation: ROM), random access memory (full name in English: Random Access Memory, English abbreviation: RAM), disk or optical disk and other media that can store program codes.

[0119] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A digital-physical hybrid simulation interface control method for distribution network, It is characterized in that The invention is applied to a distribution network PHILs model circuit based on an ideal transformer model interface, wherein the distribution network PHILs model circuit includes a digital side and a physical side, wherein the digital side and the physical side are connected via a hybrid simulation interface, and a control method of the hybrid simulation interface includes: Adding a controlled source to the distribution network PHILs model circuit, the controlled source includes a controlled current source introduced by the digital side and a controlled voltage source introduced by the physical side; wherein the input quantity of the controlled current source is the output current of the physical side, and the input quantity of the controlled voltage source is the output voltage of the digital side; Collect voltage signals at the connection points between the digital side and the physical side and the hybrid simulation interface respectively in real time, extract fundamental wave phases of the two voltage signals, perform difference processing on the fundamental wave phases of the two voltage signals, and obtain a phase difference signal; The phase difference signal is fuzzy controlled by an adaptive PID controller based on fuzzy control to output an advanced phase compensation signal; The output current of the physical side is subjected to leading phase compensation using the leading phase compensation signal to obtain a feedback current output signal, and the feedback current output signal is input into the controlled current source.

2. The distribution network digital-physical hybrid simulation interface control method according to claim 1, It is characterized in that Also includes: Different delays are set for the forward channel and feedback channel of the controlled source, the forward channel is a transmission channel for the output voltage of the digital side to be input to the controlled voltage source, and the feedback channel is a transmission channel for the output current of the physical side to be input to the controlled current source.

3. The distribution network digital-physical hybrid simulation interface control method according to claim 1, It is characterized in that Also includes: A phase-locked loop is used to extract the fundamental phases of the two voltage signals.

4. The distribution network digital-physical hybrid simulation interface control method according to claim 1, It is characterized in that The step of using the leading phase compensation signal to perform leading phase compensation on the output current of the physical side to obtain a feedback current output signal, and inputting the feedback current output signal into the controlled current source specifically includes: The output current of the physical side is transformed into dq coordinates using a preset fundamental angular frequency, and the leading phase compensation signal is introduced into a dq inverse transformation matrix. The output current of the physical side after the dq coordinate transformation is transformed into dq inverse transformation using the dq inverse transformation matrix after the leading phase compensation signal is introduced to obtain a feedback current output signal, and the feedback current output signal is input into the controlled current source.

5. A digital-physical hybrid simulation interface control system for distribution network, It is characterized in that The invention is applied to a distribution network PHILs model circuit based on an ideal transformer model interface, wherein the distribution network PHILs model circuit includes a digital side and a physical side, wherein the digital side and the physical side are connected via a hybrid simulation interface, and the hybrid simulation interface control system includes: A controlled source module, used to add the distribution network PHILs model circuit to a controlled source, wherein the controlled source includes a controlled current source introduced by the digital side and a controlled voltage source introduced by the physical side; wherein the input quantity of the controlled current source is the output current of the physical side, and the input quantity of the controlled voltage source is the output voltage of the digital side; A voltage processing module, used for collecting voltage signals at the connection points between the digital side and the physical side and the hybrid simulation interface in real time, extracting fundamental wave phases of the two voltage signals, performing difference processing on the fundamental wave phases of the two voltage signals, and obtaining a phase difference signal; A fuzzy control module, used for performing fuzzy control on the phase difference signal through an adaptive PID controller based on fuzzy control, and outputting an advanced phase compensation signal; The phase compensation module is used to perform leading phase compensation on the output current of the physical side by using the leading phase compensation signal to obtain a feedback current output signal, and input the feedback current output signal into the controlled current source.

6. The distribution network digital-physical hybrid simulation interface control system according to claim 5, It is characterized in that Also includes: A delay simulation module is used to set different delays for the forward channel and feedback channel of the controlled source, wherein the forward channel is a transmission channel for the output voltage of the digital side to be input to the controlled voltage source, and the feedback channel is a transmission channel for the output current of the physical side to be input to the controlled current source.

7. The distribution network digital-physical hybrid simulation interface control system according to claim 5, It is characterized in that Also includes: The phase-locked loop module is used to extract the fundamental wave phase of the two voltage signals.

8. The distribution network digital-physical hybrid simulation interface control system according to claim 5, It is characterized in that The phase compensation module is specifically used to perform dq coordinate transformation on the output current of the physical side using a preset fundamental angular frequency, and introduce the advanced phase compensation signal into the dq inverse transformation matrix, and perform dq inverse transformation on the output current of the physical side after the dq coordinate transformation using the dq inverse transformation matrix after the introduction of the advanced phase compensation signal to obtain a feedback current output signal, and input the feedback current output signal into the controlled current source.

9. An electronic device, It is characterized in that It comprises a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the steps of the distribution network digital-physical hybrid simulation interface control method as described in any one of claims 1 to 4.

10. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed, the steps of the distribution network digital-physical hybrid simulation interface control method according to any one of claims 1 to 4 are implemented.

Citation Information

Cited By

  • Simulation interface control method and system based on adaptive prediction lead phase compensation

    CN120652838A