A signal effective value interactive interface between Thevenin reduced-order model and control system
By back-solving the internal node voltage or current from the external node information of the Thevenin reduced-order model, and using the moving snapshot method to calculate the effective value, the problem that the existing technology cannot directly measure the effective value of the internal node is solved, and the effective signal for the control system is achieved. Value monitoring and output.
Patent Information
- Application Number
- CN202111530741.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-15
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2041-12-15
AI Technical Summary
The existing Thevenin reduced-order modeling method cannot directly provide the effective value of the voltage or current of the internal node and cannot meet the needs of the control system.
By back-solving the instantaneous voltage of the internal node or the instantaneous current of the branch from the external node information of the Thevenin reduced-order model, and using the fundamental frequency and simulation step size to calculate the number of sampling points, the moving snapshot method is used to store it in the input buffer. And update the sampling point data, calculate the effective value of voltage or current, and provide the signal effective value curve.
It provides an interface for the internal node voltage and current effective value of the Thevenin reduced-order model for the external control system, realizing real-time monitoring and output of the effective value of the internal signal, and meeting the needs of the control system.
Smart Images

Figure CN114218884B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of signal measurement and power system modeling and simulation, and in particular relates to a signal effective value interactive interface between a Thevenin reduced-order model and a control system. Background Art
[0002] RMS, or true effective value, is a basic measure of the amplitude of an AC signal. Its calculation principle is to square and average the real-time sampling values of the measured signal, and then take the square root. When calculating the effective value, time is generally divided into continuous fixed time intervals, and the effective value is calculated once in each time period. This window-jumping algorithm can easily cause fluctuations in the calculation results.
[0003] PSCAD / EMTDC is a common electromagnetic transient simulation software. Based on PSCAD custom components and Fortran language, the node elimination method can be used to establish the Thevenin reduction model. The equivalent circuit of the model no longer has actual internal nodes and branches. External control systems usually require some effective values of internal node voltages and currents as inputs of control signals. Although PSCAD provides measurement components such as voltmeters and ammeters, these components can only measure external nodes and cannot solve this problem. Although the Thevenin reduction model can inversely solve the instantaneous voltage or instantaneous current of the internal nodes, it cannot obtain the effective values of voltage and current. Therefore, the existing Thevenin reduction modeling method cannot meet the needs of the control system in this case.
[0004] In summary, a signal effective value interactive interface between the Thevenin reduction model and the control system is needed. Summary of the invention
[0005] Based on this requirement, the present invention provides a signal effective value interaction interface between a Thevenin reduced-order model and a control system, and the method comprises the following steps:
[0006] Step 1: Inversely solve the required internal node instantaneous voltage or branch instantaneous current based on the external node information of the Thevenin reduced-order model.
[0007] Step 2: Obtain the fundamental frequency of the required voltage or current signal, and calculate the number of sampling points according to the simulation step size. The calculation formula for the number of sampling points is as follows:
[0008]
[0009] Where f is the fundamental frequency of the required voltage or current signal; Δt is the system simulation step; and n is the number of sampling points.
[0010] Step 3: Sample a voltage signal or current signal of one cycle in each simulation step, store it in the input buffer, and calculate the effective value of the voltage and current under the step. The characteristic is that the input buffer is an n-dimensional array, and the discretization formula of the signal effective value is as follows:
[0011]
[0012] Where, T = 1 / f is the reference period of the signal; x m is the signal value of the mth sampling point stored in the input buffer.
[0013] Step 4: Continuously update the stored value of the input buffer, that is, use the moving snapshot method to obtain the internal signal effective value curve. The three-phase effective value can be obtained by calculating the effective value of each phase separately and then taking the average value. The flow chart of the moving snapshot method is as follows Figure 3 As shown in the figure, for each simulation step, there are n sampling point data in the input buffer. When entering the next step, the oldest sampling point data is removed and a new sampling point data is put in, as if the input buffer moves forward once, and then the effective value of the next step is calculated. This is repeated until the simulation time ends. During this process, the input buffer seems to be constantly moving, so this method is called the moving snapshot method. Output the effective value of the signal at each step to obtain the effective value curve of the signal.
[0014] The calculation formula of the three-phase effective value is as follows:
[0015]
[0016] In the formula, the subscript 3 represents the value of the three phases, and the subscripts a, b, and c represent the values of phase a, phase b, and phase c respectively.
[0017] Beneficial effects of the present invention:
[0018] The present invention is applicable to scenarios where the effective values of the voltage and current of internal nodes in a Thevenin reduced-order model cannot be directly measured by instruments. The present invention can provide an interface for the effective values of the voltage and current of internal nodes in a Thevenin reduced-order model for an external control system; inversely solve the instantaneous voltage of the internal node or the instantaneous current of the branch through external node information; calculate the number of sampling points according to the voltage or current reference frequency and the simulation step length; calculate the effective value of the voltage or current under the step length according to the sampling information; and obtain the voltage or current effective value curve using a moving snapshot method. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 The present invention is a flow chart for realizing the interactive interface between the Thevenin reduction model and the effective value of the signal of the control system.
[0020] Figure 2It is a schematic diagram of signal discretization sampling.
[0021] Figure 3 It is a schematic diagram of mobile snapshot sampling.
[0022] Figure 4 This is a calculation example diagram of the PSCAD custom wind turbine model.
[0023] Figure 5 This is a simulation comparison diagram of the voltage effective value calculated by the proposed method and the voltage effective value measured by the PSCAD voltmeter. DETAILED DESCRIPTION
[0024] In order to make the present invention more clearly understandable, the steps of the present invention will be further described in detail below with reference to the accompanying drawings:
[0025] Figure 1 A flow chart of the implementation of the signal effective value interactive interface between the Thevenin reduction model and the control system is given. The method includes the following steps:
[0026] Step 1: Inversely solve the required internal node instantaneous voltage or branch instantaneous current based on the external node information of the Thevenin reduced-order model.
[0027] External node voltage information can be obtained through the PSCAD built-in function VDC. The usage is VDC(NN,SS), which means the voltage value of node NN in subsystem SS.
[0028] Step 2: Get the fundamental frequency of the required voltage or current signal and calculate the number of sampling points according to the simulation step size. The calculation formula for the number of sampling points is as follows:
[0029]
[0030] Where f is the fundamental frequency of the required voltage or current signal; Δt is the system simulation step; and n is the number of sampling points.
[0031] Step 3: Sample a voltage signal or current signal of one cycle in each simulation step, such as Figure 2 As shown, it is stored in the input buffer and the effective value of the voltage and current under this step is calculated.
[0032] The input buffer is an array whose dimension is the number of sampling points n calculated by equation (1) in step 2. Figure 3 As shown in the yellow area in the figure, the n sampled data are stored in chronological order. Then the effective value is calculated.
[0033] In the continuous domain, the formula for calculating the effective value of the signal is as follows:
[0034]
[0035] Among them, x(t) is the continuous domain signal, T is the period of the continuous domain signal, X RMS_c Represents the effective value of the continuous domain signal.
[0036] For discrete digital systems, it is necessary to sample the continuous domain signal and calculate its effective value using the discretized effective value formula. The discretized expression of formula (2) is shown in formula (3), which is expressed as the root mean square value of a finite number of sampling points in a cycle:
[0037]
[0038] Where, T = 1 / f is the reference period of the signal; x m is the mth signal value stored in the input buffer. Generally, equal interval sampling is adopted, and the formula can be simplified to:
[0039]
[0040] Where n is the number of sampling points, which is expressed by equation (1) in step 2.
[0041] Step 4: Continuously update the stored value of the input buffer, that is, use the moving snapshot method to obtain the internal signal effective value curve. The three-phase effective value can be obtained by calculating the effective value of each phase separately and then averaging it.
[0042] like Figure 3 As shown in the figure, for each simulation step, there are n sampling point data in the input buffer. When entering the next step, the oldest sampling point data is removed and a new sampling point data is put in, as if the input buffer moves forward once, and then the effective value of the next step is calculated. This is repeated until the simulation time ends. In this process, the input buffer seems to be constantly moving, so this method is called the moving snapshot method.
[0043] By outputting the effective value of the signal at each step, the effective value curve of the signal can be obtained.
[0044] The calculation result is a dimensioned nominal value. For ease of use, it is usually necessary to normalize it in the control system. Therefore, it needs to be divided by a reference value. The normalized expression of the effective value of the single-phase voltage and current signal is as follows:
[0045]
[0046] Where A is the reference value of the voltage or current effective value, and its expression is as follows:
[0047]
[0048] The voltage and current in the power system are generally three-phase, and the effective value of the voltage and current signal of a single phase can be calculated using formula (5). The effective value of the three-phase signal is calculated using the following formula:
[0049]
[0050] In the formula, the subscript 3 represents the value of the three phases, and the subscripts a, b, and c represent the values of phase a, phase b, and phase c respectively.
[0051] Replacing X in equation (7) with voltage U or current I can obtain the expression of the three-phase effective value of voltage or current.
[0052] In order to verify the correctness of the proposed method, a calculation example based on a PSCAD custom wind turbine model was established. Figure 4 As shown in the figure. The example consists of a wind turbine, a generator, a converter, a transformer, a filter and an AC power grid. At t = 5s, a three-phase short-circuit grounding fault is set at point A, and the fault lasts for 0.05s. The effective value of the voltage at the PCC point is measured with a voltmeter, and the effective value of the voltage at the PCC point is calculated using the proposed method.
[0053] The comparison of the voltage effective values obtained by the two methods is shown in the figure below: Figure 5 As shown. Figure 5 It can be seen that the voltage effective value curves obtained by the two methods are highly overlapped, indicating the correctness of the proposed method.
[0054] Finally, it should be noted that the above description is only a preferred embodiment of the present invention that is easily understood by those skilled in the art, and is not intended to limit the present invention. Any modification, equivalent substitution, and improvement made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for interacting the effective value of a signal between a Thevenin reduced-order model and a control system; the method provides an interface for the effective value of the voltage and current of the internal nodes of the Thevenin reduced-order model to the external control system; Through the external node information, the internal node instantaneous voltage or branch instantaneous current is inversely solved; the number of sampling points is calculated according to the voltage or current reference frequency and simulation step size; Calculate the effective value of the voltage or current under the step length according to the sampling information; Use the moving snapshot method to obtain the voltage or current effective value curve; The method comprises the following steps: Step 1: Inversely solve the required internal node instantaneous voltage or branch instantaneous current based on the external node information of the Thevenin reduced-order model; Step 2: Obtain the fundamental frequency of the required voltage or current signal, and calculate the number of sampling points according to the simulation step size; the calculation formula for the number of sampling points is as follows: Where, f is the fundamental frequency of the required voltage or current signal; Δt is the system simulation step; n is the number of sampling points; Step 3: Sample a voltage signal or current signal of one cycle in each simulation step, store it in the input buffer, and calculate the effective value of the voltage and current under this step; the input buffer is an n-dimensional array. In the continuous domain, the calculation formula of the effective value of the signal is as follows: Among them, x(t) is the continuous domain signal, T is the period of the signal, and X RMS_c Represents the effective value of the continuous domain signal; In the discrete domain, the discretization formula of the effective value of the signal is as follows: Where T is the period of the signal; x m is the signal value of the mth sampling point stored in the input buffer; Step 4: Continuously update the storage value of the input buffer, and use the moving snapshot method to obtain the internal signal effective value curve; the three-phase effective value is obtained by calculating the effective value of each phase separately and then taking the average value; for each simulation step, there are n sampling point data in the input buffer. When entering the next step, the oldest sampling point data is removed and a new sampling point data is put in, as if the input buffer moves forward once, and then the effective value of the next step is calculated; this is repeated until the simulation time ends. During this process, the input buffer seems to be constantly moving, so this method is called the moving snapshot method; the signal effective value under each step is output to obtain the signal effective value curve; The calculation formula of the three-phase effective value is as follows: In the formula, the subscript 3 represents the value of the three phases, and the subscripts a, b, and c represent the values of phase a, phase b, and phase c respectively.
Citation Information
Patent Citations
Power system simulation method, power system simulation device and electronic device
CN109066669A
Electromagnetic transient simulation method and system for modular multilevel converter
CN110362937A
Method and System for Estimating Battery Model Parameters to Update Battery Models Used for Controls
US20150355283A1
