Vehicle and control method and control device thereof
By constructing a vehicle model and a rear wheel steering model, the error compensation amount is calculated to accurately define the target rear wheel angle, which solves the problems of rear wheel angle mutation and insufficient stability in the existing technology, and improves the vehicle's handling and stability.
Patent Information
- Application Number
- CN202410763894.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-13
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2044-06-13
AI Technical Summary
Existing active rear-wheel steering technology may cause sudden changes in the rear wheel angle when the target yaw angular velocity and the actual yaw angular velocity are significantly different, and cannot comprehensively consider changes in other characteristic signals of the vehicle, affecting handling and stability.
By constructing the state space equation of the vehicle model and the state space equation of the rear wheel steering model, the rear wheel steering error equation is determined, the closed-loop feedback compensation amount and the feedforward compensation amount are calculated based on the error equation, and the target rear wheel turning angle is accurately defined to achieve a more accurate vehicle control.
It improves the vehicle's handling and stability, reduces the angle error of the rear wheel angle, and enhances the vehicle's responsiveness under various driving conditions.
Smart Images

Figure CN118770193A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of vehicles, and in particular to a vehicle control method, a vehicle control device and a vehicle. Background Art
[0002] As a chassis control system that improves vehicle handling and stability, active rear-wheel steering technology has a very broad future development prospect. When the car is driving at low speed, active rear-wheel steering technology can make the vehicle maneuverability more flexible, which is very helpful for urban driving, parking or avoiding obstacles. When the car is driving at high speed, active rear-wheel steering technology can improve the vehicle's understeering ability, making the vehicle more stable and safe. In addition, active rear-wheel steering technology can also be combined with active safety control, automatic driving and other technologies to improve driving experience and safety.
[0003] In the related art, the target value output of the rear wheel angle is realized by using PID (Proportional Integral Derivative) control based on the error between the target yaw rate and the actual yaw rate, and the control scheme is simple. However, this scheme is limited by the algorithm. When the error between the target yaw rate and the actual yaw rate is large, the target rear wheel angle may suddenly change, which is not good for the rear wheel actuator. At the same time, this scheme cannot comprehensively consider the changes of other vehicle characteristic signals such as the sideslip angle of the center of mass or the lateral acceleration during the actual vehicle calibration, which is easy to cause other problems. Summary of the invention
[0004] The present invention aims to solve at least one of the technical problems in the related art to a certain extent. To this end, the first purpose of the present invention is to propose a vehicle control method, construct a state space equation of a vehicle model and a state space equation of a rear wheel steering model according to vehicle parameters, determine the vehicle's rear wheel steering error equation based on the state space equation of the vehicle model and the state space equation of the rear wheel steering model, determine a closed-loop feedback compensation amount according to the rear wheel steering error equation, and determine a feedforward compensation amount according to the rear wheel steering error equation and the control focus, determine a target rear wheel steering angle according to the closed-loop feedback compensation amount and the feedforward compensation amount, and control the vehicle based on the target rear wheel steering angle, so that the angle of the rear wheel steering angle can be accurately determined, and the handling and stability of the vehicle can be improved.
[0005] A second object of the present invention is to provide a control device for a vehicle.
[0006] A third object of the present invention is to provide a vehicle.
[0007] To achieve the above-mentioned purpose, an embodiment of the first aspect of the present invention proposes a vehicle control method, the method comprising: constructing a state-space equation of a vehicle model and a state-space equation of a rear-wheel steering model according to parameters of the vehicle; determining a rear-wheel steering error equation of the vehicle based on the state-space equation of the vehicle model and the state-space equation of the rear-wheel steering model; determining a closed-loop feedback compensation amount according to the rear-wheel steering error equation, and determining a feedforward compensation amount according to the rear-wheel steering error equation and control focus; determining a target rear-wheel steering angle according to the closed-loop feedback compensation amount and the feedforward compensation amount; and controlling the vehicle based on the target rear-wheel steering angle.
[0008] According to the vehicle control method of the embodiment of the present invention, the state space equation of the vehicle model and the state space equation of the rear wheel steering model are constructed according to the parameters of the vehicle, the rear wheel steering error equation of the vehicle is determined based on the state space equation of the vehicle model and the state space equation of the rear wheel steering model, the closed-loop feedback compensation amount is determined according to the rear wheel steering error equation, and the feedforward compensation amount is determined according to the rear wheel steering error equation and the control focus, the target rear wheel steering angle is determined according to the closed-loop feedback compensation amount and the feedforward compensation amount, and the vehicle is controlled based on the target rear wheel steering angle. Therefore, the method can accurately determine the angle of the rear wheel steering angle and improve the controllability and stability of the vehicle.
[0009] In addition, the vehicle control method according to the above embodiment of the present invention may also have the following additional technical features:
[0010] According to one embodiment of the present invention, the rear wheel steering error equation is:
[0011]
[0012] in, u=δ r , err = xx d is the error state vector, Δ1 is the first error, Δ2 is the second error, where, in, is the front wheel cornering stiffness, is the rear wheel cornering stiffness, m is the vehicle mass, I z is the moment of inertia of the vehicle around the Z axis of the body coordinate system, l f is the distance from the center of mass to the front axle, l r is the distance from the center of mass to the rear axle, v x is the longitudinal speed, δ r is the rear wheel turning angle, β is the actual center of mass sideslip angle, is the actual vehicle yaw rate, β d is the ideal center of mass sideslip angle, is the ideal yaw rate, the first error is w*(CCd ), the second error is x d *(AA d ), w=δ f , δ f is the front wheel turning angle, τ β is the low-pass filter time constant of the sideslip angle of the center of mass, is the yaw rate low-pass filter time constant, is the target center of mass sideslip angle gain, is the target yaw rate gain.
[0013] According to one embodiment of the present invention, determining the closed-loop feedback compensation amount based on the rear-wheel steering error equation includes: performing linear quadratic programming solution based on the linear part of the rear-wheel steering error equation to determine the closed-loop feedback gain; and determining the closed-loop feedback compensation amount based on the closed-loop feedback gain and the error state vector.
[0014] According to one embodiment of the present invention, the closed-loop feedback gain is:
[0015] K FB =(R+B T P k+1 B) -1 B T P k+1 A
[0016] Among them, K FB is the feedback gain, R is the control penalty parameter, P k+1 Iteratively solve the matrix for the Riccati equation, in, is the front wheel cornering stiffness, is the rear wheel cornering stiffness, m is the vehicle mass, I z is the moment of inertia of the vehicle around the Z axis of the body coordinate system, l f is the distance from the center of mass to the front axle, l r is the distance from the center of mass to the rear axle, v x is the longitudinal speed.
[0017] According to an embodiment of the present invention, determining the closed-loop feedback compensation amount according to the closed-loop feedback gain and the error state vector includes: taking the inverse of the product of the feedback gain and the error state vector as the closed-loop feedback compensation amount.
[0018] According to one embodiment of the present invention, determining the feedforward compensation amount based on the rear wheel steering error equation and the control focus includes: solving the rear wheel steering error equation with emphasis, and obtaining a feedforward compensation amount with emphasis on the yaw angular velocity and a feedforward compensation amount with emphasis on the sideslip angle of the center of mass, respectively.
[0019] According to one embodiment of the present invention, the feedforward compensation amount focusing on the yaw angular velocity is determined by the following formula:
[0020]
[0021] in, is the feedforward compensation amount focusing on the yaw angular velocity,
[0022] K FB represents the closed-loop feedback gain, is the front wheel cornering stiffness, is the rear wheel cornering stiffness, m is the vehicle mass, I z is the moment of inertia of the vehicle around the Z axis of the body coordinate system, l f is the distance from the center of mass to the front axle, l r is the distance from the center of mass to the rear axle, v x is the longitudinal speed, Δ1 is the first error, Δ2 is the second error, and the first error is w*(CC d ), the second error is w=δ f , δ f is the front wheel turning angle, τ β is the low-pass filter time constant of the sideslip angle of the center of mass, is the yaw rate low-pass filter time constant, is the target center of mass sideslip angle gain, is the target yaw rate gain.
[0023] According to one embodiment of the present invention, the feedforward compensation amount focusing on the sideslip angle of the center of mass is determined by the following formula:
[0024]
[0025] Among them, u FFβ is the feedforward compensation amount focusing on the sideslip angle of the center of mass, K FB is the closed-loop feedback gain, is the rear wheel cornering stiffness, is the front wheel cornering stiffness, m is the vehicle mass, I z is the moment of inertia of the vehicle around the Z axis of the body coordinate system, l f is the distance from the center of mass to the front axle, l r is the distance from the center of mass to the rear axle, v x is the longitudinal speed, Δ1 is the first error, Δ2 is the second error, and the first error is w*(CCd ), the second error is x d *(AA d ), w=δ f , δ f is the front wheel turning angle, τ β is the low-pass filter time constant of the sideslip angle of the center of mass, is the yaw rate low-pass filter time constant, is the target center of mass sideslip angle gain, is the target yaw rate gain.
[0026] According to an embodiment of the present invention, determining the target rear wheel steering angle according to the closed-loop feedback compensation amount and the feedforward compensation amount includes: determining the target rear wheel steering angle according to the sum of the closed-loop feedback compensation amount and the feedforward compensation amount.
[0027] According to one embodiment of the present invention, the state space equation of the vehicle model is:
[0028]
[0029] in, β d is the ideal center of mass sideslip angle, is the ideal yaw angular velocity;
[0030] The state space equation of the rear wheel steering model is:
[0031]
[0032] in, β is the actual center of mass sideslip angle, is the actual vehicle yaw angular velocity.
[0033] According to an embodiment of the present invention, the method further comprises: filtering the ideal center of mass sideslip angle and the ideal yaw rate based on a filtering parameter.
[0034] To achieve the above-mentioned purpose, the second aspect of the present invention proposes a vehicle control device, which includes: a construction module, which is used to construct the state-space equation of the vehicle model and the state-space equation of the rear-wheel steering model according to the parameters of the vehicle; a first determination module, which is used to determine the rear-wheel steering error equation of the vehicle based on the state-space equation of the vehicle model and the state-space equation of the rear-wheel steering model; a second determination module, which is used to determine the closed-loop feedback compensation amount according to the rear-wheel steering error equation, and determine the feedforward compensation amount according to the rear-wheel steering error equation and the control focus; a third determination module, which is used to determine the target rear wheel steering angle according to the closed-loop feedback compensation amount and the feedforward compensation amount; and a control module, which is used to control the vehicle based on the target rear wheel steering angle.
[0035] According to the vehicle control device of the embodiment of the present invention, the construction module is used to construct the state space equation of the vehicle model and the state space equation of the rear wheel steering model according to the parameters of the vehicle, the first determination module is used to determine the rear wheel steering error equation of the vehicle based on the state space equation of the vehicle model and the state space equation of the rear wheel steering model, the second determination module is used to determine the closed-loop feedback compensation amount according to the rear wheel steering error equation, and determine the feedforward compensation amount according to the rear wheel steering error equation and the control focus, the third determination module is used to determine the target rear wheel steering angle according to the closed-loop feedback compensation amount and the feedforward compensation amount, and the control module is used to control the vehicle based on the target rear wheel steering angle. As a result, the device can accurately determine the angle of the rear wheel steering angle and improve the handling and stability of the vehicle.
[0036] To achieve the above-mentioned purpose, a vehicle is proposed in an embodiment of the third aspect of the present invention, comprising a memory, a processor and a program stored in the memory and executable on the processor, wherein when the processor executes the program, the above-mentioned vehicle control method is implemented.
[0037] According to the vehicle of the embodiment of the present invention, by executing the above-mentioned vehicle control method, the angle of the rear wheel turning angle can be accurately determined, thereby improving the controllability and stability of the vehicle.
[0038] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 is a flow chart of a vehicle control method according to an embodiment of the present invention;
[0040] Figure 2 A flowchart of a vehicle control method according to a specific example of the present invention;
[0041] Figure 3is a block diagram of a control device for a vehicle according to an embodiment of the present invention;
[0042] Figure 4 FIG. 4 is a block diagram of a vehicle according to an embodiment of the present invention. DETAILED DESCRIPTION
[0043] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.
[0044] The following describes a vehicle control method, a vehicle control device, and a vehicle according to embodiments of the present invention with reference to the accompanying drawings.
[0045] Figure 1 4 is a flow chart of a vehicle control method according to an embodiment of the present invention.
[0046] like Figure 1 As shown, the vehicle control method of the embodiment of the present invention may include the following steps:
[0047] S1, constructing the state space equation of the vehicle model and the state space equation of the rear wheel steering model according to the vehicle parameters.
[0048] S2, determining a rear wheel steering error equation of the vehicle based on a state space equation of the vehicle model and a state space equation of the rear wheel steering model.
[0049] S3, determining a closed-loop feedback compensation amount according to a rear wheel steering error equation, and determining a feedforward compensation amount according to the rear wheel steering error equation and a control focus.
[0050] S4, determining the target rear wheel steering angle according to the closed-loop feedback compensation amount and the feedforward compensation amount.
[0051] S5, controlling the vehicle based on the target rear wheel steering angle.
[0052] Specifically, when constructing the state space equation of the vehicle model and the state space equation of the rear wheel steering model, they can be constructed according to the parameters of the vehicle. That is, these equations can be constructed based on the two-degree-of-freedom model (yaw motion and lateral motion) and the rear wheel steering control. For example, the parameters of the vehicle may include the vehicle mass, the moment of inertia of the vehicle around the vertical axis, the vehicle wheelbase, the front wheel lateral stiffness, the rear wheel lateral stiffness, the distance from the center of mass to the front axle, the distance from the center of mass to the rear axle, the longitudinal speed of the vehicle, etc. When determining the state space equation of the vehicle model, the state variables can be defined as the center of mass lateral slip angle and the yaw angular velocity, and the input variable can be defined as the front wheel turning angle, that is, the front wheel turning angle can be determined according to the current steering angle of the steering wheel, so that the state space equation of the vehicle can be determined according to the vehicle dynamics equation and converted into a standard state space form. Similarly, when determining the state space equation of the rear wheel steering model, the rear wheel turning angle can be added as an input variable, and the state space equation of the vehicle can be determined according to the vehicle dynamics equation and converted into a standard state space form.
[0053] After determining the state space equation of the vehicle model and the state space equation of the rear wheel steering model, the rear wheel steering error equation of the vehicle can be determined according to the state space equation of the vehicle model and the state space equation of the rear wheel steering model, that is, the rear wheel steering error equation of the vehicle is used to describe the difference between the actual rear wheel steering angle and the target rear wheel steering angle. By determining the rear wheel steering error equation, a physical model can be made for solving the optimal closed-loop feedback compensation amount and feedforward compensation amount. Therefore, after determining the rear wheel steering error equation, the closed-loop feedback compensation amount can be determined according to the rear wheel steering error equation, that is, the closed-loop feedback control can be used to compensate the error to ensure that the actual response of the vehicle's rear wheel steering is consistent with the target response. The error between the actual output and the target output can be measured and the control input can be dynamically adjusted to minimize the error and make the error approach zero. And the feedforward compensation amount can be determined according to the rear wheel steering error equation and the control focus. For example, the control focus can be selected based on whether to focus on the center of mass sideslip angle or the yaw angular velocity. The control focus based on the center of mass sideslip angle means that the error between the center of mass sideslip angle measured by the actual vehicle and the target center of mass sideslip angle is zero, and the control focus based on the yaw angular velocity means that the error between the yaw angular velocity measured by the actual vehicle and the target yaw angular velocity is zero.
[0054] After the closed-loop feedback compensation amount and the feedforward compensation amount are determined, the target rear wheel steering angle can be determined according to the closed-loop feedback compensation amount and the feedforward compensation amount, for example, the target rear wheel steering angle is determined by a preset corresponding relationship, for example, the relationship between the closed-loop feedback compensation amount and the feedforward compensation amount and the target rear wheel steering angle is predetermined, and after the closed-loop feedback compensation amount and the feedforward compensation amount are determined, the target rear wheel steering angle can be obtained by directly calling the corresponding relationship. That is, by combining the feedforward control and the feedback control, a better control effect can be achieved, ensuring that the vehicle rear wheel steering system can stably and accurately track the target trajectory under various conditions.
[0055] After obtaining the target rear wheel steering angle, the vehicle can be controlled according to the target rear wheel steering angle. For example, the actual rear wheel steering angle can be adjusted according to the target rear wheel steering angle, such as by using an electric servo motor or a hydraulic servo system to achieve the actual steering of the rear wheels. That is, by accurately controlling the rear wheel steering angle, the side slip of the vehicle when driving at high speed can be effectively reduced, the stability of the vehicle can be improved, and the steering flexibility of the vehicle when driving at low speed can be improved, making the vehicle easier to control in a narrow space, and the turning radius of the vehicle can be reduced, the turning efficiency can be improved, and the handling performance of the vehicle can be enhanced. In this way, the angle of the rear wheel steering angle can be accurately determined, and the handling and stability of the vehicle can be improved.
[0056] According to one embodiment of the present invention, the rear wheel steering error equation is:
[0057]
[0058] Among them, among them, u=δ r , err = xx d is the error state vector, Δ1 is the first error, Δ2 is the second error, where, in, is the front wheel cornering stiffness, is the rear wheel cornering stiffness, m is the vehicle mass, I z is the moment of inertia of the vehicle around the Z axis of the body coordinate system, l f is the distance from the center of mass to the front axle, l r is the distance from the center of mass to the rear axle, v x is the longitudinal speed, δ r is the rear wheel turning angle, β is the actual center of mass sideslip angle, is the actual vehicle yaw rate, β d is the ideal center of mass sideslip angle, is the ideal yaw rate, the first error is w*(CC d ), the second error is x d *(AA d ), w=δ f , δ fis the front wheel turning angle, τ β is the low-pass filter time constant of the sideslip angle of the center of mass, is the yaw rate low-pass filter time constant, is the target center of mass sideslip angle gain, is the target yaw rate gain.
[0059] Further, according to one embodiment of the present invention, the state space equation of the vehicle model is:
[0060]
[0061] in, β d is the ideal center of mass sideslip angle, is the ideal yaw angular velocity;
[0062] The state space equation of the rear wheel steering model is:
[0063]
[0064] in, β is the actual center of mass sideslip angle, is the actual vehicle yaw rate.
[0065] Further, according to an embodiment of the present invention, the vehicle control method further includes: filtering the ideal center of mass sideslip angle and the ideal yaw rate based on a filtering parameter.
[0066] Specifically, the rear wheel steering error equation of the vehicle is determined based on the state space equation of the vehicle model and the state space equation of the rear wheel steering model as shown in the above formula (1). Specifically, the state space equation of the vehicle model is first determined, that is, the above formula (2), the input quantity w is the front wheel steering angle, the state quantity x is the ideal center of mass sideslip angle β d , and the ideal vehicle yaw rate In order to avoid the damage to the rear-wheel steering controller caused by the jump or step of the target rear wheel angle, the ideal target signal can be filtered to achieve a smooth transition of the target value. The filter parameters of the ideal center of mass sideslip angle and the ideal yaw rate can be adjusted according to actual needs. For example, the target state space equation of yaw rate and center of mass sideslip angle can be constructed based on the filter parameters:
[0067]
[0068] in,
[0069] Among them, τ β is the time constant of low-pass filter of the sideslip angle of the center of mass; is the yaw rate low-pass filter time constant; is the ideal center of mass sideslip angle gain; is the ideal yaw rate gain; β d is the ideal center of mass sideslip angle; is the ideal yaw rate.
[0070] Therefore, the rear wheel steering error equation (1) can be determined based on the state space equation (3) of the rear wheel steering model and the state space equation (4) of the filtered vehicle model, that is, and After subtraction, we get Transformable to make xx d = err, and after simplification, we can get Where err is the error state vector, which is the difference between the measured x (actual center of mass sideslip angle and actual vehicle yaw rate) and the ideal center of mass sideslip angle and ideal yaw rate calculated by simulating the state space equation (3) of the rear-wheel steering model.
[0071] According to one embodiment of the present invention, a closed-loop feedback compensation amount is determined based on a rear-wheel steering error equation, including: performing a linear quadratic programming solution based on a linear part of the rear-wheel steering error equation to determine a closed-loop feedback gain; and determining the closed-loop feedback compensation amount based on the closed-loop feedback gain and an error state vector.
[0072] Specifically, when determining the closed-loop feedback compensation amount according to the rear-wheel steering error equation, the linear quadratic programming can be solved according to the linear part of the rear-wheel steering error equation to determine the closed-loop feedback gain. That is, when determining the closed-loop feedback gain, the uncontrollable error caused by the front-wheel steering is not considered, and the linear quadratic programming (LQR) is solved according to the linear part of the rear-wheel steering error equation, and the control amount constraint R and the state constraint Q can be adjusted according to the actual situation to meet the actual vehicle calibration effect. After determining the closed-loop feedback gain, the closed-loop feedback compensation amount can be determined according to the closed-loop feedback gain and the error state vector. That is to say, the error state vector contains the deviation information between the current system state and the expected state, that is, the deviation between the actual center of mass sideslip angle and the ideal center of mass sideslip angle, and the deviation between the actual vehicle yaw rate and the ideal vehicle yaw rate. The closed-loop feedback gain can optimally respond to the error state, reduce the deviation and improve the control accuracy. Therefore, the closed-loop feedback compensation amount can be determined through a pre-set corresponding relationship. For example, the relationship between the closed-loop feedback gain and the error state vector and the closed-loop feedback compensation amount is predetermined. After the closed-loop feedback gain and the error state vector are determined, the closed-loop feedback compensation amount can be obtained by directly calling the corresponding relationship.
[0073] Further, according to one embodiment of the present invention, the closed-loop feedback gain is:
[0074] K FB =(R+B T P k+1 B) -1 B T P k+1 A(5)
[0075] Among them, K FB is the feedback gain, R is the control penalty parameter, P k+1 Iteratively solve the matrix for the Riccati equation, in, is the front wheel cornering stiffness, is the rear wheel cornering stiffness, m is the vehicle mass, I z is the moment of inertia of the vehicle around the Z axis of the body coordinate system, l f is the distance from the center of mass to the front axle, l r is the distance from the center of mass to the rear axle, v x is the longitudinal speed.
[0076] Specifically, when solving the linear quadratic programming based on the linear part of the rear wheel steering error equation to determine the closed-loop feedback gain, the closed-loop feedback gain can be determined by the above formula (5), that is, according to vehicle parameters such as the front wheel cornering stiffness Rear wheel cornering stiffness The vehicle mass m, the moment of inertia of the vehicle around the Z axis of the body coordinate system I z , the distance from the center of mass to the front axle l f , the distance from the center of mass to the rear axle l r , longitudinal speed v x , control penalty parameter R and Riccati equation iterative solution matrix P k+1 The Ricatti equation can be modified according to the hardware computing power to iteratively solve the matrix P k+1 The maximum step size, that is, the size of the update amount at each iteration, and the hardware computing power modifies the Riccati equation to iteratively solve the matrix P k+1 The maximum error of the solution is used to determine the condition for stopping the iteration, that is, the iteration is stopped when the difference between the current solution and the previous solution is less than the maximum error, so as to improve the efficiency and accuracy of the calculation.
[0077] According to an embodiment of the present invention, determining the closed-loop feedback compensation amount according to the closed-loop feedback gain and the error state vector includes: taking the inverse of the product of the feedback gain and the error state vector as the closed-loop feedback compensation amount.
[0078] Specifically, when determining the closed-loop feedback compensation amount according to the closed-loop feedback gain and the error state vector, the inverse of the product of the feedback gain and the error state vector can be taken as the closed-loop feedback compensation amount. For example, the closed-loop feedback gain is K FB , the error state vector is err, then the closed-loop feedback compensation u can be determinedFB =-K FB *err.
[0079] According to one embodiment of the present invention, a feedforward compensation amount is determined based on a rear wheel steering error equation and a control focus, including: solving the rear wheel steering error equation with emphasis, and obtaining a feedforward compensation amount with emphasis on the yaw angular velocity and a feedforward compensation amount with emphasis on the sideslip angle of the center of mass, respectively.
[0080] Further, according to an embodiment of the present invention, the feedforward compensation amount focusing on the yaw angular velocity is determined by the following formula:
[0081]
[0082] in, is the feedforward compensation focusing on the yaw angular velocity,
[0083] K FB represents the closed-loop feedback gain, is the front wheel cornering stiffness, is the rear wheel cornering stiffness, m is the vehicle mass, I z is the moment of inertia of the vehicle around the Z axis of the body coordinate system, l f is the distance from the center of mass to the front axle, l r is the distance from the center of mass to the rear axle, v x is the longitudinal speed, Δ1 is the first error, Δ2 is the second error, and the first error is w*(CC d ), the second error is x d *(AA d ), w=δ f , δ f is the front wheel turning angle, τ β is the low-pass filter time constant of the sideslip angle of the center of mass, is the yaw rate low-pass filter time constant, is the target center of mass sideslip angle gain, is the target yaw rate gain.
[0084] Further, according to one embodiment of the present invention, the feedforward compensation amount focusing on the sideslip angle of the center of mass is determined by the following formula:
[0085]
[0086] Among them, u FFβ is the feedforward compensation focusing on the sideslip angle of the center of mass, K FB is the closed-loop feedback gain, is the rear wheel cornering stiffness, is the front wheel cornering stiffness, m is the vehicle mass, I z is the moment of inertia of the vehicle around the Z axis of the body coordinate system, l f is the distance from the center of mass to the front axle, l r is the distance from the center of mass to the rear axle, v x is the longitudinal speed, Δ1 is the first error, Δ2 is the second error, and the first error is w*(CC d ), the second error is x d *(AA d ), w=δ f , δ f is the front wheel turning angle, τ β is the low-pass filter time constant of the sideslip angle of the center of mass, is the yaw rate low-pass filter time constant, is the target center of mass sideslip angle gain, is the target yaw rate gain.
[0087] Specifically, when determining the feedforward compensation amount according to the rear wheel steering error equation and the control focus, the rear wheel steering error equation can be solved with emphasis to obtain the feedforward compensation amount with emphasis on the yaw angular velocity and the feedforward compensation amount with emphasis on the sideslip angle of the center of mass. FB After that, the closed-loop feedback compensation u FB Substituting into the rear wheel steering error equation (1) and simplifying it, we can get In order to facilitate calculation, we can Therefore, when the yaw angular velocity is determined as the focus object, the feedforward compensation amount can be determined by the above formula (6), and when the center of mass sideslip angle is determined as the focus object, the feedforward compensation amount can be determined by the above formula (7).
[0088] According to an embodiment of the present invention, determining the target rear wheel steering angle according to the closed-loop feedback compensation amount and the feedforward compensation amount includes: determining the target rear wheel steering angle according to the sum of the closed-loop feedback compensation amount and the feedforward compensation amount.
[0089] Specifically, when the target rear wheel steering angle is determined according to the closed-loop feedback compensation amount and the feedforward compensation amount, the target rear wheel steering angle can be determined according to the sum of the closed-loop feedback compensation amount and the feedforward compensation amount. In other words, in order to obtain the target rear wheel steering angle more accurately, the feedforward compensation amount can be used for compensation, that is, the closed-loop feedback compensation amount and the feedforward compensation amount are added to obtain the target rear wheel steering angle. That is, by combining feedforward and feedback compensation, various complex driving conditions can be better coped with, the vehicle's handling stability and safety can be improved, and the ride comfort can be improved.
[0090] In addition, in the embodiment of the present invention, the closing speed of the rear wheel closed loop algorithm can be set according to actual needs, and the speed shall not be lower than 0, that is, when the vehicle speed is lower than the closing speed, the rear wheel steering closed loop control is closed to avoid the zero division problem and other possible control problems. And the steering wheel angle determination function unit can provide a dead zone to realize the closing of the rear wheel steering with the front wheel angle, that is, the steering wheel angle change within a certain range does not trigger the rear wheel steering control, for example, the dead zone refers to a range, and the steering wheel angle change within this range will not cause the response of the rear wheel steering system. For example, if a dead zone of ±5 degrees is set, then when the steering wheel angle changes within the range of ±5 degrees, the rear wheel steering system will not respond, and only when the steering wheel angle exceeds this range, the rear wheel steering system will start to work, so as to improve the stability of the vehicle and the predictability of control, especially to avoid unnecessary rear wheel steering response when adjusting a small angle.
[0091] Combine the following Figure 2 The control method of the present invention will be described.
[0092] As a specific example, the vehicle control method of the present invention may include the following steps:
[0093] S101, constructing a state space equation of a vehicle model and a state space equation of a rear wheel steering model according to vehicle parameters.
[0094] S102, determining a rear wheel steering error equation of the vehicle based on a state space equation of the vehicle model and a state space equation of the rear wheel steering model.
[0095] S103, performing a linear quadratic programming solution based on the linear part of the rear wheel steering error equation to determine a closed-loop feedback gain.
[0096] S104, taking the inverse of the product of the feedback gain and the error state vector as the closed-loop feedback compensation amount.
[0097] S105, solving the rear wheel steering error equation with emphasis, and obtaining a feedforward compensation amount with emphasis on the yaw angular velocity and a feedforward compensation amount with emphasis on the sideslip angle of the center of mass, respectively.
[0098] S106, determining a target rear wheel steering angle according to the sum of the closed-loop feedback compensation amount and the feedforward compensation amount.
[0099] In summary, according to the vehicle control method of the embodiment of the present invention, the state space equation of the vehicle model and the state space equation of the rear wheel steering model are constructed according to the parameters of the vehicle, the rear wheel steering error equation of the vehicle is determined based on the state space equation of the vehicle model and the state space equation of the rear wheel steering model, the closed-loop feedback compensation amount is determined according to the rear wheel steering error equation, and the feedforward compensation amount is determined according to the rear wheel steering error equation and the control focus, the target rear wheel steering angle is determined according to the closed-loop feedback compensation amount and the feedforward compensation amount, and the vehicle is controlled based on the target rear wheel steering angle. Therefore, the method can accurately determine the angle of the rear wheel steering angle and improve the handling and stability of the vehicle.
[0100] Corresponding to the above embodiment, the present invention also proposes a vehicle control device.
[0101] like Figure 3 As shown, the vehicle control device 100 according to the embodiment of the present invention includes: a construction module 110 , a first determination module 120 , a second determination module 130 , a third determination module 140 and a control module 150 .
[0102] Among them, the construction module 110 is used to construct the state space equation of the vehicle model and the state space equation of the rear wheel steering model according to the parameters of the vehicle. The first determination module 120 is used to determine the rear wheel steering error equation of the vehicle based on the state space equation of the vehicle model and the state space equation of the rear wheel steering model. The second determination module 130 is used to determine the closed-loop feedback compensation amount according to the rear wheel steering error equation, and determine the feedforward compensation amount according to the rear wheel steering error equation and the control focus. The third determination module 140 is used to determine the target rear wheel steering angle according to the closed-loop feedback compensation amount and the feedforward compensation amount. The control module 150 is used to control the vehicle based on the target rear wheel steering angle.
[0103] According to one embodiment of the present invention, the rear wheel steering error equation is:
[0104]
[0105] in, u=δ r , err = xx d is the error state vector, Δ1 is the first error, Δ2 is the second error, where, in, is the front wheel cornering stiffness, is the rear wheel cornering stiffness, m is the vehicle mass, I z is the moment of inertia of the vehicle around the Z axis of the body coordinate system, l f is the distance from the center of mass to the front axle, l r is the distance from the center of mass to the rear axle, v x is the longitudinal speed, δ ris the rear wheel turning angle, β is the actual center of mass sideslip angle, is the actual vehicle yaw rate, β d is the ideal center of mass sideslip angle, is the ideal yaw rate, the first error is w*(CC d ), the second error is x d *(AA d ), w=δ f , δ f is the front wheel turning angle, τ β is the low-pass filter time constant of the sideslip angle of the center of mass, is the yaw rate low-pass filter time constant, is the target center of mass sideslip angle gain, is the target yaw rate gain.
[0106] According to one embodiment of the present invention, the second determination module 130 determines the closed-loop feedback compensation amount based on the rear-wheel steering error equation, and is specifically used to: perform linear quadratic programming solution based on the linear part of the rear-wheel steering error equation to determine the closed-loop feedback gain; determine the closed-loop feedback compensation amount based on the closed-loop feedback gain and the error state vector.
[0107] According to one embodiment of the present invention, the closed-loop feedback gain is:
[0108] K FB =(R+B T P k+1 B) -1 B T P k+1 A
[0109] Among them, K FB is the feedback gain, R is the control penalty parameter, P k+1 Iteratively solve the matrix for the Riccati equation, in, is the front wheel cornering stiffness, is the rear wheel cornering stiffness, m is the vehicle mass, I z is the moment of inertia of the vehicle around the Z axis of the body coordinate system, l f is the distance from the center of mass to the front axle, l r is the distance from the center of mass to the rear axle, v x is the longitudinal speed.
[0110] According to an embodiment of the present invention, the second determination module 130 determines the closed-loop feedback compensation amount according to the closed-loop feedback gain and the error state vector, and is specifically configured to take the inverse of the product of the feedback gain and the error state vector as the closed-loop feedback compensation amount.
[0111] According to one embodiment of the present invention, the second determination module 130 determines the feedforward compensation amount according to the rear wheel steering error equation and the control focus, and is specifically used to: solve the rear wheel steering error equation with emphasis, and obtain the feedforward compensation amount with emphasis on the yaw angular velocity and the feedforward compensation amount with emphasis on the sideslip angle of the center of mass, respectively.
[0112] According to one embodiment of the present invention, the feedforward compensation amount focusing on the yaw angular velocity is determined by the following formula:
[0113]
[0114] in, is the feedforward compensation focusing on the yaw angular velocity,
[0115] K FB represents the closed-loop feedback gain, is the front wheel cornering stiffness, is the rear wheel cornering stiffness, m is the vehicle mass, I z is the moment of inertia of the vehicle around the Z axis of the body coordinate system, l f is the distance from the center of mass to the front axle, l r is the distance from the center of mass to the rear axle, v x is the longitudinal speed, Δ1 is the first error, Δ2 is the second error, and the first error is w*(CC d ), the second error is x d *(AA d ), w=δ f , δ f is the front wheel turning angle, τ β is the low-pass filter time constant of the sideslip angle of the center of mass, is the yaw rate low-pass filter time constant, is the target center of mass sideslip angle gain, is the target yaw rate gain.
[0116] According to one embodiment of the present invention, the feedforward compensation amount focusing on the sideslip angle of the center of mass is determined by the following formula:
[0117]
[0118] Among them, u FFβ is the feedforward compensation focusing on the sideslip angle of the center of mass, K FB is the closed-loop feedback gain, is the rear wheel cornering stiffness, is the front wheel cornering stiffness, m is the vehicle mass, Iz is the moment of inertia of the vehicle around the Z axis of the body coordinate system, l f is the distance from the center of mass to the front axle, l r is the distance from the center of mass to the rear axle, v x is the longitudinal speed, Δ1 is the first error, Δ2 is the second error, and the first error is w*(CC d ), the second error is x d *(AA d ), w=δ f , δ f is the front wheel turning angle, τ β is the low-pass filter time constant of the sideslip angle of the center of mass, is the yaw rate low-pass filter time constant, is the target center of mass sideslip angle gain, is the target yaw rate gain.
[0119] According to an embodiment of the present invention, the third determination module 140 determines the target rear wheel steering angle according to the closed-loop feedback compensation amount and the feedforward compensation amount, and is specifically used to determine the target rear wheel steering angle according to the sum of the closed-loop feedback compensation amount and the feedforward compensation amount.
[0120] According to one embodiment of the present invention, the state space equation of the vehicle model is:
[0121]
[0122] in, β d is the ideal center of mass sideslip angle, is the ideal yaw angular velocity;
[0123] The state space equation of the rear wheel steering model is:
[0124]
[0125] in, β is the actual center of mass sideslip angle, is the actual vehicle yaw rate.
[0126] According to an embodiment of the present invention, the control module 150 is further configured to filter the ideal center of mass sideslip angle and the ideal yaw rate based on a filtering parameter.
[0127] It should be noted that for details not disclosed in the vehicle control device of the embodiment of the present invention, please refer to the details disclosed in the vehicle control method of the embodiment of the present invention, and the details will not be repeated here.
[0128] According to the vehicle control device of the embodiment of the present invention, the construction module is used to construct the state space equation of the vehicle model and the state space equation of the rear wheel steering model according to the parameters of the vehicle, the first determination module is used to determine the rear wheel steering error equation of the vehicle based on the state space equation of the vehicle model and the state space equation of the rear wheel steering model, the second determination module is used to determine the closed-loop feedback compensation amount according to the rear wheel steering error equation, and determine the feedforward compensation amount according to the rear wheel steering error equation and the control focus, the third determination module is used to determine the target rear wheel steering angle according to the closed-loop feedback compensation amount and the feedforward compensation amount, and the control module is used to control the vehicle based on the target rear wheel steering angle. As a result, the device can accurately determine the angle of the rear wheel steering angle and improve the handling and stability of the vehicle.
[0129] Corresponding to the above embodiment, the present invention also provides a vehicle.
[0130] like Figure 4 As shown, the vehicle 200 of the embodiment of the present invention may include: a memory 210, a processor 220, and a program stored in the memory 210 and executable on the processor 220. When the processor 220 executes the program, the above-mentioned vehicle control method is implemented.
[0131] According to the vehicle of the embodiment of the present invention, by executing the above-mentioned vehicle control method, the angle of the rear wheel turning angle can be accurately determined, thereby improving the controllability and stability of the vehicle.
[0132] It should be noted that the logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection portion with one or more wirings (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.
[0133] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0134] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0135] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0136] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0137] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.
Claims
1. A method for controlling a vehicle, It is characterized in that The method comprises: Constructing a state space equation of a vehicle model and a state space equation of a rear wheel steering model according to the parameters of the vehicle; Determining a rear wheel steering error equation of the vehicle based on a state space equation of the vehicle model and a state space equation of the rear wheel steering model; Determining a closed-loop feedback compensation amount according to the rear wheel steering error equation, and determining a feedforward compensation amount according to the rear wheel steering error equation and a control focus; Determining a target rear wheel steering angle according to the closed-loop feedback compensation amount and the feedforward compensation amount; The vehicle is controlled based on the target rear wheel steering angle.
2. The vehicle control method according to claim 1, It is characterized in that The rear wheel steering error equation is: in, u=δ r , err = xx d is the error state vector, Δ 1 is the first error, Δ 2 is the second error, where Among them, C af is the front wheel cornering stiffness, is the rear wheel cornering stiffness, m is the vehicle mass, I z is the moment of inertia of the vehicle around the Z axis of the body coordinate system, l f is the distance from the center of mass to the front axle, l r is the distance from the center of mass to the rear axle, v x is the longitudinal speed, δ r is the rear wheel turning angle, β is the actual center of mass sideslip angle, is the actual vehicle yaw rate, β d is the ideal center of mass sideslip angle, is the ideal yaw rate, the first error is w*(CC d ), the second error is x d *(AA d ), w=δ f , δ f is the front wheel turning angle, τ β is the low-pass filter time constant of the sideslip angle of the center of mass, is the yaw rate low-pass filter time constant, is the target center of mass sideslip angle gain, is the target yaw rate gain.
3. The vehicle control method according to claim 2, It is characterized in that Determining the closed-loop feedback compensation amount according to the rear wheel steering error equation includes: Performing a linear quadratic programming solution based on the linear part of the rear wheel steering error equation to determine a closed-loop feedback gain; The closed-loop feedback compensation amount is determined according to the closed-loop feedback gain and the error state vector.
4. The vehicle control method according to claim 3, It is characterized in that The closed-loop feedback gain is: K FB =(R+B T P k+1 B) -1 B T P k+1 A Among them, K FB is the feedback gain, R is the control penalty parameter, P k+1 Iteratively solve the matrix for the Riccati equation, in, is the front wheel cornering stiffness, is the rear wheel cornering stiffness, m is the vehicle mass, I z is the moment of inertia of the vehicle around the Z axis of the body coordinate system, l f is the distance from the center of mass to the front axle, l r is the distance from the center of mass to the rear axle, v x is the longitudinal speed.
5. The vehicle control method according to claim 3, It is characterized in that The determining the closed-loop feedback compensation amount according to the closed-loop feedback gain and the error state vector comprises: The inverse of the product of the feedback gain and the error state vector is taken as the closed-loop feedback compensation amount.
6. The vehicle control method according to claim 1, It is characterized in that The step of determining the feedforward compensation amount according to the rear wheel steering error equation and the control emphasis includes: The rear wheel steering error equation is solved with emphasis to obtain a feedforward compensation amount with emphasis on the yaw angular velocity and a feedforward compensation amount with emphasis on the sideslip angle of the center of mass.
7. The vehicle control method according to claim 6, It is characterized in that The feedforward compensation amount focusing on the yaw rate is determined by the following formula: in, is the feedforward compensation amount focusing on the yaw angular velocity, K FB represents the closed-loop feedback gain, is the front wheel cornering stiffness, is the rear wheel cornering stiffness, m is the vehicle mass, I z is the moment of inertia of the vehicle around the Z axis of the body coordinate system, l f is the distance from the center of mass to the front axle, l r is the distance from the center of mass to the rear axle, v x is the longitudinal speed, Δ 1 is the first error, Δ 2 is the second error, the first error is w*(CC d ), the second error is x d *(AA d ), w=δ f , δ f is the front wheel turning angle, τ β is the low-pass filter time constant of the sideslip angle of the center of mass, is the yaw rate low-pass filter time constant, is the target center of mass sideslip angle gain, is the target yaw rate gain.
8. The vehicle control method according to claim 6, It is characterized in that The feedforward compensation amount focusing on the sideslip angle of the center of mass is determined by the following formula: Among them, u FFβ is the feedforward compensation amount focusing on the sideslip angle of the center of mass, K FB is the closed-loop feedback gain, is the rear wheel cornering stiffness, is the front wheel cornering stiffness, m is the vehicle mass, I z is the moment of inertia of the vehicle around the Z axis of the body coordinate system, l f is the distance from the center of mass to the front axle, l r is the distance from the center of mass to the rear axle, v x is the longitudinal speed, Δ 1 is the first error, Δ 2 is the second error, the first error is w*(CC d ), the second error is x d *(AA d ), w=δ f , δ f is the front wheel turning angle, τ β is the low-pass filter time constant of the sideslip angle of the center of mass, is the yaw rate low-pass filter time constant, is the target center of mass sideslip angle gain, is the target yaw rate gain.
9. The vehicle control method according to claim 1, It is characterized in that The determining the target rear wheel steering angle according to the closed-loop feedback compensation amount and the feedforward compensation amount comprises: The target rear wheel steering angle is determined according to the sum of the closed-loop feedback compensation amount and the feedforward compensation amount.
10. The vehicle control method according to claim 2, It is characterized in that The state space equation of the vehicle model is: in, β d is the ideal center of mass sideslip angle, is the ideal yaw angular velocity; The state space equation of the rear wheel steering model is: in, β is the actual center of mass sideslip angle, is the actual vehicle yaw angular velocity.
11. The vehicle control method according to claim 10, It is characterized in that The method further comprises: The ideal center-of-mass sideslip angle and the ideal yaw rate are filtered based on a filtering parameter.
12. A control device for a vehicle, It is characterized in that The device comprises: A construction module, used for constructing a state space equation of a vehicle model and a state space equation of a rear wheel steering model according to the parameters of the vehicle; A first determination module, configured to determine a rear wheel steering error equation of the vehicle based on a state space equation of the vehicle model and a state space equation of the rear wheel steering model; a second determination module, configured to determine a closed-loop feedback compensation amount according to the rear wheel steering error equation, and to determine a feedforward compensation amount according to the rear wheel steering error equation and a control focus; A third determination module, configured to determine a target rear wheel steering angle according to the closed-loop feedback compensation amount and the feedforward compensation amount; A control module is used to control the vehicle based on the target rear wheel steering angle.
13. A vehicle, It is characterized in that include: A memory, a processor, and a program stored in the memory and executable on the processor, wherein when the processor executes the program, a vehicle control method according to any one of claims 1 to 11 is implemented.
Citation Information
Patent Citations
Construction method of linear Luenberger observer
CN110361965A
Automatic driving vehicle transverse control method for complex road environment
CN116080682A
Automatic driving vehicle transverse and longitudinal control method and system
CN116654007A
Driving rear wheel steering control method and device and vehicle
CN117227833A
Steer-by-wire control method and system
CN117508338A
Cited By
Vehicle control method, electronic equipment, collision stability control system and vehicle
CN119329501A
Vehicle control method, electronic device, collision stability control system and vehicle
CN119329501B
Steering control method and device, equipment and storage medium
CN120397074A
Steering control method, device, apparatus and storage medium
CN120397074B
