System parameter selection method and device and readable storage medium
By obtaining and filtering multiple parameter combinations and selecting target parameter combinations that can improve system performance, the problem of difficulty in comprehensively considering the impact of different parameters in the existing technology is solved, and the improvement of system performance and stability is achieved.
Patent Information
- Application Number
- CN202310954367.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-31
- Publication Date
- 2025-02-14
AI Technical Summary
In system design, when setting appropriate parameter values for control parameters, it is difficult to comprehensively consider the impact of different control parameters on the system, resulting in low system performance.
By obtaining multiple parameter combinations, each parameter combination includes parameter values sampled from the parameter range of each control parameter, determine the performance parameters of the system under each parameter combination, and select the target parameter combination according to the performance parameters to control The system is running.
The system performance is improved, making the system have high performance and stability during operation.
Smart Images

Figure CN119439702A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of control technology, and in particular to a method, device and readable storage medium for selecting system parameters. Background Art
[0002] In the design of the system, it is necessary to set appropriate parameter values for the control parameters in the system. Taking the converter system as an example, it is necessary to set appropriate parameter values for the control parameters such as the proportional coefficient and the integral coefficient in the converter system in the design so that the converter system has higher performance.
[0003] In the related art, when setting parameter values for control parameters, it is difficult to comprehensively consider the impact of different control parameters on the system. When the system is operated according to the set parameter values, the performance of the system is usually relatively low. Summary of the invention
[0004] The embodiments of the present application provide a system parameter selection method, device and readable storage medium, which can set appropriate parameter values for control parameters in the system to enable the system to have higher performance.
[0005] In a first aspect, a method for selecting parameters of a system is provided, wherein the system includes a plurality of control parameters, and the method includes:
[0006] Acquire multiple parameter combinations, each parameter combination including a parameter value sampled from the parameter range of each control parameter;
[0007] determining performance parameters of the system under control of each parameter combination;
[0008] A target parameter combination is selected from the plurality of parameter combinations according to the performance parameters corresponding to each parameter combination, so as to control the operation of the system according to the target parameter combination.
[0009] In the embodiment of the present application, when setting the parameter value for the control parameter, the parameter value in each parameter combination obtained is a parameter value sampled from the parameter range of the control parameter, which can be used for the control of the system. When selecting a target parameter combination from multiple parameter combinations according to the performance parameters corresponding to each parameter combination, a parameter combination that can make the system have higher performance can be selected from the multiple parameter combinations as the target parameter combination. In this way, when the system is controlled to run according to the parameter values in the target parameter combination, the system can have higher performance.
[0010] In some embodiments, obtaining multiple parameter combinations includes: obtaining multiple candidate parameter combinations through multiple samplings, each sampling randomly sampling from the parameter range of each control parameter to obtain a corresponding parameter value; determining the multiple parameter combinations from the multiple candidate parameter combinations.
[0011] In the embodiment of the present application, in the process of obtaining multiple parameter combinations, random sampling can be performed within the parameter range of each control parameter to obtain parameter values, which can increase the randomness of the parameter values in the parameter combination. In this way, the probability that the multiple parameter combinations include a parameter combination that can make the system have higher performance is high, and after selecting the target parameter combination from the multiple parameter combinations, the target parameter combination can make the system have higher performance.
[0012] In some embodiments, determining the multiple parameter combinations from the multiple candidate parameter combinations includes: determining the multiple parameter combinations that enable the system to achieve stability from the multiple candidate parameter combinations.
[0013] In the embodiment of the present application, in the process of obtaining multiple parameter combinations, the obtained parameter combinations are first screened to remove the parameter combinations that cannot make the system stable. In this way, when selecting a target parameter combination from the multiple parameter combinations obtained by screening, the target parameter combination can not only make the system have higher performance during operation, but also make the system stable during operation.
[0014] In some embodiments, determining the multiple parameter combinations from the multiple candidate parameter combinations includes: determining the multiple parameter combinations that enable the response speed of the system to meet the requirement from the multiple candidate parameter combinations.
[0015] In the embodiment of the present application, in the process of obtaining multiple parameter combinations, the obtained parameter combinations are first screened to remove the parameter combinations that cannot make the system response speed reach the required speed. In this way, when selecting the target parameter combination from the multiple parameter combinations obtained by screening, the target parameter combination can not only make the system have higher performance, but also make the system response speed reach the required speed.
[0016] In some embodiments, determining the multiple parameter combinations from the multiple candidate parameter combinations includes: determining the multiple parameter combinations whose corresponding performance parameters are within a preset range from the multiple candidate parameter combinations.
[0017] In the embodiment of the present application, in the process of obtaining multiple parameter combinations, the obtained parameter combinations are first screened to remove parameter combinations whose performance parameters exceed the preset range. In this way, when selecting a target parameter combination from the multiple parameter combinations obtained by screening, the target parameter combination can make all performances of the system meet the requirements.
[0018] In some embodiments, the system includes multiple performance parameters, and selecting a target parameter combination from the multiple parameter combinations based on the performance parameters corresponding to each parameter combination includes: selecting the target parameter combination from the multiple parameter combinations based on the multiple performance parameters corresponding to each parameter combination and the weight of each of the performance parameters.
[0019] In the embodiment of the present application, when there are multiple performance parameters, the target parameter combination is selected according to each performance parameter and the corresponding weight, and the multiple performance parameters can be comprehensively considered and the target parameter combination can be selected under the control of the multiple performance parameters. In this way, when the system is operated according to the target parameter combination, the various performances of the system can meet the requirements.
[0020] In some embodiments, the system includes a performance parameter, and selecting a target parameter combination from the multiple parameter combinations according to the performance parameter corresponding to each parameter combination includes: determining the target parameter combination with the best corresponding performance parameter from the multiple parameter combinations.
[0021] In the embodiment of the present application, when the system includes a performance parameter, selecting a parameter combination with the best performance parameter from multiple parameter combinations as a target parameter combination can enable the system to have higher performance.
[0022] In some embodiments, before acquiring a plurality of parameter combinations, the method further comprises: determining a parameter range of each of the control parameters by a root locus method.
[0023] In the embodiment of the present application, the parameter range of each control parameter in the system is pre-determined by the root locus method, so that a relatively accurate parameter range of each control parameter can be obtained. In this way, a relatively accurate parameter value can be obtained when sampling a parameter value from the parameter range.
[0024] In a second aspect, a parameter selection device for a system is provided, the system comprising a plurality of control parameters, the parameter selection device comprising:
[0025] An acquisition module, used for acquiring a plurality of parameter combinations, each parameter combination comprising a parameter value sampled from a parameter range of each control parameter;
[0026] A determination module, used to determine the performance parameters of the system under the control of each parameter combination;
[0027] The selection module is used to select a target parameter combination from the multiple parameter combinations according to the performance parameters corresponding to each parameter combination, so as to control the operation of the system according to the target parameter combination.
[0028] In some embodiments, the acquisition module is specifically used to acquire multiple candidate parameter combinations through multiple samplings, each sampling randomly sampling from the parameter range of each control parameter to obtain a corresponding parameter value; and determine the multiple parameter combinations from the multiple candidate parameter combinations.
[0029] In some embodiments, the acquisition module is specifically configured to determine, from the multiple candidate parameter combinations, the multiple parameter combinations that enable the system to achieve stability.
[0030] In some embodiments, the acquisition module is specifically used to determine the multiple parameter combinations that enable the response speed of the system to meet the requirements from the multiple candidate parameter combinations.
[0031] In some embodiments, the acquisition module is specifically used to determine, from the multiple candidate parameter combinations, the multiple parameter combinations whose corresponding performance parameters are within a preset range.
[0032] In some embodiments, the system includes multiple performance parameters, and the selection module is specifically used to select the target parameter combination from the multiple parameter combinations according to the multiple performance parameters corresponding to each parameter combination and the weight of each performance parameter.
[0033] In some embodiments, the system includes a performance parameter, and the selection module is specifically used to determine the target parameter combination with the best corresponding performance parameter from the multiple parameter combinations.
[0034] In some embodiments, the determination module is further used to determine a parameter range of each of the control parameters by using a root locus method.
[0035] According to a third aspect, a readable storage medium is provided, on which a computer program is stored. When the computer program is executed on a parameter selection device, the parameter selection device executes the parameter selection method provided in the first aspect.
[0036] In a fourth aspect, a parameter selection device is provided, comprising: a processor; a memory; and a computer program, wherein the computer program is stored in the memory, and when the computer program is executed by the processor, the screening device executes the parameter selection method provided in the first aspect.
[0037] In a fifth aspect, a computer program product is provided, comprising: a computer program code, and when the computer program code is run on a parameter selection device, the parameter selection device executes the parameter selection method provided in the first aspect.
[0038] In a sixth aspect, a chip is provided, comprising: a processor, configured to call and run a computer program from a memory, so that a parameter selection device equipped with the chip executes the parameter selection method provided in the aforementioned first aspect.
[0039] It can be understood that the parameter selection devices provided in the second and fourth aspects, the readable storage medium provided in the third aspect, the computer program product provided in the fifth aspect, and the chip provided in the sixth aspect are all used to execute the parameter selection method provided in the first aspect. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 A schematic diagram of the composition of a converter system provided in some embodiments of the present application is shown.
[0041] Figure 2 A schematic diagram of an application scenario of a system parameter selection method provided in some embodiments of the present application.
[0042] Figure 3 A system parameter selection method provided by some embodiments of the present application is shown.
[0043] Figure 4 A schematic diagram showing the relationship between active power and active current components provided in some embodiments of the present application is shown.
[0044] Figure 5 A schematic diagram showing the relationship between reactive power and reactive current components provided in some embodiments of the present application is shown.
[0045] Figure 6 A schematic diagram of amplitude variation of a converter system provided in some embodiments of the present application is shown.
[0046] Figure 7 A schematic diagram of phase change of a converter system provided in some embodiments of the present application is shown.
[0047] Figure 8 A schematic diagram of the distribution of characteristic roots provided by some embodiments of the present application is shown.
[0048] Fig. 9 A flow chart of a method for selecting a control parameter provided in an embodiment of the present application is shown.
[0049] Fig.10 A schematic structural diagram of a parameter selection device provided in some embodiments of the present application is shown.
[0050] Fig.11A structural block diagram of a parameter selection device provided in some embodiments of the present application is shown. DETAILED DESCRIPTION
[0051] The technical solution in the present application will be described below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments.
[0052] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0053] The term "comprising" herein indicates the presence of the described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or their collections. The terms "comprising", "including", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized. Below, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present application, unless otherwise stated, the meaning of "multiple" is two or more.
[0054] The term "and / or" in this article is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0055] The system usually includes multiple control parameters. In the design of the system, it is necessary to set a suitable parameter value for each control parameter so that the system has higher performance when the system is controlled by the control parameters. The system usually has one or more performance parameters, which are used to evaluate the performance of the system.
[0056] Figure 1 FIG. 1 shows a schematic diagram of a converter system provided by some embodiments of the present application. Figure 1As shown, the inverter system 10 includes a power station 11 and an inverter 12. The power station 11 is used to provide electric energy, and the inverter 12 is used to convert the electric energy provided by the power station 11 into AC power matching the AC power grid 20 and then input it into the AC power grid 20. The power station 11 is, for example, an energy storage power station, a photovoltaic power station, a wind power station, etc., but is not limited thereto.
[0057] For example, if the converter system 10 adopts constant active and reactive power control (PQ control for short), the control parameters of the converter system 10 include the proportional coefficient K in the constant active power control. pp and the integral coefficient K ip , and the proportional coefficient K in the fixed reactive power control pq and the integral coefficient K iq etc., but not limited to.
[0058] Meanwhile, the inverter system 10 includes performance parameters such as frequency variation Δf, voltage variation ΔU, and response speed, and the frequency variation Δf, voltage variation ΔU, and response speed of the inverter system 10 are the frequency variation Δf, voltage variation ΔU, and response speed of the inverter 12. During the operation of the inverter system 10, the smaller the frequency variation Δf and voltage variation ΔU, the higher the stability and reliability of the inverter system 10, the faster the response speed, and the higher the sensitivity of the inverter system 10.
[0059] In the design process of the converter system 10, it is necessary to set the proportionality factor K pp , integral coefficient K ip , proportionality coefficient K pq and the integral coefficient K iq Appropriate parameter values are set respectively so that the stability, reliability, sensitivity and other performances of the converter system 10 can meet the requirements during the operation of the converter system 10.
[0060] It should be understood that different systems have different control parameters and performance parameters. The system may include but is not limited to an inverter system, and the control parameters and performance parameters may include but are not limited to the above examples.
[0061] In the operation process of the inverter system 10, different control parameters have different effects on the inverter system 10. For example, some control parameters can increase the response speed of the inverter system 10, but increase the frequency variation; some control parameters can increase the stability of the inverter system 10, but reduce the response speed of the inverter system 10.
[0062] In the related art, when setting parameter values for control parameters in a system, constraints are first set, and then parameter values that meet the constraints are searched within the parameter range of the control parameters, and the system is operated according to the parameter values that meet the constraints. When setting parameter values by this method, it is difficult to comprehensively consider the impact of different control parameters on the system. When the system is operated according to the set parameter values, the stability, reliability, sensitivity and other performance of the system are relatively low.
[0063] In order to solve the above technical problems, an embodiment of the present application provides a system parameter selection method, including: first obtaining multiple parameter combinations, each parameter combination including a parameter value sampled from the parameter range of each control parameter, and then selecting a target parameter combination from the multiple parameter combinations according to the performance parameters of the system under the control of each parameter combination, so as to control the system operation according to the target parameter combination.
[0064] The parameter value in each parameter combination is a parameter value sampled from the parameter range of the control parameter, which can meet the basic control requirements of the system. When selecting a target parameter combination from multiple parameter combinations according to the performance parameters corresponding to each parameter combination, a parameter combination that can make the system have higher performance can be selected from multiple parameter combinations as the target parameter combination. In this way, when the system is controlled to run according to the parameter values in the target parameter combination, the system can have higher performance.
[0065] Figure 2 A schematic diagram of an application scenario of a system parameter selection method provided in some embodiments of the present application. Figure 2 As shown, the scenario includes a parameter selection device of the system, which may be a computing device such as a computer, a workstation, a server, a computer cluster, etc. The parameter selection method provided in the embodiment of the present application may be executed by the parameter selection device.
[0066] Exemplarily, the system may be a converter system 10, and the designer may upload the mathematical model of the converter system 10 to the parameter selection device in advance, and the parameter selection device may determine the parameter range of each control parameter in the converter system 10 according to the mathematical model.
[0067] After determining the parameter range of each control parameter, the parameter selection device may perform sampling within the parameter range of each control parameter to obtain a plurality of parameter combinations, each parameter combination including a parameter value of each control parameter obtained by sampling.
[0068] After obtaining multiple parameter combinations, the parameter selection device can determine the performance parameters of the converter system 10 under the control of each parameter combination, and then select a target parameter combination from the multiple parameter combinations according to the performance parameters corresponding to each parameter combination.
[0069] After selecting the target parameter combination, the parameter selection device may output the target parameter combination. The designer may input the parameter values in the target parameter combination into the inverter system 10 to control the operation of the inverter system 10 by the parameter values in the target parameter combination during the operation of the inverter system 10.
[0070] It should be understood that the parameter selection method of the system provided in the embodiment of the present application can be applied to Figure 1 The inverter system 10 shown may also be applicable to other systems having multiple control parameters.
[0071] Figure 3 A method for selecting system parameters provided by some embodiments of the present application is shown. Figure 3 As shown, the method may include: step 31 and step 32.
[0072] Step 31: Obtain multiple parameter combinations.
[0073] Each parameter combination includes a parameter value sampled from the parameter range of each control parameter.
[0074] In some embodiments, before obtaining multiple parameter combinations of the system, a stability analysis may be performed on the system to determine the parameter range of each control parameter in the system. Figure 1 As shown, the mathematical model of the converter system 10 can be linearized to obtain a small signal model of the converter system 10, and then based on the small signal model, the parameter range of each control parameter in the converter system 10 can be determined by the root locus method.
[0075] Exemplarily, when the converter system 10 adopts PQ control, the instantaneous power of the converter 12 is calculated as follows:
[0076]
[0077] Wherein, S is the apparent power of the converter 12, P is the active power of the converter 12, Q is the reactive power of the converter 12, and u sd is the direct axis voltage of the converter 12, u sq is the quadrature axis voltage of the converter 12, i vd is the active current component of the converter 12, i vq is the reactive current component of the converter 12.
[0078] From formula (1), we can derive:
[0079]
[0080]
[0081] Among them, Us for Figure 1 The voltage amplitude of the point of common coupling (PCC) in the AC power grid 20 is shown. From formula (2) and formula (3), it can be seen that the active power P of the converter 12 is related to the active current component i vd The reactive power Q of the converter 12 is proportional to the reactive current component i vq is proportional to, so by controlling the active current component i vd and reactive current component i vq The active power P and reactive power Q output by the converter 12 can be controlled.
[0082] When the converter system 10 reaches stability, the voltage amplitude U s Considered as a constant, the transfer function of active power P and reactive power Q can be obtained.
[0083] Figure 4 A schematic diagram showing the relationship between active power and active current components provided in some embodiments of the present application is shown, such as Figure 4 As shown, the active power P of the converter 12 can be obtained by the active current component i vd and U s Sure.
[0084] Figure 5 A schematic diagram showing the relationship between reactive power and reactive current components provided by some embodiments of the present application is shown. Figure 5 As shown, the reactive power Q of the converter 12 can be obtained by the reactive current component i vq and U s Sure.
[0085] In some embodiments, a proportional integral (PI) regulator can be used to eliminate steady-state errors in the control process of active power P and reactive power Q. The outer loop controllers of active power P and reactive power Q are as follows:
[0086]
[0087]
[0088] Among them, P * is the preset active power, Q * is the preset reactive power, is the calculated active current component, is the calculated reactive current component. K pp is the proportional coefficient in the active power control, K ip is the integral coefficient in the active power control, Kpq is the proportional coefficient in the reactive power control, K iq is the integral coefficient in the fixed reactive power control, and s is the integral coefficient.
[0089] For example, after linearizing the mathematical model of the converter system 10 based on PQ control, a corresponding small signal model can be obtained, and the small signal model is as follows:
[0090]
[0091] in, is the state variable of the small signal model.
[0092] in, It is the input quantity of the small signal model, including the change of active power ΔP, the change of reactive power ΔQ, and the voltage change ΔU at the grid connection point.
[0093] in, is the state matrix of the small signal model. Adjust the proportional coefficient K pp , integral coefficient K ip , proportionality coefficient K pq and the integral coefficient K iq The size of the state matrix can be changed by changing the proportionality factor K pp , integral coefficient K ip , proportionality coefficient K pq and the integral coefficient K iq Substituting into formula (6) and solving, the characteristic root of the small signal model can be obtained. When the characteristic root of the small signal model is distributed on the left side of the zero axis in the complex plane, the converter system 10 is stable; when the characteristic root of the small signal model is distributed on the right side of the zero axis, the converter system 10 is unstable.
[0094] With proportionality factor K pp For example, in determining the proportionality coefficient K pp In the process of changing the parameter range, the root locus method can be used to gradually increase the proportional coefficient K from zero. pp , each time the proportional coefficient K is increased pp After that, the increased proportionality factor K pp Substitute into formula (6) and solve formula (6) to obtain the characteristic roots of the small signal model.
[0095] When increasing the proportionality factor K pp The moving trend of the characteristic root is judged in the process, and when the characteristic root is about to move to the right side of the zero axis, it is determined that the converter system 10 is unstable, and the proportional coefficient K is pp The parameter value is used as the proportional coefficient K pp The maximum or minimum value of the proportionality coefficient K can be determined ppThe maximum value K pp,max and minimum value K pp,min , which can determine the proportionality coefficient K pp Parameter range K pp,min ≤K pp ≤K pp,max .
[0096] Similarly, the integral coefficient K can be determined separately ip Parameter range K ip,min ≤K ip ≤K ip,max , proportionality coefficient K pq Parameter range K pq,min ≤K pq ≤K pq,max And the integration coefficient K iq Parameter range K iq,min ≤K iq ≤K iq,max .
[0097] Among them, K ip,min is the integration coefficient K ip The minimum value of K ip,max is the integration coefficient K ip The maximum value of K pq,min is the proportionality coefficient K pq The minimum value of K pq,max is the proportionality coefficient K pq The maximum value of K iq,min is the integration coefficient K iq The minimum value of K iq,max is the integration coefficient K iq The maximum value of .
[0098] The above are merely illustrative examples, and specific methods for determining the parameter range of the control parameter may include but are not limited to the above examples.
[0099] In the embodiment of the present application, the parameter range of each control parameter in the system is pre-determined by the root locus method, so that a relatively accurate parameter range of each control parameter can be obtained. In this way, a relatively accurate parameter value can be obtained when sampling a parameter value from the parameter range.
[0100] In some embodiments, after determining the parameter range of each control parameter in the system, N samplings may be performed within the parameter range of each control parameter to obtain N parameter values of each control parameter. After obtaining the N parameter values of each control parameter, the parameter values of multiple control parameters may be combined to obtain N parameter combinations, each parameter combination including a parameter value of each control parameter obtained by sampling.
[0101] With proportionality factor K ppFor example, in the sampling process, you can pp,min , and less than or equal to K pp,max Sampling is performed N times within the parameter range to obtain the proportional coefficient K pp Similarly, the integral coefficient K can be obtained by sampling ip , proportionality coefficient K pq and the integral coefficient K iq N parameter values.
[0102] In order to obtain the proportionality coefficient K pp , integral coefficient K ip , proportionality coefficient K pq and the integral coefficient K iq After obtaining N parameter values, all parameter values can be combined into N parameter combinations, each of which includes the sampled proportional coefficient K pp A parameter value, integral coefficient K ip A parameter value, proportional coefficient K pq A parameter value and integration coefficient K iq A parameter value.
[0103] In other embodiments, after determining the parameter range of each control parameter, N samplings may be performed, and in each sampling process, the proportional coefficient K pp The parameter value is obtained by sampling within the parameter range, and the integral coefficient K ip The parameter value is sampled within the parameter range, and the proportional coefficient K pq The parameter value is obtained by sampling within the parameter range, and the integral coefficient K is iq A parameter value is obtained by sampling within the parameter range, and the parameter values obtained by each sampling are combined into a parameter combination. After N consecutive samplings, N parameter combinations can be obtained.
[0104] The above are merely illustrative examples, and specific methods for obtaining multiple parameter combinations through sampling may include but are not limited to the above examples.
[0105] Step 32: Determine the performance parameters of the system under the control of each parameter combination.
[0106] Step 33: Select a target parameter combination from the multiple parameter combinations according to the performance parameters corresponding to each parameter combination, so as to control the operation of the system according to the target parameter combination.
[0107] In this embodiment, after obtaining multiple parameter combinations, the performance parameters of the system under the control of each parameter combination may be determined, and then a target parameter combination may be selected from the multiple parameter combinations according to the performance parameters corresponding to each parameter combination.
[0108] The target parameter combination may be the optimal parameter combination among multiple parameter combinations, that is, the target parameter combination may be the parameter combination with the best control effect among multiple parameter combinations.
[0109] In some embodiments, when the system includes a performance parameter, step 33 may include: determining a target parameter combination with the best corresponding performance parameter from multiple parameter combinations. That is, the target parameter combination may be a parameter combination with the largest corresponding performance parameter among multiple parameter combinations, or may be a parameter combination with the smallest corresponding performance parameter among multiple parameter combinations.
[0110] For example, if the inverter system 10 has only one performance parameter, namely, the frequency change Δf, during the control process, after obtaining multiple parameter combinations, the frequency change Δf of the inverter system 10 under the control of each parameter combination can be calculated and determined respectively. The frequency change Δf is calculated as follows:
[0111]
[0112]
[0113] Δf=2πΔω1 (9);
[0114] Among them, U c for Figure 1 The output voltage of the converter 12 is shown, δ1 is the electrical angle of the converter 12, ω1 is the angular frequency of the converter 12, and Z1 is the equivalent impedance of the converter 12.
[0115] For example, for each parameter combination, the parameter values in the parameter combination can be substituted into the mathematical model of the converter system 10 to obtain the voltage amplitude U at the grid connection point. s , the output voltage U of the converter 12 c and active power P, then the electrical angle δ1 is calculated by formula (7), then the electrical angle δ1 is linearized by formula (8) to obtain the angular frequency ω1, and finally the frequency change Δf is calculated by formula (9). Similarly, the frequency change Δf corresponding to each parameter combination can be calculated and determined.
[0116] During the operation of the inverter system 10, the smaller the frequency variation Δf is, the smaller the frequency fluctuation of the inverter system 10 is, and the higher the stability is. When the inverter system 10 includes only one performance parameter frequency variation Δf, in the process of selecting a target parameter combination from multiple parameter combinations, a parameter combination with the smallest corresponding frequency variation Δf can be determined from the multiple parameter combinations as the target parameter combination.
[0117] Among them, the parameter combination with the smallest frequency change Δf is the parameter combination with the best performance parameters among multiple parameter combinations, that is, the parameter combination with the best control effect among multiple parameter combinations, which can make the inverter system 10 have smaller frequency fluctuation during operation.
[0118] For example, if the converter system 10 has only one performance parameter, a voltage variation ΔU, during the control process, then after obtaining multiple parameter combinations, the voltage variation ΔU of the converter system 10 under the control of each parameter combination can be calculated and determined respectively.
[0119] The reactive power Q of the converter 12 is calculated as follows:
[0120]
[0121] The voltage variation ΔU of the converter system 10 can be obtained by linearizing the formula (10).
[0122] For example, for each parameter combination, the parameter values in the parameter combination can be substituted into the mathematical model of the converter system 10 to obtain the voltage amplitude U at the grid connection point. s , the output voltage U of the converter 12 c and reactive power Q, then the voltage amplitude U s , output voltage U c Substitute the reactive power Q into formula (10), and linearize formula (10) to obtain the voltage change ΔU corresponding to each parameter combination.
[0123] During the operation of the converter system 10, the smaller the voltage variation ΔU is, the smaller the voltage fluctuation of the converter system 10 is, and the higher the stability is. When the converter system 10 includes only one performance parameter, the voltage variation ΔU, in the process of selecting a target parameter combination from multiple parameter combinations, a parameter combination with the smallest corresponding voltage variation ΔU can be determined from the multiple parameter combinations as the target parameter combination.
[0124] Among them, the parameter combination with the smallest voltage change ΔU is the parameter combination with the best performance parameters among multiple parameter combinations, that is, the parameter combination with the best control effect among multiple parameter combinations, which can make the converter system 10 have smaller voltage fluctuations during operation.
[0125] Exemplarily, when the inverter system 10 has only one performance parameter, response speed, during the control process, after obtaining multiple parameter combinations, the bandwidth of the inverter system 10 under the control of each parameter combination can be calculated and determined respectively. The bandwidth is proportional to the response speed of the inverter system 10. The larger the bandwidth, the greater the response speed.
[0126] In the process of determining the response speed, the transfer function may be determined by the mathematical model of the converter system 10 , and a Bode diagram may be drawn according to the transfer function. The Bode diagram includes a phase change diagram and an amplitude change diagram.
[0127] Figure 6 A schematic diagram of amplitude variation of a converter system provided in some embodiments of the present application is shown. Figure 6 The horizontal axis is frequency, the unit is radian / second (rad / s), and the vertical axis is the voltage amplitude of the inverter system 10. The voltage amplitude of the inverter system 10 is the voltage amplitude of the inverter 12, and the unit is volt (V). Curve 61 is the voltage amplitude change curve of the inverter system 10.
[0128] Figure 7 A schematic diagram of phase change of a converter system provided in some embodiments of the present application is shown. Figure 7 The horizontal axis is frequency, the unit is radian / second, the vertical axis is the phase of the inverter system 10, the unit is degree, and curve 71 is the phase change curve of the inverter system 10, which is the phase change curve of the inverter system 10, that is, the phase change curve of the inverter 12.
[0129] like Figure 6 and Figure 7 As shown, the voltage amplitude of the converter system 10 passes through the zero point at 10 radians / second and intersects with the zero axis 62. At this time, the phase of the converter system 10 is the phase corresponding to the frequency point 72. The frequency point 72 is the open-loop cut-off frequency of the transfer function, and the open-loop cut-off frequency is the bandwidth ω of the converter system 10. For each parameter combination, the parameter selection device can determine the open-loop cut-off frequency of the system under the control of each parameter combination based on the pre-input step change amount to obtain the corresponding bandwidth.
[0130] During the operation of the inverter system 10, the faster the response speed, the faster the adjustment speed of the inverter system 10 and the higher the sensitivity. When the inverter system 10 includes only one performance parameter, the response speed, in the process of selecting a target parameter combination from multiple parameter combinations, a parameter combination with the largest corresponding bandwidth ω (fastest response speed) can be determined from the multiple parameter combinations as the target parameter combination.
[0131] Among them, the parameter combination with the largest bandwidth ω is the parameter combination with the best performance parameters among the multiple parameter combinations, that is, the parameter combination with the best control effect among the multiple parameter combinations, which can enable the converter system 10 to have a faster response speed during operation.
[0132] The above are merely illustrative examples, and different systems have different performance parameters. The specific method of determining the target parameter combination with the best corresponding performance parameters from multiple parameter combinations may include but is not limited to the above examples.
[0133] In the embodiment of the present application, when the system includes a performance parameter, selecting a parameter combination with the best performance parameter from multiple parameter combinations as a target parameter combination can enable the system to have higher performance.
[0134] In some embodiments, when the system includes multiple performance parameters, a target parameter combination can be selected from the multiple parameter combinations according to the multiple performance parameters corresponding to each parameter combination and the weight of each performance parameter. The weight of the performance parameter can be pre-set by the designer according to the importance of each performance parameter in the operation process of the system.
[0135] Exemplarily, an objective function may be constructed based on performance parameters and weights of the performance parameters, and for each parameter combination, a function value of the objective function may be determined according to the performance parameters and weights corresponding to the parameter combination. In the process of selecting a target parameter combination from a plurality of parameter combinations, the target parameter combination may be selected from the plurality of parameter combinations according to the function value of the objective function corresponding to each parameter combination.
[0136] For example, when the performance parameters of the converter system 10 include the frequency change Δf, the voltage change ΔU and the response speed, the objective function may be as follows:
[0137] F(x)=a·Δf+b·ΔU+c·1 / ω (11);
[0138] Among them, a is the weight of the frequency change Δf, b is the weight of the voltage change ΔU, c is the weight of the response speed (i.e. the weight of the bandwidth ω), and F(x) is the function value of the objective function. The weights of different performance parameters can be the same or different.
[0139] After obtaining multiple parameter combinations, for each parameter combination, the frequency change Δf, voltage change ΔU and bandwidth ω corresponding to the parameter combination can be calculated respectively, and then the frequency change Δf, voltage change ΔU and bandwidth ω are substituted into formula (11), and the function value of the objective function corresponding to the parameter combination is calculated by formula (11).
[0140] After determining the function value corresponding to each parameter combination, a parameter combination with the smallest function value can be determined from multiple parameter combinations as the target parameter combination. It can be seen from formula (11) that when the function value corresponding to the parameter combination is smaller, the frequency change of the converter system 10 is smaller, the voltage change is smaller, the bandwidth is larger (that is, the response speed is faster), and the performance of the converter system 10 is higher.
[0141] When selecting a target parameter combination from multiple parameter combinations according to the function value corresponding to each parameter combination, the target parameter combination is the parameter combination among the multiple parameter combinations that can minimize the frequency change, minimize the voltage change, and have the fastest response speed for the converter system 10, that is, the target parameter combination is the parameter combination with the best control effect among the multiple parameter combinations, which can enable the converter system 10 to have higher performance during operation.
[0142] The above are only illustrative examples. Different systems have different performance parameters, and the objective function may include but is not limited to the above examples.
[0143] In the embodiment of the present application, when there are multiple performance parameters, the target parameter combination is selected according to each performance parameter and the corresponding weight, and the multiple performance parameters can be comprehensively considered and the target parameter combination can be selected under the control of the multiple performance parameters. In this way, when the system is operated according to the target parameter combination, the various performances of the system can meet the requirements.
[0144] In some embodiments, when the system includes multiple performance parameters, the target parameter combination can also be selected from multiple parameter combinations by other methods. For example, when the performance parameters include frequency change Δf, voltage change ΔU, and response speed, if the requirement for frequency change Δf is the highest during the operation of the converter system 10, the requirement for voltage change ΔU is lower than the frequency change Δf, and the requirement for response speed is the lowest, then at least one parameter combination with the smallest frequency change Δf can be first determined from multiple parameter combinations, then at least one parameter combination with the smallest voltage change ΔU can be determined from at least one parameter combination, and finally a parameter combination with the largest bandwidth can be determined from at least one parameter combination with the smallest voltage change ΔU as the target parameter combination.
[0145] The above are merely illustrative examples, and methods for selecting a target parameter combination from multiple parameter combinations based on the performance parameters of the system under the control of each parameter combination may include but are not limited to the above examples.
[0146] It should be noted that the more parameter combinations obtained, the greater the probability that the multiple parameter combinations include a parameter combination that can enable the system to have higher performance. Therefore, in the process of obtaining multiple parameter combinations, a large number of parameter combinations can be obtained to select the target parameter combination from the large number of parameter combinations.
[0147] Optionally, step 21 may include:
[0148] Multiple candidate parameter combinations are obtained by multiple samplings, and each sampling randomly samples a corresponding parameter value from the parameter range of each control parameter;
[0149] A plurality of parameter combinations are determined from a plurality of candidate parameter combinations.
[0150] In some embodiments, a parameter value can be randomly sampled from the parameter range of each control parameter by random sampling, and the parameter values obtained by random sampling can be combined into multiple parameter combinations, and the parameter combinations obtained by sampling can be called candidate parameter combinations. Then, the multiple candidate parameter combinations can be screened according to the pre-set screening conditions to obtain multiple parameter combinations.
[0151] Exemplarily, random sampling may be performed continuously, and each random sampling obtains an alternative parameter combination;
[0152] When a preset end condition is reached, random sampling is stopped to obtain multiple candidate parameter combinations. The end condition may include that the number of multiple parameter combinations reaches a preset number or the number of multiple candidate parameter combinations reaches a preset number.
[0153] For example, if the preset number is N, the screening conditions include that the system is stable under the control of the parameter combination, the system response speed meets the requirements, and the system performance parameters do not exceed the preset range. In the random sampling process, a parameter value is randomly sampled from the parameter range of each control parameter each time, and the sampled parameter values are combined into an alternative parameter combination. After obtaining an alternative parameter combination, determine whether the alternative parameter combination can make the system stable, whether it can make the system response speed meet the requirements, and whether the corresponding performance parameters exceed the preset range.
[0154] When the candidate parameters can make the system stable, and the system response speed can meet the requirements, and the corresponding performance parameters do not exceed the preset range, the candidate parameter combination is retained. On the contrary, when any of the screening conditions cannot be met, the candidate parameter combination is discarded.
[0155] By analogy, after each candidate parameter combination is sampled, it is determined whether to retain the candidate parameter combination. When the number of parameter combinations finally obtained reaches a preset number N, the random sampling is terminated.
[0156] In some embodiments, the termination condition may include that the performance parameters corresponding to the multiple parameter combinations are regularly distributed. For example, when the system includes multiple performance parameters, after obtaining the multiple parameter combinations, the function value of the objective function corresponding to each parameter combination can be determined. If the multiple function values corresponding to the multiple parameter combinations are linearly distributed in order from small to large, it can be determined that the performance parameters corresponding to the multiple parameter combinations are regularly distributed. Alternatively, when the multiple function values can be fitted into a straight line, it can be determined that the performance parameters corresponding to the multiple parameter combinations are regularly distributed.
[0157] For another example, after determining the function value of the objective function corresponding to each parameter combination, if the multiple function values corresponding to the multiple parameter combinations are respectively located in multiple different intervals, and the difference between the two function values in each interval does not exceed the preset difference, it can be determined that the performance parameters corresponding to the multiple parameter combinations are regularly distributed.
[0158] For another example, when the system includes a performance parameter, if the performance parameters corresponding to multiple control parameters are linearly distributed in order from small to large, or the performance parameters corresponding to multiple control parameters can be fitted into a straight line, it can be determined that the performance parameters corresponding to the multiple parameter combinations are regularly distributed.
[0159] In an embodiment of the present application, in the process of obtaining multiple parameter combinations, random sampling is continuously performed to obtain parameter combinations, and random sampling is stopped when a preset end condition is reached, so that the multiple parameter combinations can include one or more parameter combinations that enable the system to have higher performance.
[0160] Among them, in the process of obtaining multiple parameter combinations, random sampling is performed within the parameter range of the control parameters by random sampling, which can increase the randomness of the parameter values in the parameter combination. From the Monte Carlo method, it can be known that the probability of an event can be estimated by the frequency of occurrence in a large number of experiments. When the sample size is large enough, it can be considered that the frequency of occurrence of an event is its probability.
[0161] Therefore, in the process of obtaining multiple parameter combinations, random sampling can be performed based on the Monte Carlo method to obtain a large number of candidate parameter combinations, thereby obtaining a large number of parameter combinations. When the number of parameter combinations is large enough, the obtained parameter combinations will most likely include target parameter combinations that can make the system have higher performance.
[0162] In the embodiment of the present application, in the process of obtaining multiple parameter combinations, random sampling can be performed within the parameter range of each control parameter to obtain parameter values, which can increase the randomness of the parameter values in the parameter combination. In this way, the probability that the multiple parameter combinations include a parameter combination that can make the system have higher performance is high, and after selecting the target parameter combination from the multiple parameter combinations, the target parameter combination can make the system have higher performance.
[0163] Optionally, the step of determining a plurality of parameter combinations from a plurality of candidate parameter combinations may include: determining a plurality of parameter combinations that enable the system to achieve stability from a plurality of candidate parameter combinations.
[0164] In some embodiments, in the process of acquiring multiple parameter combinations, multiple candidate parameter combinations may be first obtained through multiple samplings, and then the multiple candidate parameter combinations may be screened to remove the candidate parameter combinations that cannot stabilize the system.
[0165] For example, after obtaining multiple alternative parameter combinations, for one of the alternative parameter combinations, the parameter value in the alternative parameter combination can be substituted into formula (6), and formula (6) is solved to obtain at least one characteristic root of the small signal model. When at least one characteristic root is located on the left side of the zero axis in the complex plane, it can be determined that the converter system 10 can achieve stability under the control of the alternative parameter combination, and the alternative parameter combination can be retained as one of the multiple parameter combinations.
[0166] On the contrary, when one or more of the at least one characteristic root is located on the right side of the zero axis in the complex plane, it can be determined that the converter system 10 cannot achieve stability under the control of the alternative parameter combination, and the alternative parameter combination can be discarded.
[0167] Figure 8 FIG. 4 shows a distribution diagram of characteristic roots provided by some embodiments of the present application. Figure 8 As shown, the complex plane includes a real axis 81 and an imaginary axis 82. The characteristic roots corresponding to a certain parameter combination include characteristic roots 83, 84, 85 and 86. If characteristic roots 83, 84, 85 and 86 are all located on the left side of the zero axis 87, it can be determined that the system can achieve stability under the control of this parameter combination.
[0168] After obtaining N candidate parameter combinations, it is determined in turn whether the system can achieve stability under the control of each candidate parameter combination. The candidate parameter combinations that cannot make the system stable can be removed from the N candidate parameter combinations to obtain multiple parameter combinations that can make the system stable.
[0169] In the embodiment of the present application, in the process of obtaining multiple parameter combinations, the obtained parameter combinations are first screened to remove the parameter combinations that cannot make the system stable. In this way, when selecting a target parameter combination from the multiple parameter combinations obtained by screening, the target parameter combination can not only make the system have higher performance during operation, but also make the system stable during operation.
[0170] Optionally, the step of determining a plurality of parameter combinations from a plurality of candidate parameter combinations may include: determining a plurality of parameter combinations that enable the response speed of the system to meet requirements from a plurality of candidate parameter combinations.
[0171] Exemplarily, after obtaining multiple alternative parameter combinations, for a certain alternative parameter combination, the bandwidth ω of the converter system 10 under the control of the alternative parameter combination can be calculated. When the bandwidth is greater than the preset bandwidth, it can be determined that the response speed of the converter system 10 meets the requirements. At this time, the alternative parameter combination can be retained and the alternative parameter combination can be used as one of the multiple parameter combinations.
[0172] On the contrary, when the bandwidth ω is less than or equal to the preset bandwidth, it can be determined that the response speed of the converter system 10 cannot meet the requirement, and the candidate parameter combination can be discarded.
[0173] In the embodiment of the present application, in the process of obtaining multiple parameter combinations, the obtained parameter combinations are first screened to remove the parameter combinations that cannot make the system response speed reach the required speed. In this way, when selecting the target parameter combination from the multiple parameter combinations obtained by screening, the target parameter combination can not only make the system have higher performance, but also make the system response speed reach the required speed.
[0174] In some embodiments, in the process of screening the sampled candidate parameter combinations, multiple parameter combinations that can stabilize the system and achieve the required response speed of the system can be determined from multiple candidate parameter combinations.
[0175] Exemplarily, during the screening process, for a certain alternative parameter combination, after determining that the converter system 10 can achieve stability under the control of the alternative parameter combination, the bandwidth ω of the converter system 10 under the control of the alternative parameter combination can be calculated. When the bandwidth is greater than the preset bandwidth, it can be determined that the converter system 10 can achieve stability under the control of the alternative parameter combination, and the response speed meets the requirements. At this time, the alternative parameter combination can be retained and the alternative parameter combination can be used as one of the multiple parameter combinations. On the contrary, when the bandwidth ω is less than or equal to the preset bandwidth, it can be determined that the response speed of the converter system 10 cannot meet the requirements, and the alternative parameter combination can be discarded.
[0176] In the screening process, it can also be determined whether the bandwidth corresponding to the candidate parameter combination is greater than the preset bandwidth. After determining that the bandwidth corresponding to the candidate parameter combination is greater than the preset bandwidth, it is determined whether the converter system 10 can achieve stability under the control of the candidate parameter combination. For a certain candidate parameter combination, if the converter system 10 cannot achieve stability under the control of the candidate parameter combination and / or the calculated bandwidth is less than or equal to the preset bandwidth, the candidate parameter combination is discarded.
[0177] In the embodiment of the present application, in the process of obtaining multiple parameter combinations, the obtained parameter combinations are first screened to remove parameter combinations that cannot make the system stable and parameter combinations that cannot make the system's response speed reach the required level. In this way, when selecting a target parameter combination from the multiple parameter combinations obtained by screening, the target parameter combination can not only make the system have higher performance during operation, but also make the system stable during operation, and can make the system's response speed reach the required level.
[0178] Optionally, the step of determining a plurality of parameter combinations from a plurality of candidate parameter combinations may include: determining a plurality of parameter combinations whose corresponding performance parameters are within a preset range from the plurality of candidate parameter combinations.
[0179] In some embodiments, in the process of screening the candidate parameter combinations, the parameter combinations whose corresponding performance parameters exceed the preset range can be removed. For example, in the screening process, for a certain candidate parameter combination, the frequency change and voltage change of the converter system 10 under the control of the candidate parameter combination can be calculated. If the frequency change is less than or equal to the preset upper limit of the frequency change (preset range), and the voltage change is less than or equal to the preset upper limit of the voltage change (preset target value), it is determined that the candidate parameter combination meets the requirements, and the candidate parameter combination can be used as one of the multiple parameter combinations.
[0180] On the contrary, when either or both of the frequency variation being greater than the preset upper frequency variation limit and the voltage variation being greater than the preset upper voltage variation limit occur, it is determined that the candidate parameter combination does not meet the requirements and can be discarded.
[0181] In the embodiment of the present application, in the process of obtaining multiple parameter combinations, the obtained parameter combinations are first screened to remove parameter combinations whose performance parameters exceed the preset range. In this way, when selecting a target parameter combination from the multiple parameter combinations obtained by screening, the target parameter combination can make all performances of the system meet the requirements.
[0182] In some embodiments, in the process of screening alternative parameter combinations, for a certain alternative parameter combination, after determining that the parameter value in the alternative parameter combination can stabilize the system and the bandwidth corresponding to the alternative parameter combination is greater than the preset bandwidth, the frequency change and voltage change of the system under the control of the alternative parameter combination can be calculated.
[0183] If the frequency change is less than or equal to the preset upper limit of the frequency change, and the voltage change is less than or equal to the preset upper limit of the voltage change, then it is determined that the system can achieve stability under the control of the alternative parameter combination, and the response speed can meet the requirements, and the performance parameters do not exceed the preset range. At this time, the alternative parameter combination can be used as one of the multiple parameter combinations.
[0184] On the contrary, when either or both of the frequency variation being greater than the preset upper frequency variation limit and the voltage variation being greater than the preset upper voltage variation limit occur, it is determined that the candidate parameter combination does not meet the requirements and can be discarded.
[0185] In the embodiment of the present application, in the process of obtaining multiple parameter combinations, firstly, the parameter combinations that cannot make the system stable, the parameter combinations that cannot make the system response speed meet the requirements, and the parameter combinations whose performance parameters exceed the preset range are removed. In this way, when selecting the target parameter combination from the multiple parameter combinations obtained by screening, the target parameter combination can not only make the system have higher performance during operation, but also make the system stable during operation, and make the system response speed meet the requirements, and at the same time make the various performance parameters of the system meet the requirements, so that the system can have higher performance during operation.
[0186] Fig. 9 FIG. 1 is a flow chart showing a method for selecting a control parameter provided in an embodiment of the present application. Fig. 9 As shown, the method may include steps 91 to 911.
[0187] Step 91: Determine the parameter range.
[0188] In this embodiment, in the process of obtaining the target parameter combination for controlling the operation of the system, the parameter range of each control parameter in the system is first determined, and then sampling is performed within the parameter range of the control parameter to obtain the parameter combination. The method for determining the parameter range can refer to the above example, and this embodiment will not be repeated here.
[0189] Step 92: Construct the objective function.
[0190] In this embodiment, when the system includes multiple performance parameters, an objective function can be constructed according to the performance parameters and the weight of each performance parameter, so as to select a target parameter combination from multiple parameter combinations according to the objective function. The method for constructing the objective function is shown in formula (11), which is not described in detail in this embodiment.
[0191] Step 93: randomly sample to obtain a parameter combination.
[0192] In this embodiment, multiple random samplings can be performed continuously to obtain multiple parameter combinations, and each random sampling randomly samples a corresponding parameter value from the parameter range of each control parameter, and the multiple parameter values obtained by sampling are combined to obtain a parameter combination, which is the candidate parameter combination. As described above, the parameter combination obtained by random sampling can be called the candidate parameter combination.
[0193] Step 94: Determine the characteristic root corresponding to the parameter combination.
[0194] Step 95: Determine whether the characteristic roots corresponding to the parameter combination are all located on the left side of the zero axis.
[0195] For example, after a parameter combination is obtained by random sampling each time, it is first determined whether the converter system 10 can achieve stability under the control of the parameter combination. The parameter combination can be input into the small signal model shown in formula (6), and then the formula (6) is solved to obtain one or more characteristic roots of the converter system 10. After obtaining one or more characteristic roots, if all characteristic roots are located on the left side of the zero axis in the complex plane, it is determined that the converter system 10 can achieve stability under the control of the parameter combination, and then step 96 is executed. On the contrary, if any one of the characteristic roots is located on the right side of the zero axis, it is determined that the converter system 10 cannot achieve stability under the control of the parameter combination, and then step 99 is executed.
[0196] Step 96: Determine whether the response speed meets the requirement.
[0197] Exemplarily, after determining that the inverter system 10 reaches stability under the control of the parameter combination, the bandwidth of the inverter system 10 under the control of the parameter combination can be determined. If the bandwidth is greater than the preset bandwidth, it is determined that the response speed of the inverter system 10 under the control of the parameter combination meets the requirement, and then step 97 is executed. On the contrary, if the bandwidth is less than or equal to the preset bandwidth, it is determined that the response speed of the inverter system 10 under the control of the parameter combination cannot meet the requirement, and then step 99 is executed.
[0198] Step 97: Determine the performance parameters corresponding to the parameter combination.
[0199] Step 98: Determine whether the performance parameter exceeds a preset range.
[0200] Exemplarily, after determining that the response speed of the inverter system 10 under the control of the parameter combination can meet the requirement, the performance parameters of the inverter system 10 under the control of the parameter combination are determined, and then it is determined whether the performance parameters exceed the preset range. If all performance parameters do not exceed the preset range, the parameter combination is retained and step 910 is executed. On the contrary, if any one of the performance parameters exceeds the preset range, step 99 is executed.
[0201] Step 99: discard the parameter combination.
[0202] Exemplarily, when the inverter system 10 cannot achieve stability under the control of the parameter combination, the response speed cannot meet the requirements, the performance parameters exceed the preset range, etc., the parameter combination is discarded, and then step 93 is continued to perform random sampling to obtain the next parameter combination.
[0203] Step 910: Determine whether the end condition is met.
[0204] In this embodiment, after each parameter combination is obtained, it is determined whether the preset end condition is met. If the preset end condition is met, the process returns to step 93 and continues random sampling to obtain the next parameter combination. On the contrary, if the preset end condition is met, step 911 is executed.
[0205] Step 911: Select a target parameter combination from multiple parameter combinations.
[0206] Exemplarily, when it is determined that the preset end condition is reached, multiple parameter combinations can be obtained, each of which can make the inverter system 10 stable, and can make the response speed of the inverter system 10 meet the requirements, and make the performance parameters of the inverter system 10 not exceed the preset range. Then, according to the performance parameters of the inverter system 10 under the control of each parameter combination, the target parameter combination for controlling the operation of the inverter system 10 can be determined from the obtained multiple parameter combinations.
[0207] Fig.10 FIG. 1 is a schematic diagram showing the structure of a parameter selection device provided in some embodiments of the present application. Fig.10 As shown, the parameter selection device 10 includes:
[0208] An acquisition module 101 is used to acquire multiple parameter combinations, each parameter combination including a parameter value sampled from a parameter range of each control parameter;
[0209] A determination module 102, configured to determine a performance parameter of the system under the control of each parameter combination;
[0210] The selection module 103 is used to select a target parameter combination from the multiple parameter combinations according to the performance parameters corresponding to each parameter combination, so as to control the operation of the system according to the target parameter combination.
[0211] In some embodiments, the acquisition module is specifically used to acquire multiple candidate parameter combinations through multiple samplings, each sampling randomly sampling from the parameter range of each control parameter to obtain a corresponding parameter value; and determine the multiple parameter combinations from the multiple candidate parameter combinations.
[0212] In some embodiments, the acquisition module is specifically configured to determine, from the multiple candidate parameter combinations, the multiple parameter combinations that enable the system to achieve stability.
[0213] In some embodiments, the acquisition module is specifically used to determine the multiple parameter combinations that enable the response speed of the system to meet the requirements from the multiple candidate parameter combinations.
[0214] In some embodiments, the acquisition module is specifically used to determine, from the multiple candidate parameter combinations, the multiple parameter combinations whose corresponding performance parameters are within a preset range.
[0215] In some embodiments, the system includes multiple performance parameters, and the selection module is specifically used to select the target parameter combination from the multiple parameter combinations according to the multiple performance parameters corresponding to each parameter combination and the weight of each performance parameter.
[0216] In some embodiments, the system includes a performance parameter, and the selection module is specifically used to determine the target parameter combination with the best corresponding performance parameter from the multiple parameter combinations.
[0217] In some embodiments, the determination module is further used to determine a parameter range of each of the control parameters by using a root locus method.
[0218] Fig.11 FIG. 1 shows a structural block diagram of a parameter selection device provided in some embodiments of the present application. Fig.11 As shown, the parameter selection device 110 includes a processor 111 and a memory 112 , and the above-mentioned components can be connected via one or more buses 114 .
[0219] The parameter selection device 110 further includes a computer program 113, which is stored in the memory 112. When the computer program 113 is executed by the processor 111, the parameter selection device 110 performs the above Figure 3 and Fig. 9 All relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding physical device, and will not be repeated here.
[0220] An embodiment of the present application also provides a readable storage medium, which includes a computer program. When the computer program is executed on a computer, the computer executes the method provided by the above method embodiment.
[0221] An embodiment of the present application also provides a computer program product comprising instructions, and when the computer program product is run on a computer, the computer is enabled to execute the method provided by the above method embodiment.
[0222] An embodiment of the present application also provides a chip system, including a memory and a processor, wherein the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that a parameter selection device equipped with the chip system executes the method provided in the above method embodiment.
[0223] Among them, the chip system may include an input circuit or interface for sending information or data, and an output circuit or interface for receiving information or data.
[0224] It should be understood that in the embodiments of the present application, the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.
[0225] It should also be understood that the memory in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of random access memory (RAM) are available, such as static RAM (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous linked dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM).
[0226] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0227] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0228] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as 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 through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0229] 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.
[0230] In addition, each functional unit in each embodiment of the present application 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.
[0231] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0232] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for selecting system parameters, characterized in that: The system includes a plurality of control parameters, and the method includes: Acquire multiple parameter combinations, each parameter combination including a parameter value sampled from the parameter range of each control parameter; determining performance parameters of the system under control of each parameter combination; A target parameter combination is selected from the plurality of parameter combinations according to the performance parameters corresponding to each parameter combination, so as to control the operation of the system according to the target parameter combination.
2. The method according to claim 1, characterized in that The obtaining of multiple parameter combinations includes: Acquire multiple candidate parameter combinations by multiple samplings, and randomly sample each control parameter within the parameter range to obtain a corresponding parameter value each time; The plurality of parameter combinations are determined from the plurality of candidate parameter combinations.
3. The method according to claim 2, characterized in that The determining the multiple parameter combinations from the multiple candidate parameter combinations comprises: The plurality of parameter combinations that enable the system to achieve stability are determined from the plurality of candidate parameter combinations.
4. The method according to claim 2, characterized in that The determining the multiple parameter combinations from the multiple candidate parameter combinations comprises: The plurality of parameter combinations that enable the response speed of the system to meet the requirement are determined from the plurality of candidate parameter combinations.
5. The method according to claim 2, characterized in that The determining the multiple parameter combinations from the multiple candidate parameter combinations comprises: The plurality of parameter combinations whose corresponding performance parameters are within a preset range are determined from the plurality of candidate parameter combinations.
6. The method according to any one of claims 1 to 5, characterized in that The system includes a plurality of performance parameters, and the step of selecting a target parameter combination from the plurality of parameter combinations according to the performance parameter corresponding to each parameter combination includes: The target parameter combination is selected from the multiple parameter combinations according to the multiple performance parameters corresponding to each parameter combination and the weight of each performance parameter.
7. The method according to any one of claims 1 to 6, characterized in that The system includes a performance parameter, and the selecting a target parameter combination from the plurality of parameter combinations according to the performance parameter corresponding to each parameter combination includes: The target parameter combination with the best corresponding performance parameter is determined from the multiple parameter combinations.
8. The method according to any one of claims 1 to 7, characterized in that Before obtaining the plurality of parameter combinations, the method further includes: The parameter range of each control parameter is determined by the root locus method.
9. A parameter selection device for a system, characterized in that: The system includes a plurality of control parameters, and the parameter selection device includes: An acquisition module, used for acquiring a plurality of parameter combinations, each parameter combination comprising a parameter value sampled from a parameter range of each control parameter; A determination module, used to determine the performance parameters of the system under the control of each parameter combination; The selection module is used to select a target parameter combination from the multiple parameter combinations according to the performance parameters corresponding to each parameter combination, so as to control the operation of the system according to the target parameter combination.
10. A readable storage medium, characterized in that: The readable storage medium stores a computer program, and when the computer program runs on the parameter selection device, the parameter selection device executes the method according to any one of claims 1 to 8.