An automatic driving trajectory tracking control method based on multi-driving modes of omnidirectional mobile vehicles
By designing a multi-driving mode autonomous driving trajectory tracking control method and combining the output results of the planning layer, high-precision trajectory tracking of omnidirectional moving vehicles under medium and low speed conditions is achieved, which solves the complex steering mode distinction and calculation in the existing technology. It improves the accuracy of trajectory tracking and the flexibility of mode switching.
Patent Information
- Application Number
- CN202210479452.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-05
- Publication Date
- 2024-10-08
- Estimated Expiration
- 2042-05-05
AI Technical Summary
It is difficult for the existing technology to strictly distinguish steering modes for trajectory tracking control under medium and high-speed conditions, and the use of highly complex strategies such as model predictive control makes automatic driving calculations difficult, and it is difficult to combine the output results of the planning layer to switch between different modes.
An automatic driving trajectory tracking control method based on multi-driving modes of omnidirectional moving vehicles is designed, including four-wheel steering mode, in-situ steering mode and diagonal mode. The driving mode switching logic is realized through a finite state machine and combined with the planning layer The output results are used for trajectory tracking control, and four-wheel steering mode trajectory tracking controller, in-situ steering trajectory tracking controller and oblique mode trajectory tracking controller are used to establish trajectory information and mode switching tests.
It achieves high-precision curve tracking of omnidirectional moving vehicles under medium and low speed conditions, and can automatically switch to the appropriate driving mode, improving the accuracy and convenience of trajectory tracking and reducing computational complexity.
Smart Images

Figure CN114715167B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of automobile autonomous driving, and in particular to an autonomous driving trajectory tracking control method based on multiple driving modes of an omnidirectional mobile vehicle. Background Art
[0002] Autonomous driving technology has a wide range of application prospects, and the realization of autonomous driving technology requires the comprehensive effects of four levels: perception, decision-making and planning, and control. The control layer is the most basic link in the entire autonomous driving system and the link that is most closely related to the vehicle. With the in-depth development of autonomous driving technology, there is an increasing need for a vehicle chassis that is highly compatible with it to complete high-precision trajectory tracking of some difficult trajectories (for example, the trajectory point is behind the left or right of the vehicle). The present invention studies trajectory tracking based on the omnidirectional mobile chassis technology with four-wheel independent drive and independent steering.
[0003] At present, there is little research on multi-mode autonomous driving for omnidirectional mobile chassis, and the difficulties are as follows:
[0004] 1. It is not applicable to strictly distinguish the steering modes for trajectory tracking control under medium and high speed conditions;
[0005] 2. The use of highly complex control strategies such as model predictive control (MPC) makes autonomous driving computationally difficult;
[0006] 3. How to switch between different modes based on the output results of the planning layer.
[0007] Therefore, we propose an autonomous driving trajectory tracking control method based on multi-driving modes of omnidirectional mobile vehicles to solve the above problems. Summary of the invention
[0008] 1. Technical issues to be resolved
[0009] In view of the shortcomings of the prior art, the present invention provides an automatic driving trajectory tracking control method based on multiple driving modes of an omnidirectional mobile vehicle, which solves the problems that the existing multi-mode automatic driving method of the omnidirectional mobile chassis is not applicable to trajectory tracking control by strictly distinguishing steering modes under medium and high speed conditions, and the use of highly complex control strategies such as model predictive control (MPC) makes automatic driving calculations difficult, as well as how to switch between different modes in combination with the output results of the planning layer.
[0010] (II) Technical solution
[0011] The purpose of the invention is to reasonably allocate the four steering modes of the omnidirectional mobile chassis in combination with the output results of the planning layer for medium and low speed conditions, so as to achieve the tracking of trajectory points with higher trajectory tracking difficulty; the omnidirectional mobile chassis is divided into four steering modes including four-wheel steering mode, in-situ steering mode, oblique mode and horizontal mode (such as Figure 1 as shown).
[0012] Determine the output of the planning layer and vehicle positioning: The planning layer determines the vehicle's pre-travel path points (not including speed and acceleration information for the time being), mainly including: vehicle center of mass longitudinal displacement CG_X, vehicle center of mass lateral displacement CG_Y, vehicle front axle center coordinates (xo, yo), planned lateral displacement xr, planned longitudinal displacement yr, and planned path point curvature kr.
[0013] In order to achieve the above-mentioned purpose, the present invention specifically adopts the following technical solutions:
[0014] An automatic driving trajectory tracking control method based on multiple driving modes of an omnidirectional mobile vehicle comprises the following steps:
[0015] S1. Design a trajectory tracking controller for four-wheel steering mode;
[0016] S2. Design a trajectory tracking controller for in-situ steering;
[0017] S3. Design the oblique mode trajectory tracking controller;
[0018] S4. Establishing track information, performing a test on switching between the oblique driving mode and the in-situ turning mode, and performing a test on switching between the oblique driving mode and the in-situ turning mode.
[0019] (III) Beneficial effects
[0020] Compared with the prior art, the present invention provides an automatic driving trajectory tracking control method based on multiple driving modes of an omnidirectional mobile vehicle, which has the following beneficial effects:
[0021] The present invention, through the switching logic of the automatic driving driving mode realized by the finite state machine, can realize that the omnidirectional mobile vehicle automatically switches to the appropriate driving mode according to the needs of the upper planning layer under medium and low speed conditions, thereby tracking high-precision curves, which has practical significance. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 Schematic diagram of different steering modes of the wire-controlled all-wheel steering electric vehicle of the present invention;
[0023] Figure 2 This is a schematic diagram of the Ackerman steering distribution of the front and rear wheel angles of the present invention. DETAILED DESCRIPTION
[0024] 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 only 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.
[0025] Example
[0026] like Figure 1 and 2 As shown, an embodiment of the present invention proposes an automatic driving trajectory tracking control method based on multiple driving modes of an omnidirectional mobile vehicle. The driving mode switching based on the omnidirectional mobile chassis first needs to determine where the needs of each driving mode are located; first, the in-place turning mode means that the vehicle can rotate around the center of mass; the vehicle's in-place turning mode is mainly used to adjust the vehicle's current attitude angle; because the triggering of the in-place turning mode requires parking braking, the in-place turning mode is generally used at the initial and end moments of the vehicle tracking trajectory; the vehicle's in-place turning mode can solve the problem when the planned trajectory point is located behind the vehicle's center of mass plane. Based on this, the present invention designs two on-the-spot steering mode control algorithms, one is to make a 180-degree rotation from the current vehicle heading angle, and the other is to rotate from the current vehicle heading angle to the vehicle heading angle coincident with the trajectory point; these two controllers are designed because in the four-wheel steering mode of the vehicle, the vehicle heading angle needs to coincide with the trajectory point in order to accurately track the planned trajectory curve; the four-wheel steering mode of the vehicle is mainly used to track curves with changing curvature, mainly to realize the obstacle avoidance function of the vehicle; and the oblique mode of the vehicle (including the transverse mode) is mainly used to track a straight line, and the vehicle does not need to adjust the attitude angle to track the trajectory, which greatly improves the tracking accuracy and convenience.
[0027] Combination Figure 1 A method for controlling an automatic driving trajectory tracking based on a multi-driving mode of an omnidirectional mobile vehicle is described in detail, comprising the following steps:
[0028] S1. Design a trajectory tracking controller for four-wheel steering mode;
[0029] S2. Design a trajectory tracking controller for in-situ steering;
[0030] S3. Design the oblique mode trajectory tracking controller;
[0031] S4. Establishing track information, performing a test on switching between the oblique driving mode and the in-situ turning mode, and performing a test on switching between the oblique driving mode and the in-situ turning mode.
[0032] Design of trajectory tracking controller for four-wheel steering mode
[0033] Design of lateral controller:
[0034] From the two-degree-of-freedom dynamic model of a four-wheel steering vehicle:
[0035] ;
[0036] ;
[0037] , ;
[0038] in is the longitudinal velocity of the center of mass, is the sideslip angle of the center of mass, is the front axle cornering stiffness, is the rear axle cornering stiffness, is the front wheel turning angle, is the rear wheel turning angle, a is the distance from the center of mass to the front axle, b is the distance from the center of mass to the rear axle, is the lateral speed of the center of mass, is the proportionality coefficient, is the moment of inertia about the z-axis, is the yaw angular velocity;
[0039] By taking zeroing the sideslip angle at the center of mass as the goal, we can obtain:
[0040] ;
[0041] Substituting into the tracking error model, we get:
[0042] ;
[0043] ;
[0044] ;
[0045] ;
[0046] ;
[0047] in is the lateral error, is the heading angle error, is the yaw angle, is the target heading angle;
[0048] Substituting into the control state space matrix of the four-wheel steering mode, we can get
[0049] ;
[0050] A= ;
[0051] B= , , ;
[0052] According to the LQR principle:
[0053] For an n-order linear control object, seek the optimal control u(t) to minimize the performance index J:
[0054] ;
[0055] The first term on the right side of the equal sign represents the target time at a given time. When the final state of the system is close to the expected state; the integral on the right side of the equal sign Represents the error between the actual state of the system and the expected state during the control process of the system; the second term of the integral Represents the limitation on the total energy of the control system;
[0056] Based on Lyapunov's stability theorem, we get the Riccati equation:
[0057] ;
[0058] Therefore, the optimal state feedback gain K and the optimal control input u of the linear quadratic control can be expressed as:
[0059] ;
[0060] ;
[0061] Design of longitudinal controller:
[0062] PID Controller: ;
[0063] in is the proportionality coefficient, is the integral term coefficient, is the coefficient of the differential term;
[0064] PID Controller: ,in is the proportionality coefficient, is the integral term coefficient, is the coefficient of the differential term;
[0065] Ackermann steering distributes the front and rear wheel angles
[0066] Combination Figure 2 Give detailed explanations;
[0067] When the vehicle is in four-wheel steering mode:
[0068] ;
[0069] ;
[0070] ;
[0071] ;
[0072] Turning radius ;
[0073] in is the virtual front wheel turning angle, is the front and rear wheel turning angle, For wheelbase.
[0074] Design of trajectory tracking controller for turning in place
[0075] Lateral control: Fixed angle control:
[0076] ;
[0077] Where T is half of the wheelbase;
[0078] Yaw controller:
[0079] ;
[0080] The input is the yaw rate error and the yaw error compensation, and the output is the yaw acceleration.
[0081] Design of trajectory tracking controller for oblique mode
[0082] Lateral Control:
[0083] The difference between the vehicle's current heading angle and the reference line trajectory is the wheel turning angle.
[0084] , that is, the front and rear wheel turning angles are equal;
[0085] Longitudinal control:
[0086] ;
[0087] The input is the lateral and longitudinal velocity error in the vehicle coordinate system, and the output is the target lateral and longitudinal acceleration.
[0088] Simulation test of switching between oblique driving and on-site steering modes
[0089] Low-speed, large-angle tracking:
[0090] Given the vehicle's starting point coordinates (0, 0), the end point (10, 10), and the completion time of 10s, a single moving line is planned using a quintic polynomial to perform trajectory tracking tests; the tests are left front, right front, left rear, and right rear large-angle tracking.
[0091] Wheel angle (degrees):
[0092]
[0093] Lateral error (m):
[0094]
[0095] Longitudinal error (m):
[0096]
[0097] Speed error (m / s):
[0098]
[0099] According to the simulation results, the maximum wheel turning angle is 50 degrees, the lateral error is within 0.1m, the longitudinal error is within 0.15m, and the vehicle speed error is within 0.04m / s. The effect is very significant and the tracking accuracy is extremely high.
[0100] Offline simulation of turning in place:
[0101] The ideal yaw curve fa is designed using a quintic polynomial. The simulation time is 2s. The tested PID parameters are P=6, I=600, and D=0.
[0102] The simulation results are as follows:
[0103] Yaw angle error:
[0104]
[0105] Yaw rate error:
[0106]
[0107] Diagonal mode simulation test: the four-wheel turning angle is 45 degrees for speed tracking, and the time is 25s.
[0108] Center of mass speed error (m / s):
[0109]
[0110] Through simulation verification of various driving modes, the results show that the trajectory tracking control algorithm adapted to the omnidirectional mobile chassis has extremely high control accuracy, and can control the lateral, longitudinal and vehicle speed errors within 1%. The present invention will be combined with the planning module for joint simulation, which can achieve accurate tracking of various trajectories and has practical significance.
[0111] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. An automatic driving trajectory tracking control method based on multiple driving modes of an omnidirectional mobile vehicle, characterized in that: The following steps are involved: S1. Design a trajectory tracking controller for four-wheel steering mode; S2. Design a trajectory tracking controller for in-situ steering; S3. Design the oblique mode trajectory tracking controller; S4, establishing trajectory information, and conducting a test of switching between oblique travel and in-situ steering modes; The four-wheel steering mode trajectory tracking controller includes the design of a lateral controller and the design of a longitudinal controller. The design of the lateral controller and the design of the longitudinal controller are specifically as follows: Design of lateral controller: From the two-degree-of-freedom dynamic model of a four-wheel steering vehicle: ; ; , ; in is the longitudinal velocity of the center of mass, is the sideslip angle of the center of mass, is the front axle cornering stiffness, is the rear axle cornering stiffness, is the front wheel turning angle, is the rear wheel turning angle, a is the distance from the center of mass to the front axle, b is the distance from the center of mass to the rear axle, is the lateral speed of the center of mass, is the proportionality coefficient, is the moment of inertia about the z-axis, is the yaw angular velocity; By taking zeroing the sideslip angle at the center of mass as the goal, we can obtain: ; Substituting into the tracking error model, we get: ; ; ; ; ; in is the lateral error, is the heading angle error, is the yaw angle, is the target heading angle; Substituting into the control state space matrix of the four-wheel steering mode, we can get ; A= ; B= , , ; According to the LQR principle: For an n-order linear control object, seek the optimal control u(t) to minimize the performance index J: ; The first term on the right side of the equal sign represents the target time at a given time. When the final state of the system is close to the expected state; the integral on the right side of the equal sign Represents the error between the actual state of the system and the expected state during the control process of the system; the second term of the integral Represents the limitation on the total energy of the control system; Based on Lyapunov's stability theorem, we get the Riccati equation: ; Therefore, the optimal state feedback gain K and the optimal control input u of the linear quadratic control are expressed as: ; ; Design of longitudinal controller: PID Controller: ; in is the proportionality coefficient, is the integral term coefficient, is the coefficient of the differential term; PID Controller: ,in is the proportionality coefficient, is the integral term coefficient, is the coefficient of the differential term; Ackermann steering distributes the front and rear wheel angles: When the vehicle is in four-wheel steering mode: ; ; ; ; Turning radius ; in , is the front and rear wheel turning angle, is the wheelbase; The design of the in-situ turning trajectory tracking controller includes: Lateral control: Fixed angle control: ; Where T is half of the wheelbase; Yaw controller: ; The input is the yaw rate error and the yaw error compensation, and the output is the yaw acceleration; The design of the oblique mode trajectory tracking controller includes: Lateral Control: The difference between the vehicle's current heading angle and the reference line trajectory is the wheel turning angle. , that is, the front and rear wheel turning angles are equal; Longitudinal control: ; The input is the lateral and longitudinal velocity error in the vehicle coordinate system, and the output is the target lateral and longitudinal acceleration.
2. The automatic driving trajectory tracking control method based on multi-driving modes of an omnidirectional mobile vehicle according to claim 1, characterized in that: The test of the inclined driving and the switching mode with the on-the-spot turning includes: Low-speed, large-angle tracking: Given the vehicle's starting point coordinates (0, 0), the end point (10, 10), and the completion time of 10s, a single moving line is planned using a quintic polynomial to perform trajectory tracking tests; the tests are left front, right front, left rear, and right rear large-angle tracking.
Citation Information
Cited By
Method and device for controlling oblique running stability of wheel hub motor angle module vehicle
CN121469328A
