1. Field of the Invention
The present invention relates to a method and apparatus for vehicle path tracking and more particularly relates to a method and apparatus for vehicle path tracking with error correction.
2. Description of Related Art
Advanced-Driver Assistance System (ADAS) is a significant foundation of autonomous vehicles. For example, obstacle detection, assistant driving determination, and communication between vehicles or within the vehicle are significant sub-systems in the ADAS. Many different sensors are used to gather information within the vehicle itself, traffic information, and so on. An electronic controlling unit is used to analyze the information to generate corresponding signals.
With reference to
With reference to
The reason of the occurrence of the problems shown as the first correction path 310 or the second correction path 320 in
An objective of the present invention is to provide a method for vehicle path tracking with error correction to stabilize vehicle steering and avoid accidents such as vehicle rollover.
In order to achieve the aforementioned objective, the method in the present invention comprises steps of:
acquiring vehicle instant information and a target path;
developing a predictive path in accordance with the vehicle instant information;
determining a vehicle yaw rate threshold value in accordance with the vehicle instant information;
calculating a steering angle corresponding to the vehicle yaw rate threshold value;
estimating a lateral error correction value corresponding to the steering angle;
determining whether the lateral error correction value is not greater than an error value between the target path and the predictive path;
controlling a vehicle to turn the steering angle corresponding to the lateral error correction value when the lateral error correction value is not greater than the error value between the target path and the predictive path; and
controlling the vehicle to turn the steering angle corresponding to the error value when the lateral error correction value is greater than the error value between the target path and the predictive path.
Another objective of the present invention is to provide an apparatus for vehicle path tracking with error correction to let the passengers in the car feel comfortable and reduce the opportunity of the rollover of the vehicle.
In order to achieve the aforementioned objective, an apparatus for vehicle path tracking with error correction comprises:
a plurality of sensors configured to detect a plurality of different pieces of vehicle instant information;
a path predictive unit configured to develop a predictive path in accordance with the vehicle instant information;
a path correction unit configured to calculate a lateral error correction value in accordance with the vehicle instant information, determine whether the lateral error correction value is greater than an error value, wherein the error value is an error between a target path and a predictive path; when the lateral error correction value is not greater than the error value, the path correction unit outputs a steering angle corresponding to the lateral error correction value; when the lateral error correction value is greater than the error value, the path correction unit outputs the steering angle corresponding to the error value; and
when the path correction unit calculates the lateral error correction value, a vehicle yaw rate threshold value is determined in accordance with the vehicle instant information, the steering angle corresponding to the vehicle yaw rate threshold value is calculated and the lateral error correction value is calculated in accordance with the steering angle.
The present invention implements the error value between the predictive path and the target path to be a rational error correction threshold value and estimate the error correction value in accordance with the vehicle instant information. The steering angle of the vehicle can be controlled in accordance with the error correction value when the error value is not greater than the correction threshold value, and accidents due to the excessive steering angle of the vehicle can be avoided and the vehicle can track the target path to drive smoothly in any different traffic situations.
These and other aspects of the embodiments herein will be better appreciated and understood when considered in conjunction with the following description and the accompanying drawings.
With reference to
With reference to
With reference to
Step S31 is to acquire vehicle instant information and a target path TG. The vehicle instant information includes a vehicle speed, a lateral accelerating speed, a driver vehicle model, a driving scenario, and so on, but it is not limited herein.
Step S32 is to establish a predictive path TP. The predictive path TP is calculated in accordance with the vehicle instant information. A model shown in
Step S33 is to determine a vehicle yaw rate threshold value γth. The vehicle yaw rate threshold value γth corresponding to the current vehicle instant information is determined by searching a table in accordance with the vehicle instant information. Since the vehicle yaw rate threshold value is determined by searching the table, the vehicle model configuration simulation program can be implemented to develop a pre-established lookup table in advance. The lookup table records the vehicle yaw rate threshold values γth when the vehicle is in different situations. In the present embodiment, the lookup table records the vehicle yaw rate threshold values γth corresponding to different speeds. The vehicle yaw rate threshold value γth corresponding to the instant speed can be determined by searching the lookup table in accordance with the instant speed.
Step S34 is to calculate a steering angle δf. The corresponding steering angle δf can be calculated by the vehicle yaw rate threshold value γth, which is searched from the lookup table. The present embodiment implements a bicycle model shown in
where {dot over (ψ)} is yaw rate, L is vehicle length, vx longitudinal vehicle speed, and δf is the steering angle.
Step S35 is to estimate a lateral error correction value ė. When the steering angle δf is calculated, the lateral error correction value ė can be calculated in accordance with the steering angle and the instant speed of the vehicle. The lateral error correction value can be calculated by using a vehicle lateral moving status space equation shown as follows:
and those parameters in the equation are:
vch: vehicle speed
vx: longitudinal vehicle speed,
vy: lateral vehicle speed
Cαf: front wheel steering stiffness
Cαr: rear wheel steering stiffness
L: vehicle length
m: vehicle weight
a: length from front axis to centre of gravity
b: length from rear axis to centre of gravity
Iz: movement of inertia
y: vehicle lateral displacement
ψ: yaw angle
r: yaw rate ({dot over (ψ)})
δf: front wheel steering angle
{dot over (y)}: lateral error correction value.
Step S36 is to determine if the lateral error correction value ė is greater than an error value ê between the target path and the predictive path.
Step S37 is to control the vehicle to turn the steering angle δf corresponding to the lateral error correction value ė when the lateral error correction value ė is not greater than the error value ê between the target path and the predictive path. As shown in
Step S38 is to control the vehicle to turn the steering angle δf_new corresponding to the error value ê when the lateral error correction value is greater than the error value ê between the target path and the predictive path. As shown in
With reference to
a plurality of sensors 10, which is configured to detect a plurality of different pieces of vehicle instant information, wherein the sensors 10 can include a vehicle speed sensor, an accelerating sensor, a camera lens, a global position service (GPS) device, an inertial measurement unit (IMU) or any combination thereof;
a path predictive unit 20, which is configured to develop a predictive path TP in accordance with the vehicle instant information;
a path correction unit 30, which is configured to calculate a lateral error correction value ė in accordance with the vehicle instant information, determine if the lateral error correction value ė is greater than the error value ê, and when the lateral error correction value ė is not greater than the error value ê, a steering angle δf corresponding to the lateral error correction value ė is outputted; when the lateral error correction value ė is greater than the error value, the steering angle δf_new corresponding to the error value is outputted.
The path correction unit 30 can perform those specific procedures in steps S33-S38, so the description for the path correction unit 30 is omitted herein. The path predictive unit 20 and the path correction unit 30 can be integrated together to be one single unit or performed by one single micro processor.
In summary, the present invention can develop a predictive path TP in accordance with the instant information of the vehicle and the predictive path TP is compared with the target path TG, which is available, to obtain the error value ê. The error value ê represents a maximum tolerance value of the steering angle for the vehicle. When the steering angle of the vehicle is not greater than the maximum tolerance value, the vehicle is able to drive smoothly and the passengers feel comfortable. The present invention implements the vehicle instant information to estimate the error correction value. When the steering angle of the vehicle is not greater than the maximum value, the vehicle is controlled in accordance with the error correction value and the moving path of the vehicle is approaching close to the target path.
While the present invention has been described in terms of what are presently considered to be the most practical and preferred embodiments, it is to be understood that the present invention need not be restricted to the disclosed embodiment. On the contrary, it is intended to cover various modifications and similar arrangements included within the spirit and scope of the appended claims which are to be accorded with the broadest interpretation so as to encompass all such modifications and similar structures. Therefore, the above description and illustration should not be taken as limiting the scope of the present invention which is defined by the appended claims.
Number | Name | Date | Kind |
---|---|---|---|
20060167600 | Nelson, Jr. | Jul 2006 | A1 |
20150066240 | Das Adhikary | Mar 2015 | A1 |