Parameter adjustment device and parameter adjustment method
The parameter adjustment device and method simplify the tuning of feedback and feedforward controllers by using data-driven methods to adjust parameters based on steering angles and yaw rates, reducing the need for repetitive experiments and accurate modeling.
Patent Information
- Application Number
- JP2023035259
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-08
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2043-03-08
AI Technical Summary
Existing methods for adjusting control parameters of feedback and feedforward controllers in vehicle steering require repetitive experiments and accurate modeling, increasing workload.
A parameter adjustment device and method that utilizes a feedback controller and a feedforward controller, with an acquisition unit, adjustment units, and reference models to adjust control parameters based on input steering angles and yaw rates, using data-driven methods like VRFT and FRIT to minimize evaluation functions.
Enables easy adjustment of control parameters without repetitive experiments or accurate modeling, facilitating efficient parameter tuning.
Smart Images

Figure 2024126695000001
Abstract
Description
[Technical field]
[0001] The present invention relates to a parameter adjustment device and a parameter adjustment method. [Background technology]
[0002] Patent Document 1 discloses an automatic steering control device that uses both feedback control and feedforward control to automatically control the steering angle so that the vehicle follows a target trajectory. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Patent Publication No. 2021-142889 Summary of the Invention [Problem to be solved by the invention]
[0004] In the above technology, in order to perform desirable steering control, it is necessary to adjust the control parameters of the feedback controller and the feedforward controller. However, in the past, it was necessary to repeat experiments or perform highly accurate modeling in order to adjust the parameters, which increased the workload required for parameter adjustment.
[0005] The present invention has been made in consideration of these points, and has an object to make it possible to easily adjust the control parameters of a feedback controller and a feedforward controller. [Means for solving the problem]
[0006] In a first aspect of the present invention, there is provided a parameter adjustment device comprising: an acquisition unit that acquires an input steering angle input to the steering unit and output data output from the steering unit in response to an input of the input steering angle by adding a first steering angle output by a feedback controller that feedback controls a steering unit of a vehicle and a second steering angle output by a feedforward controller that feedforward controls the steering unit; a first adjustment unit that adjusts a first control parameter of the feedback controller based on a first reference model of the feedback controller and a set of the input steering angle and the output data; and a second adjustment unit that adjusts a second control parameter of the feedforward controller based on a second reference model of the feedforward controller and a set of the input steering angle and the output data.
[0007] Furthermore, the first adjustment unit may obtain the first control parameter so that an output value of a first evaluation function indicating an absolute value of a difference between a controller output value output by the feedback controller by inputting a first reference signal, which is obtained by subtracting the output data from an input value of the output data to an inverse transfer function of the first reference model, to the feedback controller, and the input steering angle acquired by the acquisition unit, is minimized.
[0008] In addition, the second adjustment unit may determine the second control parameter so that an output value of a second evaluation function indicating an absolute value of a difference between a model output value output by the second normative model by inputting a second reference signal indicating a control target value derived from the input steering angle and the output data to the second normative model and the output data acquired by the acquisition unit is minimized.
[0009] The acquisition unit may acquire the input steering angle and the output data detected while the vehicle is traveling at a predetermined vehicle speed.
[0010] The control system may further include a setting unit that sets the first reference model of the feedback controller and sets the second reference model of the feedforward controller.
[0011] The acquisition unit may acquire a yaw rate of the vehicle as the output data.
[0012] In a second aspect of the present invention, there is provided a parameter adjustment method including the steps of: adding a first steering angle output by a feedback controller that feedback controls a steering unit of a vehicle and a second steering angle output by a feedforward controller that feedforward controls the steering unit to obtain an input steering angle input to the steering unit and output data output from the steering unit in response to the input of the input steering angle, executed by a processor; adjusting a first control parameter of the feedback controller based on a first reference model of the feedback controller and a set of the input steering angle and the output data; and adjusting a second control parameter of the feedforward controller based on a second reference model of the feedforward controller and a set of the input steering angle and the output data. Effect of the Invention
[0013] According to the present invention, it is possible to easily adjust the control parameters of the feedback controller and the feedforward controller. [Brief description of the drawings]
[0014] [Figure 1] FIG. 2 is a diagram for explaining an overview of a vehicle S according to the present embodiment. [Diagram 2] FIG. 2 is a block diagram of a yaw rate control. [Diagram 3] 2 is a schematic diagram showing the dynamics of a vehicle S to be controlled. [Figure 4] 1 is a flowchart showing a flow of adjustment of a control parameter. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0015] <Overview of Vehicle S> 1 is a diagram for explaining an overview of a vehicle S according to this embodiment. The vehicle S has a function of calculating a steering angle for traveling along a set route and automatically steering the vehicle S when turning. The vehicle S includes a sensor unit 1, a state identification unit 2, a feedback controller 5, a feedforward controller 6, and a parameter adjustment device 10.
[0016] The sensor unit 1 has, for example, a steering angle sensor and a yaw rate sensor, and detects the steering angle and yaw rate of the vehicle S while it is running.
[0017] The state identification unit 2 includes a receiving device that receives radio waves indicating the position of the vehicle S from an external positioning system such as a Global Navigation Satellite System (GNSS), and an Inertial Measurement Unit (IMU) including an acceleration sensor and an angular velocity sensor. The state identification unit 2 uses the receiving device and the IMU to identify, for example, a target yaw rate for traveling along a set route.
[0018] The feedback controller 5 performs feedback control of a control object of the vehicle S, and the feedforward controller 6 performs feedforward control of the control object. Here, the feedback controller 5 and the feedforward controller 6 control the yaw rate of the vehicle S to become a target yaw rate. Specifically, the feedback controller 5 and the feedforward controller 6 input a steering angle corresponding to the target yaw rate to the control object to control the yaw rate.
[0019] FIG. 2 is a block diagram of the yaw rate control. FF is the feedforward controller 6, and C FB is the feedback controller 5. r is the target yaw rate, and y is the actual yaw rate (simply called the yaw rate). T dis a reference model, and P is a transfer function of the controlled object. Here, the controlled object is a vehicle S (specifically, the steering unit of the vehicle S). The steering unit has a function of automatically steering the vehicle S. The steering unit rotates a steering shaft using a steering motor or the like based on a steering angle u input from a feedback controller 5 and a feedforward controller 6, and turns the traveling vehicle S to the left or right. The steering angle u input to the controlled object P is a steering angle obtained by adding the first steering angle output by the feedback controller 5 and the second steering angle output by the feedforward controller.
[0020] FIG. 3 is a schematic diagram showing the dynamics of the vehicle S to be controlled. In FIG. 3, the side slip angle β and the yaw rate y of the vehicle S when the vehicle S is traveling at a vehicle speed v are shown. f is the distance from the center of gravity of the vehicle S to the front wheel, and l r is the distance from the center of gravity to the rear wheel, and u is the steering angle of the tire.
[0021] If the tire characteristics of the left and right wheels are the same, the response sy from the steering angle u to the yaw rate y can be expressed as the following equation (1). JPEG2024126695000002.jpg1292
[0022] The coefficients of the formula (1) are given as the following formulas (2) to (4). JPEG2024126695000003.jpg3782C in Equations (2) to (4) f is the cornering coefficient of the front wheels, and C r is the rear wheel cornering coefficient.
[0023] Here, in order to simplify the feedforward controller 6, the slip angle β and the coefficient b 21 At least one of b is sufficiently small, 21 Assume that β can be considered to be ≒ 0. Based on the above assumptions, the response sy from the steering angle u to the yaw rate y can be expressed as the following equation (5). JPEG2024126695000004.jpg1382
[0024] From equation (5), the transfer function of vehicle S can be expressed as a first-order lag system as shown in equation (6) below. JPEG2024126695000005.jpg1977In equation (6), T=1 / b 23 and K=-b 22 / b 23 It is.
[0025] The parameter adjustment device 10 adjusts a first control parameter of the feedback controller 5 and a second control parameter of the feedforward controller 6. The parameter adjustment device 10 adjusts the first control parameter of the feedback controller 5 based on a first reference model of the feedback controller 5 and a set of an input steering angle and a yaw rate, as will be described in detail later. The parameter adjustment device 10 also adjusts the second control parameter of the feedforward controller 6 based on a second reference model of the feedforward controller 6 and a set of an input steering angle and a yaw rate. By adjusting the first control parameter and the second control parameter as described above, the first control parameter and the second control parameter can be easily adjusted without performing repeated experiments and without performing highly accurate modeling.
[0026] <Detailed configuration of the parameter adjustment device> As shown in FIG. 1, the parameter adjustment device 10 has a storage unit 20 and a control unit 30.
[0027] The storage unit 20 includes a ROM (Read Only Memory) that stores the computer's BIOS (Basic Input Output System) and the like, and a RAM (Random Access Memory) that serves as a working area. The storage unit 20 is also a large-capacity storage device such as an HDD (Hard Disk Drive) or SSD (Solid State Drive) that stores an OS (Operating System), application programs, and various information referenced when the application programs are executed.
[0028] The control unit 30 is a processor such as a CPU (Central Processing Unit) or a GPU (Graphics Processing Unit). The control unit 30 executes a program stored in the storage unit 20 to function as a setting unit 32, an acquisition unit 33, a first adjustment unit 34, and a second adjustment unit 35. The control unit 30 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.
[0029] The setting unit 32 sets a reference model T FB The setting unit 32 also sets a reference model T d Set the reference model T FB and Reference Model T d is set by the designer, for example.
[0030] The setting unit 32 sets the reference model T d and the inverse model of the above-mentioned equation (6), the feedforward controller 6 is set as shown in equation (7). JPEG2024126695000006.jpg1477 Note that T and K shown in equation (6) are control parameters of the feedforward controller 6.
[0031] Moreover, the setting unit 32 sets the feedback controller 5, which is a PI controller, as shown in equation (8). JPEG2024126695000007.jpg1377Note, K P is the P gain and K I is the I gain. K P and K. I are the control parameters of the feedback controller 5.
[0032] The acquisition unit 33 acquires a first control parameter of the feedback controller 5 (specifically, K P and K. I) and the second control parameters (specifically, T and K) of the feedforward controller 6, a set of input data and output data to the steering unit of the vehicle S is obtained as experimental data. The set of input data and output data is time-series data. The input data is an input steering angle input to the steering unit of the vehicle S, and the output data is a yaw rate output from the steering unit in response to the input of the input steering angle.
[0033] The acquisition unit 33 acquires a pair of input steering angle and yaw rate detected while the vehicle S is traveling at a predetermined vehicle speed. Specifically, the acquisition unit 33 acquires the input steering angle and yaw rate detected by the sensor unit 1 and the state identification unit 2 while the vehicle S is traveling at a constant speed. By acquiring experimental data while the vehicle S is traveling at a constant speed in this manner, it becomes easier to adjust the first control parameter of the feedback controller 5 and the second control parameter of the feedforward controller 6 to desired values.
[0034] The first adjustment unit 34 adjusts the reference model T FB Based on the set of the input steering angle and the yaw rate, the first adjustment unit 34 adjusts the first control parameter of the feedback controller 5. That is, the first adjustment unit 34 adjusts the first control parameter of the feedback controller 5 based on the set of the reference model T FB Then, the first control parameter is adjusted based on the input steering angle and yaw rate acquired by the acquisition unit 33.
[0035] The first adjustment unit 34 adjusts the first control parameter of the feedback controller 5 by VRFT (Virtual Reference Feedback Tuning), which is a data-driven controller adjustment method. VRFT is a method for adjusting a controller using input / output data in an open loop obtained from data from a single experiment. Adjustment of the first control parameter using VRFT is performed according to the following procedure.
[0036] First, the first adjustment unit 34 adjusts the reference model T FB A pseudo error signal, which is a first reference signal, is obtained by subtracting the output data from the input value of the output data to the inverse transfer function of the above. The pseudo error signal is defined as shown in Equation (9). JPEG2024126695000008.jpg1382F in formula (9) is a prefilter. The prefilter is set as shown in formula (10) from the viewpoint of reducing the number of design steps. JPEG2024126695000009.jpg1258
[0037] In the formula (9), y0 is the yaw rate acquired by the acquisition unit 33. Therefore, the first adjustment unit 34 inputs the yaw rate y0 acquired by the acquisition unit 33 into the formula (9) to obtain the pseudo error signal e f can be sought.
[0038] Next, the first adjustment unit 34 calculates the pseudo error signal e f The first control parameter is calculated by a first evaluation function using a pseudo reference signal e f is a function indicating the absolute value of the difference between the controller output value output by the feedback controller 5 by inputting to the feedback controller 5, and the input steering angle u0 acquired by the acquisition unit 33. The first evaluation function is defined as shown in Equation (11). JPEG2024126695000010.jpg10115
[0039] In the formula (11), u0 is the input steering angle acquired by the acquisition unit 33. JPEG2024126695000011.jpg15170The number N is the number of data points of the time signal w, and the variable T is the sampling time.
[0040] The first adjustment unit 34 obtains the first control parameter so that the output value of the first evaluation function is minimized. That is, the first adjustment unit 34 obtains the first control parameter by minimizing the first evaluation function to which the input steering angle u0 and yaw rate y0 acquired by the acquisition unit 33 are input. The first adjustment unit 34 obtains the first control parameter by minimizing K P and K. I Request.
[0041] Here, the meaning of the first evaluation function in equation (11) will be explained. If the influence of disturbance noise contained in the yaw rate y0 acquired by the acquisition unit 33 is sufficiently small, the formula (12) holds true. JPEG2024126695000012.jpg1051
[0042] By substituting equation (12) into equation (11) and rearranging, it can be transformed into equation (13). JPEG2024126695000013.jpg41127C in formula (13) d is an ideal controller that satisfies equation (14). JPEG2024126695000014.jpg1272
[0043] Equation (13) means that the relative error between the open-loop transfer function and the ideal open-loop transfer function is evaluated. In other words, the desired feedback controller 5 can be obtained by minimizing the first evaluation function of equation (11).
[0044] The second adjustment unit 35 adjusts the reference model T d Based on the set of the input steering angle and the yaw rate, the second adjustment unit 35 adjusts the second control parameter of the feedforward controller 6. That is, the second adjustment unit 35 adjusts the second control parameter of the feedforward controller 6 based on the set of the reference model T d Then, the second control parameter is adjusted based on the input steering angle and yaw rate acquired by the acquisition unit 33.
[0045] The second adjustment unit 35 adjusts the second control parameter of the feedforward controller 6 by FRIT (Fictitious Reference Iterative Tuning), which is a data-driven controller adjustment method. FRIT is a method for adjusting a controller using closed-loop response data obtained from a single experiment. Adjustment of the second control parameter using FRIT is performed according to the following procedure.
[0046] First, the second adjustment unit 35 obtains a pseudo reference signal, which is a second reference signal indicating a control target value derived from the input steering angle and yaw rate. That is, the second adjustment unit 35 obtains the pseudo reference signal based on the steering angle u0 and yaw rate y0 acquired by the acquisition unit 33. The pseudo reference signal is defined as shown in equation (15) from the block diagram of FIG. 2. JPEG2024126695000015.jpg12102
[0047] C in Equation (15) FB is obtained by minimizing the first evaluation function of the formula (11). The second adjustment unit 35 inputs the input steering angle u0 and the yaw rate y0 acquired by the acquisition unit 33 into the formula (15) to obtain the pseudo reference signal r c can be sought.
[0048] Next, the second adjustment unit 35 adjusts the pseudo reference signal r c The second control parameter is calculated by the second evaluation function using the pseudo reference signal r c Model T d By inputting the normative model T d and the yaw rate y acquired by the acquisition unit 33. o The second evaluation function is a function that indicates the absolute value of the difference between and. The second evaluation function is defined as the following formula (16). JPEG2024126695000016.jpg11102v0 in equation (16) is the input steering angle u o and yaw rate y o is the speed of vehicle S (constant speed) when obtaining the
[0049] The second adjustment unit 35 obtains the second control parameters so that the output value of the second evaluation function is minimized. That is, the second adjustment unit 35 obtains the second control parameters by minimizing the second evaluation function to which the input steering angle u0 and yaw rate y0 acquired by the acquisition unit 33 are input. The second adjustment unit 35 obtains T and K shown in equation (6) as the second control parameters.
[0050] Here, the meaning of the second evaluation function in equation (16) will be explained. It is known that the closed-loop transfer function of a two-degree-of-freedom control system is expressed as equation (17). JPEG2024126695000017.jpg1177
[0051] By substituting equations (12) and (15) into equation (16) and rearranging, it can be transformed into equation (18). JPEG2024126695000018.jpg77115
[0052] Equation (18) expresses the closed-loop transfer function T ry and Reference Model T d This means that the relative error of is evaluated. When the output value of the second evaluation function becomes 0, T ry and T d In other words, minimizing the second evaluation function in equation (16) is equivalent to minimizing the closed-loop transfer function T ry and Reference Model T d This means reducing the relative error of
[0053] In the above description, the output data is the yaw rate of the vehicle, but is not limited to this. For example, the acquisition unit 33 may acquire a yaw angle instead of the yaw rate as the output data.
[0054] <Flow of control parameter adjustment> 4 is a flowchart showing the flow of adjustment of the control parameters. The adjustment of the first control parameter and the second control parameter is performed while the vehicle S is stopped.
[0055] First, the setting unit 32 sets a first reference model of the feedback controller 5 and a second reference model of the feedforward controller 6 (step S102). For example, based on values input by a designer or the like, the setting unit 32 sets a reference model T FB and the second normative model, normative model T d Set.
[0056] Next, the acquisition unit 33 acquires a pair of input steering angle and yaw rate detected when the vehicle was traveling before stopping (step S104). Here, the acquisition unit 33 acquires a pair of input steering angle u0 and yaw rate y0 detected when the vehicle was traveling at a constant speed.
[0057] Next, the first adjustment unit 34 adjusts the reference model T FB Based on the pair of input steering angle u0 and yaw rate y0, the first control parameter of the feedback controller 5 is adjusted (step S106). That is, the first adjustment unit 34 adjusts the first control parameter K P and K. I Then, the first adjustment section 34 updates the first control parameter to the obtained first control parameter.
[0058] Next, the second adjustment unit 35 adjusts the reference model T d Then, based on a pair of the input steering angle u0 and the yaw rate y0, the second control parameters of the feedforward controller 6 are adjusted (step S108). That is, the second adjustment unit 35 obtains the second control parameters T and K by minimizing the second evaluation function of the equation (16). Then, the second adjustment unit 35 updates the second control parameters to the obtained ones.
[0059] <Effects of this embodiment> The parameter adjustment device 10 of the above embodiment uses a reference model T FB Based on the input steering angle u0 and the output data of the yaw rate y0, the parameter adjustment device 10 adjusts a first control parameter of the feedback controller 5. The parameter adjustment device 10 also adjusts a reference model T d and adjusts a second control parameter of the feedforward controller 6 based on a set of the input steering angle u0 and the yaw rate y0. This makes it possible to easily adjust the first control parameter and the second control parameter without performing repeated experiments and without performing highly accurate modeling.
[0060] 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]
[0061] 5 Feedback Controller 6 Feedforward Controller 10 Parameter Adjustment Device 32 Setting section 33 Acquisition Department 34 1st adjustment section 35 2nd adjustment section S vehicle
Claims
1. an acquisition unit that acquires an input steering angle input to the steering unit by adding a first steering angle output by a feedback controller that performs feedback control of a steering unit of the vehicle and a second steering angle output by a feedforward controller that performs feedforward control of the steering unit, and acquires output data output from the steering unit in response to the input of the input steering angle; a first adjustment unit that adjusts a first control parameter of the feedback controller based on a first reference model of the feedback controller and a set of the input steering angle and the output data; a second adjustment unit that adjusts a second control parameter of the feedforward controller based on a second reference model of the feedforward controller and a set of the input steering angle and the output data; A parameter adjustment device comprising:
2. The first adjustment unit is a first reference signal obtained by subtracting the output data from an input value of the output data to an inverse transfer function of the first reference model is input to the feedback controller, and the first control parameter is obtained so that an output value of a first evaluation function indicating an absolute value of a difference between a controller output value output by the feedback controller and the input steering angle acquired by the acquisition unit is minimized; The parameter adjustment device according to claim 1 .
3. The second adjustment unit is a second reference signal indicating a control target value derived from the input steering angle and the output data is input to the second normative model, and the second control parameter is obtained so that an output value of a second evaluation function indicating an absolute value of a difference between a model output value output by the second normative model and the output data acquired by the acquisition unit is minimized. The parameter adjustment device according to claim 1 .
4. The acquisition unit acquires the input steering angle and the output data detected while the vehicle is traveling at a predetermined vehicle speed. The parameter adjustment device according to claim 1 .
5. A setting unit that sets the first reference model of the feedback controller and sets the second reference model of the feedforward controller, The parameter adjustment device according to claim 1 .
6. The acquisition unit acquires a yaw rate of the vehicle as the output data. The parameter adjustment device according to claim 1 .
7. The processor executes a step of adding a first steering angle output by a feedback controller that performs feedback control of a steering unit of a vehicle and a second steering angle output by a feedforward controller that performs feedforward control of the steering unit to obtain an input steering angle input to the steering unit and output data output from the steering unit in response to the input of the input steering angle; Adjusting a first control parameter of the feedback controller based on a first reference model of the feedback controller and a set of the input steering angle and the output data; adjusting a second control parameter of the feedforward controller based on a second reference model of the feedforward controller and a set of the input steering angle and the output data; The parameter adjustment method includes:
Citation Information
Patent Citations
Driver model and assistant functional evaluation device of vehicle behavior control system furnished with the driver model
JP2005335588A
Lane-keep support apparatus
JP2018047754A
Automatic steering control device, automatic steering control method, automatic steering program and vehicle
JP2021031018A
Automatic steering control apparatus, automatic steering control method, and automatic steering program
JP2021142889A
Vehicle position determining device
JP2022023388A
