Parameter adjustment device and parameter adjustment method
The parameter adjustment device reduces calculation complexity by using a two-degree-of-freedom controller with feedback and feedforward compensators and the least squares method to optimize control parameters, addressing the inefficiencies of nonlinear optimization in conventional systems.
Patent Information
- Application Number
- JP2023067152
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-17
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2043-04-17
AI Technical Summary
Conventional parameter adjustment devices require complex nonlinear optimization methods, leading to excessive calculation loads.
A parameter adjustment device that utilizes a two-degree-of-freedom controller with feedback and feedforward compensators, employing the least squares method to adjust control parameters based on input and output data, reducing calculation complexity.
Enables determination of control parameters with a smaller amount of calculation, optimizing control parameters for vehicles using data-driven control methods like VRFT and FRIT, while minimizing computational effort.
Smart Images

Figure 2024153333000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a parameter adjustment device and a parameter adjustment method. [Background technology]
[0002] The parameter adjustment device of Patent Document 1 determines control parameters of a feedback compensator and a feedforward compensator for determining input data based on input data to a controlled object, output data of the controlled object, and a reference model indicating desired response characteristics. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Patent Publication No. 2022-112300 Summary of the Invention [Problem to be solved by the invention]
[0004] In conventional parameter adjustment devices, the control parameters are determined by solving the optimization problem of the evaluation function including the reference model using a nonlinear optimization method. Therefore, there is a problem that the more complex the optimization method selected, the greater the amount of calculation required.
[0005] The present invention has been made in consideration of these points, and has an object to determine control parameters with a small amount of calculation. [Means for solving the problem]
[0006] A parameter adjustment device according to a first aspect of the present invention acquires, from a closed-loop control system having a control target of a vehicle, a feedback compensator that performs feedback control based on output data of the control target and a first target value of the output data, and a feedforward compensator that performs feedforward control based on the first target value, input data to be input to the control target and output data output by the control target under control of the feedback compensator that sets an initial value of a first control parameter of the feedback compensator and the feedforward compensator that sets an initial value of a second control parameter of the feedforward compensator. a first adjustment unit that adjusts the first control parameter corresponding to the minimum value of a first evaluation function by using a least squares method to obtain a minimum value of a first evaluation function indicating a difference between the input data, a reference model designed to have predetermined response characteristics, and a value obtained by inputting a deviation between the output data and a second target value based on the output data into the feedback compensator, and a second adjustment unit that adjusts the second control parameter corresponding to the minimum value of the second evaluation function by using a least squares method to obtain a minimum value of a second evaluation function indicating a difference between the input data and a value obtained by inputting the second target value into the feedforward compensator.
[0007] The acquisition unit may acquire the second target value by inputting the output data to an inverse transfer function of the reference model.
[0008] The feedback compensator may include a proportional unit, an integrator, and a differentiator, and the feedforward compensator may include a transfer function using a first-order lag transfer function of the model of the controlled object and the reference model, and the acquisition unit may acquire the input data and the output data from the closed-loop control system by setting, in the feedback compensator, an initial value of a proportional gain of the proportional unit, an initial value of an integral gain of the integrator, and an initial value of a differential gain of the differentiator as the initial values of the first control parameters, and setting, in the feedforward compensator, an initial value of a parameter of the first-order lag transfer function as the initial value of the second control parameter.
[0009] The feedback compensator may include a proportional unit, an integrator, and a differentiator, and the acquisition unit may acquire the input data and the output data from the closed-loop control system in which an initial value of a proportional gain of the proportional unit and an initial value of an integral gain of the integrator are set in the feedback compensator as the initial value of the first control parameter.
[0010] The acquisition unit may acquire a steering angle input to a steering unit of the vehicle to be controlled as the input data, and acquire a yaw rate of the vehicle as the output data.
[0011] A parameter adjustment method according to a second aspect of the present invention is executed by a computer, and includes the steps of: adjusting input data to be input to the control target and output data to be output by the control target under control of the feedback compensator that sets an initial value of a first control parameter of the feedback compensator, and the feedforward compensator that sets an initial value of a second control parameter of the feedforward compensator, from a closed-loop control system having the control target of a vehicle, a feedback compensator that performs feedback control based on output data of the control target and a first target value of the output data, and a feedforward compensator that performs feedforward control based on the first target value, the input data and a value obtained by inputting a deviation between a second target value based on a reference model designed to have predetermined response characteristics and the output data into the feedback compensator, the minimum value of a first evaluation function indicating a difference between the input data and the value obtained by inputting the deviation between the output data and a second target value into the feedforward compensator is obtained by using a least squares method, thereby adjusting the first control parameter corresponding to the minimum value of the first evaluation function; and the input data and a value obtained by inputting the deviation between the second target value into the feedforward compensator are obtained by using a least squares method, thereby adjusting the second control parameter corresponding to the minimum value of the second evaluation function. Effect of the Invention
[0012] According to the present invention, it is possible to obtain an effect that a control parameter can be determined with a small amount of calculation. [Brief description of the drawings]
[0013] [Figure 1] FIG. 1 is a diagram for explaining a parameter adjustment system S according to the present embodiment. [Diagram 2] FIG. 2 is a diagram showing the configuration of a two-degree-of-freedom controller 20. [Diagram 3] FIG. 2 is a diagram showing a configuration of a parameter adjustment device 30. [Figure 4] FIG. 2 is a block diagram for adjusting a first control parameter. [Diagram 5] FIG. 4 is a block diagram for adjusting a second control parameter. [Figure 6] FIG. 13 is a diagram showing an example of a processing sequence in the parameter adjustment device 30. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0014] <Overview of Parameter Adjustment System S> Fig. 1 is a diagram for explaining a parameter adjustment system S according to this embodiment. The parameter adjustment system S shown in Fig. 1 includes a closed-loop control system 1 and a parameter adjustment device 30. The closed-loop control system 1 has a controlled object 10 and a two-degree-of-freedom controller 20. The parameter adjustment system S is a system in which the parameter adjustment device 30 adjusts the control parameters of a compensator included in the two-degree-of-freedom controller 20 based on input data input to the controlled object 10 and output data output by the controlled object 10.
[0015] The closed-loop control system 1 is, for example, a control system mounted on a vehicle. In the closed-loop control system 1, a two-degree-of-freedom controller 20 executes a process of determining input data to the control object 10 based on output data of the control object 10 provided in the vehicle and a first target value which is a target value of the output data. As an example, when the control object 10 is a steering unit of a vehicle, the input data is a steering angle of a tire, and the output data is a yaw rate. The two-degree-of-freedom controller 20 has a feedback compensator having a PID (Proportional-Integral-Differential) controller, and a feedforward compensator using a first-order delay system transfer function of a model of the control object and a reference model designed to a predetermined response characteristic.
[0016] The parameter adjustment device 30 is, for example, one or more information processing devices. The parameter adjustment device 30 executes a process of adjusting control parameters of a feedback compensator and a feedforward compensator of the two-degree-of-freedom controller 20 based on a set of input data and output data acquired from the controlled object 10. The parameter adjustment device 30 may acquire a set of input data and output data from the two-degree-of-freedom controller 20. The set of input data and output data is data obtained by one experiment, and is, for example, a plurality of input data input to the controlled object 10 by operating the two-degree-of-freedom controller 20 for a certain time (for example, 15 seconds) and a plurality of output data output by the controlled object 10 based on the plurality of input data. The control parameters are, for example, parameters of a PID controller of the feedback compensator and parameters of a first-order lag transfer function of the feedforward compensator.
[0017] In order to adjust the control parameters to the optimal values, it is considered to determine the control parameters so that the output value of the evaluation function of the target controller is minimized. The evaluation function of the controller can be designed using data-driven control such as VRFT (Virtual Reference Feedback Tuning) or FRIT (Fictitious Reference Iterative Tuning). In the evaluation function using VRFT, the control parameters for minimizing the output value of the evaluation function can be determined by using linear optimization such as the least squares method. On the other hand, in the evaluation function using FRIT, the control parameters for minimizing the output value of the evaluation function are determined by using nonlinear optimization such as the Gauss-Newton method. Therefore, in the case of the evaluation function using FRIT, the calculation complexity is greater than that of the evaluation function using VRFT, and the amount of calculation is greater.
[0018] Therefore, the parameter adjustment device 30 determines control parameters so that the output value of the evaluation function of the VRFT-based feedback compensator and the output value of the evaluation function of the VRFT-based feedforward compensator are minimized, and sets them in the two-degree-of-freedom controller 20. By operating in this manner, the parameter adjustment device 30 can adjust the control parameters using the least squares method, thereby reducing the amount of calculations compared to adjusting the control parameters using nonlinear optimization. The configurations and operations of the two-degree-of-freedom controller 20 and the parameter adjustment device 30 will now be described in detail.
[0019] <Configuration of the two-degree-of-freedom controller 20> Fig. 2 is a diagram showing a configuration of a two-degree-of-freedom controller 20. The two-degree-of-freedom controller 20 has a reference model 21, a feedback compensator 22, and a feedforward compensator 23. In Fig. 2, input data u(s), output data y(s), and a first target value r(s) are shown.
[0020] The reference model 21 is a model designed to have a predetermined response characteristic. d Then, it can be given as equation (1).
number
[0021] The feedback compensator 22 includes a proportional unit, an integrator, and a differentiator, and performs feedback control based on the output data y(s) of the control target 10 and a first target value r(s) of the output data y(s). The first target value r(s) may be obtained from an ECU (Electronic Control Unit) provided in the vehicle, or may be obtained from a parameter adjustment device 30. The feedback compensator 22 is fb , the proportional gain of the PID controller of the feedback compensator 22 is k p , integral gain is k i , the differential gain is k d Then, the feedback compensator 22 can be expressed as shown in equation (2).
number
[0022] The feedforward compensator 23 is a function of the first-order delay transfer function of the model of the controlled object 10 and the reference model T d When the controlled object 10 is a steering unit of a vehicle, the feedforward compensator 23 (C ff ) is the vehicle speed v and the reference model T shown in equation (1). d and the first-order delay transfer function P of the vehicle model shown in equation (3). s Using these, it can be expressed as in equation (4).
number
number
[0023] <Configuration of parameter adjustment device 30> 3 is a diagram showing the configuration of the parameter adjustment node 30. The parameter adjustment node 30 has a storage unit 31 and a control unit 32. The control unit 32 has a transmission unit 321, an acquisition unit 322, a first adjustment unit 323, and a second adjustment unit 324.
[0024] The storage unit 31 has a storage medium such as a read only memory (ROM), a random access memory (RAM), a hard disk drive (HDD), or a solid state drive (SSD). The storage unit 31 stores a program executed by the control unit 32. The storage unit 31 stores various information used by the control unit 32 to adjust the control parameters of the feedback compensator 22 and the feedforward compensator 23. As an example, the storage unit 31 stores an initial value of a first control parameter and an initial value of a second control parameter.
[0025] The control unit 32 is, for example, a processor such as a CPU (Central Processing Unit). The control unit 32 executes a program stored in the storage unit 31 to function as a transmission unit 321, an acquisition unit 322, a first adjustment unit 323, and a second adjustment unit 324. The control unit 32 may be configured with one processor, or may be configured with multiple processors or a combination of one or more processors and an electronic circuit. The configuration of each unit realized by the control unit 32 will be described below.
[0026] The transmitter 321 sets the initial value of the first control parameter by transmitting the initial value of the first control parameter to the feedback compensator 22. For example, the transmitter 321 transmits the proportional gain K p The initial value of , the integral gain of the integrator K i The initial value of and the differential gain K d The initial value of is set in the feedback compensator 22.
[0027] The transmitter 321 sets the initial value of the second control parameter by transmitting the initial value of the second control parameter to the feedforward compensator 23. For example, the transmitter 321 transmits a first-order lag transfer function P s The initial values of the parameters “variable T” and “variable K / vehicle speed v” are set in the feedforward compensator 23.
[0028] The transmitter 321 updates the first control parameter to an optimal value by transmitting the first control parameter adjusted by a first adjustment unit 323 described later to the feedback compensator 22. The transmitter 321 updates the second control parameter to an optimal value by transmitting the second control parameter adjusted by a second adjustment unit 324 described later to the feedforward compensator 23.
[0029] The acquisition unit 322 acquires, from the closed-loop control system 1, input data input to the control target 10 under the control of the feedback compensator 22 and the feedforward compensator 23, and output data output by the control target 10. Specifically, when the control target 10 is a steering unit of a vehicle, the acquisition unit 322 acquires the steering angle input to the steering unit of the vehicle as input data, and acquires the yaw rate of the vehicle as output data. The acquisition unit 322 acquires the input data and output data from either the control target 10 or the two-degree-of-freedom controller 20 of the closed-loop control system 1.
[0030] The acquisition unit 322 acquires input data and output data of the controlled object 10, for example, by the control of the feedback compensator 22 in which the transmitter 321 sets an initial value of a first control parameter, and the feedforward compensator 23 in which the transmitter 321 sets an initial value of a second control parameter. The input data and output data of the controlled object 10 are a plurality of input data inputted to the controlled object 10 from the two-degree-of-freedom controller 20 by operating the closed-loop control system 1 for a certain period of time, and a plurality of output data outputted by the controlled object 10 based on the plurality of input data (so-called a set of input data and output data).
[0031] The acquisition unit 322 acquires a proportional gain K p The initial value of and the integral gain K of the integrator i The input data and the output data may be acquired from a closed-loop control system in which the initial value of the proportional gain K p Initial value of and integral gain K i Set the initial value of the differential gain K d The input data and output data controlled by the feedback compensator 22 for which the initial values are not set may be acquired. By the acquisition unit 322 operating in this manner, the closed-loop control system 1 can reduce the amount of calculation for calculating the input data and output data.
[0032] The acquisition unit 322 also acquires the reference model T d The inverse transfer function of 1 / T d The second target value may be obtained by inputting the output data to the first adjustment unit 323. The second target value is a target value of the output data that is used by the first adjustment unit 323 and the second adjustment unit 324 to calculate an optimal solution for the control parameters.
[0033] The first adjustment unit 323 obtains the minimum value of the first evaluation function based on the VRFT by using the least squares method, and adjusts the first control parameter of the feedback compensator 22 to the first control parameter corresponding to the minimum value of the first evaluation function. The first evaluation function is a function of the input data and the reference model T dand the difference between the value obtained by inputting the deviation between the output data and a second target value based on the output data to the feedback compensator 22. A method in which the first adjustment unit 323 adjusts the first control parameter will be described in detail below.
[0034] FIG. 4 is a block diagram for adjusting the first control parameter. In FIG. 4, the second target value r c , input data u 0 , output data y 0 The second target value r c is the output data y 0 Model T d The inverse transfer function of 1 / T d 4 are the same as the feedback compensator 22 and the controlled object 10 included in the closed loop control system 1.
[0035] The first evaluation function J1 can be expressed as in equation (7) using a prefilter F. When the output value of the first evaluation function J1 is minimized, the feedback compensator 22 (C shown in equation (7)) fb ) is considered to be the optimal value for each gain of the PID controller. The prefilter F is given as shown in equation (8) as an example. Also, the deviation e c is given as equation (9).
number
[0036] Then, by transforming equation (2) to equation (10) and expanding the right-hand side of equation (7) using equations (9) and (10), it is expressed as equation (11).
number
[0037] Here, the pseudo-inverse matrix A + Since is expressed as equation (12), the first control parameter, the proportional gain k p, integral gain k i , differential gain k d can be calculated as shown in equation (13).
number
[0038] The second adjustment unit 324 adjusts the second control parameter of the feedforward compensator 23 to the second control parameter corresponding to the minimum value of the second evaluation function based on the VRFT by using the least squares method. The second evaluation function is expressed by the input data and the second target value r c is input to the feedforward compensator 23 and the difference between the value is shown. A method in which the second adjustment unit 324 adjusts the second control parameter will be described in detail below.
[0039] FIG. 5 is a block diagram for adjusting the second control parameter. In FIG. 5, the second target value r c , input data u 0 , output data y 0 5 is the same as the feedback compensator 22 and the controlled object 10 included in the closed loop control system 1.
[0040] The second evaluation function J2 can be expressed as in equation (14). When the output value of the second evaluation function J2 is minimized, the feedforward compensator 23 (C ff ) is considered to be the optimal value for the parameter of the first-order lag transfer function of the vehicle model.
number
[0041] When equation (4) is transformed into equation (15) and the right-hand side of equation (14) is expanded using equation (15), it is expressed as equation (16).
number
[0042] Then, from equations (12) and (16), the second control parameters "variable T" and "variable K / vehicle speed v" can be obtained as in equation (17) using the pseudo inverse matrix.
number
[0043] <Processing Sequence in Parameter Adjustment Device 30> Fig. 6 is a diagram showing an example of a processing sequence in the parameter adjustment node 30. The processing sequence shown in Fig. 6 shows the operation of the parameter adjustment node 30 to change the first control parameter and the second control parameter.
[0044] The first adjustment unit 323 and the second adjustment unit 324 adjust the reference model T d to the prefilter F (S11). The transmitter 321 sets the initial value of the first control parameter stored in the storage unit 31 to the feedback compensator 22 (S12), and sets the initial value of the second control parameter stored in the storage unit 31 to the feedforward compensator 23 (S13). The acquirer 322 acquires a set of input data and output data from the closed-loop control system 1 (S14).
[0045] The first adjustment unit 323 calculates a first control parameter that minimizes the output value of the first evaluation function J1 by using the least squares method (S15). The second adjustment unit 324 calculates a second control parameter that minimizes the output value of the second evaluation function J2 by using the least squares method (S16). The transmission unit 321 changes the first control parameter and the second control parameter by transmitting the first control parameter calculated by the first adjustment unit 323 to the feedback compensator 22 and transmitting the second control parameter calculated by the second adjustment unit 324 to the feedforward compensator 23 (S17).
[0046] <Effects of the parameter adjustment device 30> As described above, the parameter adjustment device 30 has an acquisition unit 322 that acquires, from a closed-loop control system 1 having a controlled object 10 of a vehicle, a feedback compensator 22 that performs feedback control based on output data of the controlled object 10 and a first target value of the output data, and a feedforward compensator 23 that performs feedforward control based on the first target value, the input data input to the controlled object 10 and the output data output by the controlled object under the control of the feedback compensator 22 that sets an initial value of a first control parameter of the feedback compensator 22 and the feedforward compensator 23 that sets an initial value of a second control parameter of the feedforward compensator 23.
[0047] Then, the first adjustment unit 323 included in the parameter adjustment device 30 uses the least squares method to find the minimum value of a first evaluation function J1 indicating the difference between the input data, the reference model 21 designed to have predetermined response characteristics, and a value obtained by inputting the deviation between the output data and a second target value based on the output data to the feedback compensator 22, thereby adjusting the first control parameter to the minimum value of the first evaluation function J1. Then, the second adjustment unit 324 included in the parameter adjustment device 30 finds the minimum value of a first evaluation function J1 indicating the difference between the input data, the reference model 21 designed to have predetermined response characteristics, and a value obtained by inputting the deviation between the output data and a second target value r c The minimum value of a second evaluation function J2 indicating the difference between the value obtained by inputting the above into a feedforward compensator 23 is obtained by using the least squares method, and the second control parameter is adjusted to correspond to the minimum value of the second evaluation function J2.
[0048] By configuring the parameter adjustment device 30 in this way, the control parameters of the two-degree-of-freedom controller 20 can be updated using the least squares method, which is a linear optimization technique, and the amount of calculation can be reduced compared to parameter control using nonlinear optimization. As a result, for example, the steering angle and yaw rate of the vehicle can be controlled with a smaller amount of calculation than parameter control using FRIT. Furthermore, in the parameter adjustment device 30, the control parameters can be calculated based on a set of input data and output data (i.e., data from a single experiment), which prevents the control parameters from being calculated while the vehicle is traveling.
[0049] Although the present invention has been described above using the embodiments, the technical scope of the present invention is not limited to the scope described in the above embodiments, and various modifications and changes are possible within the scope of the gist of the present invention. For example, all or part of the device can be configured by distributing or integrating functionally or physically in any unit. In addition, new embodiments resulting from any combination of multiple embodiments are also included in the embodiments of the present invention. The effect of the new embodiment resulting from the combination combines the effect of the original embodiment. [Explanation of symbols]
[0050] 1. Closed Loop Control System 10 Control Objects 20 Two-degree-of-freedom controller 21 Normative Model 22 Feedback Compensator 23 Feedforward Compensator 30 Parameter Adjustment Device 31 Storage section 32 Control section 321 Transmitter 322 Acquisition Department 323 1st adjustment section 324 2nd adjustment section
Claims
1. an acquisition unit that acquires, from a closed-loop control system having a controlled object of a vehicle, a feedback compensator that performs feedback control based on output data of the controlled object and a first target value of the output data, and a feedforward compensator that performs feedforward control based on the first target value, input data that is input to the controlled object and output data that is output by the controlled object through control of the feedback compensator, in which an initial value of a first control parameter of the feedback compensator is set, and the feedforward compensator, in which an initial value of a second control parameter of the feedforward compensator is set; a first adjustment unit that uses a least squares method to obtain a minimum value of a first evaluation function indicating a difference between the input data, and a value obtained by inputting a deviation between the output data and a second target value based on a reference model designed to have predetermined response characteristics and the output data into the feedback compensator, thereby adjusting the first control parameter to a value corresponding to the minimum value of the first evaluation function; a second adjustment unit that uses a least squares method to find a minimum value of a second evaluation function indicating a difference between the input data and a value obtained by inputting the second target value to the feedforward compensator, and adjusts the second control parameter to a value corresponding to the minimum value of the second evaluation function; A parameter adjustment device having the following.
2. The acquisition unit acquires the second target value by inputting the output data to an inverse transfer function of the reference model. The parameter adjustment device according to claim 1 .
3. the feedback compensator includes a proportional unit, an integrator, and a differentiator; the feedforward compensator includes a transfer function using a first-order lag transfer function of the model of the controlled object and the reference model, the acquisition unit acquires the input data and the output data from the closed-loop control system in which an initial value of a proportional gain of the proportional unit, an initial value of an integral gain of the integrator, and an initial value of a differential gain of the differentiator are set in the feedback compensator as initial values of the first control parameters, and an initial value of a parameter of the first-order lag transfer function is set in the feedforward compensator as the initial value of the second control parameters.
3. The parameter adjustment device according to claim 1 or 2.
4. the feedback compensator includes a proportional unit, an integrator, and a differentiator; the acquisition unit acquires the input data and the output data from the closed-loop control system in which an initial value of a proportional gain of the proportional unit and an initial value of an integral gain of the integrator are set in the feedback compensator as initial values of the first control parameter.
3. The parameter adjustment device according to claim 1 or 2.
5. The acquisition unit acquires a steering angle input to a steering unit of the vehicle to be controlled as the input data, and acquires a yaw rate of the vehicle as the output data. The parameter adjustment device according to claim 1 or 2.
6. The computer executes a step of acquiring, from a closed-loop control system having a controlled object of a vehicle, a feedback compensator that performs feedback control based on output data of the controlled object and a first target value of the output data, and a feedforward compensator that performs feedforward control based on the first target value, input data to be input to the controlled object and output data output by the controlled object through control of the feedback compensator, in which an initial value of a first control parameter of the feedback compensator is set, and the feedforward compensator, in which an initial value of a second control parameter of the feedforward compensator is set; a step of finding a minimum value of a first evaluation function indicating a difference between the input data, a value obtained by inputting a deviation between the output data and a second target value based on a reference model designed to have predetermined response characteristics and the output data into the feedback compensator, by using a least squares method, thereby adjusting the first control parameter to a value corresponding to the minimum value of the first evaluation function; a step of finding a minimum value of a second evaluation function indicating a difference between the input data and a value obtained by inputting the second target value to the feedforward compensator, using a least squares method, thereby adjusting the second control parameter to a value corresponding to the minimum value of the second evaluation function; The parameter adjustment method has the following structure:
Citation Information
Patent Citations
Parameter adjusting device and parameter adjusting method
JP2022112300A
