Control parameter optimization method and device
By acquiring and interpolation step response curves, estimating model parameters with least squares method, automatically judge and fit non-minimum phase characteristics, the difficulty of fitting underdamped and non-minimum phase characteristics in the prior art is solved, and the non-minimum phase characteristics is achieved without The accurate fitting of the second-order continuous transfer function of zero points improves the accuracy and robustness of the model.
Patent Information
- Application Number
- CN202411112419.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-14
- Publication Date
- 2024-11-15
AI Technical Summary
The prior art is difficult to accurately fit characteristics such as underdamp and non-minimum phase, especially the lack of clear solutions for the processing of second-order continuous transfer functions without zero points.
By obtaining the step response curve, estimating the model parameters through interpolation and least squares method, determining the transfer function, automatically judging the non-minimum phase characteristics, and through hysteresis characteristic fitting, ultimately realizing the precise fit of the second-order continuous transfer function without zero points without zero points .
Automatic judgment and accurate fitting of non-minimum phase characteristics is realized, the fitting accuracy of model lag is improved, and the robustness is stronger for special systems such as underdamping, and the accuracy of the control model is enhanced.
Smart Images

Figure CN118963141A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of industrial automation control, and in particular to a control parameter optimization method and device. Background Art
[0002] In the petrochemical field, APC is an advanced controller that can realize the coordinated control of multiple loops at the same time. The accuracy of the model plays a key role in the control effect. The system model obtained by model identification technology is usually a high-order discrete model. The physical meaning of the model is difficult to understand, and it is difficult to adjust the parameters. In APC construction, the unit step response curve is usually fitted to obtain a continuous transfer function model. The unit step response curve to be fitted can be obtained through a step test experiment or through system identification. In addition, the model used in the model-based PID parameter tuning method is usually a first-order or second-order continuous transfer function model. The form of the first-order continuous transfer function model is relatively simple, and it is difficult to represent processes with complex characteristics, such as underdamping, non-minimum phase and other characteristics. The prior art Wang, Qing-Guo, and Yong Zhang. Robust identification of continuous systems with dead-time from step responses [J]. Automatica, 2001, 37 (3): 377-390 does not propose a clear solution for the automatic judgment of non-minimum phase and the processing of lag. There is no specific description of the treatment of second-order continuous transfer functions without zeros.
[0003] For example, a "control parameter optimization method and device" disclosed in a Chinese patent document, with the announcement number: CN113128745B, discloses determining a transfer function to be optimized and a transfer function of a second-order system, wherein the transfer function to be optimized has parameters to be optimized, and based on the same sampling rule, multiple data to be optimized are selected on the transfer function to be optimized, and multiple target data are selected on the transfer function of the second-order system, and based on the difference between the data to be optimized and the target data, an objective function is constructed to find the optimal value of the parameter to be optimized so as to minimize the objective function. However, this solution cannot automatically judge the non-minimum phase and process the second-order continuous transfer function without zero points. Summary of the invention
[0004] In order to solve the problem in the prior art that characteristics such as underdamping and non-minimum phase are difficult to accurately fit, the present invention provides a control parameter optimization method, which can realize the fitting of a second-order continuous transfer function without zero points, automatically determine whether the system has a non-minimum phase characteristic, and accurately fit the characteristic.
[0005] In order to achieve the above object, the present invention provides the following technical solutions: A control parameter optimization method includes: obtaining a step response curve, and interpolating data points according to the length of the step response curve; According to the sampling period after interpolation, the model parameters at this time are estimated by the least square method, and a control model based on unit step response is established according to the model parameters; Obtain two different transfer functions in the control model, respectively determine the difference between the unit step response curve and the original unit step response curve, and determine the non-minimum phase characteristic; Obtain the hysteresis characteristics in the control model, and determine the final model based on the error of the step response of the fitted transfer function. It can automatically determine whether the system has a non-minimum phase characteristic and accurately fit the characteristic; it can realize the fitting of the second-order continuous transfer function without zero points, making the fitting of the model hysteresis more accurate.
[0006] Preferably, when performing the interpolation, a threshold value is judged on the length of the step response curve, and when the length is less than the threshold value N1, the interpolation is performed; The length is proportionally expanded to the length N2 by interpolation. By interpolation, the step response curve is data expanded to improve the accuracy of model parameter estimation.
[0007] Preferably, when the model parameters are estimated by the least square method, the first pole and the second pole based on the control process of the control system to be controlled are determined, and the unit step response at this time is determined according to the first pole and the second pole. When estimating the parameters of the second-order continuous transfer function with zero points, the automatic judgment of the non-minimum phase link is realized by comparing the fitting error of the non-minimum phase link.
[0008] Preferably, after determining the unit step response, determining the model gain includes determining the mean of several points in the step response curve, and determining the steady-state gain of the control process of the control system to be controlled based on the mean combined with the step amplitude. The system gain K is estimated by the mean of multiple points at the end of the step response curve, which is more accurate and more robust to special systems such as underdamping.
[0009] Preferably, after determining the model gain, the response curve area integral is determined, and the response curve is integrated once and twice in sequence; the response curve area integral is combined with the step amplitude of the input quantity to determine the model parameters based on the least squares method. Based on actual data, the real behavior of the system can be more accurately reflected, and the response characteristics of the system under different input conditions can be evaluated. This enables better adaptation to different operating conditions and external interference.
[0010] As a preferred method, it also includes determining whether the unit step response includes a zero point, and when the unit step response includes a zero point, comparing the fitting error of the non-minimum phase link; when the unit step response does not include a zero point, comparing the fitting errors of different lags. Automatically determine whether the system has a non-minimum phase characteristic and accurately fit the characteristic.
[0011] Preferably, when obtaining the hysteresis characteristics in the control model, multiple groups of hysteresis data are obtained, and the fitting errors of different hysteresis data are determined. When the fitting errors of any two groups of hysteresis data are the same as the hysteresis amount, the hysteresis data with the smaller actual error is selected by comparison. When estimating the parameters of the second-order continuous transfer function without zero points, a more accurate estimation of the hysteresis is achieved by comparing the fitting errors of different hysteresis.
[0012] Preferably, when acquiring two different transfer functions in the control model, the zero point parameter is determined, and two different transfer functions are obtained according to the positive and negative of the zero point parameter; and the absolute value and the difference between the unit step response curve and the original unit step response curve are determined, and a group of transfer functions with the smallest absolute value and the smallest absolute value are selected. When estimating the parameters of the second-order continuous transfer function with zero point, the automatic judgment of the non-minimum phase link is realized by comparing the fitting error of the non-minimum phase link.
[0013] A control parameter optimization device, applicable to a control parameter optimization method as described in any one of the embodiments, comprising an APC controller, performing multi-loop coordinated control; The APC controller is connected to a zero point determination unit, which detects whether there is a zero point parameter; The zero point discrimination unit is connected to the error fitting unit, which compares the fitting errors with or without the minimum phase link or the fitting errors with different lags. It can automatically determine whether the system has non-minimum phase characteristics and accurately fit the characteristics; it can realize the fitting of the second-order continuous transfer function without zero points, making the fitting of the model lag more accurate. Different systems or the same system under different working conditions may have different zero point parameters. The zero point discrimination unit can detect the changes in these parameters in real time and adjust the control strategy according to the detection results. The effect of the current control strategy can be evaluated and optimized accordingly.
[0014] Preferably, the error fitting unit performs different fitting errors according to the output results of the zero point discrimination unit. After fitting the errors, the error fitting unit compares the errors and determines the model with the smallest error in the APC controller. This can more accurately reflect the dynamic characteristics of the system under different states, thereby improving the accuracy of the control model. The present invention has the following advantages: (1) It can automatically determine whether the system has a non-minimum phase characteristic and accurately fit the characteristic; (2) It can realize the fitting of the second-order continuous transfer function without zero points, making the fitting of the model lag more accurate; (3) For the response curve with fewer data points, data interpolation is performed to achieve higher fitting accuracy; (4) The system gain K is estimated by the average of multiple points at the end of the step response curve, which is more accurate and more robust to special systems such as underdamping; (5) The step response curve is amplified by interpolation to improve the accuracy of model parameter estimation; (6) When estimating the parameters of the second-order continuous transfer function with zero points, the automatic judgment of the non-minimum phase link is achieved by comparing the fitting errors with and without non-minimum phase links; (7) When estimating the parameters of the second-order continuous transfer function without zero points, a more accurate estimation of the lag is achieved by comparing the fitting errors of different lags. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] The drawings described below are merely exemplary. A person skilled in the art can derive other implementation drawings based on the provided drawings without inventive effort.
[0016] Figure 1 Schematic diagram of the overall method flow in the embodiment.
[0017] Figure 2 1 is a schematic diagram of the process flow of fitting different characteristics in the embodiment. DETAILED DESCRIPTION
[0018] Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in the field without making any creative work shall fall within the scope of protection of the present invention.
[0019] like Figure 1-Figure 2 As shown, in a preferred embodiment, the present invention discloses a control parameter optimization method, comprising the following steps: obtaining a step response curve, and interpolating data points according to the length of the step response curve; by interpolating data points according to the length of the step response curve, the missing or sparse problems that may exist in the original data can be compensated. The interpolated data is more complete and continuous, which helps to improve the accuracy and reliability of subsequent model establishment.
[0020] Based on the interpolated sampling period, the model parameters are estimated by the least squares method, which can more accurately reflect the dynamic characteristics of the system. The least squares method can minimize the sum of square errors between the predicted value and the actual value, thereby obtaining the optimal model parameter estimation. According to the model parameters, a control model based on the unit step response is established; it can directly reflect the response characteristics of the system to the step input, which is convenient for understanding and analyzing the dynamic behavior of the system.
[0021] Two different transfer functions in the control model are obtained, and the difference between the unit step response curve and the original unit step response curve is determined respectively to determine the non-minimum phase characteristic. It can automatically determine whether the system has the non-minimum phase characteristic and accurately fit the characteristic, thereby determining the complexity and instability of the system response process.
[0022] The hysteresis characteristics in the control model are obtained, and the system characteristics fitting of the underdamped condition is realized according to the error of the step response of the fitted transfer function to determine the final model. It can automatically determine whether the system has a non-minimum phase characteristic and accurately fit the characteristic; it can realize the fitting of the second-order continuous transfer function without zero points, making the fitting of the model hysteresis more accurate.
[0023] In other embodiments, the present solution includes the following steps when performing interpolation: first, a threshold judgment is performed on the length of the step response curve to identify data missing during the data acquisition process; when the length is less than the threshold N1, interpolation is performed; the curve length is extended to N2 by interpolation, which can effectively supplement these missing data points, making the entire response curve more complete and continuous.
[0024] The length is proportionally expanded to length N2 by interpolation. The value of unknown data points is predicted according to the change trend of known data points. The step response curve is data expanded by interpolation to improve the accuracy of model parameter estimation.
[0025] In other embodiments, when the model parameters at this time are estimated by the least square method, the scheme includes the following steps: first, the first pole and the second pole based on the control process of the control system to be controlled are determined, and the stability, response speed, response time and overshoot of the system are reflected by the first pole and the second pole. The unit step response at this time is determined according to the first pole and the second pole. For systems with slow response speed, the pole position is changed by adjusting the control parameters to speed up the response speed; for systems with excessive overshoot, the overshoot is reduced by optimizing the control algorithm. When estimating the parameters of the second-order continuous transfer function with zero points, the automatic judgment of the non-minimum phase link is realized by comparing the fitting error of the non-minimum phase link. It helps to reduce fluctuations and waste in the production process.
[0026] When in use, accurate pole analysis and unit step response prediction can be used to identify unstable factors of the system in advance, improve the overall stability of the system, and ensure the smooth progress of the production process. For many dangerous factors in chemical production involving high temperature, high pressure, flammable and explosive, potential safety hazards can be discovered and handled in a timely manner to avoid accidents and ensure the safety of the production process.
[0027] In other embodiments, after determining the unit step response, the present scheme further includes the following steps: first, determining the model gain, including determining the mean of several points in the step response curve, estimating the system gain K by the mean of multiple points at the end of the step response curve, and estimating more accurately and more robustly to special systems such as underdamping. The steady-state gain of the control process of the control system to be controlled is determined based on the mean combined with the step amplitude. Smooth random errors make the gain calculation closer to the actual situation of the system. It is not only applicable to control systems under a single working condition, but also can be extended to control systems under multiple working conditions and complex processes. By calculating the steady-state gains under different working conditions separately, a more flexible and adaptable control strategy can be formulated to meet the needs under different production conditions. The fluctuations and oscillations under step input can be reduced, so that the system can transition to a new steady state more smoothly. It helps to protect equipment and process from damage caused by excessive fluctuations and oscillations.
[0028] In other embodiments, after determining the model gain, the present solution further includes the following steps: first, determining the area integral of the response curve, and performing primary and secondary integration on the response curve in turn; not only the steady-state response of the system is considered, but also the dynamic response process of the system is fully considered. The area integral of the response curve is combined with the step amplitude of the input quantity to determine the model parameters based on the least squares method. The model parameters obtained by the least squares optimization method not only perform well under the current working conditions, but also have a certain generalization ability. Based on actual data, it can more accurately reflect the true behavior of the system, and can evaluate the response characteristics of the system under different input conditions. It enables better adaptation to different operating conditions and external interference.
[0029] In other embodiments, the present scheme also includes determining whether a zero point is included in the unit step response, including the following steps. First, when the unit step response includes a zero point, a non-minimum phase may exist at this time, and the fitting error of the non-minimum phase link is compared at this time. By comparing the fitting error of the non-minimum phase link in the unit step response containing the zero point, it can be clear whether the system has a non-minimum phase characteristic. Since the pole of the transfer function of the non-minimum phase system is located in the right half of the s-plane, it often leads to increased complexity and instability of the system response. Therefore, identifying the non-minimum phase link helps to better understand the dynamic characteristics of the system. Compensation is performed for the non-minimum phase system to stabilize the system and improve its dynamic performance. Including by accurately fitting the unit step response containing the zero point, the model error can be further reduced. This helps to more accurately predict the system behavior and provide a reliable basis for optimizing production conditions and control parameters.
[0030] When the unit step response does not include the zero point, it means that it may be underdamped at this time. At this time, the fitting errors of different lags are compared. Automatically determine whether the system has non-minimum phase characteristics and accurately fit the characteristics. When the unit step response does not include the zero point, comparing the fitting errors of different lags can accurately evaluate the hysteresis characteristics of the system. Hysteresis is one of the common phenomena in chemical production, which affects the response speed and stability of the system. By optimizing the hysteresis processing strategy, the system response time can be shortened and its stability can be improved. Accurate hysteresis evaluation helps to formulate more reasonable production plans and control strategies. By reducing unnecessary waiting time and adjusting the production rhythm, production efficiency can be improved and production costs can be reduced.
[0031] In other embodiments, the method for obtaining the hysteresis characteristics in the control model described in this scheme includes the following steps: first, obtaining multiple groups of hysteresis data and determining the fitting errors of different hysteresis data are helpful to more comprehensively understand the hysteresis characteristics of the system. By comparing the fitting effects of different hysteresis data, the data group that most accurately reflects the actual hysteresis of the system can be selected. When the fitting errors of any two groups of hysteresis data are the same as the hysteresis amount, it means that the accuracy of the hysteresis amount at this time meets the requirements; by comparing and selecting the hysteresis data with the smallest actual error, possible error sources can be further eliminated, thereby improving the accuracy and reliability of the model. A highly accurate model can more accurately predict and control system behavior. When estimating the parameters of the second-order continuous transfer function without zero points, a more accurate estimation of the hysteresis is achieved by comparing the fitting errors of different hysteresis. It can respond to external changes and internal disturbances faster, and improve the response speed and dynamic performance of the system. Accurate hysteresis data can improve the system's resistance to external interference and make the system run more stably and reliably.
[0032] In a specific embodiment, the scheme includes the following steps: first, determining conditional variables, including hysteresis L, conditional threshold L1 and conditional threshold L2, and errors corresponding to conditional threshold L1 and conditional threshold L2. Determining candidate transfer function models, respectively denoted as G1(s) and G2(s).
[0033] Check, when 1-2(θ3-θ1-θ2)<0, then L=0; when 1-2(θ3-θ1-θ2)>0, then If L2<0, then L2=0. The transfer function G(s) is adjusted to include the hysteresis characteristics based on the value of each hysteresis amount L. This includes adding a hysteresis element, e^(-Ls), to the transfer function.
[0034] In other embodiments, when two different transfer functions are obtained in the control model described in this scheme, a more refined modeling of system characteristics is achieved. The zero-point parameter is one of the key parameters in the system transfer function, which reflects the response characteristics of the system to certain frequency signals. Therefore, by considering different values of the zero-point parameter, the dynamic behavior of the system can be described more accurately. Determine the zero-point parameter, and determine whether there is a non-minimum phase link according to the positive and negative of the zero-point parameter. Two different transfer functions are obtained respectively; by considering different values of the zero-point parameter and selecting the optimal transfer function, the control strategy has stronger robustness to changes in system parameters. And determine the absolute value and difference between the unit step response curve and the original unit step response curve to achieve the processing of non-minimum phase characteristics. Select a group of transfer functions with the smallest absolute value and the smallest difference between the unit step response curve and the original unit step response curve, which means that this group of transfer functions can better reflect the actual response characteristics of the system. This method improves the accuracy and reliability of the model by minimizing the model prediction error. When estimating the parameters of the second-order continuous transfer function with zero points, the automatic judgment of the non-minimum phase link is achieved by comparing the fitting errors of whether there is a non-minimum phase link or not.
[0035] In another embodiment, the present solution specifically discloses a control parameter optimization device, which is applicable to a control parameter optimization method as described in any embodiment, including: an APC controller, which performs multi-loop collaborative control; in the APC system, the APC controller is a core component responsible for multi-loop collaborative control. The controller can process multiple control loops at the same time, coordinate the operations between the loops through the optimization algorithm, and ensure the stability and efficiency of the entire production process.
[0036] The APC controller is connected to a zero point determination unit to detect system characteristics including the zero point in the system. The zero point determination unit detects whether there are zero point parameters. It realizes optimized control according to the real-time changes of system characteristics.
[0037] The zero-point discrimination unit is connected to the error fitting unit to detect and identify system characteristics including hysteresis in the system, and evaluate and compare multiple candidate models based on real-time operation data and model prediction results. By comparing the errors of different models, the model with the smallest error is selected as the basis for the current control strategy. This mechanism ensures that the APC system can always use the optimal control model to cope with changes in system status. The error fitting unit compares the fitting errors with or without the minimum phase link or the fitting errors with different hysteresis. It can automatically determine whether the system has non-minimum phase characteristics and accurately fit the characteristics; it can realize the fitting of the second-order continuous transfer function without zero points, making the fitting of the model hysteresis more accurate. Different systems or the same system under different working conditions may have different zero point parameters. The zero-point discrimination unit can detect the changes in these parameters in real time and adjust the control strategy according to the detection results. The effect of the current control strategy can be evaluated and optimized accordingly.
[0038] It can reduce fluctuations and waste in the production process, thereby reducing production costs and significantly enhancing the stability of the production unit. Even in the face of external interference or changes in internal parameters, the system can quickly adjust and maintain stable operation.
[0039] In other embodiments, the error fitting unit described in this solution performs different fitting errors according to the output results of the zero point discrimination unit, which can more accurately reflect the dynamic characteristics of the system in different states, thereby improving the accuracy of the control model. The error fitting unit compares the errors after fitting the errors to determine the model with the smallest error in the APC controller. Through targeted fitting processing, the error fitting unit can effectively reduce the fitting deviation caused by differences in system characteristics. It helps to improve the control model's ability to predict actual system behavior.
[0040] When this solution is used, by comparing the control effects under different fitting errors, the error fitting unit can determine the model with the smallest error in the APC controller. This means that in the actual control process, the optimal control model will be used to optimize the control performance and reduce fluctuations and deviations in the control process. It can more accurately reflect the system dynamics, so the control strategy can better adapt to system changes during implementation and reduce control instability problems caused by model mismatch.
[0041] The coordinated work of the error fitting unit and the zero point discrimination unit enables the system to detect and respond to changes in the system state in real time. When the system state changes, the zero point parameter changes, and the error fitting unit can quickly adjust the fitting strategy and reselect the optimal control model to achieve adaptive control of the system. In the petrochemical manufacturing process, the system is often affected by a variety of factors, including raw material changes and equipment aging, which lead to changes in system characteristics. This solution can enhance the system's adaptability to complex environments through real-time fitting error comparison and model selection.
[0042] In another specific embodiment, the present invention implements the following two forms of second-order continuous transfer function fitting, which can fit complex characteristics such as non-minimum phase, underdamping, and hysteresis of the step response curve. Among them, the second-order continuous transfer function with zero points in formula (1) can fit complex characteristics such as non-minimum phase, underdamping, and hysteresis, and the second-order continuous transfer function without zero points in formula (2) can fit underdamping and hysteresis characteristics.
[0043] Among them, G(s) represents the transfer function model, K is the gain, T1 and T2 are time coefficients, L is the lag time, and β is the zero point coefficient.
[0044] Attached Figure 1 The algorithm flow of the second-order continuous transfer function fitting with zero point is described. The algorithm is divided into 4 main steps: Step A101 determines the length of the step response curve and performs interpolation.
[0045] When the length of the step response curve point to be fitted is less than the threshold value N1, interpolation is performed to proportionally expand the data length to length N2. The interpolation method can be linear interpolation or nonlinear interpolation. The sampling period of the data point before interpolation is T, and the sampling period after interpolation is N2 / N1*T.
[0046] Step A201 estimates the model parameters based on the least squares method.
[0047] Step A202 Model construction: The system has two poles λ1 and λ2, and the unit step response of G(s) is: in:
[0048] Step A203: Calculate the model gain K.
[0049] Select the last C1 points of the step response curve and calculate the mean value Km. The step amplitude of the input u(t) is known to be Δu(t), so the steady-state gain of the model is K=Km / h. For the unit step response curve obtained by system identification, Δu(t) is equal to 1.
[0050] Step A204 integrates the response curve area.
[0051] Define Δy(t) = y(t) - K. Under zero initial conditions: When t≥L, perform the first and second integration on Δy(t) to obtain:
[0052] Step A205 estimates parameters using the least squares method.
[0053] The combined formulas yield: -S2(t)=φ T (t)θ (8); in: φ(t)=[Δy(t),S1(t),KΔu(t),KΔu(t)·t] T The parameter θ can be obtained by using the least squares method. in In other embodiments, the least squares problem is solved by using the QR decomposition method. According to formula (3), When there is a non-minimum phase, the parameter β is negative, otherwise it is positive.
[0054] Step A301: Model hysteresis processing.
[0055] When the lag L<0, take L=0.
[0056] Step A401: non-minimum phase characteristic processing.
[0057] The parameter β takes a positive sign and a negative sign respectively, and two different transfer functions G1(s) and G2(s) are obtained. The differences between their unit step response curves and the original unit step response curves are calculated respectively, and the absolute values and sums of the differences are obtained. The transfer function with the smaller difference is selected as the final result.
[0058] Attached Figure 2The algorithm flow of the second-order continuous transfer function fitting algorithm without zero point is described. The algorithm is divided into three main steps: Step B101 determines the length of the step response curve and performs interpolation. The same as step A101.
[0059] Step B201 estimates the model parameters based on the least squares method.
[0060] Step B202 Model construction: The system has two poles λ1 and λ2, and the unit step response of G(s) is: in:
[0061] Step B203: Calculate model gain K. Same as step A203.
[0062] Step B204: Response curve area integration is the same as step A204.
[0063] Step B205 estimates parameters using the least squares method.
[0064] The combined formulas yield: -S2(t)=φ T (t)θ (13); in: φ(t)=[Δy(t),S1(t),KΔu(t)·(1+t)] T Using the least squares method we can obtain:
[0065] Step B301: Model hysteresis processing.
[0066] When 1-2(θ3-θ1-θ2)<0, then L=0; when 1-2(θ3-θ1-θ2)>0, then If L2<0, then L2=0. Compare the errors of the step responses of the fitted transfer functions when the lag L is equal to L1 and L2 respectively, and take the model with the smaller error as the final result.
[0067] In other embodiments, the scheme also includes using Laplace transform and inverse transform or numerical method to calculate the step response of each transfer function. The calculated step response is compared with the actual or expected step response, and the calculation error includes mean square error and maximum error. The model with the smallest error is selected as the final model.
[0068] These modifications or improvements made on the basis of the present invention without departing from the spirit of the present invention all fall within the scope of protection required by the present invention.
Claims
1. A control parameter optimization method, characterized in that: include: Obtaining a step response curve, and interpolating data points according to the length of the step response curve; According to the sampling period after interpolation, the model parameters at this time are estimated by the least square method, and a control model based on unit step response is established according to the model parameters; Obtain two different transfer functions in the control model, respectively determine the difference between the unit step response curve and the original unit step response curve, and determine the non-minimum phase characteristic; The hysteresis characteristics in the control model are obtained, and the final model is determined according to the error of the step response of the fitted transfer function.
2. A control parameter optimization method according to claim 1, characterized in that: When performing the interpolation, a threshold value is judged for the length of the step response curve, and when the length is less than the threshold value N1, interpolation is performed; The length is proportionally expanded to length N2 by interpolation.
3. A control parameter optimization method according to claim 1, characterized in that: When the model parameters at this time are estimated by the least square method, the first pole and the second pole based on the control process of the control system to be controlled are determined, and the unit step response at this time is determined according to the first pole and the second pole.
4. A control parameter optimization method according to claim 1 or 2, characterized in that: After the unit step response is determined, the model gain is determined, including determining the mean of several points in the step response curve, and determining the steady-state gain of the control process of the control system to be controlled based on the mean combined with the step amplitude.
5. A control parameter optimization method according to claim 4, characterized in that: After determining the model gain, the response curve area integral is determined, and the response curve is integrated once and twice in sequence; the response curve area integral is combined with the step amplitude of the input quantity to determine the model parameters based on the least squares method.
6. A control parameter optimization method according to claim 1, 2 or 3, characterized in that: It also includes determining whether the unit step response includes a zero point, and when the unit step response includes a zero point, comparing the fitting errors of non-minimum phase links; when the unit step response does not include a zero point, comparing the fitting errors of different lags.
7. A control parameter optimization method according to claim 1, 2 or 3, characterized in that: When obtaining the hysteresis characteristics in the control model, multiple groups of hysteresis data are obtained, and the fitting errors of different hysteresis data are determined. When the fitting errors of any two groups of hysteresis data are the same as the hysteresis amount, the hysteresis data with the smaller actual error are compared and selected.
8. A control parameter optimization method according to claim 6, characterized in that: When obtaining two different transfer functions in the control model, the zero point parameter is determined, and two different transfer functions are obtained according to the positive and negative values of the zero point parameter; and the absolute value and the difference between the unit step response curve and the original unit step response curve are determined, and a group of transfer functions with the smallest absolute value and are selected.
9. A control parameter optimization device, applicable to a control parameter optimization method as claimed in any one of claims 1 to 8, characterized in that: Includes APC controller for multi-loop coordinated control; The APC controller is connected to a zero point determination unit, which detects whether there is a zero point parameter; The zero point discrimination unit is connected to an error fitting unit, and the error fitting unit compares the fitting errors with or without a minimum phase link or the fitting errors with different lags.
10. A control parameter optimization device according to claim 9, characterized in that: The error fitting unit performs different fitting errors according to different output results of the zero point discrimination unit. After fitting the errors, the error fitting unit compares the errors to determine the model with the smallest error in the APC controller.
