Control system parameter setting method, system and computer equipment
By obtaining and evaluating the response measurements of the actual feasible control parameter combination in the nuclear power plant control system and determining the target control parameter combination that meets the preset conditions, the problem of excessive dependence on expert experience in the traditional method of control parameter optimization and adjustment is solved, and the accuracy of control parameters and the performance of the nuclear power plant system are improved.
Patent Information
- Application Number
- CN202211562589.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-07
- Publication Date
- 2025-04-22
- Estimated Expiration
- 2042-12-07
AI Technical Summary
The optimization and adjustment of control parameters of traditional nuclear power plant control systems rely too much on expert experience, which makes it difficult to ensure the performance of the nuclear power plant control system.
By obtaining the current practical combination of control parameters of the control system, sending these parameters to the control system, obtaining the response measurements, and evaluating the response measurements based on the composite control performance indicators. If the evaluation result meets the preset conditions, the target control parameter combination is determined.
This method can reduce the dependence on expert experience and improve the accuracy of finalized control parameters, thereby ensuring the performance of the control system of the nuclear power plant.
Smart Images

Figure CN115933597B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of nuclear power plant control systems, and in particular to a control system parameter setting method, system and computer equipment. Background Art
[0002] The control system of a nuclear power plant is the basis for the safe, stable and economical operation of the nuclear power plant. The control performance optimization of the nuclear power plant control system is achieved through the tuning optimization of control parameters. For example, the tuning optimization of proportional-differential-integral controller (PID) parameters can improve the transient response capability of nuclear power units, thereby improving the stability, safety and economy of nuclear power plant operation. At the same time, this is also an important task in the design, commissioning and operation and maintenance of nuclear power plant control systems.
[0003] In traditional technology, operation and maintenance personnel usually design control parameters based on their own experience and the relationship model between control parameters and control performance, and optimize the control parameters through multiple experiments.
[0004] However, the optimization adjustment of the control parameters in the above method is overly dependent on expert experience, resulting in the final setting value of the control parameter being difficult to guarantee the performance of the nuclear power plant control system. Summary of the invention
[0005] Based on this, it is necessary to provide a control system parameter setting method, system and computer equipment that can avoid over-reliance on expert experience and improve the accuracy of the final control parameters, thereby ensuring the performance of the nuclear power plant control system in response to the above technical problems.
[0006] In a first aspect, the present application provides a method for parameter setting of a control system. The method comprises:
[0007] Acquire the current practical feasible control parameter combination of the control system, and send the practical feasible control parameter combination to the control system, so that the control system operates according to the practical feasible control parameter combination to obtain a response measurement value of the control system;
[0008] Receiving the current response measurement value sent by the control system;
[0009] Evaluate the current response measurement value according to the current composite control performance index to obtain the current control performance evaluation result;
[0010] If the current control performance evaluation result meets the preset conditions, the target control parameter combination is determined according to the current actual feasible control parameter combination.
[0011] In one embodiment, the method further comprises:
[0012] Determining a first difference between the current response measurement and a set point of the control system;
[0013] Determine the current time multiplied absolute error integral index ITAE and the current time multiplied square error integral index ITSE according to the first difference and the running time of the control system;
[0014] The current composite control performance index is determined according to the current ITAE, the weight coefficient corresponding to the ITAE, the ITSE and the weight coefficient corresponding to the ITSE.
[0015] In one embodiment, the step of obtaining the current practical feasible control parameter combination of the control system includes:
[0016] Obtain the current initial control parameter combination and optimization algorithm parameters of the optimization system;
[0017] Normalizing the current initial control parameter combination to obtain a first control parameter combination;
[0018] According to the current optimization algorithm parameters and the first control parameter combination, the first control parameter combination is optimized by an optimization algorithm to obtain a current second control parameter combination;
[0019] The second control parameter combination is restored to obtain the current actual feasible control parameter combination.
[0020] In one embodiment, the first control parameter combination is optimized by an optimization algorithm according to the current optimization algorithm parameter and the first control parameter combination to obtain the current second control parameter combination, including:
[0021] Determine the product result of the current perturbation step length and the Monte Carlo perturbation vector; the current perturbation step length is determined according to the current optimization algorithm parameters;
[0022] Determine a sum of the first control parameter combination and the current multiplication result, and use the sum as the current positive perturbation point;
[0023] If the control performance evaluation result corresponding to the current positive perturbation point meets the preset condition, the current positive perturbation point is used as the current second control parameter combination.
[0024] In one embodiment, the method further comprises:
[0025] If the control performance evaluation result corresponding to the current positive perturbation point does not meet the preset condition, then determine the second difference between the first control parameter combination and the current multiplication result, and use the second difference as the current negative perturbation point;
[0026] If the control performance evaluation result corresponding to the current negative perturbation point meets the preset condition, the negative perturbation point is used as the second control parameter combination for the current time.
[0027] In one embodiment, the method further comprises:
[0028] If the control performance evaluation result corresponding to the current negative perturbation point does not meet the preset condition, then based on the first historical control performance evaluation result, the second historical control performance evaluation result, the current positive perturbation point, the current negative perturbation point and the first control parameter combination, the current optimized estimation point is obtained; the first historical control performance evaluation result is the control performance evaluation result corresponding to the current positive perturbation point, and the second historical control performance evaluation result is the control performance evaluation result corresponding to the current negative perturbation point;
[0029] If the control performance evaluation result corresponding to the optimized estimation point meets the preset condition, the optimized estimation point is used as the second control parameter combination for the current time.
[0030] In one embodiment, the current optimization estimation point is obtained based on the first historical control performance evaluation result, the second historical control performance evaluation result, the current positive perturbation point, the current negative perturbation point and the first control parameter combination, including:
[0031] Determining a third difference between the first historical control performance evaluation result and the second historical control performance evaluation result;
[0032] Determine a fourth difference between the current positive perturbation point and the current negative perturbation point;
[0033] determining a ratio between the third difference and the fourth difference;
[0034] Based on the ratio and the current first control parameter combination, the current optimization estimation point is obtained.
[0035] In one embodiment, the method further comprises:
[0036] If the control performance evaluation result corresponding to the optimization estimation point does not meet the preset condition, the next actual feasible control parameter combination of the control system is obtained, and the next actual feasible control parameter combination is sent to the control system to obtain the response measurement value corresponding to the next actual feasible control parameter combination, and the target control parameter combination is determined according to the next corresponding response measurement value.
[0037] In one embodiment, the method further comprises:
[0038] Obtaining historical control performance evaluation results and preset optimization process evaluation parameters before the current time;
[0039] The historical control performance evaluation results are sorted to obtain the performance sequence arrangement results of the iteration points;
[0040] According to the preset optimization process evaluation parameter and the performance sequence arrangement result of the iteration point, the performance sequence arrangement result of the iteration point is smoothed to obtain a smooth termination sequence;
[0041] According to the smooth termination sequence, a termination factor is determined, and the termination factor is normalized to obtain a normalized termination factor;
[0042] The preset condition is obtained according to the normalized termination factor and the preset optimization process evaluation parameter.
[0043] In one embodiment, the preset optimization process evaluation parameters include a termination factor lower limit threshold and a termination state coefficient lower limit threshold, and the preset conditions are obtained according to the normalized termination factor and the preset optimization process evaluation parameters, including:
[0044] Determine the first number of times that the normalized termination factor is less than a lower threshold of the termination factor;
[0045] The condition that the first number is equal to the lower limit threshold of the termination state coefficient and the normalized termination factor is less than the lower limit threshold of the termination factor is determined as the preset condition.
[0046] In a second aspect, the present application also provides a parameter setting system for a control system. The overall parameter setting system includes:
[0047] An acquisition module, used for acquiring a current practical feasible control parameter combination of the control system, and sending the practical feasible control parameter combination to the control system, so that the control system operates according to the practical feasible control parameter combination to obtain a response measurement value of the control system;
[0048] A receiving module, used for receiving the current response measurement value sent by the control system;
[0049] An evaluation module, used to evaluate the current response measurement value according to the current composite control performance index to obtain the current control performance evaluation result;
[0050] The first determination module is used to determine a target control parameter combination according to the current actual feasible control parameter combination if the current control performance evaluation result meets a preset condition.
[0051] In a third aspect, the present application further provides a computer device, which includes a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any method in the first aspect when executing the computer program.
[0052] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, which implements the steps of any method in the first aspect when executed by a processor.
[0053] In a fifth aspect, the present application further provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of any method in the first aspect are implemented.
[0054] The parameter setting method, system and computer equipment of the above-mentioned control system obtain the actual feasible control parameter combination of the control system at the current time, and send the actual feasible control parameter combination to the control system, so that the control system operates according to the actual feasible control parameter combination to obtain the response measurement value of the control system, and then receives the current response measurement value sent by the control system, thereby evaluating the current response measurement value according to the current composite control performance index to obtain the current control performance evaluation result. If the current control performance evaluation result meets the preset conditions, the target control parameter combination is determined according to the current actual feasible control parameter combination. Since the control system operates according to the current actual feasible control parameter combination to obtain the response measurement value of the control system, and then evaluates the current response measurement value according to the current composite control performance index to obtain the current control performance evaluation result, it is judged whether the current control performance evaluation result meets the preset conditions. If the current control performance evaluation result meets the preset conditions, the target control parameter combination is determined according to the current actual feasible control parameter combination. Since this embodiment does not need to rely on the experience of the operation and maintenance personnel themselves, and the target control parameter combination finally determined is the parameter combination determined according to the actual feasible control parameters corresponding to the control performance evaluation result that meets the preset conditions, it is possible to improve the accuracy of the control parameters finally determined and ensure the performance of the nuclear power plant control system. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] Figure 1 An application environment diagram of a control system parameter setting method provided in an embodiment of the present application;
[0056] Figure 2 A flow chart of a method for parameter setting of a control system provided in an embodiment of the present application;
[0057] Figure 3A schematic diagram of a method flow chart for obtaining a preset condition provided in an embodiment of the present application;
[0058] Figure 4 A schematic diagram of a flow chart of a method for determining a current composite control performance index provided in an embodiment of the present application;
[0059] Figure 5 A flowchart of a method for obtaining a practical and feasible control parameter combination provided in an embodiment of the present application;
[0060] Figure 6 A flowchart of a method for determining a current second control parameter combination provided in an embodiment of the present application;
[0061] Figure 7 A schematic diagram of a flow chart of a method for determining a current negative perturbation point provided by the present application;
[0062] Figure 8 A schematic diagram of a flow chart of a method for obtaining a current optimization estimation point provided in an embodiment of the present application;
[0063] Fig. 9 A flow chart of another control system parameter setting method provided in an embodiment of the present application;
[0064] Fig.10 A structural block diagram of a parameter setting system of a control system provided in an embodiment of the present application;
[0065] Fig.11 An internal structure diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0066] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0067] With the widespread use of digital nuclear power plants, the use of power plant data to optimize the performance of nuclear power plant control systems can ensure the safe operation of nuclear power plants and make the economic and social benefits of nuclear power plants significant. At present, the control performance optimization methods for nuclear power plant control systems at home and abroad are usually:
[0068] The first is the trial and error method, which usually involves engineers constantly adjusting the setting values of control parameters based on their operating experience and conducting tests until an optimal combination of control parameters is found. However, this method is overly dependent on the experience of engineers, and the control parameter setting process is time-consuming and laborious, and the optimality of the setting value cannot be guaranteed.
[0069] The second is the empirical formula method, such as the Ziegler-Nichols setting method and Relay feedback method, and this method is mainly used for PID parameter tuning. Usually engineers need to obtain the model through transient response test, control parameter estimation or frequency response test, and then give the parameter setting value according to the empirical tuning formula. Although this method is simple to implement, it is overly dependent on the model, and the accuracy of the model is difficult or impossible to obtain, and the selection of the empirical formula depends on the engineer's experience and understanding of the process characteristics. Therefore, the determined control parameter setting value is not the optimal value.
[0070] The third is the optimization method based on the known control performance model. Assuming that the model between control performance and control parameters is known, the control parameters are optimized by optimizing the model. However, since the correlation between control performance and control parameters is very complex, it is usually difficult to obtain an accurate model.
[0071] Fourth, the particle swarm optimization algorithm (PSO) is a typical intelligent optimization method. Although this optimization method does not rely on the control performance model, it requires a large number of experiments to complete the adjustment of control parameters. The optimization cost is extremely high and it is not suitable for use in engineering design, debugging, and operation and maintenance.
[0072] However, the above optimization methods all have high requirements for model accuracy, high optimization costs, and excessive reliance on the experience of experts such as designers, commissioning, operation and maintenance personnel, and engineers. As a result, the final control parameter setting values are difficult to guarantee the performance of the nuclear power plant control system. If they are improperly set manually, they may lead to unexpected operating conditions such as unplanned shutdowns and reactor shutdowns of power plants and other high-risk activities due to human failures.
[0073] In order to solve the above technical problems, the present application provides a control system parameter setting method, which can be applied to Figure 1 In the application environment shown, the control system 102 communicates with the optimization system 104 through a network. The control system 102 is deployed on various personal computers, laptops, smart phones and tablet computers. The optimization system 104 is deployed on a computer device.
[0074] In one embodiment, Figure 2 As shown, Figure 2 1 is a flow chart of a control system parameter setting method provided in an embodiment of the present application, which can be applied to the above-mentioned optimization system, which is deployed on a computer device. The method includes the following steps:
[0075] S201. Acquire the current practical feasible control parameter combination of the control system, and send the practical feasible control parameter combination to the control system, so that the control system operates according to the practical feasible control parameter combination to obtain a response measurement value of the control system.
[0076] In this embodiment, the current practical feasible control parameter combination is sent to the control system through the data communication interface, and the control system modifies the operation control parameters of the control system according to the current practical feasible control parameter combination, and runs the control test to obtain the response measurement value of the control system. For example, if the control system is a nuclear power plant control system, the nuclear power plant control system modifies the operation control parameters of the nuclear power plant control system according to the practical feasible iterative control parameter combination, and measures the response of the nuclear power plant control system under the nominal transient condition to obtain the response measurement value of the nuclear power plant control system.
[0077] S202: Receive the current response measurement value sent by the control system.
[0078] The above example is used to illustrate the response measurement value of the nuclear power plant control system sent by the detection sensor unit of the nuclear power plant control system.
[0079] S203. Evaluate the current response measurement value according to the current composite control performance index to obtain the current control performance evaluation result.
[0080] In this embodiment, the composite control performance index is determined by the current time multiplied absolute error integral index (Integral Time Absolute Error, ITAE), the weight coefficient λ2 corresponding to ITAE, the time multiplied square error integral index (Integral of Timed Square Error, ITSE) and the weight coefficient 1-λ2 corresponding to ITSE.
[0081] S204: If the current control performance evaluation result meets the preset conditions, determine the target control parameter combination according to the current actual feasible control parameter combination.
[0082] The preset conditions in this embodiment are determined based on the control performance evaluation results and optimization process evaluation parameters corresponding to all practical feasible control parameter combinations.
[0083] The method provided in this embodiment obtains the actual feasible control parameter combination of the control system at the current time, and sends the actual feasible control parameter combination to the control system, so that the control system operates according to the actual feasible control parameter combination to obtain the response measurement value of the control system, and then receives the current response measurement value sent by the control system, thereby evaluating the current response measurement value according to the current composite control performance index to obtain the current control performance evaluation result. If the current control performance evaluation result meets the preset conditions, the target control parameter combination is determined according to the current actual feasible control parameter combination. Since the control system operates according to the current actual feasible control parameter combination to obtain the response measurement value of the control system, and then evaluates the current response measurement value according to the current composite control performance index to obtain the current control performance evaluation result, it is judged whether the current control performance evaluation result meets the preset conditions. If the current control performance evaluation result meets the preset conditions, the target control parameter combination is determined according to the current actual feasible control parameter combination. Since this embodiment does not need to rely on the experience of the operation and maintenance personnel themselves, and the target control parameter combination finally determined is obtained according to this method until a parameter combination determined according to the actual feasible control parameters corresponding to the control performance evaluation result that meets the preset conditions is obtained, the accuracy of the finally determined control parameters can be improved to ensure the performance of the nuclear power plant control system.
[0084] Reference Figure 3 , Figure 3 A schematic flow chart of a method for obtaining a preset condition provided in an embodiment of the present application. This embodiment relates to a possible implementation method of how to obtain the preset condition. Based on the above embodiment, it specifically includes the following steps:
[0085] S301, obtaining historical control performance evaluation results before the current time and preset optimization process evaluation parameters.
[0086] The historical control performance evaluation results corresponding to all practical and feasible control parameter combinations before the current time are obtained and stored in the sequence to obtain the historical iteration point performance sequence S H . And store the current control performance evaluation result in the historical iteration point performance sequence S H In the process, update the historical iteration point performance sequence S H Among them, the optimization process evaluation parameters include: the initial value of the termination state coefficient κ, the lower limit threshold of the termination state coefficient κ F , the lower limit threshold of the termination factor ζ T , smoothing coefficient λ, sliding termination coefficient η.
[0087] For example, all practically feasible control parameters before the current time are combined The corresponding historical control performance evaluation results Y1, Y2, Y3 and Y4 are stored in the sequence to obtain the historical iteration point performance sequence S H {Y1, Y2, Y3, Y4}, the current actual feasible control parameter combination The corresponding control performance evaluation result Y5 is stored in the historical iteration point performance sequence S H {Y1, Y2, Y3, Y4}, update the historical iteration point performance sequence S H It is {Y1, Y2, Y3, Y4, Y5}.
[0088] S302: Sort the historical control performance evaluation results to obtain the iteration point performance sequence arrangement results.
[0089] Among them, the historical iteration point performance sequence S H The control performance evaluation results corresponding to all practical feasible control parameter combinations in are sorted according to the control performance evaluation results to obtain the iteration point performance sequence arrangement result, that is, the relative optimal iteration point performance sequence S RO , and sort the control performance evaluation results corresponding to the current actual feasible control parameter combination, and update the relative optimal iteration point performance sequence S RO , the current actual feasible control parameter combination refers to the new actual feasible control parameter combination, which means that the actual feasible control parameter combination of the historical times before the current time is the new parameter combination.
[0090] Combined with the above example, the performance sequence S of the historical iteration point is evaluated according to the control performance evaluation result. H After all control performance evaluation results are sorted, Y1>Y3>Y2>Y4, then the relative optimal iteration point performance sequence S RO {Y1, Y3, Y2, Y4}, due to the new practical feasible control parameter combination The corresponding control performance evaluation result Y5 has better control performance than the relative optimal iteration point performance sequence S RO Any control performance evaluation result among {Y1, Y3, Y2, Y4} will update the relative optimal iteration point performance sequence S RO It is {Y5, Y1, Y3, Y2, Y4}.
[0091] Among them, the relative optimal iteration point performance sequence S RO It is calculated by the following formula (1):
[0092] S RO (i) = min(S H ) (1)
[0093] Among them, i represents the optimal iteration point performance sequence S RO The i-th number of .
[0094] S303: Smoothing the results of the performance sequence arrangement of the iteration points according to the preset optimization process evaluation parameters and the results of the performance sequence arrangement of the iteration points to obtain a smoothed termination sequence.
[0095] Among them, the arrangement result of the iteration point performance sequence is smoothed to obtain a smooth termination sequence, which specifically includes:
[0096] The result of arranging the performance sequence of iteration points is the relative optimal performance sequence S RO Smoothing is performed by the sliding average method to obtain the smooth trend sequence S ST ; For the smooth trend sequence S ST Then perform smoothing to obtain the smooth termination sequence S TM , where the smooth termination sequence S TM Used to control the termination of the iteration of the actual feasible control parameter combination.
[0097] Among them, the smooth trend sequence S ST It is calculated by the following formula (2):
[0098]
[0099] Among them, n is the dimension of the parameter, λ is the smoothing coefficient, and k1 represents the optimal iteration point performance sequence S RO The k1th number of .
[0100] Smooth termination sequence S TM It is calculated by the following formula (3):
[0101]
[0102] Where η is the sliding termination coefficient.
[0103] S304: Determine a termination factor according to the smoothed termination sequence, and normalize the termination factor to obtain a normalized termination factor.
[0104] Among them, according to the smooth termination sequence, the termination factor is determined, and the termination factor is normalized to obtain the normalized termination factor, which specifically includes:
[0105] According to the smooth termination sequence S TM Calculate the differential control sequence ΔS TM ; According to the differential control sequence ΔS TM The termination factor ξ(i) is calculated and normalized to obtain the normalized termination factor ζ(i).
[0106] Among them, the differential control sequence ΔS TMSpecifically, it is calculated by the following formula (4):
[0107]
[0108] The normalized termination factor ζ(i) is calculated by the following formulas (5) and (6):
[0109]
[0110]
[0111] Among them, min(S ξ ) is the minimum value of the termination factor ξ(i), max(S ξ ) is the maximum value of the termination factor ξ(i).
[0112] S305: Obtaining preset conditions according to the normalized termination factor and preset optimization process evaluation parameters.
[0113] On the basis of the above embodiment, an optional implementation method of obtaining the preset condition according to the normalized termination factor and the preset optimization process evaluation parameter specifically includes:
[0114] Determine the first number of times that the normalized termination factor is less than the lower limit threshold of the termination factor; determine the condition when the first number is equal to the lower limit threshold of the termination state coefficient and the normalized termination factor is less than the lower limit threshold of the termination factor as the preset condition.
[0115] Among them, if the normalized termination factor ζ(i) is less than the lower limit threshold of the termination factor ζ T , and satisfies ζ(i)<ζ T The number of times κ is equal to the lower limit threshold of the termination state coefficient κ F , then the current control performance evaluation result meets the preset conditions.
[0116] The preset condition is specifically calculated by the following formula (7):
[0117] (ζ(i)<ζ T )∩(κ=κ F ) (7)
[0118] The parameter setting method of the control system provided in the present embodiment obtains the actual feasible control parameter combination of the control system at the current time, and sends the actual feasible control parameter combination to the control system, so that the control system operates according to the actual feasible control parameter combination to obtain the response measurement value of the control system, and then receives the current response measurement value sent by the control system, thereby evaluating the current response measurement value according to the current composite control performance index to obtain the current control performance evaluation result, and if the current control performance evaluation result meets the preset conditions, the target control parameter combination is determined according to the current actual feasible control parameter combination. Since the control system operates according to the current actual feasible control parameter combination to obtain the response measurement value of the control system, and then evaluates the current response measurement value according to the current composite control performance index to obtain the current control performance evaluation result, it is judged whether the current control performance evaluation result meets the preset conditions. If the current control performance evaluation result meets the preset conditions, the target control parameter combination is determined according to the current actual feasible control parameter combination; if the current control performance evaluation result does not meet the preset conditions, the next actual feasible control parameter combination of the control system is obtained, and then it is judged whether the next control performance evaluation result meets the preset conditions according to the method provided in this embodiment to obtain the judgment result of whether the next control performance evaluation result meets the preset conditions. This method is followed until the control performance evaluation result that meets the preset conditions is obtained, and the target control parameter combination is determined by the actual feasible control parameter combination corresponding to the control performance evaluation result that meets the preset conditions, thereby avoiding excessive reliance on expert experience and ensuring the performance of the control system corresponding to the target control parameter combination.
[0119] In some embodiments, such as Figure 4 As shown, Figure 4 A flow chart of a method for determining a composite control performance index of the current time provided in an embodiment of the present application. This embodiment relates to an optional implementation method of how to determine the composite control performance index of the current time. Based on the above embodiment, the method for determining the composite control performance index of the current time specifically includes the following steps:
[0120] S401. Determine a first difference between a current response measurement value and a set value of a control system.
[0121] S402 , determining the current time multiplied absolute error integral index ITAE and the current time multiplied square error integral index ITSE according to the first difference and the operating time of the control system.
[0122] S403. Determine the current composite control performance index according to the current ITAE, the weight coefficient corresponding to ITAE, ITSE and the weight coefficient corresponding to ITSE.
[0123] In this embodiment, the first difference e(t) between the current response measurement value and the set value of the control system is determined first, and then the current time multiplied absolute error integral index ITAE and the time multiplied square error integral index ITSE are determined according to the first difference e(t) and the running time t of the control system. Finally, the current composite control performance index Y is determined according to the current ITAE, the weight coefficient λ2 corresponding to ITAE, ITSE and the weight coefficient 1-λ2 corresponding to ITSE, where the value range of λ2 is (0, 1).
[0124] Among them, the current composite control performance index Y is specifically calculated by the following formula (8):
[0125] Y=lg(λ2*ITAE+(1-λ2)ITSE) (8)
[0126] in,
[0127] The parameter setting method of the control system provided in the present embodiment determines the first difference between the current response measurement value and the setting value of the control system, and determines the current time multiplied absolute error integral index ITAE and the time multiplied square error integral index ITSE according to the first difference and the running time of the control system, and then determines the current composite control performance index according to the current ITAE, the weight coefficient corresponding to ITAE, ITSE and the weight coefficient corresponding to ITSE. In the present embodiment, by determining the first difference between the current response measurement value and the setting value of the control system, the first difference and the running time of the control system determine the current time multiplied absolute error integral index ITAE and the time multiplied square error integral index ITSE, and then determines the current composite control performance index according to the current ITAE, the weight coefficient corresponding to ITAE, ITSE and the weight coefficient corresponding to ITSE, so that the current response measurement value can be evaluated according to the current composite control performance index, and it is judged whether the current control performance evaluation result meets the preset conditions, so as to determine whether to continue to optimize and iterate the current actual feasible control parameter combination, so as to solve the problem of excessive reliance on expert experience in the optimization adjustment of control parameters in traditional technology.
[0128] Reference Figure 5 , Figure 5 1 is a flowchart of a method for obtaining a practical feasible control parameter combination provided in an embodiment of the present application. This embodiment relates to an optional implementation method of how to obtain the current practical feasible control parameter combination of the control system. Based on the above embodiment, the method for obtaining the current practical feasible control parameter combination of the control system in S201 specifically includes the following steps:
[0129] S501. Obtain the current initial control parameter combination and optimization algorithm parameters of the optimization system.
[0130] The optimization algorithm parameters include: initial iteration step size factor a, step size correction reference parameter A, step size factor dynamic correction factor α, step size reference factor c, perturbation step size attenuation factor γ and iteration operator s.
[0131] In this embodiment, the current optimization algorithm parameters {a, A, c, α, γ}, the current iteration operator s and the current initial control parameter combination X are obtained. k , where k is a counting operator of the control parameter combination. For example, when the iteration operator s=1, the initial control parameter combination X0 of the current time and the initial values of the optimization algorithm parameters {a, A, c, α, γ} of the current time set by the engineer are obtained.
[0132] S502: Normalize the current initial control parameter combination to obtain a first control parameter combination.
[0133] In this embodiment, by combining the current control parameters X k Perform normalization processing to obtain the first control parameter combination Specifically, the normalization is performed using the following formula (9):
[0134]
[0135] in, is the initial control parameter combination for the current time, is the first control parameter combination of the current time, is the initial value of the tth control parameter, t=1,2,…,n, n is the number of control parameters, (X k t ) L =inf(X k t ) is the lower bound, (X k t ) H =sup(X k t ) is the upper bound.
[0136] For example, by normalizing the current initial control parameter combination X0 when the current iteration operator s=1, the first control parameter combination X0 is calculated using the above formula (9).
[0137] S503: According to the current optimization algorithm parameters and the first control parameter combination, the first control parameter combination is optimized by using an optimization algorithm to obtain the current second control parameter combination.
[0138] Among them, the optimization algorithm adopted is the Simultaneous Perturbation Stochastic Approximation (SPSA) algorithm. SPSA gradually approaches the optimal solution by estimating the gradient information of the objective function.
[0139] S504: Perform restoration processing on the second control parameter combination to obtain the current actual feasible control parameter combination.
[0140] In this embodiment, by combining the second control parameter Perform restoration processing to obtain the current actual feasible control parameter combination Specifically, it is calculated by the following formula (10):
[0141]
[0142] The method provided in this embodiment obtains the initial control parameter combination and optimization algorithm parameters of the optimization system at the current time, and normalizes the initial control parameter combination at the current time to obtain a first control parameter combination, and then optimizes the first control parameter combination through the optimization algorithm according to the current optimization algorithm parameters and the first control parameter combination to obtain the second control parameter combination at the current time, and then restores the second control parameter combination to obtain the actual feasible control parameter combination at the current time. Since this implementation optimizes the first control parameter combination through the optimization algorithm to obtain the second control parameter combination at the current time, and restores the second control parameter combination to obtain the actual feasible control parameter combination at the current time, it is possible to reduce the number of experiments required for optimization iterations during the optimization process, so as to improve the efficiency of control parameter combination setting.
[0143] Reference Figure 6 , Figure 6 : is a flow chart of a method for determining a current second control parameter combination provided by an embodiment of the present application. This embodiment involves how to optimize the first control parameter combination by an optimization algorithm according to the current optimization algorithm parameters and the first control parameter combination to obtain an optional implementation method of the current second control parameter combination. On the basis of the above embodiment, the above S503 specifically includes the following steps:
[0144] S601, determining the product result of the current perturbation step length and the Monte Carlo perturbation vector; the current perturbation step length is determined according to the current optimization algorithm parameters.
[0145] Among them, the Monte Carlo perturbation vector Δ sis an n-dimensional vector, each one-dimensional vector is randomly generated by Bernoulli distribution ±1, and each one-dimensional vector element is independent and satisfies the zero mean principle.
[0146] The current perturbation step size is determined according to the current optimization algorithm parameters. Optionally, the current perturbation step size c s It is calculated by the current iteration operator s, the step size reference factor c and the perturbation step size attenuation factor γ, and is specifically calculated by the following formula (11):
[0147]
[0148] In this embodiment, by determining the current perturbation step length c s and the Monte Carlo perturbation vector Δ s The product result c s Δ s .
[0149] S602: Determine a sum of the first control parameter combination and the current multiplication result, and use the sum as the current positive perturbation point.
[0150] In this embodiment, the current positive perturbation point is the combination of the first control parameters and the product result c of the current time s Δ s It is calculated by the following formula (12):
[0151]
[0152] For example, determine the first control parameter combination when the current iteration operator s=1 The sum of the product result c1Δ1 and the current product result is used as the positive perturbation point of the current time.
[0153] It should be noted that the performance group of the iteration point formed Added to the iteration point performance sequence.
[0154] S603: If the control performance evaluation result corresponding to the current positive perturbation point meets the preset condition, the current positive perturbation point is used as the current second control parameter combination.
[0155] In this embodiment, if the current positive perturbation point The corresponding control performance evaluation result Y k+1 If the preset conditions are met, the current positive perturbation point As the second control parameter combination of the current time; if the positive perturbation point of the current time The corresponding control performance evaluation result Y k+1 If the preset conditions are not met, continue to execute the following steps S701 to S702 to obtain the current negative perturbation point As the second control parameter combination for the current time.
[0156] Combined with the above example, if the current positive perturbation point is If the corresponding control performance evaluation result Y1 meets the preset conditions, the current positive perturbation point As the second control parameter combination for the current time.
[0157] The method provided in this embodiment determines the product result of the current perturbation step length and the Monte Carlo perturbation vector, determines the sum result of the first control parameter combination and the current product result, and uses the sum result as the current positive perturbation point. If the control performance evaluation result corresponding to the current positive perturbation point meets the preset conditions, the positive perturbation point is used as the current second control parameter combination. That is to say, this embodiment determines the sum result of the first control parameter combination and the current product result according to the current perturbation step length and the Monte Carlo perturbation vector, and uses the sum result as the current positive perturbation point. By judging whether the control performance evaluation result corresponding to the current positive perturbation point meets the preset conditions, it is determined whether to continue to optimize the current positive perturbation point, thereby reducing the number of experiments required for optimization iterations in the optimization process to improve the efficiency of control parameter combination tuning.
[0158] Optional, such as Figure 7 As shown, Figure 7 A flowchart of a method for determining the current negative perturbation point provided by the present application. This embodiment relates to how to determine the current negative perturbation point. Based on the above embodiment, the following implementation methods may also be included:
[0159] S701. If the control performance evaluation result corresponding to the current positive perturbation point does not meet the preset condition, determine the second difference between the first control parameter combination and the current multiplication result, and use the second difference as the current negative perturbation point.
[0160] In this embodiment, the current negative perturbation point is the combination of the first control parameters and the product result c of the current time s Δ s It is calculated by the following formula (13):
[0161]
[0162] Combined with the above example, if the current positive perturbation point is If the corresponding control performance evaluation result Y1 does not meet the preset conditions, the first control parameter combination is determined. and the product result c of the current time s Δ s The second difference is taken as the negative perturbation point of the current time.
[0163] It should be noted that the performance group of the iteration point formed Added to the iteration point performance sequence.
[0164] S702: If the control performance evaluation result corresponding to the current negative perturbation point meets the preset condition, the negative perturbation point is used as the current second control parameter combination.
[0165] In this embodiment, if the current negative perturbation point The corresponding control performance evaluation result Y k+2 If the preset conditions are met, the current negative perturbation point As the second control parameter combination of the current time; if the negative perturbation point of the current time The corresponding control performance evaluation result Y k+2 If the preset conditions are not met, continue to execute the following steps S801 to S802 to obtain the current optimization estimation point As the second control parameter combination for the current time.
[0166] Combined with the above example, if the current negative perturbation point is If the corresponding control performance evaluation result Y2 meets the preset conditions, the current negative perturbation point As the second control parameter combination for the current time.
[0167] The method provided by the present embodiment determines the second difference between the multiplication result of the first control parameter combination and the current time, and uses the second difference as the negative perturbation point of the current time. If the control performance evaluation result corresponding to the negative perturbation point of the current time meets the preset conditions, the negative perturbation point is used as the second control parameter combination of the current time. That is to say, the present embodiment determines the second difference between the multiplication result of the first control parameter combination and the current time, and uses the second difference as the negative perturbation point of the current time. By judging whether the control performance evaluation result corresponding to the negative perturbation point of the current time meets the preset conditions, it is determined whether to continue to optimize the negative perturbation point of the current time to obtain the target control parameter combination, thereby improving the setting accuracy of the target control parameter combination to ensure the performance of the control system corresponding to the target control parameter combination.
[0168] Reference Figure 8 , Figure 8This is a flow chart of a method for obtaining the current optimization estimation point provided by an embodiment of the present application. This embodiment involves how to determine the current optimization estimation point. Based on the above embodiment, it can also include the following implementation methods:
[0169] S801. If the control performance evaluation result corresponding to the current negative perturbation point does not meet the preset conditions, the current optimization estimation point is obtained based on the first historical control performance evaluation result, the second historical control performance evaluation result, the current positive perturbation point, the current negative perturbation point and the first control parameter combination.
[0170] The first historical control performance evaluation result is the control performance evaluation result corresponding to the current positive perturbation point, and the second historical control performance evaluation result is the control performance evaluation result corresponding to the current negative perturbation point.
[0171] In this embodiment, according to the first historical control performance evaluation result Y k+1 , the second historical control performance evaluation result Y k+2 , the current positive perturbation point The current negative perturbation point And the first control parameter combination Get the current optimization estimate point
[0172] It should be noted that the performance group of the iteration point formed Add to the iteration point performance sequence and make the current optimization estimate point Added to the optimization estimate point performance sequence.
[0173] Combined with the above example, if the current negative perturbation point is If the corresponding control performance evaluation result Y2 does not meet the preset conditions, then according to the first historical control performance evaluation result Y1, the second historical control performance evaluation result Y2, the current positive perturbation point The current negative perturbation point And the first control parameter combination Get the current optimization estimate point
[0174] S802: If the control performance evaluation result corresponding to the optimized estimation point meets the preset condition, the optimized estimation point is used as the second control parameter combination for the current time.
[0175] In this embodiment, if the current optimization estimation point The corresponding control performance evaluation result Y k+3 If the preset conditions are met, the current optimization estimate point As the second control parameter combination for the current time; if the current optimization estimation point The corresponding control performance evaluation result Y k+3 If the preset conditions are not met, return to the above steps S601 to S603 to obtain the next positive perturbation point As the second control parameter combination for the current time, the iteration operator s is increased by 1.
[0176] It should be noted that: when performing the next optimization, the first control parameter combination is the optimization estimation point of the previous time.
[0177] The method provided in this embodiment obtains the current optimization estimation point based on the first historical control performance evaluation result, the second historical control performance evaluation result, the current positive perturbation point, the current negative perturbation point and the first control parameter combination, and determines whether to continue to optimize the current optimization estimation point to obtain the target control parameter combination by judging whether the control performance evaluation result corresponding to the current optimization estimation point meets the preset conditions, thereby improving the setting accuracy of the target control parameter combination to ensure the performance of the control system corresponding to the target control parameter combination.
[0178] On the basis of the above embodiment, this embodiment involves how to obtain the current optimization estimation point based on the first historical control performance evaluation result, the second historical control performance evaluation result, the current positive perturbation point, the current negative perturbation point and the first control parameter combination. The above S801, based on the first historical control performance evaluation result, the second historical control performance evaluation result, the current positive perturbation point, the current negative perturbation point and the first control parameter combination, obtaining the current optimization estimation point can also be achieved in the following way:
[0179] Determine the third difference between the first historical control performance evaluation result and the second historical control performance evaluation result, determine the fourth difference between the current positive perturbation point and the current negative perturbation point, determine the ratio between the third difference and the fourth difference, and obtain the current optimization estimation point based on the ratio and the current first control parameter combination.
[0180] In this embodiment, the third difference between the first historical control performance evaluation result and the second historical control performance evaluation result is first determined to be Y k+1 -Y k+2 , and then determine the fourth difference between the current positive perturbation point and the current negative perturbation point is Finally, the ratio g(s) between the third difference and the fourth difference is determined, that is, the current gradient approximation g(s), which is specifically calculated by the following formula (14):
[0181]
[0182] in, They all come from the iteration point performance sequence. Since the current gradient approximation g(s) is a vector, the current gradient approximation g(s) is stored in the gradient estimation sequence.
[0183] On the basis of the above embodiment, based on the ratio and the first control parameter combination of the current time, the current optimization estimation point is obtained, which is specifically calculated by the following formulas (15)-(28):
[0184]
[0185] Among them, G(s) is the corrected current gradient value, g(s) is the current gradient approximation and ρ s It is the gradient compensation factor corresponding to the current iteration operator s.
[0186]
[0187] Among them, ρ Bench is the compensation factor reference value, ρ E is the compensation factor to correct the deviation value, s is the current iteration operator and σ is the correction coefficient.
[0188] d s =a s ×(1+max(d sG ,d sI )) (17)
[0189] Among them, d s is the step size dynamic adjustment operator, a s is the iteration step factor, d sG is the gradient correction step size adjustment operator, d sI is the adjacent perturbation step size adjustment operator.
[0190]
[0191] Among them, A is the step size correction reference parameter, a is the iteration step size factor, s is the current iteration operator and α is the step size factor dynamic correction factor.
[0192]
[0193] Among them, d sG is the gradient correction step size adjustment operator, R G is the step size adjustment constant, ω is the operator iteration adjustment coefficient, a s is the iteration step factor and SI s It is the indicator factor corresponding to the current iteration operator s.
[0194]
[0195] Among them, G(s) is the corrected gradient value of the current time and g(s) is the approximate gradient value of the current time.
[0196]
[0197] Among them, d sI is the adjacent perturbation step-size adjustment operator, ξ is the step-size adjustment coefficient, is the optimization process status signal corresponding to the current iteration operator s, a s is the iteration step factor and is the iteration step adjustment factor. The value range of the step adjustment coefficient ξ is (0,1).
[0198]
[0199] in, is the previous optimization estimate point, is the current optimization estimate point and is the previous optimization estimate point.
[0200]
[0201] Among them, sgn(·) is the sign function, and the discriminant factor is constructed as follows:
[0202]
[0203]
[0204]
[0205] in, is the control performance evaluation result corresponding to the current optimization estimation point, is the control performance evaluation result corresponding to the previous optimization estimation point, is the control performance evaluation result corresponding to the previous optimization estimation point and δ is the relative change factor.
[0206] It should be noted that the current iteration operator s≥3 in constructing the discriminant factor.
[0207]
[0208] or
[0209] The method provided in this embodiment determines the third difference between the first historical control performance evaluation result and the second historical control performance evaluation result, and determines the fourth difference between the current positive perturbation point and the current negative perturbation point, and then determines the ratio between the third difference and the fourth difference, so that the current optimization estimation point can be obtained based on the ratio and the current first control parameter combination.
[0210] Based on the above embodiments, the following implementations may also be included:
[0211] If the control performance evaluation result corresponding to the optimized estimation point does not meet the preset conditions, the next actual feasible control parameter combination of the control system is obtained, and the next actual feasible control parameter combination is sent to the control system to obtain the response measurement value corresponding to the next actual feasible control parameter combination, and the target control parameter combination is determined according to the next corresponding response measurement value.
[0212] For example, if the iteration operator s = 1, the current optimization estimate point If the corresponding control performance evaluation result Y3 does not meet the preset conditions, the next practical feasible control parameter combination of the control system corresponding to the iteration operator s=2 is obtained. And send the next practical control parameter combination to the control system To obtain the next practical feasible control parameter combination The corresponding response measurement value is used to determine the target control parameter combination according to the next corresponding response measurement value.
[0213] The method provided in this embodiment obtains the next actual feasible control parameter combination of the control system and sends the next actual feasible control parameter combination to the control system to obtain the response measurement value corresponding to the next actual feasible control parameter combination, and determines the target control parameter combination according to the next corresponding response measurement value. This method is repeated until the target control parameter combination is determined, thereby avoiding excessive reliance on expert experience and ensuring the performance of the control system corresponding to the target control parameter combination.
[0214] In order to facilitate those skilled in the art to more clearly understand the parameter setting method of the control system provided by the present application, Fig. 9 To explain, Fig. 9 A flow chart of another control system parameter setting method provided in an embodiment of the present application, wherein the parameter setting method specifically comprises the following steps:
[0215] S901. Calculate the current perturbation step size and the current iteration step size factor using the current optimization algorithm parameters.
[0216] Among them, calculating the current perturbation step size and the current iteration step size factor is the algorithm gain calculation.
[0217] S902: Determine the current positive perturbation point according to the current first control parameter combination and the current perturbation step size, and judge whether the control performance evaluation result corresponding to the current positive perturbation point meets the preset conditions.
[0218] S903. Determine the current negative perturbation point according to the current first control parameter combination and the current perturbation step size, and judge whether the control performance evaluation result corresponding to the current negative perturbation point meets the preset conditions.
[0219] S904, determine the current gradient approximation value according to the current positive perturbation point, the control performance evaluation result corresponding to the current positive perturbation point, the current negative perturbation point, and the control performance evaluation result corresponding to the current negative perturbation point.
[0220] S905 . Determine the indicator factor corresponding to the current iteration operator according to the current gradient approximation value.
[0221] S906: Determine a gradient correction step size adjustment operator according to the indicator factor corresponding to the current iteration operator.
[0222] S907: Determine an adjacent perturbation step adjustment operator according to the current iteration step factor.
[0223] S908. Determine the dynamic adjustment of the step size according to the adjacent perturbation step size adjustment operator and the gradient correction step size adjustment operator.
[0224] S909: Determine the optimal estimation point according to the first control parameter combination and the dynamic adjustment of the step size, and judge whether the control performance evaluation result corresponding to the current positive perturbation point meets the preset conditions.
[0225] It should be understood that, although the steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0226] Based on the same inventive concept, the embodiment of the present application also provides a parameter setting system for implementing the parameter setting method of the control system involved above. The implementation scheme for solving the problem provided by the parameter setting system is similar to the implementation scheme recorded in the above method, so the specific limitations in the embodiment of the parameter setting system of one or more control systems provided below can refer to the limitations of the parameter setting method above, and will not be repeated here.
[0227] In one embodiment, Fig.10 As shown, a parameter setting system for a control system is provided. The parameter overall system 1000 includes: an acquisition module 1001, a receiving module 1002, an evaluation module 1003 and a first determination module 1004, wherein:
[0228] An acquisition module 1001 is used to acquire the current practical feasible control parameter combination of the control system, and send the practical feasible control parameter combination to the control system, so that the control system operates according to the practical feasible control parameter combination to obtain a response measurement value of the control system;
[0229] The receiving module 1002 is used to receive the current response measurement value sent by the control system;
[0230] An evaluation module 1003 is used to evaluate the current response measurement value according to the current composite control performance index to obtain the current control performance evaluation result;
[0231] The first determination module 1004 is used to determine a target control parameter combination according to the current actual feasible control parameter combination if the current control performance evaluation result meets a preset condition.
[0232] In one embodiment, the parameter integration system 1000 further includes:
[0233] A second determination module, used to determine a first difference between the current response measurement value and a set value of the control system;
[0234] A third determination module is used to determine the current time multiplied absolute error integral index ITAE and the time multiplied square error integral index ITSE according to the first difference and the running time of the control system;
[0235] The fourth determination module is used to determine the current composite control performance index according to the current ITAE, the weight coefficient corresponding to ITAE, ITSE and the weight coefficient corresponding to ITSE.
[0236] In one embodiment, the acquisition module 1001 includes an acquisition unit, a normalization unit, an optimization unit, and a restoration unit:
[0237] An acquisition unit, used to acquire the current initial control parameter combination and optimization algorithm parameters of the optimization system;
[0238] A normalization unit, used for normalizing the current initial control parameter combination to obtain a first control parameter combination;
[0239] An optimization unit, configured to optimize the first control parameter combination by an optimization algorithm according to the current optimization algorithm parameters and the first control parameter combination, to obtain the current second control parameter combination;
[0240] The restoration unit is used to restore the second control parameter combination to obtain the current actual feasible control parameter combination.
[0241] In one of the embodiments, the optimization unit is specifically used to determine the product result of the current perturbation step size and the Monte Carlo perturbation vector; the current perturbation step size is determined according to the current optimization algorithm parameters; the sum of the first control parameter combination and the current product result is determined, and the sum result is used as the current positive perturbation point; if the control performance evaluation result corresponding to the current positive perturbation point meets the preset conditions, the positive perturbation point is used as the current second control parameter combination.
[0242] In one embodiment, the parameter integration system 1000 further includes:
[0243] A fifth determination module, for determining a second difference between the first control parameter combination and the current multiplication result if the control performance evaluation result corresponding to the current positive perturbation point does not meet the preset condition, and using the second difference as the current negative perturbation point;
[0244] The first judgment module is used to use the negative perturbation point as the second control parameter combination for the current time if the control performance evaluation result corresponding to the negative perturbation point for the current time meets the preset conditions.
[0245] In one embodiment, the parameter integration system 1000 further includes:
[0246] An obtaining module is used to obtain the current optimization estimation point based on the first historical control performance evaluation result, the second historical control performance evaluation result, the current positive perturbation point, the current negative perturbation point and the first control parameter combination if the control performance evaluation result corresponding to the current negative perturbation point does not meet the preset conditions; the first historical control performance evaluation result is the control performance evaluation result corresponding to the current positive perturbation point, and the second historical control performance evaluation result is the control performance evaluation result corresponding to the current negative perturbation point;
[0247] The second judgment module is used to use the optimized estimation point as the second control parameter combination for the current time if the control performance evaluation result corresponding to the optimized estimation point meets the preset condition.
[0248] In one embodiment, the obtaining module is specifically used to determine the third difference between the first historical control performance evaluation result and the second historical control performance evaluation result; determine the fourth difference between the current positive perturbation point and the current negative perturbation point; determine the ratio between the third difference and the fourth difference; based on the ratio and the current first control parameter combination, obtain the current optimization estimation point.
[0249] In one embodiment, the parameter integration system 1000 further includes:
[0250] The sixth determination module is used to obtain the next actual feasible control parameter combination of the control system if the control performance evaluation result corresponding to the optimized estimation point does not meet the preset conditions, and send the next actual feasible control parameter combination to the control system to obtain the response measurement value corresponding to the next actual feasible control parameter combination, and determine the target control parameter combination according to the next corresponding response measurement value.
[0251] Each module in the parameter setting system of the control system can be implemented in whole or in part by software, hardware and a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each module.
[0252] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Fig.11 As shown. The computer device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store control performance evaluation result data. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a parameter setting method of a control system is implemented.
[0253] Those skilled in the art will understand that Fig.11The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0254] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0255] Acquire the current practical feasible control parameter combination of the control system, and send the practical feasible control parameter combination to the control system, so that the control system operates according to the practical feasible control parameter combination to obtain a response measurement value of the control system;
[0256] Receive the current response measurement value sent by the control system;
[0257] The current response measurement value is evaluated according to the current composite control performance index to obtain the current control performance evaluation result;
[0258] If the current control performance evaluation result meets the preset conditions, the target control parameter combination is determined based on the current actual feasible control parameter combination.
[0259] In one embodiment, when the processor executes the computer program, the following steps are also implemented:
[0260] Determining a first difference between a current response measurement and a set point of the control system;
[0261] Determine the current time multiplied absolute error integral index ITAE and the current time multiplied square error integral index ITSE according to the first difference and the running time of the control system;
[0262] The current composite control performance index is determined according to the current ITAE, the weight coefficient corresponding to ITAE, ITSE and the weight coefficient corresponding to ITSE.
[0263] In one embodiment, when the processor executes the computer program, the following steps are also implemented:
[0264] Obtain the current initial control parameter combination and optimization algorithm parameters of the optimization system;
[0265] Normalizing the current initial control parameter combination to obtain a first control parameter combination;
[0266] According to the current optimization algorithm parameters and the first control parameter combination, the first control parameter combination is optimized by the optimization algorithm to obtain the current second control parameter combination;
[0267] The second control parameter combination is restored to obtain the current actual feasible control parameter combination.
[0268] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0269] Determine the product result of the current perturbation step size and the Monte Carlo perturbation vector; the current perturbation step size is determined according to the current optimization algorithm parameters;
[0270] Determine the sum of the first control parameter combination and the current multiplication result, and use the sum as the current positive perturbation point;
[0271] If the control performance evaluation result corresponding to the current positive perturbation point meets the preset condition, the current positive perturbation point is used as the current second control parameter combination.
[0272] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0273] If the control performance evaluation result corresponding to the current positive perturbation point does not meet the preset condition, then determine the second difference between the first control parameter combination and the current multiplication result, and use the second difference as the current negative perturbation point;
[0274] If the control performance evaluation result corresponding to the current negative perturbation point meets the preset conditions, the negative perturbation point is used as the current second control parameter combination.
[0275] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0276] If the control performance evaluation result corresponding to the current negative perturbation point does not meet the preset conditions, then based on the first historical control performance evaluation result, the second historical control performance evaluation result, the current positive perturbation point, the current negative perturbation point and the first control parameter combination, the current optimization estimation point is obtained; the first historical control performance evaluation result is the control performance evaluation result corresponding to the current positive perturbation point, and the second historical control performance evaluation result is the control performance evaluation result corresponding to the current negative perturbation point;
[0277] If the control performance evaluation result corresponding to the optimized estimation point meets the preset conditions, the optimized estimation point is used as the second control parameter combination for the current time.
[0278] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0279] determining a third difference between the first historical control performance evaluation result and the second historical control performance evaluation result;
[0280] Determine a fourth difference between the current positive perturbation point and the current negative perturbation point;
[0281] determining a ratio between the third difference and the fourth difference;
[0282] Based on the ratio and the current first control parameter combination, the current optimization estimation point is obtained.
[0283] In one embodiment, when the processor executes the computer program, the following steps are also implemented:
[0284] If the control performance evaluation result corresponding to the optimized estimation point does not meet the preset conditions, the next actual feasible control parameter combination of the control system is obtained, and the next actual feasible control parameter combination is sent to the control system to obtain the response measurement value corresponding to the next actual feasible control parameter combination, and the target control parameter combination is determined according to the next corresponding response measurement value.
[0285] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0286] Acquire the current practical feasible control parameter combination of the control system, and send the practical feasible control parameter combination to the control system, so that the control system operates according to the practical feasible control parameter combination to obtain a response measurement value of the control system;
[0287] Receive the current response measurement value sent by the control system;
[0288] The current response measurement value is evaluated according to the current composite control performance index to obtain the current control performance evaluation result;
[0289] If the current control performance evaluation result meets the preset conditions, the target control parameter combination is determined based on the current actual feasible control parameter combination.
[0290] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0291] Determining a first difference between a current response measurement and a set point of the control system;
[0292] Determine the current time multiplied absolute error integral index ITAE and the current time multiplied square error integral index ITSE according to the first difference and the running time of the control system;
[0293] The current composite control performance index is determined according to the current ITAE, the weight coefficient corresponding to ITAE, ITSE and the weight coefficient corresponding to ITSE.
[0294] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0295] Obtain the current initial control parameter combination and optimization algorithm parameters of the optimization system;
[0296] Normalizing the current initial control parameter combination to obtain a first control parameter combination;
[0297] According to the current optimization algorithm parameters and the first control parameter combination, the first control parameter combination is optimized by the optimization algorithm to obtain the current second control parameter combination;
[0298] The second control parameter combination is restored to obtain the current actual feasible control parameter combination.
[0299] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0300] Determine the product result of the current perturbation step size and the Monte Carlo perturbation vector; the current perturbation step size is determined according to the current optimization algorithm parameters;
[0301] Determine the sum of the first control parameter combination and the current multiplication result, and use the sum as the current positive perturbation point;
[0302] If the control performance evaluation result corresponding to the current positive perturbation point meets the preset condition, the current positive perturbation point is used as the current second control parameter combination.
[0303] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0304] If the control performance evaluation result corresponding to the current positive perturbation point does not meet the preset condition, then determine the second difference between the first control parameter combination and the current multiplication result, and use the second difference as the current negative perturbation point;
[0305] If the control performance evaluation result corresponding to the current negative perturbation point meets the preset conditions, the negative perturbation point is used as the current second control parameter combination.
[0306] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0307] If the control performance evaluation result corresponding to the current negative perturbation point does not meet the preset conditions, then based on the first historical control performance evaluation result, the second historical control performance evaluation result, the current positive perturbation point, the current negative perturbation point and the first control parameter combination, the current optimization estimation point is obtained; the first historical control performance evaluation result is the control performance evaluation result corresponding to the current positive perturbation point, and the second historical control performance evaluation result is the control performance evaluation result corresponding to the current negative perturbation point;
[0308] If the control performance evaluation result corresponding to the optimized estimation point meets the preset conditions, the optimized estimation point is used as the second control parameter combination for the current time.
[0309] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0310] determining a third difference between the first historical control performance evaluation result and the second historical control performance evaluation result;
[0311] Determine a fourth difference between the current positive perturbation point and the current negative perturbation point;
[0312] determining a ratio between the third difference and the fourth difference;
[0313] Based on the ratio and the current first control parameter combination, the current optimization estimation point is obtained.
[0314] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0315] If the control performance evaluation result corresponding to the optimized estimation point does not meet the preset conditions, the next actual feasible control parameter combination of the control system is obtained, and the next actual feasible control parameter combination is sent to the control system to obtain the response measurement value corresponding to the next actual feasible control parameter combination, and the target control parameter combination is determined according to the next corresponding response measurement value.
[0316] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:
[0317] Acquire the current practical feasible control parameter combination of the control system, and send the practical feasible control parameter combination to the control system, so that the control system operates according to the practical feasible control parameter combination to obtain a response measurement value of the control system;
[0318] Receive the current response measurement value sent by the control system;
[0319] The current response measurement value is evaluated according to the current composite control performance index to obtain the current control performance evaluation result;
[0320] If the current control performance evaluation result meets the preset conditions, the target control parameter combination is determined based on the current actual feasible control parameter combination.
[0321] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0322] Determining a first difference between a current response measurement and a set point of the control system;
[0323] Determine the current time multiplied absolute error integral index ITAE and the current time multiplied square error integral index ITSE according to the first difference and the running time of the control system;
[0324] The current composite control performance index is determined according to the current ITAE, the weight coefficient corresponding to ITAE, ITSE and the weight coefficient corresponding to ITSE.
[0325] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0326] Obtain the current initial control parameter combination and optimization algorithm parameters of the optimization system;
[0327] Normalizing the current initial control parameter combination to obtain a first control parameter combination;
[0328] According to the current optimization algorithm parameters and the first control parameter combination, the first control parameter combination is optimized by the optimization algorithm to obtain the current second control parameter combination;
[0329] The second control parameter combination is restored to obtain the current actual feasible control parameter combination.
[0330] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0331] Determine the product result of the current perturbation step size and the Monte Carlo perturbation vector; the current perturbation step size is determined according to the current optimization algorithm parameters;
[0332] Determine the sum of the first control parameter combination and the current multiplication result, and use the sum as the current positive perturbation point;
[0333] If the control performance evaluation result corresponding to the current positive perturbation point meets the preset condition, the current positive perturbation point is used as the current second control parameter combination.
[0334] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0335] If the control performance evaluation result corresponding to the current positive perturbation point does not meet the preset condition, then determine the second difference between the first control parameter combination and the current multiplication result, and use the second difference as the current negative perturbation point;
[0336] If the control performance evaluation result corresponding to the current negative perturbation point meets the preset conditions, the negative perturbation point is used as the current second control parameter combination.
[0337] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0338] If the control performance evaluation result corresponding to the current negative perturbation point does not meet the preset conditions, then based on the first historical control performance evaluation result, the second historical control performance evaluation result, the current positive perturbation point, the current negative perturbation point and the first control parameter combination, the current optimization estimation point is obtained; the first historical control performance evaluation result is the control performance evaluation result corresponding to the current positive perturbation point, and the second historical control performance evaluation result is the control performance evaluation result corresponding to the current negative perturbation point;
[0339] If the control performance evaluation result corresponding to the optimized estimation point meets the preset conditions, the optimized estimation point is used as the second control parameter combination for the current time.
[0340] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0341] determining a third difference between the first historical control performance evaluation result and the second historical control performance evaluation result;
[0342] Determine a fourth difference between the current positive perturbation point and the current negative perturbation point;
[0343] determining a ratio between the third difference and the fourth difference;
[0344] Based on the ratio and the current first control parameter combination, the current optimization estimation point is obtained.
[0345] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0346] If the control performance evaluation result corresponding to the optimized estimation point does not meet the preset conditions, the next actual feasible control parameter combination of the control system is obtained, and the next actual feasible control parameter combination is sent to the control system to obtain the response measurement value corresponding to the next actual feasible control parameter combination, and the target control parameter combination is determined according to the next corresponding response measurement value.
[0347] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0348] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0349] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A control system parameter setting method, characterized in that: The method includes: Acquire a current practical feasible control parameter combination of the control system, and send the current practical feasible control parameter combination to the control system, so that the control system operates according to the current practical feasible control parameter combination to obtain a response measurement value of the control system; the current practical feasible control parameter combination is obtained by optimizing the current initial control parameter combination of the optimization system based on the optimization algorithm parameters; receiving the current response measurement value sent by the control system; Evaluate the current response measurement value according to the current composite control performance index to obtain the current control performance evaluation result; If the current control performance evaluation result meets the preset conditions, a target control parameter combination is determined according to the current actual feasible control parameter combination; The method further comprises: Determining a first difference between the current response measurement and a set point of the control system; Determine the current time multiplied absolute error integral index ITAE and the current time multiplied square error integral index ITSE according to the first difference and the running time of the control system; The current composite control performance index is determined according to the current ITAE, the weight coefficient corresponding to the ITAE, the ITSE and the weight coefficient corresponding to the ITSE.
2. The method according to claim 1, characterized in that The step of obtaining the current practical feasible control parameter combination of the control system includes: Obtain the current initial control parameter combination and optimization algorithm parameters of the optimization system; Normalizing the current initial control parameter combination to obtain a first control parameter combination; According to the current optimization algorithm parameters and the first control parameter combination, the first control parameter combination is optimized by an optimization algorithm to obtain a current second control parameter combination; The second control parameter combination is restored to obtain the current actual feasible control parameter combination.
3. The method according to claim 2, characterized in that The optimizing the first control parameter combination by an optimization algorithm according to the current optimization algorithm parameter and the first control parameter combination to obtain the current second control parameter combination includes: Determine the product result of the current perturbation step length and the Monte Carlo perturbation vector; the current perturbation step length is determined according to the current optimization algorithm parameters; Determine a summation result of the first control parameter combination and the current multiplication result, and use the summation result as the current positive perturbation point; If the control performance evaluation result corresponding to the current positive perturbation point meets the preset condition, the current positive perturbation point is used as the current second control parameter combination.
4. The method according to claim 3, characterized in that The method further comprises: If the control performance evaluation result corresponding to the current positive perturbation point does not meet the preset condition, determining a second difference between the first control parameter combination and the current multiplication result, and using the second difference as the current negative perturbation point; If the control performance evaluation result corresponding to the current negative perturbation point meets the preset condition, the negative perturbation point is used as the current second control parameter combination.
5. The method according to claim 4, characterized in that The method further comprises: If the control performance evaluation result corresponding to the current negative perturbation point does not meet the preset condition, then based on the first historical control performance evaluation result, the second historical control performance evaluation result, the current positive perturbation point, the current negative perturbation point and the first control parameter combination, the current optimized estimation point is obtained; the first historical control performance evaluation result is the control performance evaluation result corresponding to the current positive perturbation point, and the second historical control performance evaluation result is the control performance evaluation result corresponding to the current negative perturbation point; If the control performance evaluation result corresponding to the optimized estimation point meets the preset condition, the optimized estimation point is used as the second control parameter combination for the current time.
6. The method according to claim 5, characterized in that The step of obtaining the current optimization estimation point based on the first historical control performance evaluation result, the second historical control performance evaluation result, the current positive perturbation point, the current negative perturbation point, and the first control parameter combination includes: determining a third difference between the first historical control performance evaluation result and the second historical control performance evaluation result; Determine a fourth difference between the current positive perturbation point and the current negative perturbation point; determining a ratio between the third difference and the fourth difference; Based on the ratio and the current first control parameter combination, the current optimization estimation point is obtained.
7. The method according to claim 5 or 6, characterized in that: The method further comprises: If the control performance evaluation result corresponding to the optimized estimation point does not meet the preset conditions, the next actual feasible control parameter combination of the control system is obtained, and the next actual feasible control parameter combination is sent to the control system to obtain the response measurement value corresponding to the next actual feasible control parameter combination, and the target control parameter combination is determined according to the next corresponding response measurement value.
8. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: Obtaining historical control performance evaluation results before the current time and preset optimization process evaluation parameters; Sorting the historical control performance evaluation results to obtain an iteration point performance sequence arrangement result; According to the preset optimization process evaluation parameters and the iteration point performance sequence arrangement result, the iteration point performance sequence arrangement result is smoothed to obtain a smooth termination sequence; Determining a termination factor according to the smooth termination sequence, and normalizing the termination factor to obtain a normalized termination factor; The preset condition is obtained according to the normalized termination factor and the preset optimization process evaluation parameter.
9. The method according to claim 8, characterized in that The preset optimization process evaluation parameters include a termination factor lower limit threshold and a termination state coefficient lower limit threshold. The preset conditions are obtained according to the normalized termination factor and the preset optimization process evaluation parameters, including: Determine a first number of times that the normalized termination factor is less than the termination factor lower limit threshold; The condition that the first number is equal to the lower limit threshold of the termination state coefficient and the normalized termination factor is less than the lower limit threshold of the termination factor is determined as a preset condition.
10. A parameter setting system for a control system, characterized in that: The parameter setting system comprises: An acquisition module is used to acquire a current practical feasible control parameter combination of the control system, and send the practical feasible control parameter combination to the control system, so that the control system operates according to the practical feasible control parameter combination to obtain a response measurement value of the control system; the practical feasible control parameter combination is obtained by optimizing the current initial control parameter combination of the optimization system based on the optimization algorithm parameters; A receiving module, used for receiving the current response measurement value sent by the control system; An evaluation module, used to evaluate the current response measurement value according to the current composite control performance index to obtain the current control performance evaluation result; A first determination module is used to determine a target control parameter combination according to the current actual feasible control parameter combination if the current control performance evaluation result meets a preset condition; The parameter setting system also includes: Determining a first difference between the current response measurement and a set point of the control system; Determine the current time multiplied absolute error integral index ITAE and the current time multiplied square error integral index ITSE according to the first difference and the running time of the control system; The current composite control performance index is determined according to the current ITAE, the weight coefficient corresponding to the ITAE, the ITSE and the weight coefficient corresponding to the ITSE.
11. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 9 are implemented.
Citation Information
Patent Citations
Motor rotation speed control parameter optimization method and system based on improved SPSA
CN108540029A