A vehicle assisted driving lateral control method for turning
Through the lateral control method of the vehicle assisted driving system, using sensors and calculation methods, the unsafe problem of the vehicle when entering corners on high speeds or elevated ramps is solved, and the vehicle is able to drive stably and safely in curves and avoid collision with obstacles. of contact.
Patent Information
- Application Number
- CN202410592346.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-14
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2044-05-14
AI Technical Summary
In L2 level vehicle assisted driving, lateral control requires human intervention in high-speed or elevated ramp scenarios, and due to different curvatures of curves and the existence of guardrails, it leads to unsafe psychological factors and control errors when the vehicle enters corners.
Through vehicle startup detection and initialization of lateral control functions, environmental sensors are used to determine lane lines, fit and predict driving trajectories, and obstacle avoidance is performed based on the curve curvature and obstacle distance. The time weight adaptive method and lateral torque compensation strategy are adopted to ensure Vehicle stability and safety when entering corners.
It achieves smooth control of the vehicle when entering corners, avoids the risk of contact with obstacles, reduces the driver's unsafe psychology, and improves the driving stability and safety of the vehicle on ramps and auxiliary roads.
Smart Images

Figure CN118163779B
Abstract
Description
Technical Field
[0001] The invention relates to a vehicle assisted driving lateral control cornering control method, belonging to the technical field of vehicle assisted driving. Background Art
[0002] At present, in the L2 level of vehicle assisted driving functions, lateral control requires human intervention in vehicle control in many application scenarios. For example, when entering a ramp on a highway or elevated road, human control of the vehicle is required or the vehicle can be controlled with the help of high-precision maps to provide road information for entering and exiting the curve. At the same time, in lateral control, due to the different curvatures of the curves, there are guardrails on both sides of the curve during the control process, which gives users a psychological factor of insecurity.
[0003] At present, when the L2 level lateral control is in place, after entering the ramp, due to the presence of lane lines and the closeness of the ramp guide lines, human intervention or poor control may be required to enter the ramp. In the internal control of the ramp, because some ramps are narrow and one or both sides are close to the guardrail, it gives people a sense of insecurity. At the same time, when entering and exiting a curve, the vehicle may deviate to one side, or the lateral control may be exited when there is a lane line. Summary of the invention
[0004] The technical problem to be solved by the present invention is to overcome the deficiencies of the prior art and provide a vehicle assisted driving lateral control cornering control method, so that the vehicle can corner more smoothly and at the same time have the function of avoiding obstacles on both sides of the lane.
[0005] In order to solve the above technical problems, the technical solution of the present invention is:
[0006] A vehicle assisted driving lateral control cornering control method, comprising:
[0007] Step S1, the vehicle is started, the vehicle status is detected to see if it is normal, and the lateral control function is initialized and turned on;
[0008] Step S2, performing lateral control on the vehicle;
[0009] Step S3: When the vehicle enters a curve, obstacle avoidance is performed according to the curvature of the curve;
[0010] Step S4: If the vehicle encounters road bumps or steep slopes during lateral control, lateral torque compensation is performed on the vehicle.
[0011] Furthermore, in step S1, the vehicle is started, whether the vehicle state is normal is detected, and the lateral control function is initialized and started, which specifically includes the following steps:
[0012] Step S11, the vehicle is started to perform a power-on self-test, and after the self-test is completed, the vehicle starts to drive. If there is a fault in the vehicle, the vehicle cannot be started;
[0013] Step S12: During vehicle driving, the lateral control switch is turned on, and the lateral control switch signal is sent to the ADAS controller through the body controller. After receiving the lateral control switch signal, the ADAS controller performs a lateral control function initialization test, detects no faults, completes the initialization, and starts the lateral control function.
[0014] Furthermore, in step S2, the vehicle is laterally controlled, which specifically includes the following steps:
[0015] Step S21: first determine whether there is a lane line on the current road through the environmental sensor. If there is a lane line, fit a predicted driving trajectory according to the lane line information, and perform lateral control according to the predicted driving trajectory;
[0016] Step S22: When there is a lane line and there is no target vehicle in front of the vehicle, the vehicle enters a curve;
[0017] At this time, turn on the corresponding turn signal, and the lane line will switch to the lane line corresponding to the curve, and calibrate with different approach curvature rates;
[0018] Step S23: When the vehicle enters a curve within the lane line, the original predicted driving trajectory equation is:
[0019] ;
[0020] Among them, y is the distance the vehicle moves laterally, and x is the distance the vehicle moves longitudinally. is the lane line equation coefficient;
[0021] The lane line equation in a curve is:
[0022] ;
[0023] Among them, y is the distance the vehicle moves laterally, and x is the distance the vehicle moves longitudinally. is the lane line equation coefficient;
[0024] When the ego vehicle starts to turn, the time weight adaptive method is used to control the turning to keep the vehicle stable. The equation of the target vehicle at the current moment is:
[0025] ;
[0026] in, is the trajectory of the target vehicle at the current moment, is the original lane line equation at the previous moment, is the lane line equation of the curve at the previous moment, is the sampling period, is the time weight, k is the current moment, k-1 is the previous moment;
[0027] At the same time, an adaptive weighting method is used for the time weight, where the input is vehicle speed and road curvature, and the output is the time weight. , time weight Calibrate according to different vehicle speeds and road curvatures.
[0028] Further, in step S3, after the vehicle enters a curve, obstacle avoidance is performed according to the curvature of the curve, which specifically includes the following steps:
[0029] Step S31: When the vehicle enters a curve and the curvature radius of the curve is less than L1, first identify whether the curve is a single lane. If it is a single lane, determine the distances from the left and right lane lines and the left and right obstacles to the vehicle. If the distance from one side of the obstacle to the vehicle is less than L2, then calculate the predicted driving trajectory equation. Add a compensation amount to the other side of the vehicle, and the predicted driving trajectory equation after compensation is:
[0030] ;
[0031] in, is the compensation amount;
[0032] This allows the vehicle to move laterally away from obstacles;
[0033] Step S32: When the vehicle enters a curve and the radius of curvature of the curve is less than L1, if the curve is identified as a two-lane road and the middle lane line of the two-lane road is a dotted line, only consider whether there is an obstacle on the side of the vehicle away from the middle lane line. If there is an obstacle and the distance from the obstacle to the vehicle is less than L2, the predicted driving trajectory equation is compensated according to step S31.
[0034] Furthermore, in step S4, if the vehicle encounters a bumpy road or a steep slope during lateral control, lateral torque compensation is performed on the vehicle, which specifically includes the following steps:
[0035] Step S41, firstly calculating the mean and standard deviation of the vehicle lateral torque;
[0036] The mean value of the vehicle lateral torque for:
[0037] ;
[0038] The standard deviation of the vehicle lateral torque for:
[0039] ;
[0040] Among them, i is a counter, and the count is accumulated by 1 in each sampling cycle;
[0041] Step S42: The vehicle lateral torque must meet the following conditions:
[0042] The standard deviation of the vehicle lateral torque Less than the threshold;
[0043] The absolute value of the vehicle lateral torque is less than a threshold value;
[0044] The steering wheel angle of the vehicle is less than 0.7 degrees;
[0045] The driver of the vehicle was not speeding;
[0046] Step S42: Under the condition of step S42, a lateral torque compensation value is calculated. The calculation formula of the lateral torque compensation value is:
[0047] EPSDriverTrqComp(k) = β* EPSDriverTrq(k) + (1-β)*EPSDriverTrqComp(k-1);
[0048] Wherein, EPSDriverTrqComp(k) is the lateral torque compensation value at the current moment, EPSDriverTrq(k) is the mean lateral torque at the current moment, EPSDriverTrqComp(k-1) is the lateral torque compensation value at the previous moment, β =(Vspd*0.01 + 0.1), Vspd is the vehicle speed, k is the current moment, and k-1 is the previous moment;
[0049] Finally, the compensated lateral torque is calculated, and the calculation formula of the compensated lateral torque is:
[0050] EPSDriverTrqcompensated = EPSDriverTrq(k) + EPSDriverTrqComp(k);
[0051] Among them, EPSDriverTrqcompensated is the compensated lateral torque, EPSDriverTrq(k) is the driving torque, and k is the current moment.
[0052] By adopting the above technical solution, the present invention adopts a lateral torque compensation strategy when entering a curve in lateral control, so that the vehicle enters the curve more smoothly, especially when entering an auxiliary road or ramp. At the same time, an avoidance function is designed when there is a guardrail on the curb of the curve during lateral control and the guardrail is close to the vehicle, so as to create a sense of safety for the driving user and reduce the risk of vehicle collision. The present invention makes the lateral control of the vehicle smoother when entering and exiting a curve, and at the same time, the longitudinal direction maintains a safe driving speed according to the different curvature radii of the curve. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] Figure 1 This is a flow chart of a vehicle assisted driving lateral control cornering control method of the present invention;
[0054] Figure 2 A schematic diagram of the road condition of scenario 1 of the present invention;
[0055] Figure 3 This is a schematic diagram of the road condition of scenario 2 of the present invention. DETAILED DESCRIPTION
[0056] In order to make the contents of the present invention more clearly understood, the present invention is further described in detail below based on specific embodiments in conjunction with the accompanying drawings.
[0057] like Figure 1 As shown, this embodiment provides a vehicle assisted driving lateral control cornering control method, which includes:
[0058] Step S1, starting the vehicle, detecting whether the vehicle status is normal, initializing and starting the lateral control function; specifically including the following steps:
[0059] Step S11, the vehicle is started to perform a power-on self-test, and after the self-test is completed, the vehicle starts to drive. If there is a fault in the vehicle, the vehicle cannot be started;
[0060] Step S12: During vehicle driving, the lateral control switch is turned on, and the lateral control switch signal is sent to the ADAS controller through the body controller. After receiving the lateral control switch signal, the ADAS controller performs a lateral control function initialization test, detects no faults, completes the initialization, and starts the lateral control function.
[0061] Step S2, performing lateral control on the vehicle; specifically comprising the following steps:
[0062] Step S21: first determine whether there is a lane line on the current road through the environmental sensor. If there is a lane line, fit a predicted driving trajectory according to the lane line information, and perform lateral control according to the predicted driving trajectory;
[0063] Step S22: When there is a lane line and there is no target vehicle in front of the vehicle, the vehicle enters a curve. Figure 2 As shown in scene 1:
[0064] In this scenario, the vehicle may be unable to complete the turn because the lane line suddenly switches. In this case, you only need to turn on the corresponding turn signal, and the lane line will gradually switch to the lane line corresponding to the curve, and calibrate with different curvatures. Figure 3 As shown, in other scenarios such as scenario 2, there is no need to turn on the corresponding turn signal;
[0065] Step S23: When the vehicle enters a curve within the lane line, the original predicted driving trajectory equation is a cubic polynomial, specifically:
[0066] ;
[0067] Among them, y is the distance the vehicle moves laterally, and x is the distance the vehicle moves longitudinally. is the lane line equation coefficient;
[0068] The lane line equation in a curve is:
[0069] ;
[0070] Among them, y is the distance the vehicle moves laterally, and x is the distance the vehicle moves longitudinally. is the lane line equation coefficient;
[0071] When the ego vehicle starts to turn, in order to avoid the vehicle's lateral control from losing control, the time weight adaptive method is used to control the turning and keep the vehicle stable. The equation of the target vehicle at the current moment is:
[0072] ;
[0073] in, is the trajectory of the target vehicle at the current moment, is the original lane line equation at the previous moment, is the lane line equation of the curve at the previous moment, is the sampling period, is the time weight, k is the current moment, k-1 is the previous moment;
[0074] In order to be able to enter the corner smoothly, an adaptive weighting method is used for the time weight, where the input is the vehicle speed and road curvature, and the output is the time weight. , time weight It is calibrable and can be calibrated according to different vehicle speeds and road curvatures. The calibration range is between 0 and 0.2.
[0075] Step S3: When the vehicle enters a curve, an obstacle avoidance function is designed according to the curvature of the curve. The obstacles are guardrails on both sides of the lane to prevent the driver from having an unsafe mentality. The specific steps include:
[0076] Step S31: When the vehicle enters a curve and the curvature radius of the curve is less than L1 (generally set according to the curvature radius of 50 to 250 meters), first identify whether the curve is a single lane. If it is a single lane, determine the distances from the left and right lane lines and the left and right obstacles to the vehicle. If the distance from one side of the obstacle to the vehicle is less than L2 (generally set to 30 to 50 cm), the predicted driving trajectory equation is Add a compensation amount to the other side of the vehicle, and the predicted driving trajectory equation after compensation is:
[0077] ;
[0078] in, is the compensation amount;
[0079] This allows the vehicle to move laterally away from obstacles, maintaining the safety of the vehicle while keeping it stable within the lane.
[0080] Step S32: When the vehicle enters a curve and the curvature radius of the curve is less than L1 (generally set according to the curvature radius of 50 to 250 meters, this condition can be calibrated), if the curve is identified as a double lane and the middle lane line of the double lane is a dotted line, only consider whether there is an obstacle on the side of the vehicle away from the middle lane line. If there is an obstacle and the distance from the obstacle to the vehicle is less than L2 (generally set to 30 to 50 cm), the predicted driving trajectory equation is compensated according to step S31;
[0081] When the vehicle enters a curve, the longitudinal speed should meet the requirement of smooth cornering while maintaining lateral control. The longitudinal speed can be calibrated according to different road curvatures.
[0082] In step S4, if the vehicle encounters road bumps or steep slopes during lateral control, lateral torque compensation is performed on the vehicle; the specific steps include:
[0083] Step S41, firstly calculating the mean and standard deviation of the vehicle lateral torque;
[0084] Mean value of vehicle lateral torque for:
[0085] ;
[0086] Standard deviation of vehicle lateral torque for:
[0087] ;
[0088] Among them, i is a counter, and the count is accumulated by 1 in each sampling cycle;
[0089] Step S42: The vehicle lateral torque must meet the following conditions:
[0090] Standard deviation of vehicle lateral torque Less than the threshold value (eg 0.025Nm);
[0091] The absolute value of the vehicle's lateral torque is less than a threshold value (eg 0.7Nm);
[0092] The steering wheel angle of the vehicle is less than 0.7 degrees;
[0093] The driver of the vehicle was not speeding;
[0094] Step S42: Under the condition of step S42, the lateral torque compensation value is calculated. The calculation formula of the lateral torque compensation value is:
[0095] EPSDriverTrqComp(k) = β* EPSDriverTrq(k) + (1-β)*EPSDriverTrqComp(k-1);
[0096] Wherein, EPSDriverTrqComp(k) is the lateral torque compensation value at the current moment, EPSDriverTrq(k) is the mean lateral torque at the current moment, EPSDriverTrqComp(k-1) is the lateral torque compensation value at the previous moment, β =(Vspd*0.01 + 0.1), Vspd is the vehicle speed, k is the current moment, and k-1 is the previous moment;
[0097] Finally, the compensated lateral torque is calculated. The calculation formula of the compensated lateral torque is:
[0098] EPSDriverTrqcompensated = EPSDriverTrq(k) + EPSDriverTrqComp(k);
[0099] Among them, EPSDriverTrqcompensated is the compensated lateral torque, EPSDriverTrq(k) is the driving torque, and k is the current moment.
[0100] The specific embodiments described above further illustrate the technical problems, technical solutions and beneficial effects solved by the present invention. It should be understood that the above are only specific embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A vehicle assisted driving lateral control cornering control method, characterized in that: It includes: Step S1, the vehicle is started, the vehicle status is detected to see if it is normal, and the lateral control function is initialized and turned on; Step S2, performing lateral control on the vehicle; Step S3: When the vehicle enters a curve, obstacle avoidance is performed according to the curvature of the curve; Step S4: If the vehicle encounters road bumps or steep slopes during lateral control, lateral torque compensation is performed on the vehicle; In step S2, the vehicle is laterally controlled, which specifically includes the following steps: Step S21: first determine whether there is a lane line on the current road through the environmental sensor. If there is a lane line, fit a predicted driving trajectory according to the lane line information, and perform lateral control according to the predicted driving trajectory; Step S22: When there is a lane line and there is no target vehicle in front of the vehicle, the vehicle enters a curve; At this time, turn on the corresponding turn signal, and the lane line will switch to the lane line corresponding to the curve, and calibrate with different approach curvature rates; Step S23: When the vehicle enters a curve within the lane line, the original predicted driving trajectory equation is: ; Among them, y is the distance the vehicle moves laterally, and x is the distance the vehicle moves longitudinally. is the lane line equation coefficient; The lane line equation in a curve is: ; Among them, y is the distance the vehicle moves laterally, and x is the distance the vehicle moves longitudinally. is the lane line equation coefficient; When the ego vehicle starts to turn, the time weight adaptive method is used to control the turning to keep the vehicle stable. The equation of the target vehicle at the current moment is: ; in, is the trajectory of the target vehicle at the current moment, is the original lane line equation at the previous moment, is the lane line equation of the curve at the previous moment, is the sampling period, is the time weight, k is the current moment, k-1 is the previous moment; At the same time, an adaptive weighting method is used for the time weight, where the input is vehicle speed and road curvature, and the output is the time weight. , time weight Calibrate according to different vehicle speeds and road curvatures; In step S3, after the vehicle enters a curve, obstacle avoidance is performed according to the curvature of the curve, which specifically includes the following steps: Step S31: When the vehicle enters a curve and the curvature radius of the curve is less than L1, first identify whether the curve is a single lane. If it is a single lane, determine the distances from the left and right lane lines and the left and right obstacles to the vehicle. If the distance from one side of the obstacle to the vehicle is less than L2, then calculate the predicted driving trajectory equation. Add a compensation amount to the other side of the vehicle, and the predicted driving trajectory equation after compensation is: ; in, is the compensation amount; This allows the vehicle to move laterally away from obstacles; Step S32: When the vehicle enters a curve and the curvature radius of the curve is less than L1, if the curve is identified as a double lane and the middle lane line of the double lane is a dotted line, only consider whether there is an obstacle on the side of the vehicle away from the middle lane line. If there is an obstacle and the distance from the obstacle to the vehicle is less than L2, the predicted driving trajectory equation is compensated according to step S31; In step S4, if the vehicle encounters road bumps or steep slopes during lateral control, lateral torque compensation is performed on the vehicle, which specifically includes the following steps: Step S41, firstly calculating the mean and standard deviation of the vehicle lateral torque; The mean value of the vehicle lateral torque for: ; The standard deviation of the vehicle lateral torque for: ; Among them, i is a counter, and the count is accumulated by 1 in each sampling cycle; Step S42: The vehicle lateral torque must meet the following conditions: The standard deviation of the vehicle lateral torque Less than the threshold; The absolute value of the vehicle lateral torque is less than a threshold value; The steering wheel angle of the vehicle is less than 0.7 degrees; The driver of the vehicle was not speeding; Step S42: Under the condition of step S42, a lateral torque compensation value is calculated. The calculation formula of the lateral torque compensation value is: EPSDriverTrqComp(k) = β* EPSDriverTrq(k) + (1-β)*EPSDriverTrqComp(k-1); Wherein, EPSDriverTrqComp(k) is the lateral torque compensation value at the current moment, EPSDriverTrq(k) is the mean lateral torque at the current moment, EPSDriverTrqComp(k-1) is the lateral torque compensation value at the previous moment, β = (Vspd*0.01 + 0.1), Vspd is the vehicle speed, k is the current moment, and k-1 is the previous moment; Finally, the compensated lateral torque is calculated, and the calculation formula of the compensated lateral torque is: EPSDriverTrqcompensated = EPSDriverTrq(k) + EPSDriverTrqComp(k); Among them, EPSDriverTrqcompensated is the compensated lateral torque, EPSDriverTrq(k) is the driving torque, and k is the current moment.
2. The vehicle assisted driving lateral control cornering control method according to claim 1, characterized in that: In step S1, the vehicle is started, the vehicle status is detected to see if it is normal, and the lateral control function is initialized and started, which specifically includes the following steps: Step S11, the vehicle is started to perform a power-on self-test, and after the self-test is completed, the vehicle starts to drive. If there is a fault in the vehicle, the vehicle cannot be started; Step S12: During vehicle driving, the lateral control switch is turned on, and the lateral control switch signal is sent to the ADAS controller through the body controller. After receiving the lateral control switch signal, the ADAS controller performs a lateral control function initialization test, detects no faults, completes the initialization, and starts the lateral control function.
