Transient overvoltage parameter fitting method and device
By using the transient overvoltage expression and least squares method in the form of rational fractions to solve the coefficients to be found, the problems of inaccurate fitting of transient overvoltage and high computing resource consumption in the prior art are solved, and efficient reflection and accurate fit of fan control characteristics are achieved.
Patent Information
- Application Number
- CN202411786381.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-06
- Publication Date
- 2025-04-25
AI Technical Summary
The existing transient overvoltage parameter fitting method is difficult to accurately reflect the characteristics in fan control, and the computing resource consumption is large.
Using the transient overvoltage expression in the form of a rational fraction, the outer and inner ring control parameters of the fan are obtained, and the coefficients to be found are solved using the least squares method, and then the accurate transient overvoltage fitting value is calculated.
Accurate fit of transient overvoltage is achieved, efficiently reflects the characteristics in fan control, and saves computing resources.
Smart Images

Figure CN119884538A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of parameter acquisition, and in particular to a transient overvoltage parameter fitting method and device. Background Art
[0002] In recent years, with the deepening implementation of energy transformation, the proportion of new energy power generation, mainly wind power and photovoltaic power generation, in the total installed capacity has continued to rise. A large number of new energy and power electronic equipment such as DC transmission are connected to the power grid, and the proportion of traditional synchronous generator sets continues to decline. Although this is conducive to improving the supply level of clean energy, it also leads to a decrease in the system's short-circuit capacity, and the weakening of the power grid's strength and voltage support capabilities. Therefore, the transient overvoltage problem has become a prominent problem in power grids with a high proportion of new energy.
[0003] The existing transient overvoltage parameter fitting method uses parameters as transient electrical quantities, which is not easy to intuitively observe the influence of control parameters on transient overvoltage. In addition, the transient overvoltage expression is linear fitting and polynomial fitting. Due to the complexity of fan control and many influencing factors, linear fitting cannot truly and accurately obtain the transient overvoltage fitting value; as for polynomial fitting, it cannot reflect some characteristics in fan control, such as singularity, peak characteristics, etc. In addition, when a curve contains singularities or peaks, using polynomial fitting approximation, it needs to be fitted to a higher order to achieve the required accuracy, which requires more computing resources. Summary of the invention
[0004] In view of the problems in the prior art, an embodiment of the present invention provides a transient overvoltage parameter fitting method and device, which can at least partially solve the problems in the prior art.
[0005] On the one hand, the present invention provides a transient overvoltage parameter fitting method, comprising:
[0006] Obtain the outer loop control parameters and inner loop control parameters of the fan;
[0007] Solving a first coefficient to be determined in a transient overvoltage expression according to first sample data corresponding to the outer loop control parameter, and solving a second coefficient to be determined in a transient overvoltage expression according to second sample data corresponding to the inner loop control parameter;
[0008] Wherein, the transient overvoltage expression is in the form of a rational fraction, and both the numerator and the denominator contain first-order control parameters;
[0009] Substitute the first unknown coefficient into the transient overvoltage expression, and calculate the first transient overvoltage fitting value according to the input outer loop control parameter value, and substitute the second unknown coefficient into the transient overvoltage expression, and calculate the second transient overvoltage fitting value according to the input inner loop control parameter value.
[0010] The transient overvoltage expression is expressed according to the following expression:
[0011]
[0012] Among them, a0…a m ,b0…b m is the coefficient to be determined, K=[k1,k2…k m ] is the column vector of independent variables, and m is the number of independent variables.
[0013] Wherein, the first sample data includes an outer loop integral parameter, an outer loop proportional parameter and a first transient overvoltage peak value; accordingly, solving the first coefficient to be calculated in the transient overvoltage expression according to the first sample data corresponding to the outer loop control parameter includes:
[0014] The outer loop integral parameter and the outer loop proportional parameter are used as the independent variable column vector of the transient overvoltage expression, and the first transient overvoltage peak value is used as the fitting quantity to perform fractional fitting on the transient overvoltage expression to obtain the first coefficient to be determined.
[0015] The step of performing fractional fitting on the transient overvoltage expression to obtain the first coefficient to be determined includes:
[0016] The transient overvoltage expression is fitted with a fraction using the least square method to obtain the first coefficient to be determined.
[0017] Wherein, the second sample data includes an inner loop integral parameter, an inner loop proportional parameter and a second transient overvoltage peak value; accordingly, solving the second coefficient to be calculated in the transient overvoltage expression according to the second sample data corresponding to the inner loop control parameter includes:
[0018] The inner loop integral parameter and the inner loop proportional parameter are used as the independent variable column vector of the transient overvoltage expression, and the second transient overvoltage peak value is used as the fitting quantity, and the transient overvoltage expression is fitted by fraction to obtain the second coefficient to be determined.
[0019] The step of performing fractional fitting on the transient overvoltage expression to obtain the second coefficient to be determined includes:
[0020] The transient overvoltage expression is fitted with a fraction using the least square method to obtain the second coefficient to be determined.
[0021] Wherein, after the step of substituting the first coefficient to be determined into the transient overvoltage expression, the transient overvoltage parameter fitting method further includes:
[0022] Performing error calculation on the transient overvoltage expression substituted into the first coefficient to be determined, and if it is determined that the error is less than a preset difference, executing the calculation according to the input outer loop control parameter value to obtain a first transient overvoltage fitting value;
[0023] After the step of substituting the second coefficient to be determined into the transient overvoltage expression, the transient overvoltage parameter fitting method further includes:
[0024] An error calculation is performed on the transient overvoltage expression substituted into the second coefficient to be determined. If it is determined that the error is less than a preset difference, the second transient overvoltage fitting value is obtained by performing the numerical calculation based on the input inner loop control parameter.
[0025] On the one hand, the present invention provides a transient overvoltage parameter fitting device, comprising:
[0026] An acquisition unit, used for acquiring outer loop control parameters and inner loop control parameters of the fan;
[0027] A solving unit, used for solving a first coefficient to be solved in a transient overvoltage expression according to first sample data corresponding to the outer loop control parameter, and solving a second coefficient to be solved in a transient overvoltage expression according to second sample data corresponding to the inner loop control parameter;
[0028] Wherein, the transient overvoltage expression is in the form of a rational fraction, and both the numerator and the denominator contain first-order control parameters;
[0029] A calculation unit is used to substitute the first coefficient to be determined into the transient overvoltage expression, and calculate the first transient overvoltage fitting value according to the input outer loop control parameter value, and substitute the second coefficient to be determined into the transient overvoltage expression, and calculate the second transient overvoltage fitting value according to the input inner loop control parameter value.
[0030] In another aspect, an embodiment of the present invention provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following method when executing the computer program:
[0031] Obtain the outer loop control parameters and inner loop control parameters of the fan;
[0032] Solving a first coefficient to be determined in a transient overvoltage expression according to first sample data corresponding to the outer loop control parameter, and solving a second coefficient to be determined in a transient overvoltage expression according to second sample data corresponding to the inner loop control parameter;
[0033] Wherein, the transient overvoltage expression is in the form of a rational fraction, and both the numerator and the denominator contain first-order control parameters;
[0034] Substitute the first unknown coefficient into the transient overvoltage expression, and calculate the first transient overvoltage fitting value according to the input outer loop control parameter value, and substitute the second unknown coefficient into the transient overvoltage expression, and calculate the second transient overvoltage fitting value according to the input inner loop control parameter value.
[0035] An embodiment of the present invention provides a computer-readable storage medium, including:
[0036] The computer readable storage medium stores a computer program, and when the computer program is executed by a processor, the following method is implemented:
[0037] Obtain the outer loop control parameters and inner loop control parameters of the fan;
[0038] Solving a first coefficient to be determined in a transient overvoltage expression according to first sample data corresponding to the outer loop control parameter, and solving a second coefficient to be determined in a transient overvoltage expression according to second sample data corresponding to the inner loop control parameter;
[0039] Wherein, the transient overvoltage expression is in the form of a rational fraction, and both the numerator and the denominator contain first-order control parameters;
[0040] Substitute the first unknown coefficient into the transient overvoltage expression, and calculate the first transient overvoltage fitting value according to the input outer loop control parameter value, and substitute the second unknown coefficient into the transient overvoltage expression, and calculate the second transient overvoltage fitting value according to the input inner loop control parameter value.
[0041] The transient overvoltage parameter fitting method and device provided in the embodiment of the present invention obtain the outer loop control parameters and inner loop control parameters of the wind turbine; solve the first coefficient to be calculated in the transient overvoltage expression according to the first sample data corresponding to the outer loop control parameter, and solve the second coefficient to be calculated in the transient overvoltage expression according to the second sample data corresponding to the inner loop control parameter; wherein the transient overvoltage expression is in the form of a rational fraction, and both the numerator and the denominator contain first-order control parameters; substitute the first coefficient to be calculated into the transient overvoltage expression, and calculate the first transient overvoltage fitting value according to the input outer loop control parameter value, and substitute the second coefficient to be calculated into the transient overvoltage expression, and calculate the second transient overvoltage fitting value according to the input inner loop control parameter value, so as to accurately obtain the transient overvoltage fitting value, efficiently reflect the characteristics in the wind turbine control, and save computing resources. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0043] Figure 1 It is a flow chart of a transient overvoltage parameter fitting method provided in one embodiment of the present invention.
[0044] Figure 2 It is a flow chart of a transient overvoltage parameter fitting method provided by another embodiment of the present invention.
[0045] Figure 3 It is a schematic diagram for explaining solving the first coefficient to be determined provided by an embodiment of the present invention.
[0046] Figure 4 It is a schematic diagram for explaining solving the first coefficient to be determined provided by an embodiment of the present invention.
[0047] Figure 5 It is a structural schematic diagram of a transient overvoltage parameter fitting device provided by an embodiment of the present invention.
[0048] Figure 6 A schematic diagram of the physical structure of a computer device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0049] In order to make the purpose, technical scheme and advantages of the embodiments of the present invention more clear, the embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings. Here, the illustrative embodiments of the present invention and their descriptions are used to explain the present invention, but are not intended to limit the present invention. It should be noted that, in the absence of conflict, the embodiments in this application and the features in the embodiments can be combined with each other arbitrarily.
[0050] The transient overvoltage parameter fitting method provided by the present invention realizes analytical analysis of transient overvoltage control parameters.
[0051] Firstly, according to the generation mechanism and characteristics of transient overvoltage, the control parameters that mainly affect transient overvoltage are found, which are divided into inner loop and outer loop parameters. Then, the transient overvoltage fitting expression is constructed, and rational fractions are selected for fitting. Secondly, sample points are selected and simulated to find a certain amount of sample data. Finally, the fitting expression is solved and its accuracy is verified.
[0052] The present invention can intuitively reflect the influence of various control parameters and control links on transient overvoltage, and provide assistance for transient overvoltage suppression of large-scale wind turbines.
[0053] Figure 1 FIG. 1 is a flow chart of a transient overvoltage parameter fitting method provided by an embodiment of the present invention. Figure 2 As shown, the transient overvoltage parameter fitting method provided by the embodiment of the present invention includes:
[0054] Step S1: Obtain the outer loop control parameters and inner loop control parameters of the fan.
[0055] Step S2: solving a first coefficient to be determined in a transient overvoltage expression according to first sample data corresponding to the outer loop control parameter, and solving a second coefficient to be determined in a transient overvoltage expression according to second sample data corresponding to the inner loop control parameter;
[0056] The transient overvoltage expression is in the form of a rational fraction, and both the numerator and the denominator contain first-order control parameters.
[0057] Step S3: Substitute the first coefficient to be determined into the transient overvoltage expression, and calculate the first transient overvoltage fitting value according to the input outer loop control parameter value, and substitute the second coefficient to be determined into the transient overvoltage expression, and calculate the second transient overvoltage fitting value according to the input inner loop control parameter value.
[0058] In the above step S1, the device obtains the outer loop control parameters and inner loop control parameters of the fan. The device can be a computer device that executes the method, such as a server. The acquisition, storage, use, and processing of data in the technical solution of this application are in compliance with relevant regulations. The outer loop control parameters and the inner loop control parameters can be selected as the P parameters and I parameters of PID control.
[0059] Step 1: Before this step, you can construct the transient overvoltage expression as follows:
[0060]
[0061] Among them, a0…a m ,b0…b m is the coefficient to be determined, K=[k1,k2…k m ] is the column vector of independent variables, and m is the number of independent variables. Compared with polynomials, fractions can reflect some inherent characteristics of functions, such as singularity and peak characteristics. When a curve contains singular points or peaks, polynomial fitting approximation requires fitting to a higher order to achieve the required accuracy. However, rational fraction fitting can be used to fit at a lower order and with higher accuracy.
[0062] In the above step S2, the device solves the first coefficient to be solved in the transient overvoltage expression according to the first sample data corresponding to the outer loop control parameter, and solves the second coefficient to be solved in the transient overvoltage expression according to the second sample data corresponding to the inner loop control parameter;
[0063] The transient overvoltage expression is in the form of a rational fraction, and both the numerator and the denominator contain first-order control parameters.
[0064] Step 2: Select m independent variables (i.e. control parameters) and select enough sample points with a sample size of n (n ≥ the number of coefficients to be determined).
[0065] Treatment methods include:
[0066] (1) Change the control parameter K = [k1, k2…k m ], and get n groups of different sample points;
[0067] (2) Through Simulink simulation, n groups of different sample data are obtained.
[0068] Step 3: Arrange the fraction into matrix form.
[0069] (1) First, multiply the denominator of the transient overvoltage expression from the left to obtain the following formula:
[0070] U(b0+b1k1+…+b m k m )=a0+a1k1+…+a m k m
[0071] (2) Then, let b m =1, thus obtaining a unique coefficient column vector as follows:
[0072] U(b0+b1k1+…+b m-1 k m-1 )-a0-a1k1-…-a m k m =-Uk m
[0073] (3) Secondly, it is organized into a matrix form as follows:
[0074]
[0075] (4) Finally, it is extended to the form of n sample data as follows:
[0076]
[0077] make
[0078] Denoted as Xs=y.
[0079] Step 4: Use the least squares method to find the coefficients to be determined, as shown below:
[0080] r = X + y=(X T X) -1 X T y
[0081] Where r = [a0…a m ,b0…b m-1 ], X + is the generalized inverse matrix of X. The overall process is as follows Figure 2 shown.
[0082] The first sample data includes an outer loop integral parameter, an outer loop proportional parameter and a first transient overvoltage peak value; accordingly, solving the first coefficient to be calculated in the transient overvoltage expression according to the first sample data corresponding to the outer loop control parameter includes:
[0083] The outer loop integral parameter and the outer loop proportional parameter are used as the independent variable column vector of the transient overvoltage expression, and the first transient overvoltage peak value is used as the fitting quantity to perform fractional fitting on the transient overvoltage expression to obtain the first coefficient to be determined.
[0084] The step of performing fractional fitting on the transient overvoltage expression to obtain the first coefficient to be determined includes:
[0085] The transient overvoltage expression is fitted with a fraction using the least square method to obtain the first coefficient to be determined.
[0086] Take the simulation results of a fan under different control parameters as an example.
[0087] Case 1 (outer loop): Changing the proportional coefficient k of the reactive outer loop PI control of the RSC control of the doubly fed wind turbine p and the integration coefficient k i , get 8 sample points, with k p and k i As the independent variable, transient overvoltage U is the fitting quantity, and fractional fitting is performed. The first sample data is shown in Table 1:
[0088] Table 1
[0089] <![CDATA[Outer ring integral parameter k i > <![CDATA[Outer ring ratio parameter k p > The first transient overvoltage peak value U1 10 0.24 1.2354 9 0.24 1.2376 8 0.24 1.2329 7 0.24 1.2361 10 0.27 1.2384 10 0.30 1.2393 10 0.33 1.2366 10 0.36 1.2382
[0090] Use Matlab to solve (take b3 = 1), the calculation results are as follows Figure 3 shown.
[0091] The second sample data includes an inner loop integral parameter, an inner loop proportional parameter and a second transient overvoltage peak value; accordingly, solving the second coefficient to be solved in the transient overvoltage expression according to the second sample data corresponding to the inner loop control parameter includes:
[0092] The inner loop integral parameter and the inner loop proportional parameter are used as the independent variable column vector of the transient overvoltage expression, and the second transient overvoltage peak value is used as the fitting quantity, and the transient overvoltage expression is fitted by fraction to obtain the second coefficient to be determined.
[0093] The step of performing fractional fitting on the transient overvoltage expression to obtain the second coefficient to be determined includes:
[0094] The transient overvoltage expression is fitted with a fraction using the least square method to obtain the second coefficient to be determined.
[0095] Case 2 (Inner loop): Changing the proportional parameter k of the current inner loop PI control of the RSC control of the doubly fed wind turbine p and the integration parameter k i , get 7 sample points, with k p and k i As the independent variable, transient overvoltage U is the fitting quantity, and fractional fitting is performed. The second sample data is shown in Table 2:
[0096] Table 2
[0097]
[0098]
[0099] Use Matlab to solve (take b3 = 1), the calculation results are as follows Figure 4 shown.
[0100] In the above step S3, the device substitutes the first coefficient to be determined into the transient overvoltage expression, and calculates the first transient overvoltage fitting value according to the input outer loop control parameter value, and substitutes the second coefficient to be determined into the transient overvoltage expression, and calculates the second transient overvoltage fitting value according to the input inner loop control parameter value.
[0101] The first transient overvoltage fitting value
[0102] The second transient overvoltage fitting value
[0103] After the step of substituting the first coefficient to be determined into the transient overvoltage expression, the transient overvoltage parameter fitting method further includes:
[0104] Performing error calculation on the transient overvoltage expression substituted into the first coefficient to be determined, and if it is determined that the error is less than a preset difference, executing the calculation according to the input outer loop control parameter value to obtain a first transient overvoltage fitting value;
[0105] After the step of substituting the second coefficient to be determined into the transient overvoltage expression, the transient overvoltage parameter fitting method further includes:
[0106] An error calculation is performed on the transient overvoltage expression substituted into the second coefficient to be determined. If it is determined that the error is less than a preset difference, the second transient overvoltage fitting value is obtained by performing the numerical calculation based on the input inner loop control parameter.
[0107] Taking the outer ring case as an example, the explanation is shown in Table 3:
[0108] Table 3
[0109] Outer loop integration parameters Outer ring ratio parameters Overvoltage actual value Overvoltage fitting value Percent Error 6 0.24 1.2409 1.2418 0.073% 10 0.42 1.2470 1.2404 0.526%
[0110] Taking the inner ring case as an example, the explanation is shown in Table 4:
[0111] Table 4
[0112]
[0113]
[0114] Error calculation refers to comparing the overvoltage fitting value with the actual overvoltage value. The preset difference can be set independently according to the actual situation. If it is determined that the error is greater than or equal to the preset difference, more sample data can be used to re-fit to ensure the calculation accuracy of the transient overvoltage expression.
[0115] The transient overvoltage parameter fitting method provided by the embodiment of the present invention has the following beneficial technical effects:
[0116] (1) In the present invention, the fitting method for transient overvoltage adopts the form of rational fraction fitting expression, which improves the accuracy of fitting;
[0117] (2) In the present invention, the algorithm adopts the least squares method, which effectively improves the calculation speed of the algorithm and reduces the complexity of the calculation.
[0118] By using rational fractions to fit transient overvoltage, low-order control parameters can be directly used as independent variables. On the one hand, k p and k i The influence of control parameters on transient overvoltage; on the other hand, by changing k p and k iParameter fitting analysis can optimize the parameters and find a more suitable parameter ratio, thereby reducing transient overvoltage.
[0119] The transient overvoltage parameter fitting method provided in the embodiment of the present invention obtains the outer-loop control parameters and inner-loop control parameters of the wind turbine; solves the first coefficient to be calculated in the transient overvoltage expression according to the first sample data corresponding to the outer-loop control parameters, and solves the second coefficient to be calculated in the transient overvoltage expression according to the second sample data corresponding to the inner-loop control parameters; wherein the transient overvoltage expression is in the form of a rational fraction, and both the numerator and the denominator contain first-order control parameters; substitutes the first coefficient to be calculated into the transient overvoltage expression, and obtains the first transient overvoltage fitting value according to the input outer-loop control parameter value, and substitutes the second coefficient to be calculated into the transient overvoltage expression, and obtains the second transient overvoltage fitting value according to the input inner-loop control parameter value, so as to accurately obtain the transient overvoltage fitting value, efficiently reflect the characteristics in the wind turbine control, and save computing resources.
[0120] Furthermore, the transient overvoltage expression is expressed according to the following expression:
[0121]
[0122] Among them, a0…a m ,b0…b m is the coefficient to be determined, K=[k1,k2…k m ] is the column vector of independent variables, and m is the number of independent variables. The above embodiments can be referred to for explanation and will not be described in detail.
[0123] Further, the first sample data includes an outer loop integral parameter, an outer loop proportional parameter and a first transient overvoltage peak value; accordingly, solving the first coefficient to be calculated in the transient overvoltage expression according to the first sample data corresponding to the outer loop control parameter includes:
[0124] The outer loop integral parameter and the outer loop proportional parameter are used as the independent variable column vector of the transient overvoltage expression, and the first transient overvoltage peak value is used as the fitting quantity to perform fractional fitting on the transient overvoltage expression to obtain the first coefficient to be determined. The above-mentioned embodiment can be referred to for explanation and will not be described in detail.
[0125] Furthermore, performing fractional fitting on the transient overvoltage expression to obtain the first coefficient to be determined includes:
[0126] The transient overvoltage expression is subjected to fractional fitting using the least square method to obtain the first coefficient to be determined. The above-mentioned embodiment can be referred to for explanation and will not be described in detail.
[0127] Further, the second sample data includes an inner loop integral parameter, an inner loop proportional parameter and a second transient overvoltage peak value; accordingly, solving the second coefficient to be determined in the transient overvoltage expression according to the second sample data corresponding to the inner loop control parameter includes:
[0128] The inner loop integral parameter and the inner loop proportional parameter are used as the independent variable column vector of the transient overvoltage expression, and the second transient overvoltage peak value is used as the fitting quantity to perform fractional fitting on the transient overvoltage expression to obtain the second coefficient to be determined. The above-mentioned embodiment can be referred to for explanation and will not be described in detail.
[0129] Furthermore, performing fractional fitting on the transient overvoltage expression to obtain the second coefficient to be determined includes:
[0130] The transient overvoltage expression is subjected to fractional fitting using the least square method to obtain the second coefficient to be determined. The above-mentioned embodiment can be referred to for explanation and will not be described in detail.
[0131] Further, after the step of substituting the first coefficient to be determined into the transient overvoltage expression, the transient overvoltage parameter fitting method further includes:
[0132] An error calculation is performed on the transient overvoltage expression into which the first coefficient to be determined is substituted. If it is determined that the error is less than a preset difference, the first transient overvoltage fitting value is obtained by numerically calculating the input outer loop control parameter. This can be described with reference to the above embodiment and will not be repeated here.
[0133] After the step of substituting the second coefficient to be determined into the transient overvoltage expression, the transient overvoltage parameter fitting method further includes:
[0134] The error calculation is performed on the transient overvoltage expression substituted into the second coefficient to be determined, and if it is determined that the error is less than the preset difference, the second transient overvoltage fitting value is obtained by performing the calculation according to the input inner loop control parameter value. The above embodiment can be referred to for explanation and will not be repeated here.
[0135] Figure 5 FIG. 1 is a schematic diagram of the structure of a transient overvoltage parameter fitting device provided by an embodiment of the present invention. Figure 5 As shown, the transient overvoltage parameter fitting device provided by the embodiment of the present invention includes an acquisition unit 501, a solution unit 502 and a calculation unit 503, wherein:
[0136] The acquisition unit 501 is used to acquire the outer-loop control parameters and inner-loop control parameters of the wind turbine; the solution unit 502 is used to solve the first coefficient to be solved in the transient overvoltage expression according to the first sample data corresponding to the outer-loop control parameter, and to solve the second coefficient to be solved in the transient overvoltage expression according to the second sample data corresponding to the inner-loop control parameter; wherein the transient overvoltage expression is in the form of a rational fraction, and both the numerator and the denominator contain first-order control parameters; the calculation unit 503 is used to substitute the first coefficient to be solved into the transient overvoltage expression, and calculate the first transient overvoltage fitting value according to the input outer-loop control parameter value, and substitute the second coefficient to be solved into the transient overvoltage expression, and calculate the second transient overvoltage fitting value according to the input inner-loop control parameter value.
[0137] Specifically, the acquisition unit 501 in the device is used to acquire the outer-loop control parameters and inner-loop control parameters of the wind turbine; the solution unit 502 is used to solve the first coefficient to be solved in the transient overvoltage expression according to the first sample data corresponding to the outer-loop control parameter, and to solve the second coefficient to be solved in the transient overvoltage expression according to the second sample data corresponding to the inner-loop control parameter; wherein the transient overvoltage expression is in the form of a rational fraction, and both the numerator and the denominator contain first-order control parameters; the calculation unit 503 is used to substitute the first coefficient to be solved into the transient overvoltage expression, and calculate the first transient overvoltage fitting value according to the input outer-loop control parameter value, and substitute the second coefficient to be solved into the transient overvoltage expression, and calculate the second transient overvoltage fitting value according to the input inner-loop control parameter value.
[0138] The transient overvoltage parameter fitting device provided in the embodiment of the present invention obtains the outer-loop control parameters and inner-loop control parameters of the wind turbine; solves the first coefficient to be calculated in the transient overvoltage expression according to the first sample data corresponding to the outer-loop control parameters, and solves the second coefficient to be calculated in the transient overvoltage expression according to the second sample data corresponding to the inner-loop control parameters; wherein the transient overvoltage expression is in the form of a rational fraction, and both the numerator and the denominator contain first-order control parameters; substitutes the first coefficient to be calculated into the transient overvoltage expression, and calculates the first transient overvoltage fitting value according to the input outer-loop control parameter value, and substitutes the second coefficient to be calculated into the transient overvoltage expression, and calculates the second transient overvoltage fitting value according to the input inner-loop control parameter value, so as to accurately obtain the transient overvoltage fitting value, efficiently reflect the characteristics in the wind turbine control, and save computing resources.
[0139] The embodiment of the transient overvoltage parameter fitting device provided in the embodiment of the present invention can be specifically used to execute the processing flow of the above-mentioned method embodiments. Its functions are not repeated here, and reference can be made to the detailed description of the above-mentioned method embodiments.
[0140] Figure 6 A schematic diagram of the physical structure of a computer device provided in an embodiment of the present invention is shown in FIG. Figure 6 As shown, the computer device includes: a memory 601, a processor 602, and a computer program stored in the memory 601 and executable on the processor 602. When the processor 602 executes the computer program, the following method is implemented:
[0141] Obtain the outer loop control parameters and inner loop control parameters of the fan;
[0142] Solving a first coefficient to be determined in a transient overvoltage expression according to first sample data corresponding to the outer loop control parameter, and solving a second coefficient to be determined in a transient overvoltage expression according to second sample data corresponding to the inner loop control parameter;
[0143] Wherein, the transient overvoltage expression is in the form of a rational fraction, and both the numerator and the denominator contain first-order control parameters;
[0144] Substitute the first unknown coefficient into the transient overvoltage expression, and calculate the first transient overvoltage fitting value according to the input outer loop control parameter value, and substitute the second unknown coefficient into the transient overvoltage expression, and calculate the second transient overvoltage fitting value according to the input inner loop control parameter value.
[0145] This embodiment discloses a computer program product, the computer program product including a computer program, and when the computer program is executed by a processor, the following method is implemented:
[0146] Obtain the outer loop control parameters and inner loop control parameters of the fan;
[0147] Solving a first coefficient to be determined in a transient overvoltage expression according to first sample data corresponding to the outer loop control parameter, and solving a second coefficient to be determined in a transient overvoltage expression according to second sample data corresponding to the inner loop control parameter;
[0148] Wherein, the transient overvoltage expression is in the form of a rational fraction, and both the numerator and the denominator contain first-order control parameters;
[0149] Substitute the first unknown coefficient into the transient overvoltage expression, and calculate the first transient overvoltage fitting value according to the input outer loop control parameter value, and substitute the second unknown coefficient into the transient overvoltage expression, and calculate the second transient overvoltage fitting value according to the input inner loop control parameter value.
[0150] This embodiment provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following method is implemented:
[0151] Obtain the outer loop control parameters and inner loop control parameters of the fan;
[0152] Solving a first coefficient to be determined in a transient overvoltage expression according to first sample data corresponding to the outer loop control parameter, and solving a second coefficient to be determined in a transient overvoltage expression according to second sample data corresponding to the inner loop control parameter;
[0153] Wherein, the transient overvoltage expression is in the form of a rational fraction, and both the numerator and the denominator contain first-order control parameters;
[0154] Substitute the first unknown coefficient into the transient overvoltage expression, and calculate the first transient overvoltage fitting value according to the input outer loop control parameter value, and substitute the second unknown coefficient into the transient overvoltage expression, and calculate the second transient overvoltage fitting value according to the input inner loop control parameter value.
[0155] Compared with the technical solutions in the prior art, the transient overvoltage parameter fitting method provided by the embodiment of the present invention obtains the outer-loop control parameters and inner-loop control parameters of the wind turbine; solves the first coefficient to be calculated in the transient overvoltage expression according to the first sample data corresponding to the outer-loop control parameters, and solves the second coefficient to be calculated in the transient overvoltage expression according to the second sample data corresponding to the inner-loop control parameters; wherein the transient overvoltage expression is in the form of a rational fraction, and both the numerator and the denominator contain first-order control parameters; substitutes the first coefficient to be calculated into the transient overvoltage expression, and obtains the first transient overvoltage fitting value according to the input outer-loop control parameter value, and substitutes the second coefficient to be calculated into the transient overvoltage expression, and obtains the second transient overvoltage fitting value according to the input inner-loop control parameter value, which can accurately obtain the transient overvoltage fitting value, efficiently reflect the characteristics in the wind turbine control, and save computing resources.
[0156] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0157] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0158] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0159] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0160] In the description of this specification, the description with reference to the terms "one embodiment", "a specific embodiment", "some embodiments", "for example", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0161] The specific embodiments described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A transient overvoltage parameter fitting method, characterized in that: include: Obtain the outer loop control parameters and inner loop control parameters of the fan; Solving a first coefficient to be determined in a transient overvoltage expression according to first sample data corresponding to the outer loop control parameter, and solving a second coefficient to be determined in a transient overvoltage expression according to second sample data corresponding to the inner loop control parameter; Wherein, the transient overvoltage expression is in the form of a rational fraction, and both the numerator and the denominator contain first-order control parameters; Substitute the first unknown coefficient into the transient overvoltage expression, and calculate the first transient overvoltage fitting value according to the input outer loop control parameter value, and substitute the second unknown coefficient into the transient overvoltage expression, and calculate the second transient overvoltage fitting value according to the input inner loop control parameter value.
2. The transient overvoltage parameter fitting method according to claim 1, characterized in that: The transient overvoltage expression is expressed according to the following expression: Among them, a0…a m ,b0…b m is the coefficient to be determined, K=[k1,k2…k m ] is the column vector of independent variables, and m is the number of independent variables.
3. The transient overvoltage parameter fitting method according to claim 2, characterized in that: The first sample data includes an outer loop integral parameter, an outer loop proportional parameter and a first transient overvoltage peak value; accordingly, solving the first coefficient to be calculated in the transient overvoltage expression according to the first sample data corresponding to the outer loop control parameter includes: The outer loop integral parameter and the outer loop proportional parameter are used as the independent variable column vector of the transient overvoltage expression, and the first transient overvoltage peak value is used as the fitting quantity to perform fractional fitting on the transient overvoltage expression to obtain the first coefficient to be determined.
4. The transient overvoltage parameter fitting method according to claim 3, characterized in that: The step of performing fractional fitting on the transient overvoltage expression to obtain the first coefficient to be determined includes: The transient overvoltage expression is fitted with a fraction using the least square method to obtain the first coefficient to be determined.
5. The transient overvoltage parameter fitting method according to claim 2, characterized in that: The second sample data includes an inner loop integral parameter, an inner loop proportional parameter and a second transient overvoltage peak value; accordingly, solving the second coefficient to be solved in the transient overvoltage expression according to the second sample data corresponding to the inner loop control parameter includes: The inner loop integral parameter and the inner loop proportional parameter are used as the independent variable column vector of the transient overvoltage expression, and the second transient overvoltage peak value is used as the fitting quantity, and the transient overvoltage expression is fitted by fraction to obtain the second coefficient to be determined.
6. The transient overvoltage parameter fitting method according to claim 5, characterized in that: The step of performing fractional fitting on the transient overvoltage expression to obtain the second coefficient to be determined includes: The transient overvoltage expression is fitted with a fraction using the least square method to obtain the second coefficient to be determined.
7. The transient overvoltage parameter fitting method according to any one of claims 1 to 6, characterized in that: After the step of substituting the first coefficient to be determined into the transient overvoltage expression, the transient overvoltage parameter fitting method further includes: Performing error calculation on the transient overvoltage expression substituted into the first coefficient to be determined, and if it is determined that the error is less than a preset difference, executing the calculation according to the input outer loop control parameter value to obtain a first transient overvoltage fitting value; After the step of substituting the second coefficient to be determined into the transient overvoltage expression, the transient overvoltage parameter fitting method further includes: An error calculation is performed on the transient overvoltage expression substituted into the second coefficient to be determined. If it is determined that the error is less than a preset difference, the second transient overvoltage fitting value is obtained by performing the numerical calculation based on the input inner loop control parameter.
8. A transient overvoltage parameter fitting device, characterized in that: include: An acquisition unit, used for acquiring outer loop control parameters and inner loop control parameters of the fan; A solving unit, used for solving a first coefficient to be solved in a transient overvoltage expression according to first sample data corresponding to the outer loop control parameter, and solving a second coefficient to be solved in a transient overvoltage expression according to second sample data corresponding to the inner loop control parameter; Wherein, the transient overvoltage expression is in the form of a rational fraction, and both the numerator and the denominator contain first-order control parameters; A calculation unit is used to substitute the first coefficient to be determined into the transient overvoltage expression, and calculate the first transient overvoltage fitting value according to the input outer loop control parameter value, and substitute the second coefficient to be determined into the transient overvoltage expression, and calculate the second transient overvoltage fitting value according to the input inner loop control parameter value.
9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.