WO2023024914A1 - Vehicle avoidance method and apparatus, computer device, and storage medium - Google Patents

Vehicle avoidance method and apparatus, computer device, and storage medium Download PDF

Info

Publication number
WO2023024914A1
WO2023024914A1 PCT/CN2022/111675 CN2022111675W WO2023024914A1 WO 2023024914 A1 WO2023024914 A1 WO 2023024914A1 CN 2022111675 W CN2022111675 W CN 2022111675W WO 2023024914 A1 WO2023024914 A1 WO 2023024914A1
Authority
WO
WIPO (PCT)
Prior art keywords
vehicle
lane
avoidance
current vehicle
path
Prior art date
Application number
PCT/CN2022/111675
Other languages
French (fr)
Chinese (zh)
Inventor
张家旭
王洪雨
刘洋
许健
Original Assignee
中国第一汽车股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中国第一汽车股份有限公司 filed Critical 中国第一汽车股份有限公司
Publication of WO2023024914A1 publication Critical patent/WO2023024914A1/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W30/00Purposes of road vehicle drive control systems not related to the control of a particular sub-unit, e.g. of systems using conjoint control of vehicle sub-units, or advanced driver assistance systems for ensuring comfort, stability and safety or drive control systems for propelling or retarding the vehicle
    • B60W30/08Active safety systems predicting or avoiding probable or impending collision or attempting to minimise its consequences
    • B60W30/09Taking automatic action to avoid collision, e.g. braking and steering
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W30/00Purposes of road vehicle drive control systems not related to the control of a particular sub-unit, e.g. of systems using conjoint control of vehicle sub-units, or advanced driver assistance systems for ensuring comfort, stability and safety or drive control systems for propelling or retarding the vehicle
    • B60W30/18Propelling the vehicle
    • B60W30/18009Propelling the vehicle related to particular drive situations
    • B60W30/18163Lane change; Overtaking manoeuvres
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W40/00Estimation or calculation of non-directly measurable driving parameters for road vehicle drive control systems not related to the control of a particular sub unit, e.g. by using mathematical models
    • B60W40/02Estimation or calculation of non-directly measurable driving parameters for road vehicle drive control systems not related to the control of a particular sub unit, e.g. by using mathematical models related to ambient conditions
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W60/00Drive control systems specially adapted for autonomous road vehicles
    • B60W60/001Planning or execution of driving tasks
    • B60W60/0015Planning or execution of driving tasks specially adapted for safety

Definitions

  • the present application relates to intelligent driving technology, such as a vehicle avoidance method, device, computer equipment and storage medium.
  • the car will encounter obstacles during driving and needs to avoid them.
  • the mass-produced models of the vehicle manufacturers are all equipped with an automatic emergency braking obstacle avoidance system to improve the active safety when the vehicle encounters an obstacle during driving.
  • the present application provides a vehicle avoidance method, device, computer equipment and storage medium, so as to improve the safety of vehicle avoidance.
  • This application provides a vehicle avoidance method, including:
  • the current vehicle avoidance type is lane change avoidance
  • determine the lane change path of the current vehicle based on the constraints of lateral acceleration and lateral acceleration change rate, determine the lane change path of the current vehicle, and control the current vehicle along the Change lanes.
  • the application also provides a vehicle avoidance device, comprising:
  • the driving data acquisition module of the preceding vehicle is configured to detect the driving data of the preceding vehicle in the same lane;
  • the avoidance type determination module is configured to detect the current vehicle avoidance type according to the driving data of the preceding vehicle
  • Controlling the vehicle lane-changing module configured to determine the lane-changing path of the current vehicle based on the constraints of lateral acceleration and lateral acceleration change rate when the type of avoidance of the current vehicle is determined to be lane-changing avoidance, and The current vehicle is controlled to travel along the lane changing path.
  • the present application also provides a kind of computer equipment, and described computer equipment comprises:
  • processors one or more processors
  • a storage device configured to store one or more programs
  • the one or more processors implement the above vehicle avoidance method.
  • the present application also provides a storage medium containing computer-executable instructions, and the computer-executable instructions are used to execute the above-mentioned vehicle avoidance method when executed by a computer processor.
  • FIG. 1 is a flow chart of a vehicle avoidance method provided in Embodiment 1 of the present application;
  • Fig. 2 is a schematic diagram of a type of vehicle lane change and avoidance provided in Embodiment 1 of the present application;
  • Embodiment 3 is a flow chart of a vehicle avoidance method provided in Embodiment 2 of the present application.
  • FIG. 4 is a schematic diagram of a lane-changing avoidance route for a vehicle provided in Embodiment 2 of the present application;
  • FIG. 5 is a flow chart of a vehicle avoidance method provided in Embodiment 3 of the present application.
  • FIG. 6 is a schematic diagram of a scene of vehicle avoidance path tracking control provided in Embodiment 3 of the present application.
  • FIG. 7 is a schematic diagram of a vehicle avoidance system provided in Embodiment 5 of the present application.
  • Fig. 8 is a schematic diagram of a vehicle avoidance device provided in Embodiment 5 of the present application.
  • FIG. 9 is a schematic structural diagram of a computer device provided in Embodiment 6 of the present application.
  • FIG. 1 is a flow chart of a vehicle avoidance method provided in Embodiment 1 of the present application.
  • This embodiment is applicable to the situation of avoiding vehicles, for example, the situation where the vehicle actively changes lanes to avoid the vehicle in front.
  • This method can be avoided by the vehicle device, which can be implemented by software and/or hardware, and generally can be integrated into computer equipment, for example, a vehicle-mounted terminal. Including the following steps:
  • Step 110 detecting the driving data of the preceding vehicle in the same lane.
  • the vehicle ahead in the same lane refers to the vehicle driving in the same lane as the current vehicle and in front of the vehicle, and there are no other obstacles between the two vehicles.
  • the driving data of the preceding vehicle is used to obtain the motion state of the preceding vehicle, including the distance between the preceding vehicle and the current vehicle, driving speed and acceleration, etc.
  • Driving data can be obtained through sensor detection.
  • the sensor can include a front-view camera and a front-side millimeter-wave radar. The distance to the vehicle ahead, and the initial speed and deceleration for emergency braking.
  • the senor also includes a left rear millimeter-wave radar and a right rear millimeter-wave radar, wherein the left rear millimeter-wave radar and the right rear millimeter-wave radar can respectively detect the left lane behind the current vehicle and the right lane behind the current vehicle Is there a vehicle moving.
  • the vehicle-mounted terminal may also include a network communication module configured to download maps, and a register configured to store downloaded maps.
  • Step 120 according to the driving data of the vehicle in front, detect the type of avoidance of the current vehicle.
  • the avoidance type is used to determine the manner of avoiding the preceding vehicle.
  • the avoidance type may include braking avoidance and lane changing avoidance.
  • detecting the type of avoidance of the current vehicle is: according to the detected driving data of the preceding vehicle, calculating the minimum deceleration at which the current vehicle adopts braking to avoid collision with the preceding vehicle.
  • the preset maximum deceleration may be the maximum deceleration of the current vehicle braking itself, or may be a user-defined maximum deceleration, for example, select the maximum deceleration that meets the requirements of ride comfort.
  • the detecting the avoidance type of the current vehicle according to the driving data of the preceding vehicle includes: determining the time of collision and the vehicle distance between the preceding vehicle and the current vehicle according to the driving data of the preceding vehicle; Preset the maximum deceleration, the collision time and the vehicle distance, detect the braking prediction result of the current vehicle; determine the avoidance of the current vehicle according to the corresponding relationship between the braking prediction result and the type of avoidance type.
  • the collision time is when the vehicle ahead in the same lane is traveling at a constant speed at the current speed, and the vehicle in front decelerates at a preset maximum deceleration, and it happens to collide with the vehicle in front.
  • the preset maximum deceleration refers to the maximum deceleration when the vehicle in front brakes.
  • the vehicle distance between the preceding vehicle and the current vehicle refers to the distance between the current vehicle and the preceding vehicle, for example, the distance between the front of the current vehicle and the rear of the preceding vehicle. Exemplarily, the distance can be acquired through the millimeter-wave radar on the front side.
  • the braking prediction result is used to indicate whether the current vehicle collides with the preceding vehicle when the current vehicle adopts the preset maximum deceleration braking.
  • Braking prediction results include a result of no collision and a result of collision.
  • the corresponding relationship between the braking prediction result and the avoidance type is used to select the avoidance type according to the braking prediction result.
  • the corresponding relationship is as follows, when the braking prediction result is that the current vehicle collides with the preceding vehicle, it corresponds to lane change avoidance; when the braking prediction result indicates that the preceding vehicle does not collide with the preceding vehicle, corresponding braking avoidance and lane change avoidance two types.
  • the millimeter-wave radar on the left rear side of the current vehicle and the millimeter-wave radar on the front side it is detected whether there is a driving vehicle in the left lane of the current vehicle, and the current vehicle is detected through the millimeter-wave radar on the right rear side of the current vehicle and the millimeter-wave radar on the front side Whether there is a vehicle in the right lane.
  • the millimeter-wave radar detection range is a preset value. When the distance between the vehicle on the right or left lane and the current vehicle in the direction of travel exceeds the preset value, the current vehicle will not change lanes with the vehicle on the right or left lane. Vehicles collide.
  • the avoidance method By detecting the braking prediction result of the current vehicle according to the preset maximum deceleration, collision time and vehicle distance, the avoidance method can be determined, and the avoidance method can be enriched under the condition that the driving can be guaranteed to avoid collision, and the driver can choose A more comfortable way to avoid.
  • Step 130 When it is determined that the current vehicle avoidance type is lane change avoidance, based on the constraints of lateral acceleration and lateral acceleration change rate, determine the lane change path of the current vehicle, and control the current vehicle along the Follow the lane change path described.
  • Lateral acceleration and lateral acceleration change rate refer to the lateral acceleration and lateral acceleration change rate when the current vehicle changes lanes. Lateral refers to the direction perpendicular to the driving direction. Lateral acceleration and lateral acceleration change rate are used to limit the current Vehicle speed and acceleration. By selecting the appropriate lateral acceleration and the rate of change of lateral acceleration, when the vehicle is changing lanes, the human body can be prevented from rapidly shifting sideways and colliding with the inner wall of the vehicle, and the comfort of the human body can be improved when the vehicle is driving along the lane changing path.
  • the lane-changing path refers to the driving path of the current vehicle when changing lanes for avoidance, that is, when driving to a lane other than the lane where the vehicle in front is located.
  • the current vehicle is controlled to change lanes according to the driving path.
  • the control method may be a closed-loop method, and the driving trajectory is corrected in real time through error feedback.
  • FIG. 2 is a schematic diagram of a vehicle lane change avoidance type provided by Embodiment 1 of the present application.
  • the lane change to the left side of the vehicle direction is taken as an example.
  • the X-axis in the figure is the direction of the lane
  • the Y-axis is the direction perpendicular to the direction of the lane.
  • the directions are the same, the Y axis is perpendicular to the driving direction of the current vehicle, and the direction perpendicular to the driving direction of the current vehicle is the lateral direction.
  • the current vehicle 10 changes lanes from the current lane to the left lane to avoid the preceding vehicle 20 along the lane change path 30 , and the vehicle 11 after the lane change is the current vehicle after the lane change.
  • lane change avoidance when the distance between two vehicles is relatively close, it can effectively avoid the vehicle in front and ensure the safety of the vehicle.
  • the avoidance type is lane change avoidance
  • the current vehicle is controlled to drive along the lane change path, and the need for a relatively long initial distance for brake avoidance is solved.
  • Distance when the initial distance is relatively short, there will be a collision problem, so as to improve the efficiency of avoiding obstacles and improve the safety of automatic driving.
  • the vehicle avoidance method further includes: in a case where it is determined that the current vehicle avoidance type is brake avoidance, controlling the current vehicle to decelerate.
  • control the vehicle braking avoidance When it is detected that the current vehicle braking avoidance will not collide with the preceding vehicle, control the vehicle braking avoidance. During the braking avoidance process, a deceleration with high ride comfort can be selected to control the vehicle braking avoidance.
  • the avoidance type is brake avoidance
  • the vehicle in front is avoided by braking to ensure the driving safety of the vehicle.
  • Fig. 3 is a flow chart of a vehicle avoidance method provided in Embodiment 2 of the present application.
  • the technical solution of this embodiment is described on the basis of the above technical solution, and will be based on the constraints of lateral acceleration and lateral acceleration rate of change, Determining the lane-changing path of the current vehicle, which is refined into: based on the constraints of lateral acceleration and lateral acceleration rate of change, using a B-spline curve model to fit the lane-changing path of the current vehicle; determining the fitting curve is the lane-changing path of the current vehicle.
  • the method includes:
  • Step 210 detecting the driving data of the vehicle ahead in the same lane.
  • Step 220 according to the driving data of the vehicle in front, detect the type of avoidance of the current vehicle.
  • Step 230 when it is determined that the current vehicle avoidance type is lane change avoidance.
  • Step 240 based on the constraint conditions of lateral acceleration and lateral acceleration change rate, adopting a B-spline curve model to fit the lane-changing path of the current vehicle.
  • the B-spline curve is a linear group of B-spline base curves, and the B-spline curve surface has the ability of local control.
  • the B-spline curve can be expressed as,
  • u is the node vector of the B-spline curve model
  • P is the control point of the B-spline curve model
  • N i,k (u) is the B-spline basis function
  • k represents the power of the B-spline basis function.
  • N i,k (u) can be expressed as:
  • B-spline Curve Coordinate Derivatives and Its curvature can be expressed as Therefore, the B-spline curve curvature can be used to represent the current vehicle lateral acceleration constraints:
  • v init and a y max are the current vehicle initial velocity and maximum lateral acceleration respectively. If the third derivative of the coordinates of the B-spline curve is expressed as Then the chain derivation method can be used to obtain the current vehicle lateral acceleration change rate:
  • j y max is the maximum lateral acceleration change rate of the current vehicle.
  • said using a B-spline curve model to fit the lane-changing path of the current vehicle includes: defining the node vector U and control point P of the B-spline curve model based on the following formula, and fitting the current The lane change path of the vehicle:
  • P i is the i-th control point on the B-spline curve model
  • the coordinates of P i are (P xi , P yi )
  • d i is the same direction between control points P i and P i-1 distance.
  • L is the distance of the current vehicle in the direction perpendicular to the lane method before and after the lane change
  • is the last control point of the current vehicle driving on the lane before the lane change and the distance after the lane change
  • the angle between the line connecting the first control point on the lane and the lane before the lane change, i is a positive integer greater than or equal to 0.
  • FIG. 4 is a schematic diagram of a lane-changing avoidance path for vehicles provided in Embodiment 2 of the present application, wherein the node vector U and the control point P are determined according to the above definition, and the entire path is center-symmetric about the control point P3 .
  • the node vector U is the same as the node vector u in the aforementioned formula.
  • the B-spline curve model is divided into 6 sections, which are respectively fitted with 6 different basis functions, and different lateral acceleration and lateral acceleration are selected among the 6 basis functions.
  • the acceleration change rate can increase the smoothness of the B-spline curve, prevent the body from colliding with the inner wall of the vehicle due to excessive lateral speed changes during the lane change process, improve the comfort of the vehicle, and avoid using a large number of basis functions. The amount of calculation is too large to improve the fitting efficiency.
  • Step 250 determining the fitting curve as the lane-changing path of the current vehicle.
  • the nonlinear programming problem for establishing the current vehicle active lane change avoidance path is:
  • the sequential quadratic programming method is used to solve the above nonlinear programming problem to obtain the vehicle's active lane change avoidance path. Knowing the maximum lateral acceleration allowed by the vehicle, the greater the initial speed of the vehicle for lane change avoidance, the smaller the allowable maximum curvature of the vehicle lane change avoidance path. Taking the minimization of the lateral distance of the vehicle lane-changing avoidance path as the optimization goal, the planning problem of the path P 0 P 1 between the control point P 0 and the control point P 1 in the vehicle lane-changing avoidance path is transformed into a nonlinear programming problem, Solve to get the path P 0 P 1 . Based on the symmetric relationship between paths, the remaining paths are obtained by translating, flipping, and rotating the path P 0 P 1 , and ensuring that the six path curves are connected smoothly, that is, all paths are obtained.
  • the path P 1 P 2 between the control point P 1 and the control point P 2 is obtained by translating the path P 0 P 1, and the path P 1 P 2 is rotated with P 2 as the rotation center to obtain control
  • Step 260 controlling the current vehicle to travel along the lane changing path.
  • the vehicle is controlled to drive along the lane-changing path to realize vehicle lane-changing and avoidance.
  • the B-spline curve has the characteristics of convexity and support, and by setting the basis function of the B-spline curve, the The fitted lane-changing path is smoother, avoiding sudden changes in the lane-changing path, causing discomfort to the passengers, and by constraining the lateral acceleration and lateral acceleration, the lateral acceleration and lateral acceleration change rate are prevented from being too large. It causes the human body to lean towards the inner wall of the vehicle and collide, improving the ride comfort.
  • Fig. 5 is a flow chart of a vehicle avoidance method provided in Embodiment 3 of the present application.
  • Controlling the current vehicle to travel along the lane-changing path includes: : according to the driving data and vehicle parameters of the current vehicle, construct a path tracking error model; determine the closed-loop system according to the path tracking error model, and calculate the tracking error control amount of the closed-loop system; according to the error control amount, control The current vehicle travels, and the current vehicle travels along the lane-changing path by closed-loop control.
  • the method includes:
  • Step 310 detecting the driving data of the vehicle ahead in the same lane.
  • Step 320 according to the driving data of the vehicle in front, detect the type of avoidance of the current vehicle.
  • Step 330 if it is determined that the current vehicle avoidance type is lane change avoidance, determine the lane change path of the current vehicle based on the constraints of lateral acceleration and lateral acceleration change rate.
  • Step 340 constructing a path tracking error model according to the current vehicle driving data and vehicle parameters.
  • the driving data of the vehicle refers to the motion parameters when the vehicle is running.
  • it may be the longitudinal speed and the target yaw rate, wherein the longitudinal direction is the same as the direction of the lane, the longitudinal speed is the speed in the direction of the lane, and the target yaw rate is the vehicle variable speed.
  • the lateral angular velocity while on track, lateral refers to the direction perpendicular to the direction of travel of the vehicle.
  • the vehicle parameters refer to the property parameters of the vehicle itself. Exemplarily, it may include at least one of the following: vehicle mass, yaw moment of inertia, equivalent cornering stiffness of the front wheels, equivalent cornering stiffness of the rear wheels, and distance from the center of mass of the vehicle to the front axle.
  • the path tracking error refers to the error between the vehicle's driving trajectory and the planned path.
  • the path tracking error model is used to adjust the driving trajectory according to the tracking error so that the vehicle can drive along the planned path, including the longitudinal control and lateral control of the vehicle.
  • the longitudinal control mainly It is the control of the driving speed, which corresponds to the longitudinal speed in the vehicle motion parameters; the lateral control is mainly the control of the front wheel angle of the vehicle, which corresponds to the target yaw rate in the vehicle motion parameters.
  • the vehicle is controlled to travel along the planned route.
  • Use m, I Z , C f , Cr , If , I r , V x and Indicates vehicle mass, yaw moment of inertia, front wheel equivalent cornering stiffness, rear wheel equivalent cornering stiffness, distance from vehicle center of mass to front axle, distance from vehicle center of mass to rear axle, longitudinal velocity and target yaw rate, define The system state vector and control input vector are respectively and u ⁇ f , where e 1 is the distance between the center of mass of the car and the target path, is the derivative of e 1 , and e 2 is the deviation between the azimuth angle of the vehicle and the azimuth angle of the target, is the derivative of e 2 , and ⁇ f is the front wheel angle to establish the path tracking error model as:
  • C f0 and C r0 are the nominal values of the equivalent cornering stiffness of the front and rear wheels of the car respectively
  • C fe and C re are the maximum perturbations of the equivalent cornering stiffness of the front and rear wheels of the car respectively. Therefore,
  • the path tracking error model is modified as:
  • A, ⁇ A, B 1 , ⁇ B 1 , B 2 , ⁇ B 2 and C represent: system nominal matrix, A’s perturbation matrix, control nominal matrix, B 1 ’s perturbation matrix, disturbance nominal matrix, B 2 ’s Perturbation matrix and output matrix, A, ⁇ A, B 1 , ⁇ B 1 , B 2 , ⁇ B 2 and C can be expressed as:
  • W is the constant matrix of the perturbation structure of the system
  • F is the perturbation matrix satisfying F T F ⁇ I
  • I is the moment of inertia
  • W, E 1 , E 2 and E 3 can be expressed as:
  • FIG. 6 is a schematic diagram of a scene of vehicle avoidance path tracking control provided in Embodiment 3 of the present application.
  • the X-axis is longitudinal, which is the same as the direction of the lane; the Y-axis is perpendicular to the direction of the lane, the x-axis is the same as the current driving direction of the vehicle, and the y-axis is perpendicular to the driving direction of the vehicle.
  • the coordinate system formed by the X-axis and the Y-axis can be understood as a world coordinate system, and the coordinate system formed by the x-axis and the y-axis can be understood as the relative coordinate system of the current vehicle.
  • the rectangle in the figure represents the current vehicle, e 1 is the distance between the center of mass of the vehicle and the target path, e 2 is the deviation between the vehicle azimuth and the target azimuth, ⁇ is the yaw rate, and ⁇ des is the target yaw rate.
  • Step 350 Determine a closed-loop system according to the path tracking error model, and calculate a tracking error control quantity of the closed-loop system.
  • a closed-loop system refers to a control system with feedback information.
  • the calculating the tracking error control quantity of the closed-loop system includes: calculating the tracking error control quantity of the closed-loop system according to the path tracking feedback model and the path tracking feedforward model.
  • the "feedforward + feedback" path tracking control method is designed.
  • the dynamic performance index of the closed loop system can be flexibly configured.
  • Feedforward is a lateral control method to control the front wheel angle.
  • the feedback is rear wheel feedback control.
  • the modified path tracking error model is simplified as:
  • K is the gain.
  • W is the constant matrix of the perturbation structure of the system
  • F is the perturbation matrix satisfying F T F ⁇ I
  • I is the moment of inertia
  • a c and E c can be expressed as:
  • the pole configuration method is used to design the feedback gain, and the problem is converted into a linear matrix inequality method to solve the problem, even if the dynamic performance index of the closed-loop system can be flexibly configured
  • the performance index is equivalent to the following linear matrix inequality:
  • the feedback gain coefficient can be obtained as:
  • the dynamic performance index of the closed-loop system can be flexibly configured.
  • f 3 is the component of the matrix KC
  • v x is the longitudinal velocity of the vehicle.
  • the influence of the disturbance term on the path tracking accuracy is suppressed, and the disturbance term caused by the vehicle target yaw rate is ignored when designing the vehicle lane change and avoidance path tracking control law.
  • the poles of the closed-loop system can be configured in The desired position, but the closed-loop system is actually affected by the disturbance term caused by the target yaw rate of the vehicle, which cannot achieve the expected dynamic and steady-state performance, so that the path tracking control can achieve zero stability error.
  • the tracking error control quantity of the closed-loop system is calculated, which can track various paths, and is less affected by the interference of the path shape, and can reduce the lateral error and the vehicle driving.
  • the longitudinal error improves the path tracking effect when the curvature changes significantly, so that the vehicle has better path tracking accuracy, stability and robustness.
  • Step 360 Control the current vehicle to travel according to the error control amount, so as to control the current vehicle to travel along the lane-changing path in a closed-loop manner.
  • the "feedforward + feedback" path tracking control is designed to control the vehicle to travel along the planned path, which can track multiple paths, reduce the lateral error and longitudinal error during vehicle driving, and improve the obvious curvature change.
  • the real-time path tracking effect makes the vehicle have better path tracking accuracy, stability and robustness, and makes the vehicle travel in line with the path designed in the path planning.
  • FIG. 7 is a schematic diagram of a vehicle avoidance system provided in Embodiment 4 of the present application.
  • the technical solution of this embodiment is an implementation of the above-mentioned technical solution.
  • the method includes:
  • the vehicle avoidance system can be divided into three main parts, the information collection unit, the vehicle avoidance planning unit and the line control unit.
  • the information collection unit communicates with the vehicle avoidance planning unit; the vehicle avoidance planning unit communicates with the wire control unit.
  • the information collection unit is configured to collect traffic environment information of the current vehicle environment, including a front-view camera 410 , a front millimeter-wave radar 420 , a rear millimeter-wave radar 430 and a high-definition map 440 .
  • the rear millimeter wave radar 430 may include a left rear millimeter wave radar and a right rear millimeter wave radar.
  • the information acquisition unit obtains traffic environment information through multi-sensor fusion, so that the current vehicle active lane change avoidance process can comprehensively consider the traffic environment information of the current vehicle's own lane and adjacent lanes, and meet the vehicle functional safety requirements.
  • the vehicle avoidance planning unit is configured to plan vehicle avoidance routes, including an avoidance type determination module 450 , a lane change route fitting module 460 and a lane change route control module 470 .
  • the vehicle avoidance planning unit is set to execute a vehicle dynamic lane change avoidance determination method, a vehicle lane change avoidance path planning method and a vehicle lane change avoidance path tracking control method running on the vehicle electronic control unit proposed by the application, so that the planned The path satisfies the vehicle kinematics and dynamics constraints, meets the requirements of trackability and ride comfort, and enables the path tracking control strategy to flexibly configure the poles of the closed-loop system according to the performance index and achieve the goal of zero stability error.
  • the control-by-wire unit is configured to implement the method of the vehicle avoidance planning unit, including a brake-by-wire module 480 and a lane-by-wire unit 490.
  • the brake-by-wire module 480 is configured to execute a method for controlling vehicle braking and avoidance
  • the lane-by-wire unit 490 is configured to Execute the vehicle lane change avoidance method.
  • This application uses highly integrated and highly redundant brake-by-wire and steer-by-wire systems as the executive mechanism of the vehicle's active lane change avoidance system, making the vehicle intelligently controllable.
  • the technical solution of this embodiment is a system that realizes the vehicle avoidance method of the present application through the construction of the vehicle avoidance system, and demonstrates the vehicle dynamic lane change avoidance determination method, the vehicle lane change avoidance path planning method and the vehicle lane change avoidance path tracking proposed in this application.
  • the implementation process of the control method solves the problem of a relatively long initial distance and reduced ride comfort through braking avoidance, and achieves the effect of improving the effectiveness of avoiding obstacles and ride comfort.
  • FIG. 8 is a schematic structural diagram of a vehicle avoidance device provided in Embodiment 5 of the present application.
  • Embodiment 5 is a corresponding device for implementing the vehicle avoidance method provided in the above embodiments of the present application.
  • the device can be implemented in the form of software and/or hardware, and can generally be integrated into computer equipment.
  • Vehicle avoidance devices include:
  • the driving data acquisition module 510 of the vehicle in front is configured to detect the driving data of the vehicle ahead in the same lane; the avoidance type determination 520 is configured to detect the current vehicle avoidance type according to the driving data of the vehicle in front; the vehicle lane change control module 530 is configured to When it is determined that the avoidance type of the current vehicle is lane change avoidance, based on the constraints of lateral acceleration and lateral acceleration change rate, determine the lane change path of the current vehicle, and control the current vehicle along the lane change path. Drive on the road.
  • the current vehicle is controlled to drive along the lane change path, solving the need for braking avoidance. If the initial distance is long, collisions will occur when the initial distance is relatively short, so as to improve the efficiency of avoiding obstacles and improve the safety of automatic driving.
  • Vehicle avoidance devices also including:
  • the deceleration control module is configured to control the current vehicle to decelerate when it is determined that the type of avoidance of the current vehicle is braking avoidance.
  • the module for controlling the vehicle to change lanes includes:
  • the lane-changing path fitting unit is set to be based on the constraints of lateral acceleration and lateral acceleration rate of change, and adopts the B-spline curve model to fit the lane-changing path of the current vehicle; the lane-changing path determination unit is set to The joining curve is determined as the lane-changing path of the current vehicle.
  • the lane changing path fitting unit includes:
  • the B-spline curve definition subunit is configured to define the node vector U and the control point P of the B-spline curve model based on the following formula, and fit the lane-changing path of the current vehicle:
  • P i is the i-th control point on the B-spline curve model
  • the coordinates of P i are (P xi , P yi )
  • d i is the same direction between control points P i and P i-1 Distance
  • L is the distance of the current vehicle in the direction perpendicular to the lane approach before and after the lane change
  • i is greater than or equal to A positive integer of 0.
  • the lane changing path fitting unit includes:
  • the tracking error model construction subunit is configured to construct a path tracking error model according to the current vehicle driving data and vehicle parameters; the tracking error control amount calculation subunit is configured to determine the closed-loop system according to the path tracking error model and calculate The tracking error control amount of the closed-loop system; the closed-loop control subunit is configured to control the running of the current vehicle according to the error control amount, so as to control the running of the current vehicle along the lane-changing path in a closed-loop manner.
  • the calculation of the tracking error control amount of the closed-loop system includes:
  • the tracking error control quantity of the closed-loop system is calculated.
  • the avoidance type determination module includes:
  • the vehicle distance determining unit is configured to determine the collision time and the vehicle distance between the preceding vehicle and the current vehicle according to the driving data of the preceding vehicle;
  • the braking prediction unit is configured to determine the collision time according to the preset maximum deceleration, the collision The time and the vehicle distance are used to detect the braking prediction result of the current vehicle;
  • the avoidance type determination unit is configured to determine the avoidance type of the current vehicle according to the corresponding relationship between the braking prediction result and the avoidance type.
  • the above-mentioned device can execute the vehicle avoidance method provided in the embodiment of the present application, and has corresponding functional modules and effects for executing the vehicle avoidance method.
  • FIG. 9 is a schematic structural diagram of a computer device provided in Embodiment 6 of the present application.
  • the computer device includes a processor 601, a memory 602, an input device 603, and an output device 604;
  • the quantity can be one or more, and a processor 60 is taken as an example in FIG. Take the bus connection as an example.
  • the memory 602 can be set to store software programs, computer-executable programs and modules, such as program instructions/modules corresponding to the vehicle avoidance method in the embodiment of the present application (for example, the front vehicle travel data acquisition module 510, avoidance type determination module 520 and control vehicle lane change travel module 530).
  • the processor 601 executes various functional applications and data processing of the computer equipment by running the software programs, instructions and modules stored in the memory 602 , that is, realizes the above-mentioned vehicle avoidance method.
  • the memory 602 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required by a function; the data storage area may store data created according to the use of the terminal, and the like.
  • the memory 602 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage devices.
  • memory 602 may include memory located remotely from processor 601, and such remote memory may be connected to the computer device via a network. Examples of the aforementioned networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • the input device 603 can be configured to receive input numbers or character information, and generate key signal input related to user settings and function control of the computer equipment.
  • the output device 604 may include a display device such as a display screen.
  • Embodiment 7 of the present application also provides a storage medium containing computer-executable instructions, the computer-executable instructions are used to execute a vehicle avoidance method when executed by a computer processor, and the method includes: detecting the vehicle in front of the same lane Driving data; according to the driving data of the vehicle in front, detect the current vehicle avoidance type; when it is determined that the current vehicle avoidance type is lane change avoidance, based on the constraints of lateral acceleration and lateral acceleration change rate, determine the current vehicle avoidance type the lane-changing path of the vehicle, and control the current vehicle to travel along the lane-changing path.
  • the present application can be implemented by means of software and necessary general-purpose hardware, or can be implemented by means of hardware.
  • the technical solution of the present application can be embodied in the form of software products in essence, and the computer software products can be stored in computer-readable storage media, such as computer floppy disks, read-only memory (Read-Only Memory, ROM), random access Memory (Random Access Memory, RAM), flash memory (FLASH), hard disk or optical disc, etc., including a plurality of instructions to make a computer device (which can be a personal computer, server, or network device, etc.) execute the described embodiment of the present application.
  • the multiple units and modules included are only divided according to the functional logic, but are not limited to the above division, as long as the corresponding functions can be realized; in addition, the names of the multiple functional units It is only for the convenience of distinguishing each other, and is not used to limit the protection scope of the present application.

Abstract

A vehicle avoidance method and apparatus, a computer device, and a storage medium. The vehicle avoidance method comprises: detecting traveling data of a front vehicle in a same lane; detecting an avoidance type of a current vehicle according to the traveling data of the front vehicle; and under the condition that the avoidance type of the current vehicle is determined to be lane changing avoidance, determining a lane changing path of the current vehicle on the basis of constraint conditions of a lateral acceleration and a lateral acceleration change rate, and controlling the current vehicle to travel along the lane changing path.

Description

车辆避让方法、装置、计算机设备和存储介质Vehicle avoidance method, device, computer equipment and storage medium
本申请要求在2021年08月27日提交中国专利局、申请号为202110992796.3的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with application number 202110992796.3 submitted to the China Patent Office on August 27, 2021, the entire content of which is incorporated herein by reference.
技术领域technical field
本申请涉及智能驾驶技术,例如涉及车辆避让方法、装置、计算机设备和存储介质。The present application relates to intelligent driving technology, such as a vehicle avoidance method, device, computer equipment and storage medium.
背景技术Background technique
汽车在行驶过程中会遇到障碍物,需要进行避让。The car will encounter obstacles during driving and needs to avoid them.
相关技术中,整车厂所量产的车型均通过装配自动紧急制动避障系统来提高汽车在行驶过程中遇到障碍物时的主动安全性。In related technologies, the mass-produced models of the vehicle manufacturers are all equipped with an automatic emergency braking obstacle avoidance system to improve the active safety when the vehicle encounters an obstacle during driving.
但是,通过制动避让需要本车与前方障碍物相距较远的初始距离,若本车与前方障碍物相距的初始距离并非较远,则仍然会发生碰撞。However, avoiding by braking requires a relatively long initial distance between the vehicle and the obstacle in front. If the initial distance between the vehicle and the obstacle in front is not too far, a collision will still occur.
发明内容Contents of the invention
本申请提供一种车辆避让方法、装置、计算机设备和存储介质,以实现提高车辆避让的安全性。The present application provides a vehicle avoidance method, device, computer equipment and storage medium, so as to improve the safety of vehicle avoidance.
本申请提供了一种车辆避让方法,包括:This application provides a vehicle avoidance method, including:
检测同车道前车的行驶数据;Detect the driving data of the vehicle ahead in the same lane;
根据前车的行驶数据,检测当前车辆避让类型;According to the driving data of the vehicle in front, detect the current vehicle avoidance type;
在确定所述当前车辆避让类型为变道避让的情况下,基于侧向加速度和侧向加速度变化率的约束条件,确定所述当前车辆的变道路径,并控制所述当前车辆沿着所述变道路径行驶。When it is determined that the current vehicle avoidance type is lane change avoidance, based on the constraints of lateral acceleration and lateral acceleration change rate, determine the lane change path of the current vehicle, and control the current vehicle along the Change lanes.
本申请还提供了一种车辆避让装置,包括:The application also provides a vehicle avoidance device, comprising:
前车行驶数据获取模块,设置为检测同车道前车的行驶数据;The driving data acquisition module of the preceding vehicle is configured to detect the driving data of the preceding vehicle in the same lane;
避让类型确定模块,设置为根据前车的行驶数据,检测当前车辆避让类型;The avoidance type determination module is configured to detect the current vehicle avoidance type according to the driving data of the preceding vehicle;
控制车辆变道行驶模块,设置为在确定所述当前车辆避让类型为变道避让的情况下,基于侧向加速度和侧向加速度变化率的约束条件,确定所述当前车辆的变道路径,并控制所述当前车辆沿着所述变道路径行驶。Controlling the vehicle lane-changing module, configured to determine the lane-changing path of the current vehicle based on the constraints of lateral acceleration and lateral acceleration change rate when the type of avoidance of the current vehicle is determined to be lane-changing avoidance, and The current vehicle is controlled to travel along the lane changing path.
本申请还提供了一种计算机设备,所述计算机设备包括:The present application also provides a kind of computer equipment, and described computer equipment comprises:
一个或多个处理器;one or more processors;
存储装置,设置为存储一个或多个程序;a storage device configured to store one or more programs;
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现上述的车辆避让方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the above vehicle avoidance method.
本申请还提供了一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行上述的车辆避让方法。The present application also provides a storage medium containing computer-executable instructions, and the computer-executable instructions are used to execute the above-mentioned vehicle avoidance method when executed by a computer processor.
附图说明Description of drawings
图1是本申请实施例一提供的一种车辆避让方法的流程图;FIG. 1 is a flow chart of a vehicle avoidance method provided in Embodiment 1 of the present application;
图2是本申请实施例一提供的一种车辆变道避让类型的示意图;Fig. 2 is a schematic diagram of a type of vehicle lane change and avoidance provided in Embodiment 1 of the present application;
图3是本申请实施例二提供的一种车辆避让方法的流程图;3 is a flow chart of a vehicle avoidance method provided in Embodiment 2 of the present application;
图4是本申请实施例二提供的一种车辆变道避让路径示意图;FIG. 4 is a schematic diagram of a lane-changing avoidance route for a vehicle provided in Embodiment 2 of the present application;
图5是本申请实施例三提供的一种车辆避让方法的流程图;5 is a flow chart of a vehicle avoidance method provided in Embodiment 3 of the present application;
图6是本申请实施例三提供的一种车辆避让路径跟踪控制的场景示意图;FIG. 6 is a schematic diagram of a scene of vehicle avoidance path tracking control provided in Embodiment 3 of the present application;
图7是本申请实施例五提供的一种车辆避让系统的示意图;FIG. 7 is a schematic diagram of a vehicle avoidance system provided in Embodiment 5 of the present application;
图8是本申请实施例五提供的一种车辆避让装置的示意图;Fig. 8 is a schematic diagram of a vehicle avoidance device provided in Embodiment 5 of the present application;
图9是本申请实施例六提供的一种计算机设备的结构示意图。FIG. 9 is a schematic structural diagram of a computer device provided in Embodiment 6 of the present application.
具体实施方式Detailed ways
下面结合附图和实施例对本申请进行说明。此处所描述的具体实施例仅仅用于解释本申请。为了便于描述,附图中仅示出了与本申请相关的部分。The application will be described below in conjunction with the accompanying drawings and embodiments. The specific embodiments described herein are for illustration of the application only. For ease of description, only parts relevant to the present application are shown in the drawings.
实施例一Embodiment one
图1为本申请实施例一提供的一种车辆避让方法的流程图,本实施例可适用于对车辆进行避让的情况,例如,车辆主动变道避让前方车辆的情况,该方法可以由车辆避让装置来执行,该装置可以由软件和/或硬件来实现,一般可集成在计算机设备中,例如,车载终端。包括如下步骤:Figure 1 is a flow chart of a vehicle avoidance method provided in Embodiment 1 of the present application. This embodiment is applicable to the situation of avoiding vehicles, for example, the situation where the vehicle actively changes lanes to avoid the vehicle in front. This method can be avoided by the vehicle device, which can be implemented by software and/or hardware, and generally can be integrated into computer equipment, for example, a vehicle-mounted terminal. Including the following steps:
步骤110、检测同车道前车的行驶数据。 Step 110, detecting the driving data of the preceding vehicle in the same lane.
同车道前车指与当前车辆行驶在同一车道,并且行驶在本车辆前方的车辆,两车辆之间没有其他障碍物。前车的行驶数据用于获取前车的运动状态,包括前车与当前车辆的距离、行驶速度和加速度等。行驶数据可以通过传感器检测 得到,示例性的,传感器可以包括前视摄像头和前侧毫米波雷达等,其中,前视摄像头可以检测前车是否紧急制动;前侧毫米波雷达可以检测当前车辆与前车的距离,以及紧急制动的初始速度和减速度。此外,传感器还包括左后侧毫米波雷达和右后侧毫米波雷达,其中,左后侧毫米波雷达和右后侧毫米波雷达分别可以检测当前车辆后方左侧车道和当前车辆后方右侧车道是否有车辆行驶。车载终端还可以包括网络通信模块,设置为下载地图,以及寄存器,设置为存储下载的地图。The vehicle ahead in the same lane refers to the vehicle driving in the same lane as the current vehicle and in front of the vehicle, and there are no other obstacles between the two vehicles. The driving data of the preceding vehicle is used to obtain the motion state of the preceding vehicle, including the distance between the preceding vehicle and the current vehicle, driving speed and acceleration, etc. Driving data can be obtained through sensor detection. Exemplarily, the sensor can include a front-view camera and a front-side millimeter-wave radar. The distance to the vehicle ahead, and the initial speed and deceleration for emergency braking. In addition, the sensor also includes a left rear millimeter-wave radar and a right rear millimeter-wave radar, wherein the left rear millimeter-wave radar and the right rear millimeter-wave radar can respectively detect the left lane behind the current vehicle and the right lane behind the current vehicle Is there a vehicle moving. The vehicle-mounted terminal may also include a network communication module configured to download maps, and a register configured to store downloaded maps.
步骤120、根据前车的行驶数据,检测当前车辆避让类型。 Step 120 , according to the driving data of the vehicle in front, detect the type of avoidance of the current vehicle.
避让类型用于确定避让前车的方式,示例性的,避让类型可以包括制动避让和变道避让两种类型。根据前车的行驶数据,检测当前车辆避让类型是:根据检测到的前车的行驶数据,计算当前车辆采取制动避让不会碰撞到前车的最小减速度。如果通过计算得到的最小减速度大于预设最大减速度,则当前车辆通过制动避让会与前车发生碰撞,确定选择变道避让类型;如果通过计算得到的最小减速度小于或等于预设最大减速度,则当前车辆通过制动避让不会与前车发生碰撞,可以根据实际情况选择变道避让或制动避让类型。当检测到当前车辆左侧车道和当前车辆右侧车道都有车辆行驶时,选择制动避让类型;当检测到当前车辆左侧车道和当前车辆右侧车道中至少一个车道没有车辆行驶时,选择变道避让类型。其中,预设最大减速度可以是当前车辆本身制动的最大减速度,或者还可以是用户自定义的最大减速度,例如选择满足乘坐舒适度需求的最大减速度。The avoidance type is used to determine the manner of avoiding the preceding vehicle. Exemplarily, the avoidance type may include braking avoidance and lane changing avoidance. According to the driving data of the preceding vehicle, detecting the type of avoidance of the current vehicle is: according to the detected driving data of the preceding vehicle, calculating the minimum deceleration at which the current vehicle adopts braking to avoid collision with the preceding vehicle. If the calculated minimum deceleration is greater than the preset maximum deceleration, the current vehicle will collide with the vehicle in front by braking to avoid collision, and it is determined to select the type of lane change avoidance; if the calculated minimum deceleration is less than or equal to the preset maximum deceleration, the current vehicle will not collide with the vehicle in front by braking to avoid, and the type of lane change avoidance or brake avoidance can be selected according to the actual situation. When it is detected that there are vehicles running in the left lane of the current vehicle and the right lane of the current vehicle, select the braking avoidance type; Lane change avoidance type. Wherein, the preset maximum deceleration may be the maximum deceleration of the current vehicle braking itself, or may be a user-defined maximum deceleration, for example, select the maximum deceleration that meets the requirements of ride comfort.
在一个实施例中,所述根据前车的行驶数据,检测当前车辆避让类型,包括:根据前车的行驶数据,确定碰撞时间和所述前车与所述当前车辆之间的车辆距离;根据预设最大减速度、所述碰撞时间和所述车辆距离,检测所述当前车辆的制动预测结果;根据所述制动预测结果与避让类型之间的对应关系,确定所述当前车辆的避让类型。In one embodiment, the detecting the avoidance type of the current vehicle according to the driving data of the preceding vehicle includes: determining the time of collision and the vehicle distance between the preceding vehicle and the current vehicle according to the driving data of the preceding vehicle; Preset the maximum deceleration, the collision time and the vehicle distance, detect the braking prediction result of the current vehicle; determine the avoidance of the current vehicle according to the corresponding relationship between the braking prediction result and the type of avoidance type.
碰撞时间是同向车道前车以当前行驶速度匀速行驶时,当前车辆以预设最大减速度减速行驶,恰好与前车发生碰撞的时间。预设最大减速度指当前车辆制动时的最大减速度。前车与当前车辆之间的车辆距离指当前车辆与前车之间的距离,例如当前车辆车头与前车车尾的距离,示例性的,该距离可以通过前侧的毫米波雷达获取。制动预测结果用于表示当前车辆采取预设最大减速度制动时,当前车辆是否与前车碰撞。制动预测结果包括不会发生碰撞的结果,和会发生碰撞的结果。制动预测结果与避让类型之间的对应关系用于根据制动预测结果选择避让类型。示例性的,对应关系如下,当制动预测结果为当前车辆与前车碰撞时,对应变道避让;当制动预测结果为前车辆与前车不碰撞时,对 应制动避让和变道避让两种类型。The collision time is when the vehicle ahead in the same lane is traveling at a constant speed at the current speed, and the vehicle in front decelerates at a preset maximum deceleration, and it happens to collide with the vehicle in front. The preset maximum deceleration refers to the maximum deceleration when the vehicle in front brakes. The vehicle distance between the preceding vehicle and the current vehicle refers to the distance between the current vehicle and the preceding vehicle, for example, the distance between the front of the current vehicle and the rear of the preceding vehicle. Exemplarily, the distance can be acquired through the millimeter-wave radar on the front side. The braking prediction result is used to indicate whether the current vehicle collides with the preceding vehicle when the current vehicle adopts the preset maximum deceleration braking. Braking prediction results include a result of no collision and a result of collision. The corresponding relationship between the braking prediction result and the avoidance type is used to select the avoidance type according to the braking prediction result. Exemplarily, the corresponding relationship is as follows, when the braking prediction result is that the current vehicle collides with the preceding vehicle, it corresponds to lane change avoidance; when the braking prediction result indicates that the preceding vehicle does not collide with the preceding vehicle, corresponding braking avoidance and lane change avoidance two types.
示例性的,通过当前车辆左后侧毫米波雷达和前侧毫米波雷达,检测当前车辆左侧车道是否有行驶车辆,通过当前车辆右后侧毫米波雷达和前侧的毫米波雷达检测当前车辆右侧车道是否有行驶车辆。毫米波雷达检测范围是一个预设值,当右侧或左侧车道上车辆与当前车辆在行驶方向上距离超过预设值时,当前车辆变道不会与右侧或左侧车道上行驶的车辆发生碰撞。当制动预测结果为不会发生碰撞时,如果检测到当前车辆左侧车道没有车辆,符合车辆向左侧车道变道条件,则可以选择向左侧车道变道避让;如果检测到当前车辆右侧车道没有车辆,符合车辆向右侧车道变道条件,则可以选择向右侧车道变道避让;当检测到车辆右侧车道和当前车辆左侧车道都没有车辆时,符合车辆向左侧和右侧车道变道条件,可以选择任意一个车道变道避让;当检测到车辆右侧车道和当前车辆左侧车道都有车辆时,不符合车辆向左侧或右侧车道变道条件,在小于预设减速度的范围内选择一个乘坐舒适度高的减速度制动避让。当制动预测结果为会发生碰撞时,选择变道避让,变道选择与制动预测结果为不会发生碰撞时相同。Exemplarily, through the millimeter-wave radar on the left rear side of the current vehicle and the millimeter-wave radar on the front side, it is detected whether there is a driving vehicle in the left lane of the current vehicle, and the current vehicle is detected through the millimeter-wave radar on the right rear side of the current vehicle and the millimeter-wave radar on the front side Whether there is a vehicle in the right lane. The millimeter-wave radar detection range is a preset value. When the distance between the vehicle on the right or left lane and the current vehicle in the direction of travel exceeds the preset value, the current vehicle will not change lanes with the vehicle on the right or left lane. Vehicles collide. When the braking prediction result is that no collision will occur, if it is detected that there is no vehicle in the left lane of the current vehicle and meets the conditions for the vehicle to change lanes to the left lane, you can choose to change lanes to the left lane to avoid; if it detects that the current vehicle is on the right If there is no vehicle in the side lane and the vehicle meets the conditions for changing lanes to the right lane, you can choose to change lanes to the right lane to avoid; Right lane change conditions, you can choose any lane to avoid; when it is detected that there are vehicles in the right lane of the vehicle and the left lane of the current vehicle, it does not meet the conditions for the vehicle to change lanes to the left or right lane. Select a deceleration braking avoidance with high riding comfort within the preset deceleration range. When the braking prediction result is that a collision will occur, the lane change avoidance is selected, and the lane change selection is the same as when the braking prediction result is that no collision will occur.
通过根据预设最大减速度、碰撞时间和车辆距离,检测所述当前车辆的制动预测结果,确定避让方式,在保障可以在保障行驶不发生碰撞的情况下,丰富避让方式,驾驶员可以选择更舒适的避让方式。By detecting the braking prediction result of the current vehicle according to the preset maximum deceleration, collision time and vehicle distance, the avoidance method can be determined, and the avoidance method can be enriched under the condition that the driving can be guaranteed to avoid collision, and the driver can choose A more comfortable way to avoid.
步骤130、在确定所述当前车辆避让类型为变道避让的情况下,基于侧向加速度和侧向加速度变化率的约束条件,确定所述当前车辆的变道路径,并控制所述当前车辆沿着所述变道路径行驶。Step 130: When it is determined that the current vehicle avoidance type is lane change avoidance, based on the constraints of lateral acceleration and lateral acceleration change rate, determine the lane change path of the current vehicle, and control the current vehicle along the Follow the lane change path described.
侧向加速度和侧向加速度变化率指当前车辆变道时的侧向加速度和侧向加速的变化率,侧向指与行驶方向垂直的方向,侧向加速度和侧向加速度变化率用于限制当前车辆的行驶速度和行驶加速度。通过选择恰当的侧向加速度和侧向加速的变化率,防止车辆变道行驶时,人体向侧方急速偏移与车辆内壁发生碰撞,提高车辆沿着变道路径行驶时人体的舒适度。Lateral acceleration and lateral acceleration change rate refer to the lateral acceleration and lateral acceleration change rate when the current vehicle changes lanes. Lateral refers to the direction perpendicular to the driving direction. Lateral acceleration and lateral acceleration change rate are used to limit the current Vehicle speed and acceleration. By selecting the appropriate lateral acceleration and the rate of change of lateral acceleration, when the vehicle is changing lanes, the human body can be prevented from rapidly shifting sideways and colliding with the inner wall of the vehicle, and the comfort of the human body can be improved when the vehicle is driving along the lane changing path.
变道路径指当变道避让,即行驶到前车所在车道以外的车道时,当前车辆的行驶路径。确定变道路径后,控制当前车辆按照行驶路径变道行驶,示例性的,控制方式可以为闭环方式,通过误差反馈实时修正行驶轨迹。图2为本申请实施例一提供一种车辆变道避让类型的示意图。图2中以向车辆行驶方向左侧车道变道为例,图中X轴为车道方向,Y轴为与车道方向垂直的方向,此时当前车辆沿着车道行驶,X轴与当前车辆的行驶方向相同,Y轴与当前车辆的行驶方向垂直,与当前车辆的行驶方向垂直的方向为侧向。当前车辆10沿着变道路径30从当前车道变道至左侧车道避让前车20,变道后车辆11为变道后的当前 车辆。通过变道避让可以在两车距离较近时,有效避让前车,保障车辆行驶安全。The lane-changing path refers to the driving path of the current vehicle when changing lanes for avoidance, that is, when driving to a lane other than the lane where the vehicle in front is located. After the lane change path is determined, the current vehicle is controlled to change lanes according to the driving path. Exemplarily, the control method may be a closed-loop method, and the driving trajectory is corrected in real time through error feedback. FIG. 2 is a schematic diagram of a vehicle lane change avoidance type provided by Embodiment 1 of the present application. In Figure 2, the lane change to the left side of the vehicle direction is taken as an example. The X-axis in the figure is the direction of the lane, and the Y-axis is the direction perpendicular to the direction of the lane. The directions are the same, the Y axis is perpendicular to the driving direction of the current vehicle, and the direction perpendicular to the driving direction of the current vehicle is the lateral direction. The current vehicle 10 changes lanes from the current lane to the left lane to avoid the preceding vehicle 20 along the lane change path 30 , and the vehicle 11 after the lane change is the current vehicle after the lane change. Through lane change avoidance, when the distance between two vehicles is relatively close, it can effectively avoid the vehicle in front and ensure the safety of the vehicle.
本申请实施例通过避让类型为变道避让的情况时,基于侧向加速度和侧向加速度变化率的约束条件,控制当前车辆沿着变道路径行驶,解决通过制动避让需要有较远的初始距离,当初始距离较近时会发生碰撞的问题,实现提高避让障碍的效率,提高自动驾驶安全性的效果。In the embodiment of the present application, when the avoidance type is lane change avoidance, based on the constraints of lateral acceleration and lateral acceleration change rate, the current vehicle is controlled to drive along the lane change path, and the need for a relatively long initial distance for brake avoidance is solved. Distance, when the initial distance is relatively short, there will be a collision problem, so as to improve the efficiency of avoiding obstacles and improve the safety of automatic driving.
在一个实施例中,车辆避让方法,还包括:在确定所述当前车辆避让类型为制动避让的情况下,控制所述当前车辆减速行驶。In one embodiment, the vehicle avoidance method further includes: in a case where it is determined that the current vehicle avoidance type is brake avoidance, controlling the current vehicle to decelerate.
当检测到当前车辆制动避让不会与前车发生碰撞时,控制车辆制动避让。在制动避让的过程中,可以选择一个乘车舒适度高的减速度,控制车辆制动避让。When it is detected that the current vehicle braking avoidance will not collide with the preceding vehicle, control the vehicle braking avoidance. During the braking avoidance process, a deceleration with high ride comfort can be selected to control the vehicle braking avoidance.
在避让类型为制动避让时,通过制动避让前方车辆,保障车辆行驶安全。When the avoidance type is brake avoidance, the vehicle in front is avoided by braking to ensure the driving safety of the vehicle.
实施例二Embodiment two
图3为本申请实施例二提供的一种车辆避让方法的流程图,本实施例的技术方案在上述技术方案的基础上进行说明,将基于侧向加速度和侧向加速度变化率的约束条件,确定所述当前车辆的变道路径,细化为:基于侧向加速度和侧向加速度变化率的约束条件,采用B样条曲线模型拟合所述当前车辆的变道路径;将拟合曲线确定为所述当前车辆的变道路径。该方法包括:Fig. 3 is a flow chart of a vehicle avoidance method provided in Embodiment 2 of the present application. The technical solution of this embodiment is described on the basis of the above technical solution, and will be based on the constraints of lateral acceleration and lateral acceleration rate of change, Determining the lane-changing path of the current vehicle, which is refined into: based on the constraints of lateral acceleration and lateral acceleration rate of change, using a B-spline curve model to fit the lane-changing path of the current vehicle; determining the fitting curve is the lane-changing path of the current vehicle. The method includes:
步骤210、检测同车道前车的行驶数据。 Step 210, detecting the driving data of the vehicle ahead in the same lane.
步骤220、根据前车的行驶数据,检测当前车辆避让类型。 Step 220 , according to the driving data of the vehicle in front, detect the type of avoidance of the current vehicle.
步骤230、在确定所述当前车辆避让类型为变道避让的情况下。 Step 230, when it is determined that the current vehicle avoidance type is lane change avoidance.
步骤240、基于侧向加速度和侧向加速度变化率的约束条件,采用B样条曲线模型拟合所述当前车辆的变道路径。 Step 240 , based on the constraint conditions of lateral acceleration and lateral acceleration change rate, adopting a B-spline curve model to fit the lane-changing path of the current vehicle.
B样条曲线是B样条基曲线的线性组,B样条曲线曲面具有局部控制的能力。B样条曲线可表示为,The B-spline curve is a linear group of B-spline base curves, and the B-spline curve surface has the ability of local control. The B-spline curve can be expressed as,
Figure PCTCN2022111675-appb-000001
Figure PCTCN2022111675-appb-000001
式中,u为B样条曲线模型的节点向量,P为B样条曲线模型的控制点,N i,k(u)为B样条基函数,k表示B样条基函数的幂次。其中,N i,k(u)可表示为: In the formula, u is the node vector of the B-spline curve model, P is the control point of the B-spline curve model, N i,k (u) is the B-spline basis function, and k represents the power of the B-spline basis function. Among them, N i,k (u) can be expressed as:
Figure PCTCN2022111675-appb-000002
Figure PCTCN2022111675-appb-000002
利用B样条曲线坐标导数
Figure PCTCN2022111675-appb-000003
Figure PCTCN2022111675-appb-000004
可将其曲率表示为
Figure PCTCN2022111675-appb-000005
由此可以利用B样条曲线曲率表示当前车辆侧向加速度约束条件:
Using B-spline Curve Coordinate Derivatives
Figure PCTCN2022111675-appb-000003
and
Figure PCTCN2022111675-appb-000004
Its curvature can be expressed as
Figure PCTCN2022111675-appb-000005
Therefore, the B-spline curve curvature can be used to represent the current vehicle lateral acceleration constraints:
Figure PCTCN2022111675-appb-000006
Figure PCTCN2022111675-appb-000006
其中,v init和a y max分别为当前车辆初始速度和最大侧向加速度。若B样条曲线坐标三次导数表示为
Figure PCTCN2022111675-appb-000007
则采用链式求导法可求得当前车辆侧向加速度变化率为:
Among them, v init and a y max are the current vehicle initial velocity and maximum lateral acceleration respectively. If the third derivative of the coordinates of the B-spline curve is expressed as
Figure PCTCN2022111675-appb-000007
Then the chain derivation method can be used to obtain the current vehicle lateral acceleration change rate:
Figure PCTCN2022111675-appb-000008
Figure PCTCN2022111675-appb-000008
其中,j y max为当前车辆最大侧向加速度变化率。 Among them, j y max is the maximum lateral acceleration change rate of the current vehicle.
在一个实施例中,所述采用B样条曲线模型拟合所述当前车辆的变道路径,包括:基于如下公式定义B样条曲线模型的节点向量U和控制点P,拟合所述当前车辆的变道路径:In one embodiment, said using a B-spline curve model to fit the lane-changing path of the current vehicle includes: defining the node vector U and control point P of the B-spline curve model based on the following formula, and fitting the current The lane change path of the vehicle:
U={0,0,0,0,0,0,0.5,1,1,1,1,1,1};U={0,0,0,0,0,0,0.5,1,1,1,1,1,1};
Figure PCTCN2022111675-appb-000009
Figure PCTCN2022111675-appb-000009
其中,P i为所述B样条曲线模型上的第i个控制点,P i的坐标为(P xi,P yi),d i为控制点P i与P i-1之间的同向距离。d 1≥0、d 2≥0、d 3≥0、d 4≥0和
Figure PCTCN2022111675-appb-000010
为待确定系数,L是变道前后的所述当前车辆在与车道方法垂直的方向上的距离,φ是所述当前车辆行驶在变道前车道上的最后一个控制点和行驶在变道后车道上的第一个控制点的连线与所述变道前车道的夹角,i是大于或等于0的正整数。图4为本申请实施例二提供的一种车辆变道避让路径示意图,其中节点向量U和控制点P按照上述定义确定,整个路径关于控制点P 3中心对称。节点向量U与前述公式中的节点向量u指代相同。
Among them, P i is the i-th control point on the B-spline curve model, the coordinates of P i are (P xi , P yi ), d i is the same direction between control points P i and P i-1 distance. d 1 ≥0, d 2 ≥0, d 3 ≥0, d 4 ≥0 and
Figure PCTCN2022111675-appb-000010
is the coefficient to be determined, L is the distance of the current vehicle in the direction perpendicular to the lane method before and after the lane change, φ is the last control point of the current vehicle driving on the lane before the lane change and the distance after the lane change The angle between the line connecting the first control point on the lane and the lane before the lane change, i is a positive integer greater than or equal to 0. FIG. 4 is a schematic diagram of a lane-changing avoidance path for vehicles provided in Embodiment 2 of the present application, wherein the node vector U and the control point P are determined according to the above definition, and the entire path is center-symmetric about the control point P3 . The node vector U is the same as the node vector u in the aforementioned formula.
根据对节点向量U和控制点P的设定,将B样条曲线模型分为6段,用6个不同的基函数分别拟合,在6个基函数中选择不同的侧向加速度和侧向加速度变化率,可以增加B样条曲线的平滑性,防止车辆变道过程中侧向速度变化过快导致人体向车辆内壁倾斜发生碰撞,提高乘车的舒适度,同时避免采用大量的基函数,计算量过大,提高拟合效率。According to the setting of the node vector U and the control point P, the B-spline curve model is divided into 6 sections, which are respectively fitted with 6 different basis functions, and different lateral acceleration and lateral acceleration are selected among the 6 basis functions. The acceleration change rate can increase the smoothness of the B-spline curve, prevent the body from colliding with the inner wall of the vehicle due to excessive lateral speed changes during the lane change process, improve the comfort of the vehicle, and avoid using a large number of basis functions. The amount of calculation is too large to improve the fitting efficiency.
步骤250、将拟合曲线确定为所述当前车辆的变道路径。 Step 250, determining the fitting curve as the lane-changing path of the current vehicle.
基于步骤240中的约束条件建立当前车辆主动变道避让路径非线性规划问题为:Based on the constraints in step 240, the nonlinear programming problem for establishing the current vehicle active lane change avoidance path is:
Figure PCTCN2022111675-appb-000011
Figure PCTCN2022111675-appb-000011
采用序列二次规划方法求解上述非线性规划问题得到车辆主动变道避让路径。已知车辆允许的最大侧向加速度,车辆变道避让初始车速越大,车辆变道避让路径允许的最大曲率就越小。以最小化车辆变道避让路径的侧向距离为优化目标,将车辆变道避让路径中控制点P 0和控制点P 1之间的路径P 0P 1的规划问题转化为非线性规划问题,求解即可得到路径P 0P 1。基于路径之间的对称关系,通过对路径P 0P 1进行平移、翻转和旋转操作得到剩余的路径,并且保证6段路径曲线平滑连接,即得到全部路径。 The sequential quadratic programming method is used to solve the above nonlinear programming problem to obtain the vehicle's active lane change avoidance path. Knowing the maximum lateral acceleration allowed by the vehicle, the greater the initial speed of the vehicle for lane change avoidance, the smaller the allowable maximum curvature of the vehicle lane change avoidance path. Taking the minimization of the lateral distance of the vehicle lane-changing avoidance path as the optimization goal, the planning problem of the path P 0 P 1 between the control point P 0 and the control point P 1 in the vehicle lane-changing avoidance path is transformed into a nonlinear programming problem, Solve to get the path P 0 P 1 . Based on the symmetric relationship between paths, the remaining paths are obtained by translating, flipping, and rotating the path P 0 P 1 , and ensuring that the six path curves are connected smoothly, that is, all paths are obtained.
求解得到路径P 0P 1后,通过将路径P 0P 1平移得到控制点P 1和控制点P 2之间路径P 1P 2,以P 2为旋转中心旋转路径P 1P 2,得到控制点P 2和控制点P 3之间的路径P 2P 3,以P 3为旋转中心旋转路径P 0P 3,得到控制点P 3和控制点P 6之间的路径P 3P 4、路径P 4P 5和路径P 5P 6,得到整个车辆变道避让路径。 After solving the path P 0 P 1 , the path P 1 P 2 between the control point P 1 and the control point P 2 is obtained by translating the path P 0 P 1, and the path P 1 P 2 is rotated with P 2 as the rotation center to obtain control The path P 2 P 3 between the point P 2 and the control point P 3 , the path P 0 P 3 is rotated with P 3 as the rotation center, and the path P 3 P 4 and the path between the control point P 3 and the control point P 6 are obtained P 4 P 5 and the path P 5 P 6 , get the entire vehicle lane change avoidance path.
步骤260、控制所述当前车辆沿着所述变道路径行驶。 Step 260, controlling the current vehicle to travel along the lane changing path.
确定路径规划路线后,控制车辆沿着变道路径行驶,实现车辆变道避让。After the path planning route is determined, the vehicle is controlled to drive along the lane-changing path to realize vehicle lane-changing and avoidance.
本实施例的技术方案,通过采用B样条曲线模型拟合当前车辆的变道路径,B样条曲线具有凸包性和支撑性的特性,通过对B样条曲线基函数的设定,使拟合得到的变道路径更加平滑,避免变道路径突变,导致乘车者的不适感,并且通过对侧向加速度和侧向加速度进行约束,防止侧向加速度和侧向加速度变化率过大,导致人体向车辆内壁倾斜发生碰撞,提高乘车舒适性。In the technical solution of this embodiment, by using the B-spline curve model to fit the lane-changing path of the current vehicle, the B-spline curve has the characteristics of convexity and support, and by setting the basis function of the B-spline curve, the The fitted lane-changing path is smoother, avoiding sudden changes in the lane-changing path, causing discomfort to the passengers, and by constraining the lateral acceleration and lateral acceleration, the lateral acceleration and lateral acceleration change rate are prevented from being too large. It causes the human body to lean towards the inner wall of the vehicle and collide, improving the ride comfort.
实施例三Embodiment three
图5为本申请实施例三提供的一种车辆避让方法的流程图,本实施例的技术方案在上述技术方案的基础上进行说明,控制所述当前车辆沿着所述变道路径行驶,包括:根据所述当前车辆的行驶数据和车辆参数,构建路径跟踪误差模型;根据所述路径跟踪误差模型确定闭环系统,并计算所述闭环系统的跟踪误差控制量;根据所述误差控制量,控制所述当前车辆行驶,以闭环控制所述当前车辆沿着所述变道路径行驶。该方法包括:Fig. 5 is a flow chart of a vehicle avoidance method provided in Embodiment 3 of the present application. The technical solution of this embodiment is explained on the basis of the above technical solution. Controlling the current vehicle to travel along the lane-changing path includes: : according to the driving data and vehicle parameters of the current vehicle, construct a path tracking error model; determine the closed-loop system according to the path tracking error model, and calculate the tracking error control amount of the closed-loop system; according to the error control amount, control The current vehicle travels, and the current vehicle travels along the lane-changing path by closed-loop control. The method includes:
步骤310、检测同车道前车的行驶数据。 Step 310, detecting the driving data of the vehicle ahead in the same lane.
步骤320、根据前车的行驶数据,检测当前车辆避让类型。 Step 320 , according to the driving data of the vehicle in front, detect the type of avoidance of the current vehicle.
步骤330、在确定所述当前车辆避让类型为变道避让的情况下,基于侧向加速度和侧向加速度变化率的约束条件,确定所述当前车辆的变道路径。 Step 330 , if it is determined that the current vehicle avoidance type is lane change avoidance, determine the lane change path of the current vehicle based on the constraints of lateral acceleration and lateral acceleration change rate.
步骤340、根据所述当前车辆的行驶数据和车辆参数,构建路径跟踪误差模型。 Step 340, constructing a path tracking error model according to the current vehicle driving data and vehicle parameters.
车辆的行驶数据指车辆行驶时的运动参数,示例性的,可以是纵向速度和目标横摆角速度,其中,纵向与车道方向相同,纵向速度为车道方向上的速度,目标横摆角速度为车辆变道时的侧向角速度,侧向指与车辆行驶方向垂直的方向。车辆参数指车辆本身属性参数,示例性的,可以包括下述至少一项:汽车质量、横摆转动惯量、前轮等效侧偏刚度、后轮等效侧偏刚度、汽车质心到前轴的距离和汽车质心到后轴的距离等。路径跟踪误差指车辆行驶轨迹与规划路径之间的误差,路径跟踪误差模型用于根据跟踪误差调整行驶轨迹,使车辆沿 着规划路径行驶,包括对车辆的纵向控制和侧向控制,纵向控制主要是对行驶速度的控制,对应车辆运动参数中的纵向速度;侧向控制主要是对车辆前轮转角的控制,对应车辆运动参数中的目标横摆角速度。The driving data of the vehicle refers to the motion parameters when the vehicle is running. For example, it may be the longitudinal speed and the target yaw rate, wherein the longitudinal direction is the same as the direction of the lane, the longitudinal speed is the speed in the direction of the lane, and the target yaw rate is the vehicle variable speed. The lateral angular velocity while on track, lateral refers to the direction perpendicular to the direction of travel of the vehicle. The vehicle parameters refer to the property parameters of the vehicle itself. Exemplarily, it may include at least one of the following: vehicle mass, yaw moment of inertia, equivalent cornering stiffness of the front wheels, equivalent cornering stiffness of the rear wheels, and distance from the center of mass of the vehicle to the front axle. distance and the distance from the center of mass of the car to the rear axle, etc. The path tracking error refers to the error between the vehicle's driving trajectory and the planned path. The path tracking error model is used to adjust the driving trajectory according to the tracking error so that the vehicle can drive along the planned path, including the longitudinal control and lateral control of the vehicle. The longitudinal control mainly It is the control of the driving speed, which corresponds to the longitudinal speed in the vehicle motion parameters; the lateral control is mainly the control of the front wheel angle of the vehicle, which corresponds to the target yaw rate in the vehicle motion parameters.
根据车辆与规划路径之间的侧向位置偏差和方位角偏差及其二者的变化率,控制车辆沿着规划路径行驶。分别用m、I Z、C f、C r、I f、I r、V x
Figure PCTCN2022111675-appb-000012
表示车辆质量、横摆转动惯量、前轮等效侧偏刚度、后轮等效侧偏刚度、车辆质心到前轴的距离、车辆质心到后轴的距离、纵向速度和目标横摆角速度,定义系统状态向量和控制输入向量分别为
Figure PCTCN2022111675-appb-000013
和u=δ f,其中,e 1为汽车质心点与目标路径的距离,
Figure PCTCN2022111675-appb-000014
为e 1的导数,e 2为汽车方位角与目标方位角的偏差,
Figure PCTCN2022111675-appb-000015
为e 2的导数,δ f为前轮转角建立路径跟踪误差模型为:
According to the lateral position deviation and azimuth angle deviation between the vehicle and the planned route and the rate of change of the two, the vehicle is controlled to travel along the planned route. Use m, I Z , C f , Cr , If , I r , V x and
Figure PCTCN2022111675-appb-000012
Indicates vehicle mass, yaw moment of inertia, front wheel equivalent cornering stiffness, rear wheel equivalent cornering stiffness, distance from vehicle center of mass to front axle, distance from vehicle center of mass to rear axle, longitudinal velocity and target yaw rate, define The system state vector and control input vector are respectively
Figure PCTCN2022111675-appb-000013
and u=δ f , where e 1 is the distance between the center of mass of the car and the target path,
Figure PCTCN2022111675-appb-000014
is the derivative of e 1 , and e 2 is the deviation between the azimuth angle of the vehicle and the azimuth angle of the target,
Figure PCTCN2022111675-appb-000015
is the derivative of e 2 , and δf is the front wheel angle to establish the path tracking error model as:
Figure PCTCN2022111675-appb-000016
Figure PCTCN2022111675-appb-000016
考虑车辆前轮和后轮等效侧偏刚度参数不确定性,可将其表示为Considering the uncertainty of the equivalent cornering stiffness parameters of the front and rear wheels of the vehicle, it can be expressed as
Figure PCTCN2022111675-appb-000017
Figure PCTCN2022111675-appb-000017
其中,C f0、C r0分别为汽车前轮和后轮的等效侧偏刚度名义值,C fe、C re分别为汽车前轮、后轮的等效侧偏刚度最大摄动量,由此,路径跟踪误差模型修正为: Among them, C f0 and C r0 are the nominal values of the equivalent cornering stiffness of the front and rear wheels of the car respectively, and C fe and C re are the maximum perturbations of the equivalent cornering stiffness of the front and rear wheels of the car respectively. Therefore, The path tracking error model is modified as:
Figure PCTCN2022111675-appb-000018
Figure PCTCN2022111675-appb-000018
其中,A、ΔA、B 1、ΔB 1、B 2、ΔB 2和C分别表示:系统名义矩阵、A的摄动矩阵、控制名义矩阵、B 1的摄动矩阵、扰动名义矩阵、B 2的摄动矩阵和输出矩阵,A、ΔA、B 1、ΔB 1、B 2、ΔB 2和C可分别表示为: Among them, A, ΔA, B 1 , ΔB 1 , B 2 , ΔB 2 and C represent: system nominal matrix, A’s perturbation matrix, control nominal matrix, B 1 ’s perturbation matrix, disturbance nominal matrix, B 2 ’s Perturbation matrix and output matrix, A, ΔA, B 1 , ΔB 1 , B 2 , ΔB 2 and C can be expressed as:
Figure PCTCN2022111675-appb-000019
Figure PCTCN2022111675-appb-000019
Figure PCTCN2022111675-appb-000020
Figure PCTCN2022111675-appb-000020
Figure PCTCN2022111675-appb-000021
Figure PCTCN2022111675-appb-000021
Figure PCTCN2022111675-appb-000022
Figure PCTCN2022111675-appb-000022
[ΔA ΔB 1 ΔB 2]=WF[E 1 E 2 E 3] [ΔA ΔB 1 ΔB 2 ]=WF[E 1 E 2 E 3 ]
式中,W为系统摄动结构的常数矩阵,F为满足F TF≤I的摄动矩阵,I为转动惯量,W、E 1、E 2和E 3可分别表示为: In the formula, W is the constant matrix of the perturbation structure of the system, F is the perturbation matrix satisfying F T F ≤ I, I is the moment of inertia, W, E 1 , E 2 and E 3 can be expressed as:
Figure PCTCN2022111675-appb-000023
Figure PCTCN2022111675-appb-000023
Figure PCTCN2022111675-appb-000024
Figure PCTCN2022111675-appb-000024
Figure PCTCN2022111675-appb-000025
Figure PCTCN2022111675-appb-000025
Figure PCTCN2022111675-appb-000026
Figure PCTCN2022111675-appb-000026
图6是本申请实施例三提供的一种车辆避让路径跟踪控制的场景示意图。X轴是纵向,与车道方向相同;Y轴与车道方向垂直,x轴与当前车辆行驶方向相同,y轴与车辆行驶方向垂直,其中,X轴和Y轴构成的坐标系可以理解为世界坐标系,而x轴和y轴构成的坐标系可以理解为当前车辆的相对坐标系。图中矩形表示当前车辆,e 1为车辆质心点与目标路径的距离,e 2为汽车方位角与目标方位角的偏差,Ψ为横摆角速度,Ψ des为目标横摆角速度。 FIG. 6 is a schematic diagram of a scene of vehicle avoidance path tracking control provided in Embodiment 3 of the present application. The X-axis is longitudinal, which is the same as the direction of the lane; the Y-axis is perpendicular to the direction of the lane, the x-axis is the same as the current driving direction of the vehicle, and the y-axis is perpendicular to the driving direction of the vehicle. The coordinate system formed by the X-axis and the Y-axis can be understood as a world coordinate system, and the coordinate system formed by the x-axis and the y-axis can be understood as the relative coordinate system of the current vehicle. The rectangle in the figure represents the current vehicle, e 1 is the distance between the center of mass of the vehicle and the target path, e 2 is the deviation between the vehicle azimuth and the target azimuth, Ψ is the yaw rate, and Ψ des is the target yaw rate.
步骤350、根据所述路径跟踪误差模型确定闭环系统,并计算所述闭环系统的跟踪误差控制量。Step 350: Determine a closed-loop system according to the path tracking error model, and calculate a tracking error control quantity of the closed-loop system.
闭环系统指带有反馈信息的控制系统。A closed-loop system refers to a control system with feedback information.
在一个实施例中,所述计算所述闭环系统的跟踪误差控制量,包括:根据路径跟踪反馈模型和路径跟踪前馈模型,计算所述闭环系统的跟踪误差控制量。In one embodiment, the calculating the tracking error control quantity of the closed-loop system includes: calculating the tracking error control quantity of the closed-loop system according to the path tracking feedback model and the path tracking feedforward model.
基于修正的路径跟踪误差模型设计“前馈+反馈”路径跟踪控制方式,在闭环 稳定的前提下,使闭环系统的动态性能指标可灵活配置,其中前馈为侧向控制方法,控制前轮转角,反馈为后轮反馈控制。为此,将修正的路径跟踪误差模型简化为:Based on the modified path tracking error model, the "feedforward + feedback" path tracking control method is designed. Under the premise of closed loop stability, the dynamic performance index of the closed loop system can be flexibly configured. Feedforward is a lateral control method to control the front wheel angle. , the feedback is rear wheel feedback control. To this end, the modified path tracking error model is simplified as:
Figure PCTCN2022111675-appb-000027
Figure PCTCN2022111675-appb-000027
基于简化后的路径跟踪误差模型设计反馈控制律为:Based on the simplified path tracking error model, the feedback control law is designed as:
u 1=Ky=KCx u 1 =Ky=KCx
其中,K为增益。Among them, K is the gain.
由此,得到路径跟踪闭环系统为:Thus, the path tracking closed-loop system is obtained as:
Figure PCTCN2022111675-appb-000028
Figure PCTCN2022111675-appb-000028
其中,W为系统摄动结构的常数矩阵,F为满足F TF≤I的摄动矩阵,I为转动惯量,A c、E c可表示为: Among them, W is the constant matrix of the perturbation structure of the system, F is the perturbation matrix satisfying F T F ≤ I, I is the moment of inertia, A c and E c can be expressed as:
A c=A+B 1KC A c =A+B 1 KC
E c=E 1+E 2KC E c =E 1 +E 2 KC
为了实现在闭环稳定的前提下,使闭环系统的动态性能指标可灵活配置,采用极点配置方法设计反馈增益,并将问题转换为线性矩阵不等式方式进行求解,即使闭环系统的动态性能指标可灵活配置性能指标等价为如下线性矩阵不等式:In order to realize the dynamic performance index of the closed-loop system can be flexibly configured under the premise of closed-loop stability, the pole configuration method is used to design the feedback gain, and the problem is converted into a linear matrix inequality method to solve the problem, even if the dynamic performance index of the closed-loop system can be flexibly configured The performance index is equivalent to the following linear matrix inequality:
Figure PCTCN2022111675-appb-000029
Figure PCTCN2022111675-appb-000029
上述线性矩阵不等式可等效为:The above linear matrix inequality can be equivalent to:
Figure PCTCN2022111675-appb-000030
Figure PCTCN2022111675-appb-000030
其中,
Figure PCTCN2022111675-appb-000031
in,
Figure PCTCN2022111675-appb-000031
上述线性矩阵不等式可等效为:The above linear matrix inequality can be equivalent to:
Figure PCTCN2022111675-appb-000032
Figure PCTCN2022111675-appb-000032
为了解耦上述线性矩阵不等式,定义中间过渡变量X=QX QQ T+RX RR T和KCX=Y=Y RR T,其中Q为矩阵C核空间基向量构成的列满秩矩阵,R为矩阵C 的伪逆矩阵,可表示为R=C T(CC T) -1,X Q和X R为未知的对称正定矩阵,Y R为未知的任意矩阵,由此可得: In order to decouple the above linear matrix inequalities, the intermediate transition variables X=QX Q Q T +RX R R T and KCX=Y=Y R R T are defined, where Q is a full-rank matrix composed of matrix C kernel space basis vectors, R is the pseudo-inverse matrix of matrix C, which can be expressed as R=C T (CC T ) -1 , X Q and X R are unknown symmetric positive definite matrices, and Y R is an unknown arbitrary matrix, thus we can get:
Figure PCTCN2022111675-appb-000033
Figure PCTCN2022111675-appb-000033
对上面线性矩阵不等式进行求解,可得反馈增益系数为:Solving the above linear matrix inequality, the feedback gain coefficient can be obtained as:
Figure PCTCN2022111675-appb-000034
Figure PCTCN2022111675-appb-000034
其中,
Figure PCTCN2022111675-appb-000035
Figure PCTCN2022111675-appb-000036
分别为X R和Y R的可行解。
in,
Figure PCTCN2022111675-appb-000035
and
Figure PCTCN2022111675-appb-000036
are the feasible solutions of X R and Y R respectively.
由于上述反馈增益系数求解过程中的核心算法为极点配置算法,使得闭环系统的动态性能指标可灵活配置。Since the core algorithm in the process of solving the above-mentioned feedback gain coefficient is the pole allocation algorithm, the dynamic performance index of the closed-loop system can be flexibly configured.
通过汽车变道避让路径跟踪前馈控制,根据汽车变道避让路径跟踪控制律u=u 1+u 2=KCx+u 2,其中u 1=Ky=KCx为车辆变道避让路径跟踪反馈控制律,K为反馈控制增益,u 2为汽车变道避让路径跟踪前馈控制律,利用拉氏变换终值定理设计前馈控制律为: Through the vehicle lane change avoidance path tracking feedforward control, according to the vehicle lane change avoidance path tracking control law u=u 1 +u 2 =KCx+u 2 , where u 1 =Ky=KCx is the vehicle lane change avoidance path tracking feedback control law , K is the feedback control gain, u 2 is the vehicle lane change avoidance path tracking feed-forward control law, using the Laplace transform final value theorem to design the feed-forward control law is:
Figure PCTCN2022111675-appb-000037
Figure PCTCN2022111675-appb-000037
其中,f 3为矩阵KC的分量,v x为车辆的纵向速度。 Among them, f 3 is the component of the matrix KC, and v x is the longitudinal velocity of the vehicle.
在前馈控制律的作用下,抑制扰动项对路径跟踪精度的影响,解决设计车辆变道避让路径跟踪控制律时,忽略了车辆目标横摆角速度引起的扰动项,闭环系统的极点可以配置在期望的位置上,但闭环系统实际受车辆目标横摆角速度引起的扰动项的影响,无法达到预期的动态和稳态性能的问题,使得路径跟踪控制可实现零稳定误差。Under the action of the feed-forward control law, the influence of the disturbance term on the path tracking accuracy is suppressed, and the disturbance term caused by the vehicle target yaw rate is ignored when designing the vehicle lane change and avoidance path tracking control law. The poles of the closed-loop system can be configured in The desired position, but the closed-loop system is actually affected by the disturbance term caused by the target yaw rate of the vehicle, which cannot achieve the expected dynamic and steady-state performance, so that the path tracking control can achieve zero stability error.
通过路径跟踪反馈模型和路径跟踪前馈模型,计算所述闭环系统的跟踪误差控制量,能够跟踪多种路径,并且受路径形状的干扰影响较小,能够减小车辆行驶中的侧向误差和纵向误差,提高曲率变化明显时的路径跟踪效果,使车 辆具有较好的路径跟踪准确性、稳定性和鲁棒性。Through the path tracking feedback model and the path tracking feedforward model, the tracking error control quantity of the closed-loop system is calculated, which can track various paths, and is less affected by the interference of the path shape, and can reduce the lateral error and the vehicle driving. The longitudinal error improves the path tracking effect when the curvature changes significantly, so that the vehicle has better path tracking accuracy, stability and robustness.
步骤360、根据所述误差控制量,控制所述当前车辆行驶,以闭环控制所述当前车辆沿着所述变道路径行驶。Step 360 : Control the current vehicle to travel according to the error control amount, so as to control the current vehicle to travel along the lane-changing path in a closed-loop manner.
本实施例的技术方案,设计“前馈+反馈”路径跟踪控制,控制车辆沿着规划路径行驶,能够跟踪多种路径,能够减小车辆行驶中的侧向误差和纵向误差,提高曲率变化明显时的路径跟踪效果,使车辆具有较好的路径跟踪准确性、稳定性和鲁棒性,使车辆行驶符合路径规划中设计的路径。In the technical solution of this embodiment, the "feedforward + feedback" path tracking control is designed to control the vehicle to travel along the planned path, which can track multiple paths, reduce the lateral error and longitudinal error during vehicle driving, and improve the obvious curvature change. The real-time path tracking effect makes the vehicle have better path tracking accuracy, stability and robustness, and makes the vehicle travel in line with the path designed in the path planning.
实施例四Embodiment Four
图7为本申请实施例四提供的一种车辆避让系统的示意图,本实施例的技术方案是上述技术方案的一个实现方式,该方法包括:FIG. 7 is a schematic diagram of a vehicle avoidance system provided in Embodiment 4 of the present application. The technical solution of this embodiment is an implementation of the above-mentioned technical solution. The method includes:
车辆避让系统可以分为三个主要部分,信息采集单元、车辆避让规划单元和线控单元。信息采集单元与车辆避让规划单元通信连接;车辆避让规划单元与线控通信连接。The vehicle avoidance system can be divided into three main parts, the information collection unit, the vehicle avoidance planning unit and the line control unit. The information collection unit communicates with the vehicle avoidance planning unit; the vehicle avoidance planning unit communicates with the wire control unit.
信息采集单元设置为采集当前车辆所在环境交通环境信息,包括前视摄像头410、前侧毫米波雷达420、后侧毫米波雷达430和高清地图440。其中,后侧毫米波雷达430可以包括左后侧毫米波雷达和右后侧毫米波雷达。信息采集单元通过多传感器融合的方式获取交通环境信息,使得当前车辆主动变道避让过程可以综合考虑当前车辆本车道和相邻车道的交通环境信息,满足车辆功能安全要求。The information collection unit is configured to collect traffic environment information of the current vehicle environment, including a front-view camera 410 , a front millimeter-wave radar 420 , a rear millimeter-wave radar 430 and a high-definition map 440 . Wherein, the rear millimeter wave radar 430 may include a left rear millimeter wave radar and a right rear millimeter wave radar. The information acquisition unit obtains traffic environment information through multi-sensor fusion, so that the current vehicle active lane change avoidance process can comprehensively consider the traffic environment information of the current vehicle's own lane and adjacent lanes, and meet the vehicle functional safety requirements.
车辆避让规划单元设置为规划车辆避让路线,包括避让类型确定模块450、变道路径拟合模块460和变道路径控制模块470。车辆避让规划单元设置为执行本申请提出的一种运行于车辆电控控制单元上的车辆动变道避让确定方法、车辆变道避让路径规划方法和车辆变道避让路径跟踪控制方法,使得规划的路径满足汽车运动学和动力学约束,满足可跟踪性和乘坐舒适性要求,并且使得路径跟踪控制策略可以根据性能指标灵活配置闭环系统的极点和实现零稳定误差目标。The vehicle avoidance planning unit is configured to plan vehicle avoidance routes, including an avoidance type determination module 450 , a lane change route fitting module 460 and a lane change route control module 470 . The vehicle avoidance planning unit is set to execute a vehicle dynamic lane change avoidance determination method, a vehicle lane change avoidance path planning method and a vehicle lane change avoidance path tracking control method running on the vehicle electronic control unit proposed by the application, so that the planned The path satisfies the vehicle kinematics and dynamics constraints, meets the requirements of trackability and ride comfort, and enables the path tracking control strategy to flexibly configure the poles of the closed-loop system according to the performance index and achieve the goal of zero stability error.
线控单元设置为执行车辆避让规划单元的方法,包括线控制动模块480和线控变道单元490,线控制动模块480设置为执行控制车辆制动避让方法,线控变道单元490设置为执行车辆变道避让方法。本申请采用高集成度和高冗余性的线控制动和线控转向系统作为汽车主动变道避让系统的执行机构,使得汽车具有智能可控性。The control-by-wire unit is configured to implement the method of the vehicle avoidance planning unit, including a brake-by-wire module 480 and a lane-by-wire unit 490. The brake-by-wire module 480 is configured to execute a method for controlling vehicle braking and avoidance, and the lane-by-wire unit 490 is configured to Execute the vehicle lane change avoidance method. This application uses highly integrated and highly redundant brake-by-wire and steer-by-wire systems as the executive mechanism of the vehicle's active lane change avoidance system, making the vehicle intelligently controllable.
本实施例的技术方案,通过车辆避让系统的构建实现本申请车辆避让方法 的系统,展现了本申请提出的车辆动变道避让确定方法、车辆变道避让路径规划方法和车辆变道避让路径跟踪控制方法实现过程,解决通过制动避让需要有较远的初始距离和降低乘车舒适度的问题,实现提高避让障碍的有效性和乘车舒适度的效果。The technical solution of this embodiment is a system that realizes the vehicle avoidance method of the present application through the construction of the vehicle avoidance system, and demonstrates the vehicle dynamic lane change avoidance determination method, the vehicle lane change avoidance path planning method and the vehicle lane change avoidance path tracking proposed in this application. The implementation process of the control method solves the problem of a relatively long initial distance and reduced ride comfort through braking avoidance, and achieves the effect of improving the effectiveness of avoiding obstacles and ride comfort.
实施例五Embodiment five
图8为本申请实施例五提供的一种车辆避让装置的结构示意图。实施例五是实现本申请上述实施例提供的车辆避让方法的相应装置,该装置可采用软件和/或硬件的方式实现,并一般可集成在计算机设备中。车辆避让装置包括:FIG. 8 is a schematic structural diagram of a vehicle avoidance device provided in Embodiment 5 of the present application. Embodiment 5 is a corresponding device for implementing the vehicle avoidance method provided in the above embodiments of the present application. The device can be implemented in the form of software and/or hardware, and can generally be integrated into computer equipment. Vehicle avoidance devices include:
前车行驶数据获取模块510,设置为检测同车道前车的行驶数据;避让类型确定520,设置为根据前车的行驶数据,检测当前车辆避让类型;控制车辆变道行驶模块530,设置为在确定所述当前车辆避让类型为变道避让的情况下,基于侧向加速度和侧向加速度变化率的约束条件,确定所述当前车辆的变道路径,并控制所述当前车辆沿着所述变道路径行驶。The driving data acquisition module 510 of the vehicle in front is configured to detect the driving data of the vehicle ahead in the same lane; the avoidance type determination 520 is configured to detect the current vehicle avoidance type according to the driving data of the vehicle in front; the vehicle lane change control module 530 is configured to When it is determined that the avoidance type of the current vehicle is lane change avoidance, based on the constraints of lateral acceleration and lateral acceleration change rate, determine the lane change path of the current vehicle, and control the current vehicle along the lane change path. Drive on the road.
本实施例的技术方案,通过避让类型为变道避让的情况时,基于侧向加速度和侧向加速度变化率的约束条件,控制当前车辆沿着变道路径行驶,解决通过制动避让需要有较远的初始距离,当初始距离较近时会发生碰撞的问题,实现提高避让障碍的效率,提高自动驾驶安全性的效果。In the technical solution of this embodiment, when the type of avoidance is lane change avoidance, based on the constraints of lateral acceleration and lateral acceleration change rate, the current vehicle is controlled to drive along the lane change path, solving the need for braking avoidance. If the initial distance is long, collisions will occur when the initial distance is relatively short, so as to improve the efficiency of avoiding obstacles and improve the safety of automatic driving.
车辆避让装置,还包括:Vehicle avoidance devices, also including:
减速行驶控制模块,设置为在确定所述当前车辆避让类型为制动避让的情况下,控制所述当前车辆减速行驶。The deceleration control module is configured to control the current vehicle to decelerate when it is determined that the type of avoidance of the current vehicle is braking avoidance.
所述控制车辆变道行驶模块,包括:The module for controlling the vehicle to change lanes includes:
变道路径拟合单元,设置为基于侧向加速度和侧向加速度变化率的约束条件,采用B样条曲线模型拟合所述当前车辆的变道路径;变道路径确定单元,设置为将拟合曲线确定为所述当前车辆的变道路径。The lane-changing path fitting unit is set to be based on the constraints of lateral acceleration and lateral acceleration rate of change, and adopts the B-spline curve model to fit the lane-changing path of the current vehicle; the lane-changing path determination unit is set to The joining curve is determined as the lane-changing path of the current vehicle.
所述变道路径拟合单元,包括:The lane changing path fitting unit includes:
B样条曲线定义子单元,设置为基于如下公式定义B样条曲线模型的节点向量U和控制点P,拟合所述当前车辆的变道路径:The B-spline curve definition subunit is configured to define the node vector U and the control point P of the B-spline curve model based on the following formula, and fit the lane-changing path of the current vehicle:
U={0,0,0,0,0,0,0.5,1,1,1,1,1,1};U={0,0,0,0,0,0,0.5,1,1,1,1,1,1};
Figure PCTCN2022111675-appb-000038
Figure PCTCN2022111675-appb-000038
其中,P i为所述B样条曲线模型上的第i个控制点,P i的坐标为(P xi,P yi),d i为控制点P i与P i-1之间的同向距离,L是变道前后的所述当前车辆在与车道方法垂直的方向上的距离,
Figure PCTCN2022111675-appb-000039
是所述当前车辆行驶在变道前车道上的最后一个控制点和行驶在变道后车道上的第一个控制点的连线与所述变道前车道的夹角,i是大于或等于0的正整数。
Among them, P i is the i-th control point on the B-spline curve model, the coordinates of P i are (P xi , P yi ), d i is the same direction between control points P i and P i-1 Distance, L is the distance of the current vehicle in the direction perpendicular to the lane approach before and after the lane change,
Figure PCTCN2022111675-appb-000039
is the angle between the last control point of the current vehicle on the lane before the lane change and the first control point on the lane after the lane change and the lane before the lane change, i is greater than or equal to A positive integer of 0.
所述变道路径拟合单元,包括:The lane changing path fitting unit includes:
跟踪误差模型构建子单元,设置为根据所述当前车辆的行驶数据和车辆参数,构建路径跟踪误差模型;跟踪误差控制量计算子单元,设置为根据所述路径跟踪误差模型确定闭环系统,并计算所述闭环系统的跟踪误差控制量;闭环控制子单元,设置为根据所述误差控制量,控制所述当前车辆行驶,以闭环控制所述当前车辆沿着所述变道路径行驶。The tracking error model construction subunit is configured to construct a path tracking error model according to the current vehicle driving data and vehicle parameters; the tracking error control amount calculation subunit is configured to determine the closed-loop system according to the path tracking error model and calculate The tracking error control amount of the closed-loop system; the closed-loop control subunit is configured to control the running of the current vehicle according to the error control amount, so as to control the running of the current vehicle along the lane-changing path in a closed-loop manner.
所述计算所述闭环系统的跟踪误差控制量,包括:The calculation of the tracking error control amount of the closed-loop system includes:
根据路径跟踪反馈模型和路径跟踪前馈模型,计算所述闭环系统的跟踪误差控制量。According to the path tracking feedback model and the path tracking feedforward model, the tracking error control quantity of the closed-loop system is calculated.
所述避让类型确定模块,包括:The avoidance type determination module includes:
车辆距离确定单元,设置为根据前车的行驶数据,确定碰撞时间和所述前车与所述当前车辆之间的车辆距离;制动预测单元,设置为根据预设最大减速度、所述碰撞时间和所述车辆距离,检测所述当前车辆的制动预测结果;避让类型确定单元,设置为根据所述制动预测结果与避让类型之间的对应关系,确定所述当前车辆的避让类型。The vehicle distance determining unit is configured to determine the collision time and the vehicle distance between the preceding vehicle and the current vehicle according to the driving data of the preceding vehicle; the braking prediction unit is configured to determine the collision time according to the preset maximum deceleration, the collision The time and the vehicle distance are used to detect the braking prediction result of the current vehicle; the avoidance type determination unit is configured to determine the avoidance type of the current vehicle according to the corresponding relationship between the braking prediction result and the avoidance type.
上述装置可执行本申请实施例所提供的车辆避让方法,具备执行车辆避让方法相应的功能模块和效果。The above-mentioned device can execute the vehicle avoidance method provided in the embodiment of the present application, and has corresponding functional modules and effects for executing the vehicle avoidance method.
实施例六Embodiment six
图9为本申请实施例六提供的一种计算机设备的结构示意图,如图9所示,该计算机设备包括处理器601、存储器602、输入装置603和输出装置604;计 算机设备中处理器601的数量可以是一个或多个,图9中以一个处理器60为例;计算机设备中的处理器601、存储器602、输入装置603和输出装置604可以通过总线或其他方式连接,图9中以通过总线连接为例。FIG. 9 is a schematic structural diagram of a computer device provided in Embodiment 6 of the present application. As shown in FIG. 9, the computer device includes a processor 601, a memory 602, an input device 603, and an output device 604; The quantity can be one or more, and a processor 60 is taken as an example in FIG. Take the bus connection as an example.
存储器602作为一种计算机可读存储介质,可设置为存储软件程序、计算机可执行程序以及模块,如本申请实施例中的车辆避让方法对应的程序指令/模块(例如,车辆避让装置中的前车行驶数据获取模块510、避让类型确定模块520和控制车辆变道行驶模块530)。处理器601通过运行存储在存储器602中的软件程序、指令以及模块,从而执行计算机设备的多种功能应用以及数据处理,即实现上述的车辆避让方法。The memory 602, as a computer-readable storage medium, can be set to store software programs, computer-executable programs and modules, such as program instructions/modules corresponding to the vehicle avoidance method in the embodiment of the present application (for example, the front vehicle travel data acquisition module 510, avoidance type determination module 520 and control vehicle lane change travel module 530). The processor 601 executes various functional applications and data processing of the computer equipment by running the software programs, instructions and modules stored in the memory 602 , that is, realizes the above-mentioned vehicle avoidance method.
存储器602可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据终端的使用所创建的数据等。此外,存储器602可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实例中,存储器602可包括相对于处理器601远程设置的存储器,这些远程存储器可以通过网络连接至计算机设备。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 602 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required by a function; the data storage area may store data created according to the use of the terminal, and the like. In addition, the memory 602 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage devices. In some examples, memory 602 may include memory located remotely from processor 601, and such remote memory may be connected to the computer device via a network. Examples of the aforementioned networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
输入装置603可设置为接收输入的数字或字符信息,以及产生与计算机设备的用户设置以及功能控制有关的键信号输入。输出装置604可包括显示屏等显示设备。The input device 603 can be configured to receive input numbers or character information, and generate key signal input related to user settings and function control of the computer equipment. The output device 604 may include a display device such as a display screen.
实施例七Embodiment seven
本申请实施例七还提供一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行一种车辆避让方法,该方法包括:检测同车道前车的行驶数据;根据前车的行驶数据,检测当前车辆避让类型;在确定所述当前车辆避让类型为变道避让的情况下,基于侧向加速度和侧向加速度变化率的约束条件,确定所述当前车辆的变道路径,并控制所述当前车辆沿着所述变道路径行驶。Embodiment 7 of the present application also provides a storage medium containing computer-executable instructions, the computer-executable instructions are used to execute a vehicle avoidance method when executed by a computer processor, and the method includes: detecting the vehicle in front of the same lane Driving data; according to the driving data of the vehicle in front, detect the current vehicle avoidance type; when it is determined that the current vehicle avoidance type is lane change avoidance, based on the constraints of lateral acceleration and lateral acceleration change rate, determine the current vehicle avoidance type the lane-changing path of the vehicle, and control the current vehicle to travel along the lane-changing path.
通过以上关于实施方式的描述,了解到,本申请可借助软件及必需的通用硬件来实现,也可以通过硬件实现。本申请的技术方案本质上可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如计算机的软盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、闪存(FLASH)、硬盘或光盘等,包括多个指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行 本申请实施例所述的方法。From the above description about the implementation manners, it is understood that the present application can be implemented by means of software and necessary general-purpose hardware, or can be implemented by means of hardware. The technical solution of the present application can be embodied in the form of software products in essence, and the computer software products can be stored in computer-readable storage media, such as computer floppy disks, read-only memory (Read-Only Memory, ROM), random access Memory (Random Access Memory, RAM), flash memory (FLASH), hard disk or optical disc, etc., including a plurality of instructions to make a computer device (which can be a personal computer, server, or network device, etc.) execute the described embodiment of the present application. Methods.
上述搜索装置的实施例中,所包括的多个单元和模块只是按照功能逻辑进行划分的,但并不局限于上述的划分,只要能够实现相应的功能即可;另外,多个功能单元的名称也只是为了便于相互区分,并不用于限制本申请的保护范围。In the above embodiment of the search device, the multiple units and modules included are only divided according to the functional logic, but are not limited to the above division, as long as the corresponding functions can be realized; in addition, the names of the multiple functional units It is only for the convenience of distinguishing each other, and is not used to limit the protection scope of the present application.

Claims (10)

  1. 一种车辆避让方法,包括:A vehicle avoidance method, comprising:
    检测同车道前车的行驶数据;Detect the driving data of the vehicle ahead in the same lane;
    根据所述前车的行驶数据,检测当前车辆避让类型;Detecting the current vehicle avoidance type according to the driving data of the preceding vehicle;
    在确定所述当前车辆避让类型为变道避让的情况下,基于侧向加速度和侧向加速度变化率的约束条件,确定所述当前车辆的变道路径,并控制所述当前车辆沿着所述变道路径行驶。When it is determined that the current vehicle avoidance type is lane change avoidance, based on the constraints of lateral acceleration and lateral acceleration change rate, determine the lane change path of the current vehicle, and control the current vehicle along the Change lanes.
  2. 根据权利要求1所述的方法,其中,所述基于侧向加速度和侧向加速度变化率的约束条件,确定所述当前车辆的变道路径,包括:The method according to claim 1, wherein said determining the lane-changing path of the current vehicle based on the constraints of lateral acceleration and lateral acceleration rate comprises:
    基于所述侧向加速度和侧向加速度变化率的约束条件,采用B样条曲线模型拟合所述当前车辆的变道路径;Based on the constraints of the lateral acceleration and the rate of change of the lateral acceleration, a B-spline curve model is used to fit the lane-changing path of the current vehicle;
    将拟合曲线确定为所述当前车辆的变道路径。The fitting curve is determined as the lane-changing path of the current vehicle.
  3. 根据权利要求2所述的方法,其中,所述采用B样条曲线模型拟合所述当前车辆的变道路径,包括:The method according to claim 2, wherein said adopting a B-spline curve model to fit the lane-changing path of the current vehicle comprises:
    基于如下公式定义所述B样条曲线模型的节点向量U和控制点P,拟合所述当前车辆的变道路径:The node vector U and the control point P of the B-spline curve model are defined based on the following formula, and the lane-changing path of the current vehicle is fitted:
    U={0,0,0,0,0,0,0.5,1,1,1,1,1,1};U={0,0,0,0,0,0,0.5,1,1,1,1,1,1};
    Figure PCTCN2022111675-appb-100001
    Figure PCTCN2022111675-appb-100001
    其中,P i为所述B样条曲线模型上的第i个控制点,P i的坐标为(P xi,P yi),d i为控制点P i与P i-1之间的同向距离,L是变道前后的所述当前车辆在与车道方法垂直的方向上的距离,
    Figure PCTCN2022111675-appb-100002
    是所述当前车辆行驶在变道前车道上的最后一个控制点和行驶在变道后车道上的第一个控制点的连线与所述变道前车道的夹角,i是大于或等于0的正整数。
    Among them, P i is the i-th control point on the B-spline curve model, the coordinates of P i are (P xi , P yi ), d i is the same direction between control points P i and P i-1 Distance, L is the distance of the current vehicle in the direction perpendicular to the lane approach before and after the lane change,
    Figure PCTCN2022111675-appb-100002
    is the angle between the last control point of the current vehicle on the lane before the lane change and the first control point on the lane after the lane change and the lane before the lane change, i is greater than or equal to A positive integer of 0.
  4. 根据权利要求1所述的方法,其中,所述控制所述当前车辆沿着所述变道路径行驶,包括:The method according to claim 1, wherein the controlling the current vehicle to travel along the lane change path comprises:
    根据所述当前车辆的行驶数据和车辆参数,构建路径跟踪误差模型;Constructing a path tracking error model according to the driving data and vehicle parameters of the current vehicle;
    根据所述路径跟踪误差模型确定闭环系统,并计算所述闭环系统的跟踪误 差控制量;Determine the closed-loop system according to the path tracking error model, and calculate the tracking error control quantity of the closed-loop system;
    根据所述误差控制量,控制所述当前车辆行驶,以闭环控制所述当前车辆沿着所述变道路径行驶。According to the error control amount, the current vehicle is controlled to travel along the lane-changing path in a closed-loop control.
  5. 根据权利要求4所述的方法,其中,所述计算所述闭环系统的跟踪误差控制量,包括:The method according to claim 4, wherein said calculating the tracking error control amount of said closed-loop system comprises:
    根据路径跟踪反馈模型和路径跟踪前馈模型,计算所述闭环系统的跟踪误差控制量。According to the path tracking feedback model and the path tracking feedforward model, the tracking error control quantity of the closed-loop system is calculated.
  6. 根据权利要求1所述的方法,其中,所述根据所述前车的行驶数据,检测当前车辆避让类型,包括:The method according to claim 1, wherein said detecting the current vehicle avoidance type according to the driving data of the preceding vehicle comprises:
    根据所述前车的行驶数据,确定碰撞时间和所述前车与所述当前车辆之间的车辆距离;determining the collision time and the vehicle distance between the preceding vehicle and the current vehicle according to the driving data of the preceding vehicle;
    根据预设最大减速度、所述碰撞时间和所述车辆距离,检测所述当前车辆的制动预测结果;Detecting the braking prediction result of the current vehicle according to the preset maximum deceleration, the collision time and the vehicle distance;
    根据所述制动预测结果与避让类型之间的对应关系,确定所述当前车辆的避让类型。The avoidance type of the current vehicle is determined according to the corresponding relationship between the braking prediction result and the avoidance type.
  7. 根据权利要求1所述的方法,还包括:The method according to claim 1, further comprising:
    在确定所述当前车辆避让类型为制动避让的情况下,控制所述当前车辆减速行驶。If it is determined that the current vehicle avoidance type is brake avoidance, the current vehicle is controlled to decelerate.
  8. 一种车辆避让装置,包括:A vehicle avoidance device, comprising:
    前车行驶数据获取模块,设置为检测同车道前车的行驶数据;The driving data acquisition module of the preceding vehicle is configured to detect the driving data of the preceding vehicle in the same lane;
    避让类型确定模块,设置为根据所述前车的行驶数据,检测当前车辆避让类型;The avoidance type determination module is configured to detect the current vehicle avoidance type according to the driving data of the preceding vehicle;
    控制车辆变道行驶模块,设置为在确定所述当前车辆避让类型为变道避让的情况下,基于侧向加速度和侧向加速度变化率的约束条件,确定所述当前车辆的变道路径,并控制所述当前车辆沿着所述变道路径行驶。Controlling the vehicle lane-changing module, configured to determine the lane-changing path of the current vehicle based on the constraints of lateral acceleration and lateral acceleration change rate when it is determined that the current vehicle avoidance type is lane-changing avoidance, and The current vehicle is controlled to travel along the lane changing path.
  9. 一种计算机设备,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,其中,所述处理器执行所述程序时实现如权利要求1-7中任一所述的车辆避让方法。A computer device, comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein, when the processor executes the program, any of claims 1-7 is implemented. A vehicle avoidance method described above.
  10. 一种计算机可读存储介质,存储有计算机程序,其中,所述程序被处理器执行时实现如权利要求1-7中任一所述的车辆避让方法。A computer-readable storage medium storing a computer program, wherein when the program is executed by a processor, the vehicle avoidance method according to any one of claims 1-7 is realized.
PCT/CN2022/111675 2021-08-27 2022-08-11 Vehicle avoidance method and apparatus, computer device, and storage medium WO2023024914A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110992796.3A CN113619574A (en) 2021-08-27 2021-08-27 Vehicle avoidance method and device, computer equipment and storage medium
CN202110992796.3 2021-08-27

Publications (1)

Publication Number Publication Date
WO2023024914A1 true WO2023024914A1 (en) 2023-03-02

Family

ID=78387961

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/111675 WO2023024914A1 (en) 2021-08-27 2022-08-11 Vehicle avoidance method and apparatus, computer device, and storage medium

Country Status (2)

Country Link
CN (1) CN113619574A (en)
WO (1) WO2023024914A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113619574A (en) * 2021-08-27 2021-11-09 中国第一汽车股份有限公司 Vehicle avoidance method and device, computer equipment and storage medium
CN114030434A (en) * 2021-11-30 2022-02-11 浙江亚太机电股份有限公司 Rear-end collision prevention system based on millimeter wave radar
CN114200931B (en) * 2021-12-01 2023-06-13 浙江大学 Mobile robot path smoothing method based on B spline curve optimization

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180251155A1 (en) * 2017-03-06 2018-09-06 Ford Global Technologies, Llc Assisting Drivers With Roadway Lane Changes
CN110103956A (en) * 2019-05-16 2019-08-09 北方工业大学 Automatic overtaking track planning method for unmanned vehicle
CN110356404A (en) * 2019-05-28 2019-10-22 吉林大学 A kind of intelligent driving system for having the function of autonomous lane-change and improving laterally security
CN110861650A (en) * 2019-11-21 2020-03-06 驭势科技(北京)有限公司 Vehicle path planning method and device, vehicle-mounted equipment and storage medium
CN112071059A (en) * 2020-08-20 2020-12-11 华南理工大学 Intelligent vehicle track changing collaborative planning method based on instantaneous risk assessment
CN112099515A (en) * 2020-11-16 2020-12-18 北京鼎翰科技有限公司 Automatic driving method for lane change avoidance
CN112298173A (en) * 2020-11-06 2021-02-02 吉林大学 Intelligent driving-oriented vehicle safe driving control system and control method
US20210181742A1 (en) * 2019-12-12 2021-06-17 Baidu Usa Llc Path planning with a preparation distance for a lane-change
CN113246974A (en) * 2021-04-12 2021-08-13 南京航空航天大学 Risk avoidance/loss reduction control method in unmanned emergency scene, storage medium and electronic device
CN113619574A (en) * 2021-08-27 2021-11-09 中国第一汽车股份有限公司 Vehicle avoidance method and device, computer equipment and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10036276A1 (en) * 2000-07-26 2002-02-07 Daimler Chrysler Ag Automatic braking and steering system for a vehicle
CN106427998B (en) * 2016-09-30 2018-08-21 江苏大学 The control method of the urgent lane change collision avoidance of vehicle under a kind of fast state
CN107672587A (en) * 2017-08-22 2018-02-09 吉利汽车研究院(宁波)有限公司 A kind of urgent anti-collision system and method
CN115097832A (en) * 2019-02-25 2022-09-23 广州文远知行科技有限公司 Vehicle lane changing method, device, equipment and storage medium
CN110435650A (en) * 2019-08-22 2019-11-12 爱驰汽车有限公司 Emergency avoidance method, system, equipment and storage medium are collided after vehicle

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180251155A1 (en) * 2017-03-06 2018-09-06 Ford Global Technologies, Llc Assisting Drivers With Roadway Lane Changes
CN110103956A (en) * 2019-05-16 2019-08-09 北方工业大学 Automatic overtaking track planning method for unmanned vehicle
CN110356404A (en) * 2019-05-28 2019-10-22 吉林大学 A kind of intelligent driving system for having the function of autonomous lane-change and improving laterally security
CN110861650A (en) * 2019-11-21 2020-03-06 驭势科技(北京)有限公司 Vehicle path planning method and device, vehicle-mounted equipment and storage medium
US20210181742A1 (en) * 2019-12-12 2021-06-17 Baidu Usa Llc Path planning with a preparation distance for a lane-change
CN112071059A (en) * 2020-08-20 2020-12-11 华南理工大学 Intelligent vehicle track changing collaborative planning method based on instantaneous risk assessment
CN112298173A (en) * 2020-11-06 2021-02-02 吉林大学 Intelligent driving-oriented vehicle safe driving control system and control method
CN112099515A (en) * 2020-11-16 2020-12-18 北京鼎翰科技有限公司 Automatic driving method for lane change avoidance
CN113246974A (en) * 2021-04-12 2021-08-13 南京航空航天大学 Risk avoidance/loss reduction control method in unmanned emergency scene, storage medium and electronic device
CN113619574A (en) * 2021-08-27 2021-11-09 中国第一汽车股份有限公司 Vehicle avoidance method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN113619574A (en) 2021-11-09

Similar Documents

Publication Publication Date Title
WO2023024914A1 (en) Vehicle avoidance method and apparatus, computer device, and storage medium
CN112389427B (en) Vehicle track optimization method and device, electronic equipment and storage medium
CN109035862B (en) Multi-vehicle cooperative lane change control method based on vehicle-to-vehicle communication
CN111338340B (en) Model prediction-based local path planning method for unmanned vehicle
Zhou et al. Multiobjective optimization of lane-changing strategy for intelligent vehicles in complex driving environments
CN110377039B (en) Vehicle obstacle avoidance track planning and tracking control method
WO2020187257A1 (en) Vehicle abnormal lane change control method, device and system
CN110286681B (en) Dynamic automatic driving track-changing planning method for curvature-variable curve
US10919520B1 (en) Integrated chassis control
CN109941275B (en) Lane changing method, lane changing device, electronic equipment and storage medium
JP6715899B2 (en) Collision avoidance device
Xu et al. A nash Q-learning based motion decision algorithm with considering interaction to traffic participants
CN112068445A (en) Integrated control method and system for path planning and path tracking of automatic driving vehicle
CN112046484A (en) Q learning-based vehicle lane-changing overtaking path planning method
Liu et al. Research on local dynamic path planning method for intelligent vehicle lane-changing
Wang et al. Integrated post-impact planning and active safety control for autonomous vehicles
Kalaria et al. Local nmpc on global optimised path for autonomous racing
Lombard et al. Lateral control of an unmaned car using GNSS positionning in the context of connected vehicles
CN116946137A (en) Vehicle-road cooperative intelligent vehicle lane-changing anti-collision system based on driving intention
Ding et al. Research on safety lane change warning method based on potential angle collision point
Li et al. Spatial-based predictive control for vehicle collision avoidance by steering maneuvers
Yang et al. ESO-based lateral control for electrical vehicles with unmodeled tire dynamics on uneven road
CN115447615A (en) Trajectory optimization method based on vehicle kinematics model predictive control
CN113942512A (en) Automatic overtaking method for unmanned vehicle
Duan et al. Implementing trajectory tracking control algorithm for autonomous vehicles

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22860260

Country of ref document: EP

Kind code of ref document: A1