Automobile centering keeping control method

By using the front camera to set the preview point in the car, using the PID algorithm and neural network to adjust parameters, combined with curvature compensation and multiple prompt functions, the problem of path planning and PID parameter acquisition in the existing technology is solved, and the car is kept centered. The precision and safety of control improve driving comfort.

CN118560472APending Publication Date: 2024-08-30SHAANXI HEAVY DUTY AUTOMOBILE CO LTD
View PDF 14 Cites 0 Cited by

Patent Information

Application Number
CN202410719036.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-05
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

The existing car centering control scheme has difficulties in ensuring accuracy in path planning and PID parameter determination, resulting in low control accuracy, and the parameter acquisition method is complex and unclear, which affects the vehicle centering effect.

Method used

The preview point is set through the front camera, and two sets of PID algorithms and neural networks are used to adjust parameters online to control the angle and distance between the preview point and the lane line. It combines curvature compensation and visual, sound, and vibration prompt functions to realize vehicle safety. Stay in the center to maintain control.

Benefits of technology

It improves the accuracy and safety of vehicle centering control, simplifies the control algorithm, reduces the driver's driving burden, improves driving comfort, and enhances the control effect through feedforward compensation and intelligent parameter acquisition.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118560472A
    Figure CN118560472A
Patent Text Reader

Abstract

The invention relates to an automobile centering keeping control method which comprises the steps that a preview point is arranged in front of an automobile through a front camera, the position of the automobile is adjusted through PID algorithms, the included angle between the preview point X and lane lines on the two sides is controlled through a first set of PID algorithms, and the included angle between the preview point X and the lane lines is made to be 0; controlling the distances between the preview point X and the lane lines on the two sides through a second group of PID algorithms, so that the distances between the preview point X and the lane lines are equal, and obtaining a steering wheel request turning angle; curvature compensation is conducted on the steering wheel request turning angle, the curvature compensation is obtained through table look-up based on the road curvature, the vehicle weight and the vehicle speed, a compensation value is obtained through calibration, and the compensation value is feedforward compensation; the included angle between the preview point X and the lane center line is controlled through angle control PID parameters, curvature compensation is carried out on the steering wheel request turning angle, vehicle centering keeping control is achieved, and compared with an existing scheme, the control algorithm is simple in principle, convenient to operate, high in control precision and easy to achieve.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of automobile automatic driving control, and in particular to a method for controlling automobile centering. Background Art

[0002] Existing vehicle centering control solutions basically obtain lane line information through a camera installed in front of the vehicle. The camera transmits the lane line information to a control unit, which makes decisions by identifying the lane line information and controls the steering machine to keep the vehicle centered.

[0003] The existing vehicle centering control algorithm is to establish a path for the vehicle to correct to the middle of the lane when it deviates from the lane. The path is a polynomial of the distance of the preview point, and then guide the vehicle to drive along the path to keep it in the middle of the lane. The difficulty of this technology lies in path planning, which requires accurate calculation of the path for the vehicle to correct to the middle of the lane when it deviates from the lane line. The quality of the path is directly related to the effect of vehicle centering, and the path coefficient directly determines the accuracy of vehicle control. However, the accuracy of the path coefficient is difficult to obtain very accurately, so it is difficult to ensure that the path obtained in this way achieves the desired accuracy, and it is difficult to implement. For example, the first existing technology, the publication (announcement) number is CN112208524A, which first calculates the target path and then performs target path tracking control. The target path solution is complicated, and the complex path calculation method will add more errors; for example, the second existing technology, the authorization announcement number is: CN111717189B, through fuzzy PID Adjust the heading angle deviation and blur between the current heading angle and the target heading angle PID Adjust the current vehicle position and target lateral position, determine the fuzzy control PID The method parameters are not specified. Summary of the invention

[0004] The purpose of the present invention is to provide a vehicle centering control method to address the deficiencies in the prior art.

[0005] The present invention is achieved by adopting the following technical solutions: A vehicle centering control method, comprising: Set the preview point, and use the front camera to set the preview point in front of the vehicle X , the preview point X The angle between the lane lines on both sides is: X The average value of the angles with the lane lines on both sides of the road; pass PID The algorithm adjusts the vehicle position by PID Algorithm-controlled preview point X The included angle with the lane lines on both sides makes the preview point XThe angle with the lane line is 0, passing the second group PID Algorithm-controlled preview point X The distance from the lane lines on both sides makes the preview point X Equal distance from the lane line; two groups PID The parameters of the algorithm are all obtained through online tuning of the neural network, which is a three-layer neural network, including an input layer, a hidden layer and an output layer; Curvature compensation: When the vehicle is on a curved road, curvature compensation is performed on the steering wheel angle. The curvature compensation is obtained by looking up a table based on the road curvature, vehicle weight and vehicle speed. The compensation value is obtained through calibration, and the compensation value is feedforward compensation.

[0006] Preferably, the preview point X The formula is: X=P×V ; in P For preview time, V is the current vehicle speed, the preview time P Obtained through calibration.

[0007] Preferably, the hidden layer is a linear function: ; The output layer is an activation function, and the activation function is a Sigmoid function: .

[0008] Preferably, to prevent two groups PID The algorithm parameters change too quickly, causing the vehicle to swing significantly. PID Algorithms and Group 2 PID Three parameters in the algorithm P, I, D Restrictions are made separately, including P<P_max,I<I_max,D< D_max .

[0009] Preferably, the first group PID The neural network input layer for algorithm parameter tuning is selected as the preview point X The angle deviation from the lane centerline A_e, the expected angle A_p, the current angle A_n, and the fourth variable is taken as 1.

[0010] Preferably, the second group PID The neural network input layer for algorithm parameter tuning is selected as the preview point X The distance deviation from the lane centerline is Y_e, the expected lateral distance is Y_p, the current lateral displacement is Y_n, and the fourth variable is taken as 1.

[0011] Preferably, in order to obtain a more accurate curve curvature compensation value, the vehicle is provided with a weighing sensor for providing real-time feedback of the vehicle weight.

[0012] Preferably, it also includes a vehicle deviation prompt function, the vehicle identifies the lane lines on both sides of the road through the front camera and displays them through the instrument, and the instrument displays two lane lines with green lights; when the front camera only identifies the road line on one side, the vehicle deviates, the instrument displays the lane line on the deviated side as a red light, and the red light flashes for visual prompts, and a buzzer provided on the instrument provides a sound prompt, and at the same time, the motor provided on the driver's seat is started to vibrate for prompts.

[0013] Compared with the prior art, the present invention has the following beneficial technical effects: Different from the existing solution of establishing path planning first and then controlling, the existing path planning method is complex and has large errors. PID The parameter acquisition method is unclear or not intelligent, and still requires a lot of calibration to obtain. PID Algorithm-controlled preview point X The angle with the lane line is obtained by the second group PID Algorithm-controlled preview point X The distance from the lane line is used to keep the vehicle centered and controlled. Compared with the existing scheme, the control algorithm is simple in principle and easy to operate. PID Adjusting parameters, high control accuracy, easy to implement, and taking into account the impact of vehicle speed, vehicle weight, and road curvature on vehicle control, adding feedforward compensation to further increase control accuracy, and adding sound and light reminders on the instrument display and sensory reminders of seat vibration to remind driving safety and comfort; The present invention provides visual, audible and vibration prompts when the vehicle deviates from the lane, thereby ensuring vehicle safety, reducing the driver's driving intensity, improving driving comfort and increasing the added value of the vehicle. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 is a system control block diagram of the present invention; Figure 2 For the present invention PID Schematic diagram of parameter neural network tuning; Figure 3 This is a diagram of the neural network architecture in the present invention; Figure 4 The first group of the present invention PID Schematic diagram of neural network tuning of algorithm parameters; Figure 5 The second group of the present invention PID Schematic diagram of neural network tuning of algorithm parameters; Figure 6The preview point in the present invention X Schematic diagram of the angle with the lane line; Figure 7 The preview point in the present invention X Schematic diagram of the distance to the lane line. DETAILED DESCRIPTION

[0015] In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings 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 should fall within the scope of protection of the present invention.

[0016] Embodiment 1 like Figure 1-Figure 2 As shown, a vehicle centering control method includes: Set the preview point, and use the front camera to set the preview point in front of the vehicle X , preview point X The angle between the lane lines on both sides is: X The average value of the angles with the lane lines on both sides of the road; pass PID The algorithm adjusts the vehicle position by PID Algorithm-controlled preview point X The included angle with the lane lines on both sides makes the preview point X The angle with the lane line is 0, passing the second group PID Algorithm-controlled preview point X The distance from the lane lines on both sides makes the preview point X Equal distance from the lane line; Two groups PID The parameters of the algorithm are obtained through online tuning of the neural network, which is a three-layer neural network, including input layer, hidden layer and output layer; like Figure 3 As shown in the figure, the input layer takes the deviation value, expected value, and current value respectively. In order to make the neural network more stable, the fourth parameter takes the constant term 1. The hidden layer feeds back the four input parameters and the error to perform a linear function operation, and then sums up all the parameter results; the output layer is the output of the hidden layer after the Sigmoid function operation, and the error feedback value is subjected to the Sigmoid function operation, and then the two are summed to obtain the output layer.

[0017] Curvature compensation: When the vehicle is on a curved road, the steering wheel angle is compensated for curvature. The curvature compensation is obtained by looking up the table based on the road curvature, vehicle weight and vehicle speed. The compensation value is obtained through calibration, and the compensation value is feedforward compensation. The sum of the steering wheel request angles is the final steering wheel request angle.

[0018] like Figure 6-Figure 7 As shown, Figure 6 a in the middle is the preview point X The angle with the lane line on one side, The angle between the preview point and the lane line is obtained through the camera. The front camera can output the distance y0 between the vehicle and the left and right lane lines, the angle e between the vehicle and the left and right lane lines, the curvature C0 of the left and right lane lines, and the curvature change rate C1 of the left and right lane lines, and then calculate the preview point according to the lane line model equation X Distance from left and right lane lines and The calculation equation is: ; The distance deviation is obtained by subtracting the distance between the vehicle and the left and right lane lines. ; Preview point X The formula is: X=P×V ; in P For preview time, V is the current vehicle speed, preview time P Obtained through calibration.

[0019] The hidden layer is a linear function: ; The output layer is the activation function, and the activation function is the Sigmoid function: .

[0020] To prevent the two groups PID The algorithm parameters change too quickly, causing the vehicle to swing significantly. PID Algorithms and Group 2 PID Three parameters in the algorithm P, I, D Restrictions are made separately, including P<P_max, I<I_max, D<D_max .

[0021] like Figure 4 As shown, the first group PID The neural network input layer for algorithm parameter tuning is selected as the preview point X The angle deviation from the lane centerline A_e, the expected angle A_p, the current angle A_n, and the fourth variable is taken as 1.

[0022] like Figure 5 As shown, the second group PID The neural network input layer for algorithm parameter tuning is selected as the preview point X The distance deviation from the lane centerline is Y_e, the expected lateral distance is Y_p, the current lateral displacement is Y_n, and the fourth variable is taken as 1.

[0023] In order to obtain more accurate curve curvature compensation values, the vehicle is equipped with a weighing sensor to provide real-time feedback on the vehicle weight.

[0024] Embodiment 2 It also includes a vehicle deviation warning function. The vehicle uses the front camera to identify the lane lines on both sides of the road and displays them on the instrument. The instrument displays two lane lines with green lights. When the front camera only identifies the road lines on one side, the vehicle deviates. The instrument displays the lane line on the deviated side as a red light, and the red light flashes as a visual prompt. The instrument also uses a buzzer to sound a prompt, and the motor on the driver's seat is started to vibrate for a prompt.

Claims

1. A method for controlling the centering of a vehicle, It is characterized in that include: Set the preview point, and use the front camera to set the preview point in front of the vehicle X , the preview point X The angle between the lane lines on both sides is: X The average value of the angles with the lane lines on both sides of the road; pass PID The algorithm adjusts the vehicle position by PID Algorithm-controlled preview point X The included angle with the lane lines on both sides makes the preview point X The angle between the lane line and the lane line is 0, passing the second group PID Algorithm-controlled preview point X The distance from the lane lines on both sides makes the preview point X Equal distance from the lane line; Two groups PID The parameters of the algorithm are all obtained through online tuning of the neural network, which is a three-layer neural network, including an input layer, a hidden layer and an output layer; Curvature compensation: When the vehicle is on a curved road, curvature compensation is performed on the steering wheel angle. The curvature compensation is obtained by looking up a table based on the road curvature, vehicle weight and vehicle speed. The compensation value is obtained through calibration, and the compensation value is feedforward compensation.

2. The vehicle centering control method according to claim 1, It is characterized in that The preview point X The formula is: X=P×V ; in P For preview time, V is the current vehicle speed, the preview time P Obtained through calibration.

3. The vehicle centering control method according to claim 1, It is characterized in that The hidden layer is a linear function: ; The output layer is an activation function, and the activation function is a Sigmoid function: 。 4. The vehicle centering control method according to claim 1, It is characterized in that To prevent the two groups PID The algorithm parameters change too quickly, causing the vehicle to swing significantly. PID Algorithms and Group 2 PID Three parameters in the algorithm P, I, D Restrictions are made separately, including P<P_max, I<I_max, D<D_max .

5. The vehicle centering control method according to claim 4, It is characterized in that Group 1 PID The neural network input layer for algorithm parameter tuning is selected as the preview point X The angle deviation from the lane centerline A_e, the expected angle A_p, the current angle A_n, and the fourth variable is taken as 1.

6. The vehicle centering control method according to claim 4, It is characterized in that Group 2 PID The neural network input layer for algorithm parameter tuning is selected as the preview point X The distance deviation from the lane centerline is Y_e, the expected lateral distance is Y_p, the current lateral displacement is Y_n, and the fourth variable is taken as 1.

7. The vehicle centering control method according to claim 1, It is characterized in that In order to obtain more accurate curve curvature compensation values, the vehicle is equipped with a weighing sensor to provide real-time feedback on the vehicle weight.

8. The vehicle centering control method according to claim 1, It is characterized in that It also includes a vehicle deviation warning function, where the vehicle uses a front camera to identify lane lines on both sides of the road and displays them on an instrument panel, where the instrument panel displays two lane lines with green lights. When the front camera only recognizes the road line on one side and the vehicle deviates, the instrument displays the lane line on the deviated side as a red light, and the red light flashes as a visual prompt, and the instrument's buzzer gives a sound prompt. At the same time, the motor on the driver's seat starts to vibrate for a prompt.

Citation Information

Patent Citations

  • Intelligent vehicle control system and method

    CN106054893A

  • Lane departure early warning system and control method thereof

    CN108501959A

  • Lane keeping control method, device and system

    CN111717189A

  • Intelligent vehicle lane centering keeping method

    CN112537303A

  • Lane keeping control method and device and vehicle

    CN113311698A