Controller design method
The controller design method addresses nonlinearity and aperiodic signal challenges in data-driven control simulations by estimating output values through time-domain convolution, allowing for optimal control parameter determination in complex systems.
Patent Information
- Application Number
- JP2024071518
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2024-04-25
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2044-04-25
AI Technical Summary
Existing data-driven control simulations face challenges in handling nonlinearity and aperiodic signals, particularly in closed-loop systems, and require output data from the controlled object to deal with nonlinear control inputs, making them inefficient for complex systems.
A controller design method that estimates output values using data-driven simulations, independent of linearity or nonlinearity, by performing time-domain convolution operations on experimental input and output data to determine optimal control parameters, utilizing direct, iterative, and single calculation optimization approaches.
Enables the estimation of output values and design of optimal control parameters regardless of the linearity or nonlinearity of the controller, effectively addressing nonlinearity issues in closed-loop systems and simplifying the design process.
Smart Images

Figure 0007540644000001
Abstract
Description
[Technical field]
[0001] The present invention relates to a method for designing a controller for determining optimal control parameters of the controller. [Background technology]
[0002] In the conventional control approach, a control object model is identified, a controller that satisfies a predetermined control characteristic is designed based on the identified control object model, and the control characteristic is verified by an experiment. However, there are problems in that it is difficult to identify the control object model for the actual control object because it is sometimes impossible to obtain an open-loop response and the experiment takes a long time.
[0003] To address these issues, the use of data-driven control, which adjusts controllers directly from experimental data without obtaining a control target model, is being considered. Data-driven control is a type of control that optimizes control parameters so that a closed-loop system approaches a reference model based only on data obtained from a single experiment. Known examples of data-driven control include VRFT and FRIT.
[0004] As an alternative to the data-driven control approach, data-driven control simulation has been proposed. In data-driven control simulation, input data and output data of the controlled object (plant) and a desired control input are given, and the response output of the controlled object is estimated based on these data.
[0005] Known data-driven control simulations include those based on the subspace method (Non-Patent Documents 1 and 2) and those not based on the subspace method (Non-Patent Documents 3, 4, and 5). Simulations based on subspace models require output data from the controlled object (plant) to deal with non-linear control inputs, and the computational cost of inverse matrix operations becomes excessive. On the other hand, simulations not based on the subspace method cannot take into account the non-linearity of the controller.
[0006] Another output estimation method using simulation has been proposed, which includes a step of determining a periodic input / output response to the controlled object based on one trial, and a step of determining the response of the controlled object to a target control signal based on an arithmetic expression. In this output estimation method, the frequency components of the input / output response of the feedback system are determined from the Fourier transform of the experimental data and the frequency characteristics of the controller, and the determined frequency components are then subjected to an inverse Fourier transform to determine the virtual time response (Patent Document 1, Non-Patent Document 5). [Prior art documents] [Patent documents]
[0007] [Patent Document 1] Patent Publication No. 2021-43573 [Non-patent literature]
[0008] [Non-Patent Document 1] I. Markovsky, JC Willems, P. Rapisarda, and BLDMoor, “Data driven simulation with applications to system identification,” IFAC Proceedings Volumes, vol.38, no.1 pp.970-9725.2005. [Non-Patent Document 2] I. Markovsky, and P. Rapisarda, “Data driven simulation and Control,” International Journal f Control, vol. 81, no. 12 pp. 1946-1959, 2008. [Non-Patent Document 3] O. Kaneko and T. Nakamura, “Data-driven prediction of 2dof control systems with updated feedforward controller,” in 2017 56th Annal Conference of the Society of Instrument and Control Engineers of Japan (SICE), pp. 259-262,20717 [Non-Patent Document 4] R. Hoogendijk, M. van de Molengraft, A. den Hamer, G. Angelis, and M. Steinbuch, “Computation of transfer function data from frequency response data with application to data-based root-locus,” Control Engineering practice, vol.37.pp.20-31, 2015 [Non-Patent Document 5] M. Kosaka, A. Kosaka, and M. Kosaka, “Virtual time-response base iterative gain evaluation and redesign,” IFAC-PapersOnLine, vol.53, no. 2, pp. 3946-3952,2020 Summary of the Invention [Problem to be solved by the invention]
[0009] Although the data-driven control simulations proposed so far have the advantage of not requiring the construction of a controlled object (plant), they have problems related to the nonlinearity of the system including the controller. For example, there are problems related to nonlinearity, such as the need for output data from the controlled object (plant) to deal with nonlinear control inputs, and the inability to handle nonlinearity in closed-loop systems.
[0010] FIG. 24 shows a system controlled by the V-tiger (Virtual time-response base iterative gain evaluation and redesign) method of Non-Patent Document 5.
[0011] 24A shows a closed loop system 100A capable of implementing the V-tiger method. The closed loop system 100A converts a control signal of a controller C(z, θ) into an input signal U(z) for a controlled object P(z). in (z), and the output signal Y of the controlled object P(z) is out A closed-loop control system is constructed in which (z) is fed back to the controller C(z, θ). In this closed-loop control system, the V-tiger method can be executed, provided that the controller C(z, θ) is linear.
[0012] On the other hand, Fig. 24B shows a closed loop system 100B in which the V-tiger method is not executable. The closed loop system 100B, like the closed loop system 100A, uses a control signal of a controller C(z, θ) as an input signal U in (z), and the output signal Y of the controlled object P(z) is out A closed loop control system is constructed in which the input signal U(z,θ) is fed back to the controller C(z,θ). The controller C(z,θ) has a nonlinear element, and the control target P(z) is fed back with the input signal U(z,θ) which has a nonlinear element. in (z) is input. In the closed loop system 100B having such a nonlinear element, the V-tiger method cannot be applied.
[0013] In addition, the output estimation method of Patent Document 1 does not require a transfer function model of a reference model, but since the estimated output value y includes the transfer function K of the controller, there is a problem that it cannot be handled when the transfer function of the controller has nonlinearity.In addition, since the output estimation method of Patent Document 1 is a method for handling periodic input / output signals, there is also a problem that it cannot handle non-periodic signals.
[0014] The present invention aims to solve the above-mentioned problems of output estimation in a controller design method for designing optimal control parameters using an estimated output value, estimate an estimated output value regardless of the linearity / non-linearity of the controller, and use the obtained estimated output value to design optimal control parameters of the controller. [Means for solving the problem]
[0015] In a closed-loop control system in which a control signal of a controller is input as a control input to a controlled object and an output of the controlled object is fed back to the controller, the method for designing a controller of the present invention includes the steps of: (P1) a data-driven simulation step of performing a time domain calculation using experimental data of input and output of a control target, simulating an output based on the time domain calculation, and acquiring an estimated output value y; (P2) an optimal control parameter design process for determining optimal control parameters of a controller using the estimated output value y obtained in the data-driven simulation process; Equipped with.
[0016] (P1) Data-driven simulation process In the data-driven simulation process, the estimated input value u obtained by simulating the controlled object and the experimental output data y obtained by experimenting the controlled object are 0 a first convolution calculation value obtained by convolution calculation in the time domain, and an estimated output value y obtained by simulation of the controlled object and experimental input data u obtained by experimenting the controlled object. 0 A second convolution value is obtained by convolutionally calculating the first convolution value and the second convolution value in the time domain, and an estimated output value (y) of the controlled object at the next sampling time is estimated from the difference between the two convolution values, the first convolution value and the second convolution value.
[0017] In a more detailed data-driven simulation process, Experimental input data u obtained from the experiment to be controlled 0 and experimental output data y 0 An experimental process for collecting and storing each sampled value of the experimental data; a simulation step of inputting a reference value r to a controller to obtain an output signal of the controller, and calculating and storing the output signal of the simulation as an estimated input value u for the controlled object; a simulation step of simulating an estimated output value y of the controlled object; The process comprises the steps:
[0018] The simulation process of the estimated output value is as follows: The estimated input value u from sampling time 0 to k-1 obtained in the simulation process of the estimated input value, and the experimental output data y from sampling time k to 1 obtained in the experimental process 0 in the time domain to obtain a first convolved value; The estimated output value y from sampling time 0 to k-1 obtained in the simulation process of the estimated output value, and the experimental input data u from sampling time k to 1 obtained in the experimental process 0 in the time domain to obtain a second convolved value; A difference between the first convolution calculation value and the second convolution calculation value is calculated, and an estimated output value y(k) of the controlled object at sampling time k is calculated from the calculated difference.
[0019] (P2) Optimal control parameter design process The optimal control parameter design process is based on the following design approach: (p1) Direct optimization approach, (p2) Iterative optimization approach, and (p3) Three types of optimization approaches for single calculation approaches Equipped with.
[0020] (p1) Direct optimization approach The direct optimization approach is an optimization approach that uses an evaluation function suitable for direct application of the estimated output value y obtained in the data-driven simulation process, and applies a heuristic algorithm as an optimization solver to find the control parameters that minimize the evaluation function.
[0021] Evaluation function J for evaluating the response of the controlled object by the controller DO As (θ), the following equation (1) is used, which is expressed as the 2-norm of the difference between the reference value r(k) and the estimated output value y(k).
number
[0022] Evaluation function J DO Optimal control parameters θ of the controller that minimizes (θ) * is calculated by the following formula (2) using the reference value r and the estimated output value y estimated in the data-driven simulation process.
number
[0023] Evaluation function J DO Optimal control parameters θ of the controller that minimizes (θ) * The Nelder-Mead method can be applied as a heuristic algorithm to obtain
[0024] (p2) Iterative optimization approach In the iterative optimization approach, when the evaluation function is differentiable with respect to the control parameter θ, the optimal control parameter θ of the controller is * can be found using the gradient method.
[0025] Target output value y for reference value r d is defined as the product of the nominal model M(z) and the reference value r according to the following equation (3):
number
number
[0026] Evaluation function J MR Optimal control parameters θ of the controller that minimizes (θ) * has a partial differential of 0
number
number
[0027] (p3) Single calculation approach The single-calculation approach is an optimization approach that performs the iterative calculations performed in the iterative optimization approach in a single calculation.
[0028] Let the output in the open loop control system be y O year, Nominal model M in open loop control systems O (z) and the reference value r (r(k) M O (z)) is the target output value y for the reference value r dO year, Evaluation function J for evaluating the response of the controlled object by the controller O (θ) is the desired output value y dO and the output value y O It is expressed as the 2-norm of the difference between
number
[0029] Evaluation function J O Optimal control parameters θ of the controller that minimizes (θ)* teeth,
number
number
[0030] Control parameter θ * is the proportional gain K of the controller, which is set according to the control method: PID control, PI control, or PI-D control. P , integral gain K I , differential gain K D , feedback gain K L It is. Effect of the Invention
[0031] As described above, in the controller design method for designing optimal control parameters using an estimated output value, the controller design method of the present invention makes it possible to estimate an estimated output value regardless of the linearity / non-linearity of the controller, and to design optimal control parameters of the controller using the obtained estimated output value. [Brief description of the drawings]
[0032] [Figure 1] FIG. 1 is a diagram showing a closed-loop control system 100 to which an output estimation method of the present invention is applied. [Diagram 2] 1 is a flowchart for explaining the general steps of a controller design method of the present invention. [Diagram 3] FIG. 1 is a schematic diagram for explaining an overview of an output estimation method using a data-driven simulation process according to the present invention. [Figure 4] 3 is a flowchart for explaining an output estimation method of the present invention. [Diagram 5] FIG. 2 is a diagram for explaining the experimental process of the present invention. [Figure 6] FIG. 11 is a diagram for explaining an estimated input simulation process. [Figure 7] 1 is a flowchart for explaining an estimated output simulation process of the output estimation of the present invention. [Figure 8] FIG. 2 is a block diagram for explaining an estimated output simulation process of the output estimation of the present invention. [Figure 9] 1 is a flowchart for explaining an estimated output simulation process of the output estimation of the present invention. [Figure 10] FIG. 1 is a block diagram for explaining an estimated output simulation process of the output estimation of the present invention. [Figure 11] 1 is a block diagram for explaining a configuration of an estimated output device according to the present invention; [Figure 12] FIG. 1 is a diagram illustrating an example of a DC-DC converter. [Figure 13] FIG. 1 is a diagram showing an example of the configuration of a controller that performs PI control in which an inductor current is added to feedback as a minor loop. [Figure 14] FIG. 2 is a diagram illustrating an example of the configuration of a controller that performs PID control in current mode control. [Figure 15] FIG. 1 is a diagram illustrating an example of the configuration of a controller using PI-D control in current mode control. [Figure 16] 1 is a flowchart illustrating an example of a procedure for obtaining optimal control parameters by a direct optimization approach. [Figure 17] FIG. 2 is a block diagram showing a reference model of a closed loop control system. [Figure 18] 1 is a flowchart illustrating an example of a procedure for determining optimal control parameters by an iterative optimization approach. [Figure 19] 1 is a flowchart illustrating an example of a procedure for finding a first partial differential in an iterative optimization approach. [Figure 20]1 is a flowchart illustrating an example of a procedure for finding a second partial differential in an iterative optimization approach. [Figure 21] 1 shows a reference model of an open-loop control system. [Figure 22] 1 shows a block diagram of an open loop control system. [Diagram 23] 1 is a flowchart illustrating an example of a procedure for determining optimal control parameters using a single-run optimization approach. [Figure 24] FIG. 1 is a block diagram for explaining a conventional V-tiger method. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0033] The controller design method of the present invention designs optimal control parameters of a controller provided in a closed loop control system.
[0034] (Closed loop control system) 1 shows a block diagram of a closed-loop control system 100. The present invention is applied to the closed-loop control system 100 to perform output estimation to obtain an estimated output value y, and the obtained estimated output value y is used to design optimal control parameters of a controller provided in the closed-loop control system.
[0035] In the closed loop control system 100, a reference signal r(k) is input to a controller C(θ), and a control signal obtained by the controller C(θ) is converted into an input signal u(z) of a controlled object P(z). in (k), and the output signal y of the control object P(z) out (k) is fed back to the controller C(θ) and the control process is performed in discrete time. out (k) corresponds to the plant and plant output.
[0036] The flowchart in Fig. 2 shows an outline of the steps of the controller design method of the present invention. In a closed-loop control system in which a control signal of the controller is input as a control input to a controlled object and the output of the controlled object is fed back to the controller, the controller design method of the present invention includes the following steps: (P1) a data-driven simulation step of simulating an output based on a time domain calculation using experimental data of an input and output of a control target to obtain an estimated output value y; (P2) an optimal control parameter design process for determining optimal control parameters of a controller using the estimated output value y obtained in the data-driven simulation process; Equipped with.
[0037] (P1) Data-driven simulation process The data-driven simulation process of the present invention is a data-driven simulation in which, in a discrete-time closed-loop control system, a simulation is performed using experimental data of the input and output of a control object P(z) to estimate an output, and experimental output data and experimental input data obtained in the experiment, and estimated output values and estimated input values obtained in the simulation are convoluted in the time domain.
[0038] The convolution operation is performed on the input and output experimental data (u 0 ,y 0 ) and the estimated input / output values (u, y) in the time domain. 0 ,y 0 ) is the experimental input data (u 0 ) and experimental output data (y 0 The estimated input / output values (u, y) are the estimated input values (u) and estimated output values (y) at each sampling time obtained by simulating the control target P(z).
[0039] The estimated output value (y) of the control target P(z) at the next sampling time is estimated by a simulation using a convolution operation.
[0040] In the data-driven simulation of the present invention, the experimental data used in the simulation of the control object P(z) is the experimental input data (u 0 ) and experimental output data (y 0), and the input / output values used in the simulation are the estimated input values (u) and estimated output values (y) obtained by simulating the controlled object (P). Neither the experimental data nor the input / output values used in the calculation are related to the parameter θ of the controller C(θ).
[0041] Therefore, the output estimation method by the data-driven simulation process of the present invention is a simulation using only the controlled object P(z) without the involvement of the controller C(θ). Since the involvement of the controller C(θ) is eliminated, the involvement of linearity / non-linearity due to the controller C(θ) is eliminated, and even if the controller C(θ) has non-linearity, it is possible to execute a convolution operation and estimate the output of the controlled object. Moreover, it is possible to estimate the output of the controlled object regardless of the linearity / non-linearity of the controller C(θ).
[0042] Furthermore, the time domain convolution calculation used in the output estimation method is expressed as an arithmetic expression that excludes the term of the control target P(z). Therefore, it is possible to simulate the output estimation without involving not only the controller C(θ) but also the control target P(z).
[0043] FIG. 3 is a schematic diagram for explaining an outline of an output estimation method by a data-driven simulation process according to the present invention, in which an output is estimated by a simulation using experimental data of the input and output of a control target P(z).
[0044] In the closed loop control system 100 shown in FIG. 3A, when the controller C(θ) has a nonlinear characteristic, the input signal u input from the controller C(θ) to the controlled object P(z) is in (k) is the nonlinear signal. In Figure 3A, the nonlinear characteristic of the controller C(θ) is represented by the nonlinearity φ(u).
[0045] In the output estimation method using a data-driven simulation process of the present invention, only the controlled object P(z) is set as the execution range of the output estimation. By excluding the nonlinearity φ(u) of the controller C(θ) from the range of output estimation and setting only the controlled object P(z), it is possible to estimate the output of the controlled object regardless of the linearity / nonlinearity of the controller C(θ).
[0046] In the present invention, in estimating the output, the first assumption is that the control object P(z) is a linear time-invariant (LTI) system, the second assumption is that the state of the control object P(z) before the 0th sampling time k=0 of the experimental data can be ignored, and the third assumption is that the first experimental input data u 0 Each assumption is made that (0) is a non-zero value.
[0047] The first assumption is that the control object P(z) is a linear time-invariant (LTI) system. A linear time-invariant system is a linear system for which the principle of superposition holds, and the system properties do not change over time. By introducing the assumption of a linear time-invariant system for the control object P(z), the relationship between the control object P(z) and the input and output is expressed in the form of a product in the frequency domain (z domain).
[0048] Experimental output data Y obtained by the experiment 0 (z) is the control target P(z) and experimental input data U 0 The estimated output value Y(z) simulated in the z domain is expressed by the product in the z domain of the control object P(z) and the estimated input value U(z) simulated in the z domain, as shown in equation (11). [Number 10] Y 0 (z)=P(z)U 0 (z) ···(10) [Number 11] Y(z) = P(z)U(z) (11)
[0049] In the z-domain equations expressed by equations (10) and (11), the experimental input data U 0 (z) and the experimental output data Y 0 Since (z) is obtained during experiment and the estimated input value U(z) is input during simulation, the estimated output value Y(z) is the only unknown.
[0050] The relationship between equations (10) and (11) can be expressed as equation (12) by canceling the term of the controlled object P(z). [Number 12] Y(z)U 0 (z)=U(z)Y 0 (z) ···(12)
[0051] The second and third assumptions are introduced to obtain the time domain estimated output values y(k) from the z domain estimated output values Y(z).
[0052] The second assumption that the state of the control plant P(z) before the 0th sampling time k=0 of the experimental data can be ignored guarantees the causality of the experimental data. This guarantees that the state of the control plant P(z) before the sampling time k=0 does not affect the experimental data after the sampling time k=0. Therefore, when the response of the control plant P(z) starts from the zero state or the steady state, the experimental data obtained in the experiment of the control plant P(z) can be used for the estimated output value y(k) in the time domain.
[0053] When the z-domain relational expression expressed by equation (12) is converted into a time-domain relational expression, the following equation (13) is obtained. [Number 13] y(k)*u 0 (k)=u(k)*y 0 (k) ...(13) Equation (13) is transformed by a convolution operation into the time domain signal of equation (14) below.
number
[0054] When equation (14) is expanded with respect to the estimated output value y(k) at sampling time k, equation (15) is obtained.
number
[0055] In equation (15), the first experimental input data u 0 If (0) is a non-zero value, we obtain equation (16) for the estimated output value y(k) in the time domain.
number
[0056] Equation (16) is expressed as the experimental input / output data (u 0 , y 0 ) and the estimated output value y(i) up to sampling time k−1, the estimated output value y(k) of the controlled object P(z) at sampling time k is obtained.
[0057] The first term on the right side of equation (16) is the relationship between the estimated input value u(i) and the experimental output data y 0 (k-1), and the second term represents the convolution operation of the estimated output value y(i) and the experimental input data u 0 (k-1), and the third term represents the convolution operation between the estimated input value u(k) and the experimental output data y 0 It shows the product with (0).
[0058] The estimated output value y(k) in equation (16) does not include a term for the controlled object P(z), so a transfer function representing a plant model of the controlled object P(z) is not necessary. Therefore, to estimate the estimated output value y(k), it is not necessary to set a plant model for the controlled object P(z).
[0059] FIG. 3B shows an outline of a data-driven simulation process for simulating output estimation with only the control object P(z) as the execution range.
[0060] In the present invention, in the closed loop control system 100 shown in FIG. 3A, an estimated output value y(k) is obtained by simulating only the control object P(z) excluding the controller C(z, θ) and the nonlinearity φ(u) in the time domain.
[0061] The simulation 11 of the control object P(z) is performed by calculating the estimated output value y(k) expressed by the formula (16). The simulation 11 of the control object P(z) is performed by using the experimental input / output data (u 0 , y 0 ), the estimated input value u obtained by simulation 13 of the controller, and the estimated input / output values (u(i), y(i)) up to the prior sampling time k-1 obtained by simulation 11 are used to estimate the estimated output value y(k) of the control target P(z) at sampling time k. In the simulation of a feedback system, the reference value r and the estimated output value y are required to calculate the estimated input value u.
[0062] Input / output experimental data (u 0 ,y 0 ) is the experimental input data (u 0 ) and experimental output data (y 0 The estimated input / output values (u, y) are the estimated input values (u) and estimated output values (y) at each sampling time obtained by simulating the control target P(z). Note that the input / output data (u 0, y 0 ) subscript “ 0 " indicates that the data is experimental.
[0063] The calculation of the estimated output value y(k) expressed by equation (16) is performed using the input / output experimental data (u 0 ,y 0The simulation 11 includes a convolution operation of the estimated input / output values (u, y) and the estimated input / output values (u, y) in the time domain. The simulation 11 estimates an estimated output value (y) of the control target P(z) at the next sampling time by a simulation using the convolution operation.
[0064] In the present invention, in the data-driven simulation, the experimental data used in the simulation of the control object P(z) is the experimental input data (u 0 ) and experimental output data (y 0 ), and the input / output values used in the simulation are the estimated input values (u) and estimated output values (y) obtained by simulating the controlled object (P). Neither the experimental data nor the input / output values used in the calculation involve the controller C(θ).
[0065] Therefore, the output estimation method in the data-driven simulation process of the present invention is a simulation using only the controlled object P(z) without involving the controller C(θ). Since the involvement of the controller C(θ) is eliminated, the involvement of linearity / non-linearity due to the controller C(θ) is eliminated, and even if the controller C(θ) has non-linearity, it is possible to execute a convolution operation and estimate the output of the controlled object. Therefore, it is possible to estimate the output of the controlled object regardless of the linearity / non-linearity of the controller C(θ).
[0066] In addition, the time domain convolution calculation used for output estimation is expressed as an arithmetic expression that excludes the term of the control target P(z). Therefore, output estimation can be simulated without being involved in either the controller C(θ) or the control target P(z).
[0067] The estimated output value y(k) is given by the convergence condition of the experimental output data in the time domain convolution operation as follows: (Case 1) The experimental output data value at sampling time k=0 is y 0 When (0)=0, (Case 2) When the input / output state immediately before sampling begins is steady, (Case 3) When the experimental output data value beyond sampling time k=N can be considered to converge to the experimental output data value at sampling time k=0, For each case, y a (k), y b (k) and y c It can be calculated by each equation of (k). Below, the experimental output data y 0 When (0) is “0” (Case 1), the experimental output data y 0 (0) is the steady value (Case 2), and the experimental output data y when the sampling time m is equal to or greater than the sampling number N-1 0 The estimated output value y(k) in each case when (m) is a constant value that has sufficiently converged to the initial state (k=0) (Case 3) is shown.
[0068] (Case 1) Case 1 is the experimental output data y 0 The value of (k) at sampling time k=0 is y 0 (0)=0. The formula for the estimated output value y(k) in Case 1 is y a Expressed as (k).
[0069] The third term on the right side of the estimated output value y(k) in equation (16) is (u(k)y 0 Since the term (0)) is 0, the formula y(k) for estimating the estimated output value y(k) at sampling time k is a (k) is the difference between the first convolution value of the first item on the right-hand side and the second convolution value of the second item on the right-hand side, expressed as the experimental input data u 0 This is expressed as equation (17) divided by (0).
number
[0070] (Case 2) In Case 2, the state of the control object P(z) is in a steady state at the start of the experiment. In this steady state, the experimental input data u 0 , and the experimental output data y 0The steady-state value at sampling time k=0 is the steady-state value u 0_offset and the steady-state value y 0_offset Then, the formula y(k) for estimating the estimated output value y(k) at sampling time k is b (k) is the difference between the first convolution value of the first item on the right-hand side and the second convolution value of the second item on the right-hand side, expressed as the experimental input data u 0 ofs This is expressed as equation (18) divided by (0).
number
[0071] Expression y b (k) in u 0 ofs (k), y 0 ofs (k) is the steady-state value u 0_offset and the steady-state value y 0_offset is the offset compensated value. [Number 19] u 0 ofs (k)=u 0 (k)-u 0_offset (19) [Number 20] y 0 ofs (k)=y 0 (k)-y 0_offset (20) It is expressed as:
[0072] (Case 3) Case 3 is a case where the state of the control target P after the experiment is considered to have sufficiently converged to the initial state. In equation (14) relating to the convolution operation, the input value u and the output value y are in an equal relationship in terms of which is the start end of the time series i and which is the end end of the convolution operation.
[0073] Expression y for Case 1 a (k) and the formula y in Case 2 bIn (k), when looking at the estimated input / output values (u, y), the first convolution operation value is calculated for the estimated input value u(i) from the beginning of the time series i, and the second convolution operation value is calculated for the estimated output value y(i) from the beginning of the time series i, and the experimental input / output data (u 0 ,y 0 ), the first convolution operation value is the experimental output data y 0 (i) values are calculated from the end of the time series i, and the second convolution calculation value is the experimental input data u 0 (i) The values are calculated starting from the end of time series i.
[0074] Case 3 is the formula y a (k) and the formula y in Case 2 b In (k), the relationship between the beginning and end of the time series i is reversed. In Case 1 and Case 2, y 0 The second assumption is that (0) is "0" or that the state of the control target P is in a steady state at the start of the experiment. In Case 3, the relationship between the start and end of the time series i is reversed, so the second assumption is that the state of the control target P is in a state that can be considered to have sufficiently converged to the initial state at the end of the experiment.
[0075] In this convergence state, the experimental input data u of the control target P(z) 0 , and the experimental output data y 0 The convergence value at the sampling time k=m≧N-1 (N is the number of samplings of the experimental data) is the steady value u 0 ofs (m)=u m_offset , and the steady-state value y 0 ofs (m)=y m_offset When k>N-1 (N is the number of samples), the long-term simulation formula y(k) for estimating the estimated output value y(k) at sampling time k is c (k) is shown in equation (21).
number
[0076] Expression y c (k) in u 0 ofs (m),y 0 ofs (m) is the steady-state value u m_offset and the steady-state value y m_offset is a value obtained by compensating for the offset of [Number 22] u 0 ofs (m)=u m_offset ···(twenty two) [Number 23] y 0 ofs (m)=y m_offset ···(twenty three) It is.
[0077] In Case 3, the steady-state value u of the experimental input data after the experiment is completed m_offset , and the steady-state value y of the experimental output data m_offset If this can be obtained, it is possible to estimate the output by long-term simulation regardless of the number of experimental data samples N. The estimated output value y(k) in this case is calculated by the formula y c (k), and u in Eqs. (22) and (23) 0 ofs (m),y 0 ofs (m).
[0078] (Method of Estimating Output of Data-Driven Simulation Process of the Present Invention) The output estimation method for a data-driven simulation process of the present invention is a method for estimating the output of a controlled object P(z) in a closed-loop control system in which a control signal of a controller C(θ) is input as a control input to the controlled object P(z) and the output of the controlled object P(z) is fed back to the controller C(θ).
[0079] The output estimation method of the data-driven simulation step of the present invention is a data-driven simulation method for simulating an output using experimental data of the input and output of a control object P(z), and is a method of estimating an output of the control object P(z) by estimating an input value u obtained by simulating the control object P(z) and experimental output data y obtained by an experiment of the control object P(z). 0 a first convolution calculation value obtained by convolution calculation in the time domain, and an estimated output value (y) obtained by simulation of the control object P(z) and experimental input data u obtained by experimenting the control object P(z). 0 A second convolution value is obtained by convolutionally calculating the above in the time domain, and an estimated output value (y) of the control target P(z) at the next sampling time is estimated from the difference between the two convolution values.
[0080] The output estimation method using a data-driven simulation process of the present invention includes the steps of (a) an experiment step of experimental data, (b) a simulation step of estimated input values, and (c) a simulation step of estimated output values.
[0081] The output estimation method of the present invention will be described with reference to the flowchart in Fig. 4. The output estimation includes an experiment step (S1, S2) for acquiring experimental input / output data, an estimated input simulation step (S3, S4) for acquiring estimated input values, and an estimated output simulation step (S5, S6) for acquiring estimated output values.
[0082] (a) Experimental data (u 0 ,y 0 ) Experimental process The experimental process of the experimental data is the experimental input data u obtained by experimenting the control object P(z). 0 and experimental output data y 0 The step of collecting and storing each sampled value of
[0083] An example of a closed loop system for performing an experimental process of experimental data is a closed loop system that feeds back the output of the control target P(z) to a controller C(θ), and the parameter θ of the controller C(θ) is set to the initial parameter θ 0Then, an experiment is conducted for the controller C(θ) and the controlled object P(z) of the real plant, and the experimental input data u 0 and experimental output data y 0 Collect each sampling value of
[0084] An example of an open-loop control system that performs an experimental process on experimental data is a system with only a controlled object P(z). Experiments are performed on the controlled object P(z) of an actual plant, and experimental input data u 0 and experimental output data y 0 Collect each sampling value of. Generally, it is often difficult to obtain data from an unstable system in an open-loop control system.
[0085] FIG. 5 is a diagram for explaining the experimental process. The closed-loop control system shown in FIG. 5A includes a controller C(θ 0 ) is the control input value u in (k), and the output value y of the control object P(z) out (k) is the controller C(θ 0 ) to provide feedback.
[0086] The experimental process is as follows: In the closed-loop control system shown in FIG. 5A, the reference value r O (k) is the controller C(θ 0 ) and the controller C(θ 0 ) to the controlled object P(z) in (k) is the experimental input data u 0 (k). Furthermore, the control input value u in (k) is input to the control object P(z) and the output value y out (k) is the experimental output data y 0 (k) is obtained.
[0087] The experimental process is the reference value r O (k) is input to the closed loop control system, and the experimental input data u obtained at each sampling time k is 0 (k) and experimental output data y 0 (k) and obtain multiple experimental input / output data (u 0 (k),y 0(k)) is acquired (S1), and the acquired experimental input / output data (u 0 (k),y 0 (k)) is stored (S2).
[0088] Figure 5B shows the experimental input data u 0 (k), and Fig. 5C shows the experimental output data y 0 5B and 5C are shown only for illustrative purposes and do not represent actual data.
[0089] The experimental input data u shown in Fig. 5B 0 Of (k), u at sampling time k=0 0 (0) is required to be a value other than “0”. 0 Of (k), y at sampling time k=0 0 (0) shows an example where it is “0”.
[0090] (b) Simulation process of estimated input value u(k) The process of simulating the estimated input value is a process in which a reference value r(k) and an estimated output value y(k) are input to a controller C(θ) as a feedback signal, a simulation is performed to obtain an output value of the controller C(θ), and the estimated input value u(k) for the controlled object P(z) is calculated and stored.
[0091] In the process of simulating the estimated input value u(k), in a simulation system for a controller C(θ), the parameter θ of the controller C(θ) is an arbitrary parameter to be simulated, and a reference value r(k) and an estimated output value y(k) as a feedback signal are input to the controller (C), and the output signal at each sampling time k obtained is found as the estimated input value u(k) for the controlled object P(z).
[0092] FIG. 6 is a diagram for explaining the estimated input simulation process. When experimental data is acquired, the controller C(θ 0) is used, but in the estimated input simulation process, the controller C(θ 0 ) any controller C(θ) can be used.
[0093] In the estimated input simulation step, a reference value r(k) and an estimated output value y(k) are input to a controller C(θ) to obtain a control signal as an estimated input value u(k) to be input to a control target P(z). In the estimated input simulation step, any controller that is calculated using the reference value r(k) and the estimated output value y(k) can be set.
[0094] Then, the reference value r(k) and the estimated output value y(k) for each sampling time k are input to a controller C(θ), an estimated input value u(k) obtained at each sampling time k is acquired (S3), and the acquired estimated input value u(k) is stored (S4).
[0095] (c) Simulation process of the estimated output value y(k) The simulation process of the estimated output value is performed using the experimental input data u obtained in the experimental process. 0 , and the experimental output data y 0 , the estimated input values u from sampling times 0 to (k-1) obtained in the process of simulating the estimated input values, and the estimated output values y(k) from sampling times 0 to (k-1) of the control object P(z) in the simulation of the control object P(z), and store the estimated output value y(k) of the control object P(z) at sampling time k.
[0096] The estimated input value u from sampling time 0 to (k-1) obtained in the simulation process of the estimated input value, and the experimental output data y from sampling time k to 1 obtained in the experimental process 0 in the time domain to obtain a first convolution operation value, and the estimated output value y(k) from sampling time 0 to (k-1) obtained in the simulation step of the estimated output value and the experimental input data u from sampling time k to 1 obtained in the experimental step are obtained. 0is convoluted in the time domain to obtain a second convolution value, the difference between the first convolution value and the second convolution value is obtained, and an estimated output value y(k) at sampling time k of the controlled object P(z) is obtained from the obtained difference.
[0097] The estimated output value y(k) at sampling time k is calculated by multiplying the difference between the first convolution calculation value and the second convolution calculation value by the experimental input data u when sampling time k is 0. 0 This is obtained by dividing by 0. In the estimated output simulation step, an estimated output value is obtained by calculation processing including a convolution calculation (S5) and stored (S6).
[0098] The acquisition of the estimated output value in the estimated output simulation step will be described with reference to the flowcharts of FIGS. 7 and 9 and the block diagrams of FIGS.
[0099] The flow chart of FIG. 7 and the block diagram of FIG. 8 show an overview at sampling time k of a simulation for obtaining an estimated output value.
[0100] First, the experimental input data u stored in step S2 0 (0),u 0 (1),u 0 (2),...,u 0 (k) and the experimental output data y 0 (1), y 0 (2),...,y 0 The estimated input values u(0), u(1), u(2), . . . , u(k-1) stored in step S4 are read out (S32), and further the estimated output values y(0), y(1), y(2), . . . , y(k-1) prior to the sampling time (k-1) stored in step S6 are read out (S33).
[0101] Read experimental input data u 0 (0),u 0 (1),u 0 (2),...,u 0 (k), experimental output data y 0 (1), y 0(2),...,y 0 (k), the estimated input values u(0), u(1), u(2), . . . , u(k-1), and the estimated output values y(0), y(1), y(2), . . . , y(k-1) are calculated using the equations (16), (17), (18), and (21) for y(k), y a (k),y b (k),y c By substituting into (k), the estimated output value y(k) at sampling time k is estimated.
[0102] The block diagram in Figure 8 shows the formula y(k), y a (k),y b (k),y c (k) is executed to estimate the estimated output value y(k) at sampling time k, and the experimental input / output data (u 0 ,y 0 ) and the calculation process of the estimated input / output values (u, y). Here, the calculation formula y a A simulation for obtaining an estimated output value will be described using (k) as an example.
[0103] The convolution calculation block 6a in FIG. a The convolution block 6a corresponds to the first convolution operation on the right side of (k). The convolution operation block 6a calculates the estimated input values u(0), u(1), u(2), . . . , u(k-1) and the experimental output data y 0 (1), y 0 (2),...,y 0 (k) gives the estimated input value u(i) and the experimental output data y 0 Select (k-1), find the product, and then find the sum from i=0 to i=(k-1).
[0104] On the other hand, the convolution calculation block 6b in FIG. a The convolution block 6b corresponds to the second convolution operation on the right side of (k). The convolution operation block 6b calculates the estimated output values y(0), y(1), y(2), . . . , y(k-1) and the experimental input data u 0 (1),u 0 (2),...,u 0(k) gives the estimated output value y(i) corresponding to each sampling time “i” in the time series, and the experimental input data u 0 Select (k-1), find the product, and then find the sum from i=0 to i=(k-1).
[0105] The addition block 6c in FIG. 8 calculates the difference between the convolution calculation value by the convolution calculation block 6a and the convolution calculation value by the convolution calculation block 6b, and the division block 6d in FIG. 8 divides the difference obtained by the addition block 6c by u 0 Divide by (0) to get the estimated output value y at sampling time k. 0 Calculate (k).
[0106] When the sampling time k is 3, the calculation of the estimated output value y(3) will be described with reference to the flow chart in FIG. 9 and the block diagram in FIG.
[0107] First, the experimental input data u stored in step S2 0 (0),u 0 (1),u 0 (2), u 0 (3) and the experimental output data y 0 (1), y 0 (2), y 0 (3) are read out (S41), then the estimated input values u(0), u(1), u(2) stored in step S4 are read out (S42), and further the estimated output values y(0), y(1), y(2) prior to sampling time k=2 stored in step S6 are read out (S43).
[0108] Read experimental input data u 0 (0),u 0 (1),u 0 (2) Experimental output data y 0 (1), y 0 (2), y 0 (3) The estimated input values u(0), u(1), u(2) and the estimated output values y(0), y(1), y(2) are calculated using the equations y(k), y a (k),y b (k),y cBy substituting into (k), the estimated output value y(3) at sampling time k=3 is estimated.
[0109] y in Case 1 0 If (0)=0, then y a (3) is obtained by setting k=3 in equation (17).
number
[0110] The block diagram in Figure 10 shows the formula y(k), y a (k),y b (k),y c (k) is executed to estimate the estimated output value y(k) at sampling time k, and the experimental input / output data (u 0 ,y 0 The calculation process of the estimated input and output values (u, y) is shown in the example of k=3. a A simulation for obtaining the estimated output value y(k) will be described using (k) as an example.
[0111] The convolution calculation block 6a in FIG. a The convolution block 6a corresponds to the first convolution operation on the right side of (k). The convolution operation block 6a calculates the estimated input values u(0), u(1), and u(2) and the experimental output data y 0 (1), y 0 (2), y 0 (3) From the time series, the estimated input value u(i) and the experimental output data y 0 Select (k-1), find the product, and then find the sum from i=0 to i=(k-1).
[0112] On the other hand, the convolution calculation block 6b in FIG. a The convolution block 6b corresponds to the second convolution operation on the right side of (k). The convolution operation block 6b calculates the estimated output values y(0), y(1), y(2), and y(3) and the experimental input data u 0 (1),u 0 (2), u0 (3) From the time series, the estimated output value y(i) corresponding to each sampling time “i” and the experimental input data u 0 Select (k-1), find the product, and then find the sum from i=0 to i=(k-1).
[0113] The addition block 6c in FIG. 10 calculates the difference between the convolution calculation value by the convolution calculation block 6a and the convolution calculation value by the convolution calculation block 6b, and the division block 6d in FIG. 10 divides the difference obtained by the addition block 6c into u 0 Divide by (0) to calculate the estimated output value y(k) at sampling time k.
[0114] (Estimated output device) The estimated output device using data-driven simulation of the present invention is a device that estimates the output of a controlled object in a closed-loop control system in which a control signal of a controller is input as a control input to the controlled object and the output of the controlled object is fed back to the controller. The estimated output device constitutes a data-driven simulation device that simulates the output using experimental data of the input and output of the controlled object.
[0115] The estimated output device of the present invention is configured to simulate the control object P(z) in the closed-loop control system 100 shown in FIG. 3A to estimate an output, and corresponds to the device that executes the simulation 11 of the control object P(z) in FIG. 3B.
[0116] The configuration of the estimated output device will be described with reference to the block diagram of Fig. 11. The block diagram shown in Fig. 11 shows the configuration of a calculation block that obtains an estimated output value y(k) by simulation in the data-driven simulation device, and corresponds to the simulation 11 of the controlled object P(z) shown in Fig. 3B.
[0117] The estimated output device 1 includes an experimental data storage unit 2, an estimated output value storage unit 3, an estimated input value calculation unit 4, an estimated input value storage unit 5, and a calculation unit 6.
[0118] The experimental data storage unit 2 stores experimental input data u obtained in an experiment on the control object P(z).0 and experimental output data y 0 The experimental input data u 0 and experimental output data y 0 is obtained by experiment 12 in Figure 3B.
[0119] The estimated output value storage unit 3 stores the estimated output value (y) of the control target P(z). The estimated output value (y) is y(k-1) up to the sampling time (k-1) calculated by the calculation unit 6.
[0120] The estimated input value calculation unit 4 calculates the estimated input value u(k) obtained by simulating the controller C(θ).
[0121] The estimated input value storage unit 5 stores the estimated input value u(k) calculated by the estimated input value calculation unit 4. The estimated input value u(k) is obtained by a simulation 13 of the controller in FIG. 3B.
[0122] The calculation unit 6 calculates experimental input data u(z) obtained by an experiment on the control object P(z). 0 , and the experimental output data y 0 A convolution operation is performed in the time domain using the estimated input value u and the estimated output value y(y) obtained by simulating the control object P(z), and an estimated output value y(y) at the next sampling time of the control object P(z) is estimated. Each part of the estimation output device shown in the block diagram of Figure 11 can be controlled according to a protocol defined in the program.
[0123] (P2) Optimal control parameter design process The optimal control parameter design step of the present invention is a step of determining optimal control parameters of a controller using the estimated output value y acquired in the data-driven simulation step.
[0124] Below, we will explain the optimal control parameter design process using a DC-DC converter as the controlled object and PI control, PID control, and PI-D control as examples of closed-loop control systems.
[0125] (Control object) FIG 12 shows an example of a DC-DC converter. The DC-DC converter operates on an input voltage V in This inverter is composed of an LC circuit having a switch SW1 connected in series to a load R, a switch SW2 connected in parallel to the load R, an inductor L connected in series to a load R, and a capacitor C connected in parallel to the load R. The switches SW1 and SW2 are switched by a PWM signal from a controller C.
[0126] The controller inputs input data u to the DC-DC converter to be controlled, and controls the switches SW1 and SW2 on and off with a PWM signal to generate the output voltage V c On the other hand, the output data y output from the DC-DC converter is the output voltage V c , and the inductor current i L is the output signal of the controller. The controller feeds back the output data y to form a closed loop control system.
[0127] (PI control) FIG. 13 shows an example of the configuration of a controller that performs PI control by feeding back the inductor current as a minor loop. r and the output voltage of the capacitor voltage V c Difference with (e=(V r -V c )) is input to the proportional and integral terms to perform proportional-integral control, and the inductor current i L is entered into the feedback section.
[0128] The proportional term, integral term, and feedback term of the controller are controlled by the control parameter θ, which is the proportional gain K P , integral gain K I , and the feedback gain K L The outputs of these terms are added together to produce an output that is output as input data u for the controlled object. The input signal u converted into a PWM signal is input to the controlled object of the DC-DC converter to control the switching operation of the switching element of the DC-DC converter.
[0129] (PID control) FIG. 14 shows an example of the configuration of a controller that performs PID control in current mode control. The proportional term, integral term, differential term, and feedback term of the PID control are each a proportional gain K P , integral gain K I , differential gain K D , and the feedback gain K L and the sum output of these is output as input data u to be controlled.
[0130] Proportional Gain K P is the target voltage V r and the output voltage V c Difference from (V r -V c ) and integral gain K I is the target voltage V r and the output voltage V c Difference from (V r -V c ) is the gain for the integral value of D is the target voltage V r and the output voltage V c Difference from (V r -V c ) is the gain for the differential value of the feedback gain K L is the inductor current i L is the gain for
[0131] PID control is the target voltage V r and the output voltage V c Difference with (e=(V r -V c )) is input to the proportional, integral, and derivative terms to perform proportional-integral-derivative control, and the inductor current i L The feedback signal is input to the feedback term.
[0132] (PI-D control) FIG. 15 shows an example of the configuration of a controller using PI-D control in current mode control. PI-D control is a method for controlling a target voltage V rand the output voltage V c Difference with (e=(V r -V c )) is input to the proportional and integral terms to perform proportional-integral control, and the output voltage V c is input to the differential term to perform differential control, and the inductor current i L is entered into the feedback section.
[0133] The proportional, integral, derivative, and feedback terms of the controller are controlled by the control parameters θ and the proportional gain K P , integral gain K I , differential gain K D , and the feedback gain K L and the sum output of these is output as input data u to be controlled.
[0134] Proportional Gain K P is the target voltage V r and the output voltage V c Difference from (V r -V c ) and integral gain K I is the target voltage V r and the output voltage V c Difference from (V r -V c ) is the gain for the integral value of D is the output voltage V c is the gain for the differential value of the feedback gain K L is the inductor current i L is the gain for
[0135] As a design approach for the optimal control parameter design process, three types of optimization approaches can be applied: (P2a) direct optimization approach, (P2b) iterative optimization approach, and (P2c) single calculation approach. Each optimization approach designs the optimal control parameters of the controller using the estimated output value y obtained in the data-driven simulation process.
[0136] (P2a) Direct Optimization Approach The direct optimization approach is an optimization approach that uses an evaluation function to directly optimize the control parameter θ of the controller. It uses the estimated output value y obtained in the data-driven simulation process and applies a heuristic algorithm as an optimization solver to find the control parameter that minimizes the evaluation function.
[0137] Evaluation function J for evaluating the response of the controlled object by the controller DO As (θ), the following equation (25) is used, which is expressed as the 2-norm of the difference between the target reference value r(k) and the estimated output value y(k).
number
[0138] Evaluation function J DO Optimal control parameters θ of the controller that minimizes (θ) * is calculated by the following equation (26) using the reference value r(k) and the estimated output value y(k) estimated in the data-driven simulation process.
number
[0139] In equation (26), argmin θ J DO (θ) is the evaluation function J DO (θ) is the set of control parameters θ for which the proportional gain K P , integral gain K I , differential gain K D , feedback gain K L In the case where each gain of the controller is * is the set of optimal values for each gain.
[0140] Evaluation function J DO The control parameter θ of the controller that minimizes (θ)* To directly find this, it is possible to apply heuristic algorithms such as the Nelder-Mead method. The Nelder-Mead method, also known as the simplex method or the amoeba method, is a nonlinear optimization method that searches for the minimum value of a multidimensional nonlinear function by expanding, contracting, and moving a polygonal search area.
[0141] The flowchart in FIG. 16 shows an example of a procedure for determining the optimal control parameters by a direct optimization approach.
[0142] In the design of optimal control parameters using the direct optimization approach, we first set the initial values of the control parameters. In the direct optimization approach using the Nelder-Mead method, we minimize the target function using (n+1) initial value vectors for the design variable n.
[0143] When performing PI control, the controller uses the proportional gain K P , integral gain K I , and the feedback gain K L In the Nelder-Mead method, there are four initial values θ 1 (K P1 ,K I1 ,K L1 ),θ 2 (K P2 ,K I2 ,K L2 ),θ 3 (K P3 ,K I3 ,K L3 ), and θ 4 (K P4 ,K I4 ,K L4 ) (SD1).
[0144] Next, the initial value θ of the control parameter set in the SD1 process 1 ~θ 4In step SD2, the estimated output value y(k) is calculated using the data-driven simulation method of the present invention. Next, the evaluation function J is calculated using the estimated output value y(k) calculated in step SD2 and the reference value r(k) according to equation (25). DO Find (θ) (SD3).
[0145] By changing the control parameter θ using the Nelder-Mead method (SD5), the SD2 and SD3 processes are repeatedly looped to obtain the evaluation function J DO This is continued until (θ) is minimized (SD4) to find the optimal control parameter θ. Then, the control parameter θ obtained by optimization is called the optimal control parameter θ * (K P * ,K I * ,K L * ) (SD6).
[0146] (P2b) Iterative Approach When the evaluation function is differentiable with respect to the control parameter θ, the optimal control parameter θ can be obtained by applying an iterative optimization approach. * In the iterative optimization approach, the optimal control parameters θ * is calculated using the gradient method.
[0147] Figure 17 shows a reference model of a closed-loop control system. The difference (r(k)-y(k;θ)) between the reference value r(k) and the fed-back estimated output value y(k;θ) is input to a controller C, and the control signal obtained by the controller C is input as an input signal for the controlled object P(z), which outputs the estimated output value y(k;θ).
[0148] The nominal model M(z) represents the characteristics of a closed loop system. The nominal model M(z) expresses the desired output value y(k) for an arbitrarily given reference value r(k). d (k) is output. The desired output value y d (k) is expressed by the following equation (27).
number
[0149] When the transfer function of the controller C(z;θ) has linear separability with respect to the control parameter θ, the transfer function of C(z;θ) is the control operation C as shown in the following equation (28). 0 T It is expressed as the product of (z) and the control parameter θ.
number
[0150] In data-driven simulation, the evaluation function J is used to evaluate the response of the controlled object to the controller. MR (θ) is the target output value y(k) for the reference value r(k) d (k) and the estimated output value y(k;θ),
number
[0151] Evaluation function J MR The partial differential value obtained by partially differentiating (θ) with respect to the control parameter θ is expressed by the following equation (30).
number
[0152] The partial differential value of the estimated output value y(k;θ) with respect to θ in equation (30) is expressed by the following equation (31).
number
[0153] Here, since the value of the initial estimated output value y(0;θ) at k=0 is a constant independent of θ, the partial differential value of the estimated output value y(k;θ) at k=0 with respect to θ is given by the following equation (32).
number
[0154] In addition, the evaluation function J MR Optimal control parameters θ of the controller that minimizes (θ) * Candidate θ m teeth,
number
[0155] The optimal control parameter θ that satisfies equation (33) * Candidate θ m+1 can be obtained using the gradient method, by repeatedly calculating the following equation (34).
number
[0156] In equation (34), H(θ) is a Hessian matrix, and is expressed by the following equation (35).
number
[0157] The second partial differential of the estimated output value y(k;θ) in equation (35) with respect to θ is expressed by the following equation (36).
number
[0158] The first partial differential of the estimated output value y(k;θ) included in equation (31) and the second partial differential of the estimated output value y(k;θ) included in equations (35) and (36) are expressed as y a (k), y in equation (18) b (k), y in equation (21) c This can be obtained using the estimated output value y(i;θ) represented by (k).
[0159] The control parameter θ is K P ,K I ,K L In the case of C 0 T (z) and θ are expressed by equations (37) and (38), respectively.
number
number
[0160] C 0 T The matrix (z) sets the variables to be fed back for each control parameter θ, and also sets the proportional, integral, and differential control methods. 0 T (z) is the proportional gain K for the voltage feedback P , integral gain for voltage feedback K I , proportional gain K for current feedback L The following shows the variables set for each of the above.
[0161] Next, the control parameter θ is proportional gain K P Equations (37) and (38) are expressed as the control parameter θ = K P In the case of voltage feedback, 0 T =[1,0] T At this time, the estimated output value y(k;KP )K P The first partial differential of is expressed by the following equation (39) from equation (31).
number
[0162] Estimated output value y(k;K P )K P The second partial differential of is expressed by the following equation (40) from equation (36).
number
[0163] The control parameter θ is the integral gain K I , and the proportional gain for the current feedback, K L In the case of C 0 T =[T / (z-1),0] T , C 0 T =[0,1] T The first and second partial differential values can be calculated in the same way. In addition, the proportional gain K P , and integral gain K I , and the proportional gain for the current feedback, K L In addition to the case where the control parameter θ is used alone, the first-order partial differential value and the second-order partial differential value can be similarly calculated using the matrix of the control parameters even when the control parameter θ is used in any combination.
[0164] Therefore, the optimal control parameter θ * Candidate θ m+1 can be calculated by the gradient method using the Hessian matrix H(θ) in equation (35), the first partial differential with respect to θ of the estimated output value y(k;θ) in equation (31), and the second partial differential with respect to θ of the estimated output value y(k;θ) in equation (36), and further using equations (39) and (40) to calculate these first and second partial differential values.
[0165] The flowcharts in FIGS. 18, 19, and 20 show an example of a procedure for determining the optimal control parameters by an iterative optimization approach.
[0166] In the design of the optimal control parameters by the iterative optimization approach, the optimal control parameters θ * In order to iteratively calculate, first, the initial value of the control parameter θ 1 If the controller performs PI control, for example, set the proportional gain K P , integral gain K I , and the feedback gain K L The three gain values [K P ,K I ,K L ] (SI1).
[0167] Next, the transfer function C of the controller C in equation (36) 0 In the case of PI control, the gain [K P ,K I ,K L ] for the transfer function C 0 T is expressed by the following equation (41) (SI2).
number
[0168] Next, set m = 1 (SI3) and repeat steps SI4 to SI8 to find the optimal control parameter θ * Next, the partial differential value ∂y(k;θ) / ∂θ of the estimated output value y(k;θ) is calculated using equation (31), and the evaluation function J MR The partial differential value of (θ) ∂J MR Calculate (θ) / ∂θ (SI4).
[0169] The flowchart in Figure 19 shows the procedure for ∂y(k;θ) in equation (31) using the estimated output value y(k;θ) in SI4. The first-order partial differential value ∂y(k;θ) / ∂θ of the estimated output value y(k;θ) is θ=K P In the case of , it is expressed by equation (39) using equation (31). Here, in the PI control, θ is [K P ,K I ,K L ].
[0170] Next, the value of i is increased (s3) in sequence from i=0 (s1), and the calculation (s2) of equation (39) is repeated (s4) up to i=k-1. This results in the k partial differential values [∂y(0;θ) / ∂θ, ∂y(1;θ) / ∂θ, , ∂y(k-1;θ) / ∂θ] being calculated (s5).
[0171] Using k first-order partial differential values [∂y(0;θ) / ∂θ, ∂y(1;θ) / ∂θ, , ∂y(k-1;θ) / ∂θ], the evaluation function J MR The partial differential value of (θ) ∂J MR (θ) / ∂θ is calculated (SI4). Then, the second partial differential value ∂ 2 Calculate y(k;θ) / ∂θ using equation (36) (SI5).
[0172] The flowchart in FIG. 20 uses the estimated output value y(k;θ) in SI5 to calculate ∂ 2 The procedure for calculating y(i;θ) is shown below. The second partial differential value ∂ of the estimated output value y(k;θ) with respect to θ is 2 y(k;θ) / ∂θ T ∂θ is θ=K P In the case of , it is expressed by equation (40) using equation (36). Here, in the PI control, θ is [K P ,K I ,K L ].
[0173] Next, the value of i is increased (s13) in sequence from i=0 (s11), and the calculation (s12) of equation (40) is repeated (s14) up to i=k-1. This results in k partial differential values [∂ 2 y(0;θ) / ∂θT ∂θ,∂ 2 y(1;θ) / ∂θ T ∂θ, , ∂ 2 y(k-1;θ) / ∂θ T ∂θ] is found (s15).
[0174] The k first-order partial differential values [∂y(0;θ) / ∂θ, ∂y(1;θ) / ∂θ, ∂y(k-1;θ) / ∂θ] obtained in step SI4 and the k second-order partial differential values [∂ 2 y(0;θ) / ∂θ T ∂θ,∂ 2 y(1;θ) / ∂θ T ∂θ, , ∂ 2 y(k-1;θ) / ∂θ T ∂θ] to find the Hessian matrix H(θ) in equation (35).
[0175] Next, the evaluation function J obtained in the SI4 process MR The partial differential value of (θ) ∂J MR (θ) / ∂θ and the Hessian matrix H(θ) obtained in step SI5 are substituted into equation (34) to obtain the candidate control parameter θ m+1 Update (SI6).
[0176] Next, update the variable m (SI8) and find the candidate control parameter θ m+1 It is determined whether the termination condition is satisfied (SI9). If the termination condition is not satisfied, SI4 to SI8 are repeated. If the termination condition is satisfied, the control parameter θm updated in SI6 is set as the optimal control parameter θ * (SI10). As an example of the termination condition, the evaluation function J MR The partial differential value of (θ) ∂J MR It may be possible to use the fact that (θ) / ∂θ has converged to within a preset allowable range.
[0177] (P2c) Single-computation approach: Non-Iterative Approach The single-calculation approach is an optimization approach that performs the iterative calculations performed in the iterative optimization approach in a single calculation.
[0178] Figure 21 shows a reference model of an open-loop control system. In the open-loop control system, a reference value r(k) is input to a controller C, a control signal obtained by the controller C is used as an input signal to a controlled object P(z), and an estimated output value y O (k;θ) is output. On the other hand, the nominal model M O From (z) the target output value y dO (k) is output.
[0179] Nominal Model M O (z) represents the input / output characteristics of the open-loop control system. The nominal model M O (z) is the desired output value y for an arbitrarily given reference value r(k). dO (k) is output. Here, the subscript “ O " indicates that it is an open-loop control system, and the subscript " d " indicates the target value.
[0180] Nominal model M in open loop control systems O (z) is expressed by the following equation (42) using the nominal model M(z) in the closed loop system.
number
[0181] The estimated output value y of the open loop control system O (k;θ) is y in the closed loop system equation (17). a (k), and in equation (18), y b (k), and in equation (21), y c It can be obtained using the estimated output value y(k;θ) expressed by each equation in (k).
[0182] Hereafter, the estimated output value y b Let us take (k) as an example. The estimated output value y of the open loop control system O (k;θ) is the estimated output value y b(k) is transformed and expressed as the convolution operation of the following equation (43).
number
[0183] Equation (43) expresses the estimated output value y O This shows that (k;θ) is separated into a term of the control parameter θ and a term that does not include the control parameter θ. The term that does not include the control parameter θ is y O0 sepT (k) is expressed as the following equation (44).
number
[0184] In equation (44), y O0 sepT (i) is the matrix y O0 sep (i) is the transpose of the matrix, y ofs (ki) is the output data in the closed loop system, r(i) is the input value, C 0 T (z) is the transpose matrix of the matrix (equation (28)) that linearly separates the control parameter θ from the controller, and y O0 T is the transposed matrix of the experimental output data in the open loop system, u 0 ofs (k-1) is the input data, u 0 ofs (0) is the first input data.
[0185] Evaluation function J for evaluating the response of the controlled object by the controller O (θ) is the desired output value y dO and the estimated output value y O This is expressed by the following equation (45) using the 2-norm of the difference between
number
[0186] The evaluation function J expressed by equation (45) O (θ) partial derivative ∂J with respect to the control parameter θ o (θ) / ∂θ is expressed by the following equation (46).
number
[0187] Evaluation function J O Optimal control parameters θ of the controller that minimizes (θ) * is the partial differential of the following equation (47): o This is the value that makes (θ) / ∂θ 0.
number
[0188] where y O Since (k;θ) is a linear equation with respect to θ, the optimal control parameter θ * is expressed by the following equation (48).
number
[0189] From equation (48), the optimal control parameter θ * is the data y O0 sep Transpose matrix y of (k) O0 sepT (k) and the desired output data y d0 It is determined by (k).
[0190] The operating point of the data-driven control simulation may deviate from the experimental data, which may affect the accuracy of the simulation. In addition, the controller does not support a control system in which the output of the controlled object is fed back in a minor manner.
[0191] As a means of solving this problem, the optimal control parameter θ *is rewritten as equation (50). This rewriting is done by using the output data y 0 Since there is no restriction on the reference value r(i) in (i), the reference value r(i) is set by setting M(z) in the following equation (49).
[0192] Assuming that the controller is properly tuned, the operating point of the data-driven control simulation is M(z)y 0 (i) is assumed to be in the neighborhood of the output data y 0 (i) and the minor feedback term of the controller M(z)y 0 Difference from (i) (y 0 (i) -M(z)y 0 (i)) asymptotically approaches “0”. This suppresses the deviation of the operating point of the data-driven control simulation from the experimental data, and enables support for minor feedback control systems.
[0193] The reference value r(i) is calculated by subtracting the difference (y 0 (i) -M(z)y 0 Based on (i)), set the following equation (49).
number
[0194] This results in an optimal control parameter θ * is expressed by the following equation (50).
number
[0195] In equations (48) and (50), y O0 sep and y O0 sepT indicates a matrix and a transposed matrix of data obtained by linearly separating the control parameter θ from the estimated output value yo in the open loop control system.
[0196] Figure 22 shows a block diagram of an open-loop control system when r(i) in equation (49) is introduced. The controller C(z;θ) has a reference value r(i)=(1-M(z))y rewritten in equation (49). 0 (i) is input, and the output y of the control object P(z) obtained by the data-driven control simulation is O (k;θ) is output. On the other hand, the output data y 0 (k) is the nominal model M O (z)y obtained by inputting O (k) represents the feedback term.
[0197] In the block diagram of the open loop control system in FIG. O (k;θ) denotes the output term, and assuming ideal tuning is achieved, the minor loop term is M(z)y O If (i), the inverse matrix term of equation (50) corresponds to the variance of the output data of the open-loop control system, and the numerator term of equation (50) corresponds to the covariance of the output data of the open-loop control system and the feedback term. Therefore, the optimal control parameter θ * corresponds to the solution by the least-squares (LS) method, and the optimal control parameters can be obtained by one calculation. O0 sep (k) is data obtained by linearly separating the control parameter θ from the estimated output in the open loop control system.
[0198] The control system of the present invention can be applied to each control system of PID control, PI control, and PI-D control, and the optimal control parameter θ * is set according to the control method of PID control, PI control, or PI-D control. For example, in the case of PI control, the control parameter θ of the controller is the proportional gain K P , integral gain K I , differential gain K D , feedback gain K L It is.
[0199] The flowchart in FIG. 23 illustrates an example of a procedure for determining the optimal control parameters using a single-run optimization approach.
[0200] The optimal control parameter θ expressed by equation (50) * is a matrix of data obtained by linearly separating the control parameters θ from the estimated output in the open-loop control system, and the transposed matrix y O0 sep (k), y O0 sepT (k), output data y O (k), as well as the nominal model M(z).
[0201] Therefore, the optimal control parameter θ * In order to calculate the output data y O (k) is obtained (SN2). Next, the estimated output value y O (k; θ) is calculated by equation (43). In the calculation of equation (43), the input data u 0 (0), Input data after offset compensation u 0 ofs (i) Output data after offset compensation y 0 ofs (i), the reference value r(i), and the matrix C that linearly separates the control parameters θ from the controller. 0 (z), the control parameter θ is linearly separated from the estimated output (SN3). The optimal control parameter θ is calculated by equation (50). * (SN4).
[0202] In addition, y O0 sep (k) is the offset-compensated first input data u 0 ofs (0), the offset-compensated output data of the closed loop system y 0 ofs (i), input value r(i), controller C 0 T (z), the transposed matrix y of the experimental output data in the open loop system O0 T, the offset-compensated input data u 0 ofs (i) is obtained by equation (44). [Industrial Applicability]
[0203] The controller design method of the present invention can be applied to the design of a control parameter θ of a high frequency power source (RF generator) as a controlled object (plant). [Explanation of symbols]
[0204] 1 Estimated output device 2. Experimental data storage section 3. Estimated output value storage section 4. Estimated input value calculation section 5. Estimated input value storage section 6 Arithmetic section 6a Convolution block 6b Convolution block 6c Addition Block 6d division block 11 Simulation 12 Experiment 13 Simulation 100 Closed Loop Control System 100A closed loop system 100B Closed Loop System C Controller C 0 ,C 0 T Transfer Function H Hessian matrix J DO Evaluation Function J MR Evaluation Function K transfer function K D Differential Gain K I Integral Gain K L ,K iC Feedback Gain K P Proportional Gain M,M O Nominal Model N Number of samples P(z) Control target SW1, SW2 switches U in Input Signal U(z) Estimated input value U 0 (z) Experimental input data V c Output Voltage V in Input voltage V r Target Voltage Y out Output Signal Y(z) Estimated output value Y 0 (z) Experimental output data i C Capacitor Current i L Inductor Current k,m sampling time r(k) standard value u in Input Signal u 0 (k) Experimental input data u 0 ofs (k) Offset-compensated experimental input data u(k) Estimated input value y out Output Signal y 0 (k) Experimental output data y 0 ofs (k) Offset-compensated experimental output data y(k) Estimated output value y,y O Estimated Output Value y O0 (k) Experimental output data of the open-loop control system y O0 sep Data obtained by linearly separating the control parameter θ from the estimated output value of the open loop control system y dO Target Output Value u 0_offset ,u m_offset Steady-state value y0_offset ,y m_offset Steady-state value y a ,y b ,y c Arithmetic expression θ Control parameter θ * Optimal Control Parameters θ 0 Initial parameters φ(u) nonlinearity
Claims
1. In a closed loop control system in which a control signal of a controller is input as a control input to a controlled object and an output of the controlled object is fed back to the controller, a data-driven simulation step of simulating an output based on a time domain calculation using experimental data of an input and output of the controlled object to obtain an estimated output value; an optimal control parameter design step of determining optimal control parameters of the controller using the estimated output value acquired in the data-driven simulation step; Equipped with The data-driven simulation step includes: The estimated input value u obtained by simulating the controlled object and the experimental output data y obtained by experimenting the controlled object 0 a first convolution value obtained by convolutionally computing the first convolution value and the second convolution value in the time domain; and a second convolution calculation value obtained by performing a convolution calculation in a time domain on an estimated output value obtained by a simulation of the controlled object and experimental input data obtained by an experiment on the controlled object; Seeking An estimated output value at the next sampling time of the controlled object is estimated from a difference between the two convolution calculation values. How to design controllers.
2. The data-driven simulation step includes: an experiment data experiment step of collecting and storing each sampling value of experimental input data and experimental output data obtained in an experiment on the controlled object; a simulation step of performing a simulation by inputting a reference value to the controller to obtain an output signal of the controller, and calculating and storing the output signal of the simulation as an estimated input value for the controlled object; A simulation step of an estimated output value for obtaining an estimated output value of a controlled object; Each process is included. The step of simulating the estimated output value includes: calculating a first convolution value by performing a convolution operation in a time domain on the estimated input values from sampling times 0 to k−1 obtained in the simulation step of the estimated input values and on experimental output data from sampling times k to 1 obtained in the experimental step; calculating a second convolution calculation value by performing a convolution calculation in the time domain on the estimated output values from sampling times 0 to k−1 obtained in the simulation step of the estimated output values and the experimental input data from sampling times k to 1 obtained in the experimental step; determining a difference between the first convolution calculation value and the second convolution calculation value, and determining an estimated output value at sampling time k of the controlled object from the difference; The method for designing a controller according to claim 1 .
3. The optimal control parameter design step includes: Evaluation function J for evaluating the response of the controlled object by the controller DO (θ) is expressed as the 2-norm of the difference between the reference value r and the estimated output value y. Equipped with The evaluation function J DO The optimal control parameter θ of the controller that minimizes (θ) * of Using a direct optimization approach, A method for designing a controller according to claim 1 or 2.
4. The optimal control parameter θ * is calculated using the Nelder-Mead method. The method for designing a controller according to claim 3.
5. The optimal control parameter design step includes: The product of the nominal model M(z) and the reference value r is the target output value y for the reference value r. d year, It is expressed as Evaluation function J for evaluating the response of the controlled object by the controller MR (θ) is the target output value y with respect to the reference value r. d and the estimated output value y, year, The evaluation function J MR The optimal control parameter θ of the controller that minimizes (θ) * of This is obtained by an iterative optimization approach of repeated calculations of A method for designing a controller according to claim 1 or 2.
6. The optimal control parameter design step includes: The estimated output value in the open loop system is y O year, The product of the nominal model M(z) and the reference value r in the open loop system is the target output value y for the reference value r. dO year, Evaluation function J for evaluating the response of the controlled object by the controller O (θ) is the target output value y dO and the estimated output value y O It is expressed as the 2-norm of the difference between year, The data obtained by linearly separating the control parameters from the estimated output in the open-loop control system is called y O0 sep (k) is the evaluation function J O The optimal control parameter θ of the controller that minimizes (θ) * of or A single calculation approach is used to obtain A method for designing a controller according to claim 1 or 2.
Citation Information
Patent Citations
Output estimation method
JP2021043573A
Control system and control method
JP2021140216A
Cited By
Controller optimization method
JP7780164B1
