Vehicle transverse control method and device, vehicle and medium

By constructing the target vehicle model and LPV controller, and using the LPV controller for lateral control, the problem of performance degradation of the traditional PID controller in complex environments is solved, and the stability of the vehicle lateral control is improved.

CN118560525AActive Publication Date: 2024-08-30GUANGZHOU WERIDE TECH LTD CO
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410769216.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-14
Publication Date
2024-08-30
Estimated Expiration
2044-06-14

AI Technical Summary

Technical Problem

Traditional PID controllers are difficult to adapt to environmental changes in complex vehicle operating environments, resulting in a decline in vehicle lateral control performance. Moreover, the variable parameter PID control strategy lacks mathematical stability guarantee, making it difficult to ensure the optimality and stability of parameters.

Method used

By obtaining the pre-built general vehicle model and the configuration parameters of the target vehicle, the target vehicle model is constructed, and a linear matrix inequality is constructed according to the robustness expectation index to obtain the LPV controller. The LPV controller is used for lateral control, and the front wheel rotation angle is output and Converted to steering wheel angle.

Benefits of technology

It improves the vehicle's lateral control performance under different road conditions, improves the stability of the vehicle's lateral control, and avoids the performance degradation of traditional PID controllers in complex environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118560525A
    Figure CN118560525A
Patent Text Reader

Abstract

The invention discloses a vehicle transverse control method and device, a vehicle and a medium. The method comprises the following steps: acquiring a pre-constructed general vehicle model; acquiring configuration parameters of a target vehicle, and inputting the configuration parameters into the general vehicle model to obtain a target vehicle model corresponding to the target vehicle; constructing a linear matrix inequality according to the target vehicle model and a preset robustness expectation index, and resolving the linear matrix inequality to obtain an LPV controller corresponding to the target vehicle; and acquiring driving parameters of the target vehicle, inputting the driving parameters into the LPV controller so as to output a front wheel turning angle of the target vehicle, and converting the front wheel turning angle into a steering wheel turning angle of the target vehicle so as to perform transverse control on the target vehicle. The target vehicle is transversely controlled through the designed LPV controller, the transverse control performance of the vehicle under different road conditions can be improved, and the stability of transverse control of the vehicle is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention relate to the field of autonomous driving technology, and in particular to a vehicle lateral control method, device, vehicle and medium. Background Art

[0002] In modern vehicle control systems, lateral control is a crucial link, which is directly related to the stability and safety of vehicle driving. Traditional PID (proportional-integral-differential) controllers have been widely used in the industry for their simple structure, easy understanding and implementation. However, with the diversification of vehicle operating environments, especially the increase in highway scenarios and the increase in operating needs under severe weather conditions such as rainy days, the challenges faced by traditional PID controllers have become increasingly prominent. First, since traditional PID controllers rely on fixed parameter settings, when the vehicle driving environment changes, such as the increase or decrease in vehicle speed, changes in road conditions, and changes in climatic conditions, the original parameters may not be able to adapt to the new conditions, resulting in a decrease in control performance. For example, on a slippery road, the friction between the tire and the ground decreases, and the lateral response of the vehicle will become slower. At this time, if the parameters of the PID controller are not adjusted accordingly, oversteering or understeering may occur, commonly known as the "dragon drawing" phenomenon, affecting the stability and driving safety of the vehicle. In order to deal with this problem, the industry usually manually adjusts the PID parameters according to different operating scenarios, that is, adopts a variable parameter PID control strategy. Although this method can improve the control effect to a certain extent, its parameter adjustment process often requires a lot of time and effort. More importantly, the selection and adjustment of variable parameter PID control strategies are mostly based on engineers' experience and on-site trial and error, lacking mathematical stability guarantees, so it is difficult to ensure the optimality or stability of the obtained parameters. In addition, due to the complexity of the vehicle system, different parameters may have mutual influences, and simply relying on experience to adjust a single parameter is likely to ignore the overall performance of the system. It can be seen that although the variable parameter PID has alleviated the control problems of traditional PID controllers in complex scenarios to a certain extent, its inherent defects cannot be ignored. Therefore, finding a more advanced and stable vehicle lateral control method has become an urgent problem to be solved in the current vehicle control field. Summary of the invention

[0003] The embodiments of the present invention provide a vehicle lateral control method, device, vehicle and medium, aiming to solve the problem of poor stability of existing vehicle lateral control.

[0004] In a first aspect, an embodiment of the present invention provides a vehicle lateral control method, the method comprising:

[0005] Get pre-built generic vehicle models;

[0006] Acquire configuration parameters of a target vehicle, and input the configuration parameters into the general vehicle model to obtain a target vehicle model corresponding to the target vehicle;

[0007] Constructing a linear matrix inequality according to the target vehicle model and a preset robustness expectation index, and solving the linear matrix inequality to obtain an LPV controller corresponding to the target vehicle;

[0008] The driving parameters of the target vehicle are obtained and input into the LPV controller to output the front wheel angle of the target vehicle, and the front wheel angle is converted into the steering wheel angle of the target vehicle to perform lateral control on the target vehicle.

[0009] In a second aspect, an embodiment of the present invention further provides a vehicle lateral control device, comprising a unit for executing the above-mentioned method.

[0010] In a third aspect, an embodiment of the present invention further provides a vehicle, comprising a memory and a processor, wherein a computer program is stored in the memory, and the above method is implemented when the processor executes the computer program.

[0011] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein the storage medium stores a computer program, and the computer program can implement the above method when executed by a processor.

[0012] The embodiment of the present invention provides a vehicle lateral control method, device, vehicle and medium. Among them, the method includes: obtaining a pre-constructed general vehicle model; obtaining the configuration parameters of the target vehicle, inputting the configuration parameters into the general vehicle model to obtain a target vehicle model corresponding to the target vehicle; constructing a linear matrix inequality according to the target vehicle model and a preset robustness expectation index, and solving the linear matrix inequality to obtain an LPV controller corresponding to the target vehicle; obtaining the driving parameters of the target vehicle and inputting the driving parameters into the LPV controller to output the front wheel angle of the target vehicle, and converting the front wheel angle into the steering wheel angle of the target vehicle to perform lateral control on the target vehicle. The present application establishes an LPV controller based on the target vehicle model of the target vehicle, and uses the LPV controller to perform lateral control on the target vehicle, which can improve the lateral control performance of the vehicle under different road conditions and improve the stability of the lateral control of the vehicle. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying any creative work.

[0014] Figure 1 A schematic diagram of a vehicle lateral control method provided by an embodiment of the present invention;

[0015] Figure 2 A schematic flow chart of sub-steps of a vehicle lateral control method provided by an embodiment of the present invention;

[0016] Figure 3 A schematic diagram of lateral mechanical analysis of a vehicle lateral control method provided by an embodiment of the present invention;

[0017] Figure 4 A schematic flow chart of a vehicle lateral control method provided by another embodiment of the present invention;

[0018] Figure 5 A schematic flow chart of a vehicle lateral control method provided by another embodiment of the present invention;

[0019] Figure 6 A schematic block diagram of a vehicle lateral control device provided by an embodiment of the present invention;

[0020] Figure 7 A schematic block diagram of a vehicle provided in accordance with an embodiment of the present invention. DETAILED DESCRIPTION

[0021] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0022] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.

[0023] It should also be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0024] It should be further understood that the term "and / or" used in the present description and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.

[0025] As used in this specification and the appended claims, the term "if" may be interpreted as "when" or "upon" or "in response to determining" or "in response to detecting," depending on the context. Similarly, the phrases "if it is determined" or "if [described condition or event] is detected" may be interpreted as meaning "upon determination" or "in response to determining" or "upon detection of [described condition or event]" or "in response to detecting [described condition or event]," depending on the context.

[0026] See also Figure 1 , Figure 1 Flow chart of the vehicle lateral control method provided by the embodiment of the present invention. The vehicle lateral control method is described in detail below. Figure 1 As shown, the method includes the following steps: S110-S140.

[0027] S110: Acquire a pre-built universal vehicle model.

[0028] In this embodiment, the general vehicle model refers to a general vehicle dynamics model, which is a mathematical model that describes the motion characteristics of the vehicle. It is constructed based on the principles of physics (mainly Newton's laws of motion and the law of conservation of energy) and is used to analyze and predict the dynamic response of the vehicle under different driving conditions. This type of model takes into account the interaction between the vehicle and the road surface, including driving force, braking force, lateral force (grip), gravity, centrifugal force, etc., and also takes into account the dynamic characteristics of the vehicle itself, such as mass, moment of inertia, suspension system characteristics, tire model, and the influence of the vehicle control system. According to the complexity, the vehicle dynamics model can be subdivided into different levels, from a simple two-degree-of-freedom model (only considering lateral motion and yaw motion) to a complex multi-degree-of-freedom model (including longitudinal, lateral, vertical and rotational motion around three orthogonal axes), which is not limited in this embodiment. After the general vehicle model is pre-constructed, when the new car is tested off the line, the general vehicle model can be directly obtained and combined with the data of the new car to construct a vehicle model belonging to the new car.

[0029] In one embodiment, if Figure 2As shown, the steps of constructing the universal vehicle model include: S111-S112.

[0030] S111. Constructing a lateral dynamic model of the vehicle based on configuration parameters and driving parameters of the vehicle, wherein the configuration parameters include: the mass, front wheel wheelbase, rear wheel wheelbase and moment of inertia of the vehicle, and the driving parameters include: the longitudinal speed, slip angle, yaw rate, external disturbance and front wheel turning angle of the vehicle.

[0031] In this embodiment, the construction of the general vehicle model is divided into two steps. The first step is to construct the lateral dynamics model of the vehicle, and the second step is to construct the state space of the vehicle. Figure 3As shown, based on the understanding of the above vehicle dynamics model, the vehicle lateral dynamics model of this embodiment is a mathematical model used to describe the motion characteristics of the vehicle in the lateral direction. It is mainly used to analyze the change law of parameters such as the vehicle's posture change, lateral acceleration, yaw angular velocity, and lateral force between the tire and the road surface when the vehicle is turning, avoiding obstacles, and side wind interference. In the vehicle's lateral dynamics model, the key equations usually include the vehicle's center of mass motion equation, yaw motion equation, and tire force generation equation. Through these equations, the steady-state and transient responses of the vehicle when it is affected by factors such as steering input, lateral wind force, and road inclination can be analyzed, and corresponding control algorithms can be designed to improve the vehicle's handling stability, path tracking performance, and safety. Among them, the vehicle center of mass motion equation describes how the center of mass position of the vehicle changes with time when the vehicle is doing lateral movement. In layman's terms, when a car turns, the vehicle as a whole does not move in a straight line, but deviates to the left or right from the straight line path. This equation is used to study the dynamic law of the vehicle moving left and right on the horizontal plane. It focuses on the relationship between the lateral force (such as the friction between the tire and the ground when turning) and the lateral acceleration of the vehicle center of mass. In this embodiment, it is reflected by equation (1). The yaw motion equation describes the rotational motion of the vehicle around its vertical axis (i.e., the front and rear direction of the vehicle), which is often called the "sideways motion" of the vehicle. When driving a car to turn, the body will tilt to a certain extent. The more the steering wheel is turned, the greater the tilt angle of the body. The yaw motion equation is used to analyze how this yaw angle (yaw angle) and yaw angular velocity change with the vehicle's driving state and control input (such as steering wheel angle). In this embodiment, it is reflected by equation (2). The tire force generation equation is used to calculate the force generated by the interaction between the tire and the road surface. It discusses the force generated when the tire contacts the road surface, especially the lateral force, which is the key to the vehicle's smooth turning and stable driving. The tire force generation equation reflects how the lateral grip of the tire changes at different slip angles (the angle between the tire and the forward direction). When the vehicle turns, the tire must generate enough lateral force to overcome the centrifugal force and make the vehicle travel along the expected trajectory. In this embodiment, it is reflected by equations (3) and (4). More specifically, the lateral dynamics model of this embodiment is:

[0032]

[0033]

[0034] Where m is the mass, V x is the longitudinal velocity, β is the slip angle, γ is the deflection rate, F yf is the lateral force of the front wheel, F yr is the lateral force of the rear wheel, I z is the moment of inertia, l f is the front wheelbase, lr is the rear wheelbase, M z is the external disturbance; the F yf and the F yf It is expressed as:

[0035] F yf =C yf α f (3)

[0036] F yr =C yr α r (4)

[0037] Among them, C yf is the cornering stiffness of the front wheel, C yr is the cornering stiffness of the rear wheel, C yf and C yr is a constant, α f is the front wheel slip angle, α r is the rear wheel slip angle, the α f and α r The representation is:

[0038]

[0039]

[0040] Wherein, δ is the front wheel turning angle.

[0041] S112. Using the transposed matrix of the slip angle and the yaw rate as the state variables of the state space, the front wheel steering angle as the input variable of the state space, the external disturbance as the disturbance of the state space, and constructing the state space of the vehicle according to the lateral dynamics model, wherein the state space is used to represent a general vehicle model.

[0042] After completing the first step of constructing the lateral dynamics of the vehicle, the second step is to construct the state space of the vehicle. The state space refers to the set of all possible states of the system. Each state is unique in the state space and can be represented by a state vector. The main function of the state space is to facilitate system analysis and modeling. The state space representation method is a mathematical model that represents a physical system as a set of inputs, outputs and states. The relationship between inputs, outputs and states can be described by a first-order differential equation. This method is particularly suitable for multi-input and multi-output system analysis, and there are no restrictions on the coefficients and starting conditions of the system. Therefore, in this embodiment, the state space is used to describe the dynamic behavior of the vehicle, which is convenient for designing the controller. The equation of the state space established in this embodiment is also a general vehicle model. Specifically, the basic expression of the state space is formula (7), where x is the state variable, u is the input variable, and w is the disturbance or noise. Let x = [β γ] T ,u=δ,w=M z , then the state space of the vehicle can be expressed as:

[0043]

[0044]

[0045] Among them, A, B1 and B2 are all matrices of the state space. The first and second steps above complete the construction of the general vehicle model and provide a basis for the subsequent design of the LPV controller.

[0046] S120: Acquire configuration parameters of a target vehicle, and input the configuration parameters into the general vehicle model to obtain a target vehicle model corresponding to the target vehicle.

[0047] In this embodiment, the configuration parameters of different models are different. Since the general vehicle model is constructed based on the configuration parameters and driving parameters of the vehicle, different configuration parameters have different vehicle models. Therefore, by inputting the configuration parameters of the target vehicle into the general vehicle model, the target vehicle model of the target vehicle can be obtained, wherein the configuration parameters of the target vehicle are obtained through its config. The configuration parameters of this embodiment include: m, I z ,l f ,l r For example, when a new car rolls off the production line, in order to obtain the vehicle model of the new car, the configuration parameters of the new car are input into the general vehicle model to obtain the vehicle model of the new car.

[0048] S130, constructing a linear matrix inequality according to the target vehicle model and a preset robustness expectation index, and solving the linear matrix inequality to obtain an LPV controller corresponding to the target vehicle.

[0049] In this embodiment, the LPV controller refers to a linear parameter-varying (LPV) controller, whose dynamic characteristics vary with the changes of one or more time-varying parameters. These parameters can be functions of the system's physical parameters, operating conditions or external environment. The design goal of the LPV controller is to adapt to these changes by adjusting the controller's parameters, thereby achieving optimal control of the system. In other words, in the LPV controller, the coefficients of the system matrix are no longer constants, but depend on certain measurable time-varying parameters. The design purpose of the LPV controller is to be able to effectively control the behavior of such systems, even when the system parameters vary within their allowable range, the system's performance indicators can be guaranteed to meet the expected requirements. In a specific embodiment, the design goal of the LPV controller is to ensure the stability of the vehicle's lateral control even in high-speed driving and slippery road scenarios.

[0050] The main steps in the design of the LPV controller are to first establish a mathematical model, which should be able to describe the relationship between the system dynamic characteristics and parameter changes, that is, the target vehicle model established in the embodiment of the present invention; then determine the control target, which is a pre-set robustness expectation index in this embodiment, and then construct a linear matrix inequality (LinearMatrix Inequality, LMI) based on the target vehicle model and the robustness expectation index. Finally, the LPV controller can be obtained by solving the linear matrix inequality. The linear matrix inequality can be solved using the LMI toolbox (such as YALMIP in MATLAB with SeDuMi, SDPT3 and other solvers) to solve this LMI. The solution process will generate a set of gain matrices that meet the controller design requirements. Among them, the construction process of the linear matrix inequality is as follows:

[0051] First, the solution parameters for solving the linear matrix inequality are obtained, including: the range of vehicle speed, the range of vehicle speed change rate, the cornering stiffness of the front wheel, the cornering stiffness of the rear wheel, the range of the road friction coefficient, and the maximum change rate of the road friction coefficient. Among them, the range of vehicle speed, that is, V xmin -V xmax , obtained through the vehicle configuration; the range of the vehicle speed change rate, that is, Indicates the vehicle's acceleration and deceleration limit capability, which is also obtained through the vehicle configuration; the front wheel's cornering stiffness is C yf , the cornering stiffness of the rear wheel is C yr , where C yf =f1(μ),C yr=f2(μ), f1 and f2 are obtained from the tire configuration of the vehicle; the road friction coefficient μ is obtained using an online estimation algorithm, such as the least squares method, and the range of the road friction coefficient is set according to the vehicle usage scenario; the maximum change rate of the road friction coefficient is set to a small constant value. The solution parameters are all constants. After obtaining the solution parameters, it is necessary to find matrices X and Y to satisfy the following inequalities (8) and (9):

[0052]

[0053]

[0054] The G comes from:

[0055]

[0056] The elements in G are defined as:

[0057]

[0058] Among them, z and d are robustness indicators. The above solution parameters are reflected in A(μ). Finally, X and Y that satisfy the above inequality are found, and the LPV controller is constructed as follows:

[0059]

[0060] Where M and N are to satisfy N (i) M (i)T =IY (i) X (i) After constructing the linear matrix inequality, the LPV controller obtained by solving is as follows:

[0061]

[0062] Among them, A, B, C, D are the matrices of the LPV controller, V x is the current vehicle speed, μ is the road friction coefficient, u is the front wheel steering angle output by the LPV controller, x is the input of the LPV controller, x includes the lateral state of the vehicle, and the lateral state of the vehicle is expressed as [β γ] T , y is the output of the LPV controller, and y is composed of the lateral state of the vehicle and the front wheel angle output by the LPV controller. It should be noted that the above LMI construction process is an example, and those skilled in the art can also construct it according to actual needs, which is not limited here.

[0063] S140, obtaining driving parameters of the target vehicle and inputting the driving parameters into the LPV controller to output the front wheel angle of the target vehicle, and converting the front wheel angle into the steering wheel angle of the target vehicle to perform lateral control on the target vehicle.

[0064] In this embodiment, after obtaining the LPV controller of the target vehicle, the LPV controller is used to control the vehicle laterally. Specifically, the driving parameters of the target vehicle are first obtained, and the driving parameters include: the vehicle's yaw rate, slip angle, longitudinal speed and road friction coefficient. Among them, the longitudinal speed of the vehicle can be obtained by fusion and noise reduction of GPS speed and wheel speed. The yaw rate can usually be obtained by a gyroscope or inertial measurement unit (IMU) installed on the vehicle. The slip angle usually needs to be calculated comprehensively through the vehicle's dynamic model, tire model and sensor data (such as wheel speed, lateral acceleration, yaw angular velocity, etc.). The road friction coefficient can be obtained by a sideslip meter, by generating lateral force during driving of the vehicle, measuring the side slip angle of the vehicle, and thus estimating the road friction coefficient. Of course, it can be understood that the above-mentioned driving parameters can also be obtained by other means, which are not limited here. After obtaining the driving parameters of the target vehicle, the driving parameters are input into the LPV controller, and the LPV controller outputs the front wheel angle of the target vehicle. The front wheel angle is also the front wheel deflection angle. There is a transmission ratio between the front wheel angle and the steering wheel angle. The transmission ratio is determined by the vehicle's steering mechanism. The front wheel angle can be converted into the steering wheel angle according to the transmission ratio to control the steering of the vehicle's front wheels, thereby achieving lateral control of the target vehicle.

[0065] In one embodiment, if Figure 4 , the vehicle lateral control method also includes steps: S201-S203.

[0066] S201, performing a road test on the target vehicle by the LPV controller to obtain a road test result;

[0067] S202, determining whether the drive test result meets the drive test passing condition;

[0068] S203: If the road test result does not meet the road test pass condition, the robustness expectation index is adjusted according to the road test result, and the process returns to the step of performing a road test on the target vehicle through the LPV controller to obtain the road test result, until the road test result meets the road test pass condition and is output to the LPV controller.

[0069] In this embodiment, after constructing the LPV controller, the LPV controller is also used for road testing. The road test can be a test of the vehicle on different roads and different road conditions, or it can be a test of the vehicle on different roads and different road conditions by simulating simulation. For the road test pass conditions set for the road test, the road test pass conditions are usually a series of performance indicators set, such as the vehicle's control accuracy, reaction time, decision correctness, etc. The vehicle needs to reach or exceed these indicators in the test to be considered to have passed the road test. If the road test fails, it means that the control strategy of the LPV controller has not reached the optimal state, and the LPV controller needs to be further adjusted. The analysis of the feedback of the road test results can identify areas where robustness is insufficient. According to the test feedback, it can be determined which indicators need to be improved and set new target values. Specifically, it can be adjusted according to the adjustment requirements of the robustness indicators. For example, the controller gain is changed, the weight matrix is ​​adjusted, the state feedback matrix is ​​redesigned, etc., and it is not limited here. After the adjustment, the system's LPV model needs to be updated to reflect the new control strategy and parameters. After applying the new parameter settings, the road test is performed again to verify the improvement in robustness. This process may require multiple iterations, and each iteration is adjusted based on the feedback of the road test structure. After each iteration, it is necessary to verify whether the predetermined robustness indicators have been achieved. If the requirements are met, the road test can be considered to have passed; if not, the reasons need to be further analyzed and the next round of adjustments needs to be made. It should be noted that when adjusting the robustness indicators, the trade-off between stability and performance needs to be considered. Improving robustness may sacrifice certain performance indicators, so the overall performance needs to be considered comprehensively during the adjustment process.

[0070] In one embodiment, if Figure 5 , the vehicle lateral control method also includes steps: S204-S207.

[0071] S204, making the vehicle travel under different working conditions, performing lateral control on the target vehicle through the LPV controller, and obtaining a gain scheduling strategy of the LPV controller at this time;

[0072] S205, adjusting the parameters of the PID controller according to the gain scheduling strategy, and performing a road test on the target vehicle by using the adjusted PID controller to obtain a road test result;

[0073] S206, determining whether the drive test result satisfies a drive test passing condition;

[0074] S207: If the drive test result does not meet the drive test pass condition, adjust the parameters of the PID controller according to the drive test result until the drive test result meets the drive test pass condition and outputs the PID controller.

[0075] In this embodiment, after constructing the LPV controller, the PID (Proportional, Integral, Derivative) controller can also be adjusted through the LPV controller. Specifically, it is necessary to first analyze how the gain of the LPV controller changes with system parameters or time, determine the main trends and characteristics of these gain changes, specifically to make the vehicle travel in different operating ranges, and extract the gain scheduling strategy of the LPV controller, which may include the size of the gain, the range of change, and how they respond to changes in system parameters. Then select the parameters of the PID controller. The PID controller consists of three parts: proportional (P), integral (I) and differential (D). Each part has its corresponding gain parameters Kp, Ki, Kd, ​​and one or more of them are selected for adjustment. Next, according to the change characteristics of the LPV gain, a preliminary mapping strategy is formulated. If the LPV gain mainly affects the response speed of the system, then it can be considered to map these gains to the proportional coefficient Kp of the PID controller. The proportional coefficient directly determines the degree of response of the PID controller to the error. Therefore, by adjusting Kp, the control effect of the LPV gain on the response speed can be approximately achieved. If the change of LPV gain is related to the integral action of the system, that is, in order to eliminate the steady-state error, then the integral time constant Ti of the PID controller can be considered to be adjusted. The integral action is mainly used to eliminate the steady-state error of the system. Therefore, by adjusting Ti, the influence of LPV gain on the steady-state error can be simulated. If the change of LPV gain is related to the dynamic performance of the system, such as affecting the overshoot or oscillation frequency of the system, then the differential time constant Td of the PID controller can be adjusted. The differential action is mainly used to improve the dynamic performance of the system. By adjusting Td, the influence of LPV gain on the dynamic characteristics of the system can be simulated. The initial mapping may not be accurate, so iterative optimization is required. Use simulation or experimental data to evaluate the performance of the PID controller and adjust Kp, Ti and Td as needed. When adjusting parameters, it is necessary to consider the interaction between parameters. There is an interaction between the three parameters Kp, Ti and Td. Adjusting one parameter may affect the effect of other parameters. Therefore, in the mapping process, it is necessary to comprehensively consider the changes of the three parameters and make appropriate coordination and adjustments. Gradually adjust the PID parameters. This is usually an iterative process that requires multiple adjustments and tests. In the specific parameter adjustment process, in order to improve the parameter adjustment efficiency, you can consider using optimization algorithms (such as genetic algorithms, particle swarm optimization, etc.) to automatically find the optimal PID parameters. After each parameter adjustment, continue to conduct road tests until it is ensured that the requirements for passing the road test are met. After determining the PID parameters, conduct a final verification test to ensure that the system can exhibit good control performance under all expected operating conditions.

[0076] Figure 6 is a schematic block diagram of a vehicle lateral control device 300 provided in an embodiment of the present invention. Figure 6 As shown, corresponding to the above vehicle lateral control method, the present invention also provides a vehicle lateral control device 300. The vehicle lateral control device 300 includes a unit for executing the above vehicle lateral control method, and the device can be configured in a computer device. Figure 6 The vehicle lateral control device 300 includes: a general model unit 301, a target model unit 302, an LPV unit 303 and a lateral control unit 304.

[0077] Among them, the general model unit 301 is used to obtain a pre-constructed general vehicle model; the target model unit 302 is used to obtain the configuration parameters of the target vehicle, and input the configuration parameters into the general vehicle model to obtain the target vehicle model corresponding to the target vehicle; the LPV unit 303 is used to construct a linear matrix inequality according to the target vehicle model and a preset robustness expectation index, and solve the linear matrix inequality to obtain an LPV controller corresponding to the target vehicle; the lateral control unit 304 is used to obtain the driving parameters of the target vehicle and input the driving parameters into the LPV controller to output the front wheel angle of the target vehicle, and convert the front wheel angle into the steering wheel angle of the target vehicle to perform lateral control on the target vehicle.

[0078] In one embodiment, the general model unit includes: a first construction unit and a second construction unit.

[0079] Among them, the first construction unit is used to construct a lateral dynamic model of the vehicle based on the configuration parameters and driving parameters of the vehicle, the configuration parameters include: the mass, front wheel wheelbase, rear wheel wheelbase and moment of inertia of the vehicle, and the driving parameters include: the longitudinal speed, slip angle, yaw rate, external disturbance and front wheel turning angle of the vehicle; the second construction unit is used to use the transposed matrix of the slip angle and the yaw rate as the state variable of the state space, the front wheel turning angle as the input variable of the state space, the external disturbance as the disturbance of the state space, and construct the state space of the vehicle according to the lateral dynamic model, and the state space is used to represent a general vehicle model.

[0080] In one embodiment, the lateral dynamics model in the general model unit is:

[0081]

[0082]

[0083] Where m is the mass, V x is the longitudinal velocity, β is the slip angle, γ is the deflection rate, F yf is the lateral force of the front wheel, F yris the lateral force of the rear wheel, I z is the moment of inertia, l f is the front wheelbase, l r is the rear wheelbase, M z is the external disturbance; the F yf and the F yr It is expressed as:

[0084] F yf =C yf α f

[0085] F yr =C yr α r

[0086] Among them, C yf is the cornering stiffness of the front wheel, C yr is the cornering stiffness of the rear wheel, C yf and C yr is a constant, α f is the front wheel slip angle, α r is the rear wheel slip angle, the α f and α r The representation is:

[0087]

[0088]

[0089] Wherein, δ is the front wheel turning angle.

[0090] In one embodiment, the state space in the general model unit is:

[0091]

[0092] Wherein, the state variable is x, the input variable is u, the disturbance is w, and x=[β γ] T ,u=δ,w=M z , A, B1 and B2 represent matrices, such as:

[0093]

[0094] In one embodiment, the LPV controller in the LPV unit 303 is:

[0095]

[0096] Among them, A, B, C, D are the matrices of the LPV controller, V xis the current vehicle speed, μ is the road friction coefficient, u is the front wheel steering angle output by the LPV controller, x is the input of the LPV controller, x includes the lateral state of the vehicle, and the lateral state of the vehicle is expressed as [β γ] T , y is the output of the LPV controller, and y is composed of the lateral state of the vehicle and the front wheel steering angle output by the LPV controller.

[0097] In one embodiment, the vehicle lateral control device 300 further includes: a first road test unit, a first road test determination unit and a first adjustment unit.

[0098] Among them, the first road test unit is used to perform a road test on the target vehicle through the LPV controller to obtain a road test result; the first road test judgment unit is used to judge whether the road test result meets the road test pass condition; the first adjustment unit is used to adjust the robustness expectation index according to the road test result if the road test result does not meet the road test pass condition, and return to the step of performing a road test on the target vehicle through the LPV controller to obtain a road test result, until the road test result meets the road test pass condition and is output to the LPV controller.

[0099] In one embodiment, the vehicle lateral control device 300 further includes: a gain acquisition unit, a parameter adjustment unit, a second road test judgment unit and a second adjustment unit.

[0100] Among them, the gain acquisition unit is used to enable the vehicle to travel under different working conditions, to perform laterally control the target vehicle through the LPV controller, and to obtain the gain scheduling strategy of the LPV controller at this time; the parameter adjustment unit is used to adjust the parameters of the PID controller according to the gain scheduling strategy, and to perform a road test on the target vehicle through the adjusted PID controller to obtain a road test result; the second road test judgment unit is used to judge whether the road test result meets the road test pass condition; the second adjustment unit is used to adjust the parameters of the PID controller according to the road test result if the road test result does not meet the road test pass condition until the road test result meets the road test pass condition and output the PID controller.

[0101] The vehicle lateral control device 300 can be implemented in the form of a computer program. The computer program can be implemented in the form of a computer program. Figure 7 Running on the vehicle shown.

[0102] See also Figure 7 , Figure 7 It is a schematic block diagram of a vehicle provided in an embodiment of the present application.

[0103] See also Figure 7The vehicle 500 includes a processor 502 , a memory, and a network interface 505 connected via a system bus 501 , wherein the memory may include a non-volatile storage medium 503 and an internal memory 504 .

[0104] The non-volatile storage medium 503 can store an operating system 5031 and a computer program 5032. The computer program 5032 includes program instructions, and when the program instructions are executed, the processor 502 can execute a vehicle lateral control method.

[0105] The processor 502 is used to provide computing and control capabilities to support the operation of the entire vehicle 500.

[0106] The internal memory 504 provides an environment for the operation of the computer program 5032 in the non-volatile storage medium 503 . When the computer program 5032 is executed by the processor 502 , the processor 502 can execute a vehicle lateral control method.

[0107] The network interface 505 is used to communicate with other devices over the network. Figure 7 The structure shown in the figure is merely a block diagram of a portion of the structure related to the scheme of the present application, and does not constitute a limitation on the vehicle 500 to which the scheme of the present application is applied. The specific vehicle 500 may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0108] The processor 502 is used to run a computer program 5032 stored in the memory to implement the steps of the above method.

[0109] It should be understood that in the embodiment of the present application, the processor 502 may be a central processing unit (CPU), and the processor 502 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0110] It can be understood by those skilled in the art that all or part of the processes in the method for implementing the above embodiment can be completed by instructing the relevant hardware through a computer program. The computer program includes program instructions, and the computer program can be stored in a storage medium, which is a computer-readable storage medium. The program instructions are executed by at least one processor in the computer system to implement the process steps of the embodiment of the above method.

[0111] Therefore, the present invention also provides a storage medium. The storage medium may be a computer-readable storage medium. The storage medium stores a computer program, wherein the computer program includes program instructions. When the program instructions are executed by a processor, the processor executes the steps of the above method.

[0112] The storage medium may be a USB flash drive, a mobile hard disk, a read-only memory (ROM), a magnetic disk, or an optical disk, etc., which are computer-readable storage media that can store program codes.

[0113] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0114] In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of each unit is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.

[0115] The steps in the method of the embodiment of the present invention can be adjusted in order, combined and deleted according to actual needs. The units in the device of the embodiment of the present invention can be combined, divided and deleted according to actual needs. In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0116] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for a vehicle to execute all or part of the steps of the method described in each embodiment of the present invention.

[0117] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0118] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

[0119] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A vehicle lateral control method, characterized in that: The method comprises: Get pre-built generic vehicle models; Acquire configuration parameters of a target vehicle, and input the configuration parameters into the general vehicle model to obtain a target vehicle model corresponding to the target vehicle; Constructing a linear matrix inequality according to the target vehicle model and a preset robustness expectation index, and solving the linear matrix inequality to obtain an LPV controller corresponding to the target vehicle; The driving parameters of the target vehicle are obtained and input into the LPV controller to output the front wheel angle of the target vehicle, and the front wheel angle is converted into the steering wheel angle of the target vehicle to perform lateral control on the target vehicle.

2. The method according to claim 1, characterized in that The steps of constructing the general vehicle model include: A lateral dynamics model of the vehicle is constructed based on configuration parameters and driving parameters of the vehicle, wherein the configuration parameters include: the mass, front wheel wheelbase, rear wheel wheelbase and moment of inertia of the vehicle, and the driving parameters include: the longitudinal speed, slip angle, yaw rate, external disturbance and front wheel turning angle of the vehicle; The transposed matrices of the slip angle and the yaw rate are used as state variables of the state space, the front wheel steering angle is used as an input variable of the state space, the external disturbance is used as a disturbance of the state space, and the state space of the vehicle is constructed according to the lateral dynamics model, and the state space is used to represent a general vehicle model.

3. The method according to claim 2, characterized in that The lateral dynamics model is: Where m is the mass, V x is the longitudinal velocity, β is the slip angle, γ is the deflection rate, F yf is the lateral force of the front wheel, F yr is the lateral force of the rear wheel, I z is the moment of inertia, l f is the front wheelbase, l r is the rear wheelbase, M z is the external disturbance; the F yf and the F yr It is expressed as: F yf =C yf a f F yr =C yr a r Among them, C yf is the cornering stiffness of the front wheel, C yr is the cornering stiffness of the rear wheel, C yf and C yr is a constant, α f is the front wheel slip angle, α r is the rear wheel slip angle, the α f and α r The representation is: Wherein, δ is the front wheel turning angle.

4. The method according to claim 3, characterized in that The state space is: Wherein, the state variable is x, the input variable is u, the disturbance is w, and x=[β γ] T , u=δ,w=M z , A, B1 and B2 represent the matrices of the state space, as follows:

5. The method according to claim 4, characterized in that The LPV controller is: Among them, A, B, C, D are the matrices of the LPV controller, V x is the current vehicle speed, μ is the road friction coefficient, u is the front wheel steering angle output by the LPV controller, x is the input of the LPV controller, x includes the lateral state of the vehicle, and the lateral state of the vehicle is expressed as [β γ] T , y is the output of the LPV controller, and y is composed of the lateral state of the vehicle and the front wheel steering angle output by the LPV controller.

6. The method according to claim 1, characterized in that The method further comprises: Performing a road test on the target vehicle by the LPV controller to obtain a road test result; Determining whether the drive test result meets the drive test pass condition; If the road test result does not meet the road test pass condition, the robustness expectation index is adjusted according to the road test result, and the process returns to the step of performing a road test on the target vehicle through the LPV controller to obtain the road test result, until the road test result meets the road test pass condition and the LPV controller is output.

7. The method according to claim 6, characterized in that The method further comprises: When the vehicle is driven under different working conditions, the target vehicle is laterally controlled by the LPV controller to obtain a gain scheduling strategy of the LPV controller at this time; Adjusting the parameters of the PID controller according to the gain scheduling strategy, and performing a road test on the target vehicle by using the adjusted PID controller to obtain a road test result; Determining whether the drive test result meets the drive test pass condition; If the drive test result does not meet the drive test pass condition, the PID controller is adjusted according to the drive test result until the drive test result meets the drive test pass condition and the PID controller is output.

8. A vehicle lateral control device, characterized in that: The method comprises a unit for executing the method according to any one of claims 1 to 7.

9. A vehicle, characterized in that: The vehicle includes a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the method according to any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 can be implemented.

Citation Information

Patent Citations

  • Lateral stability control method for four-wheel drive based on time-varying speed

    CN110509915A

  • And inputting saturated automatic driving automovable path tracking control method

    CN111176302A

  • Navigation control method and device of vehicle, navigation controller and vehicle control system

    CN114167858A

  • Automobile lateral stability control method based on lateral acceleration prediction model

    CN115257704A