CN113911112B - Lane departure assisting method and system based on curve fitting - Google Patents
Lane departure assisting method and system based on curve fitting Download PDFInfo
- Publication number
- CN113911112B CN113911112B CN202111051446.3A CN202111051446A CN113911112B CN 113911112 B CN113911112 B CN 113911112B CN 202111051446 A CN202111051446 A CN 202111051446A CN 113911112 B CN113911112 B CN 113911112B
- Authority
- CN
- China
- Prior art keywords
- curve
- vehicle
- lane
- lane departure
- information
- Prior art date
- Legal status (The legal status 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 status listed.)
- Active
Links
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT 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/00—Purposes 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
- B60W30/10—Path keeping
- B60W30/12—Lane keeping
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT 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
- B60W50/00—Details of control systems for road vehicle drive control not related to the control of a particular sub-unit, e.g. process diagnostic or vehicle driver interfaces
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT 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
- B60W50/00—Details of control systems for road vehicle drive control not related to the control of a particular sub-unit, e.g. process diagnostic or vehicle driver interfaces
- B60W50/08—Interaction between the driver and the control system
- B60W50/14—Means for informing the driver, warning the driver or prompting a driver intervention
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT 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
- B60W50/00—Details of control systems for road vehicle drive control not related to the control of a particular sub-unit, e.g. process diagnostic or vehicle driver interfaces
- B60W2050/0001—Details of the control system
- B60W2050/0019—Control system elements or transfer functions
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT 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
- B60W50/00—Details of control systems for road vehicle drive control not related to the control of a particular sub-unit, e.g. process diagnostic or vehicle driver interfaces
- B60W2050/0001—Details of the control system
- B60W2050/0019—Control system elements or transfer functions
- B60W2050/002—Integrating means
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT 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
- B60W50/00—Details of control systems for road vehicle drive control not related to the control of a particular sub-unit, e.g. process diagnostic or vehicle driver interfaces
- B60W50/08—Interaction between the driver and the control system
- B60W50/14—Means for informing the driver, warning the driver or prompting a driver intervention
- B60W2050/143—Alarm means
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT 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
- B60W2420/00—Indexing codes relating to the type of sensors based on the principle of their operation
- B60W2420/40—Photo, light or radio wave sensitive means, e.g. infrared sensors
- B60W2420/403—Image sensing, e.g. optical camera
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT 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
- B60W2420/00—Indexing codes relating to the type of sensors based on the principle of their operation
- B60W2420/40—Photo, light or radio wave sensitive means, e.g. infrared sensors
- B60W2420/408—Radar; Laser, e.g. lidar
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT 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
- B60W2552/00—Input parameters relating to infrastructure
- B60W2552/50—Barriers
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT 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
- B60W2552/00—Input parameters relating to infrastructure
- B60W2552/53—Road markings, e.g. lane marker or crosswalk
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02T—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
- Y02T10/00—Road transport of goods or passengers
- Y02T10/10—Internal combustion engine [ICE] based vehicles
- Y02T10/40—Engine management systems
Landscapes
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Transportation (AREA)
- Mechanical Engineering (AREA)
- Human Computer Interaction (AREA)
- Steering Control In Accordance With Driving Conditions (AREA)
Abstract
Aiming at the problem that a planning unit is lack in a lane departure auxiliary system in the prior art, control parameters are easy to be unsmooth, so that the experience comfort of passengers is poor; the lane departure auxiliary system based on curve fitting is characterized in that a planning unit is additionally arranged on an information processing module in the system, the planning unit adopts a lane departure auxiliary method based on curve fitting, namely, a smoothly-changing deviation rectifying track curve is planned by adopting a Bezier curve fitting mode, and deviation rectifying track information is sent to a control module for smooth and stable vehicle deviation rectifying control, so that smooth change of control parameters is ensured, riding comfort is effectively improved, and the processing process is simplified.
Description
Technical Field
The invention relates to the field of intelligent driving of vehicles, in particular to a lane departure assisting method and system based on curve fitting.
Background
The LKA is used for assisting a driver to keep the vehicle running in a lane line, is a lateral motion control ADAS function developed in the lane departure warning LDW function, mainly by recognizing the position of the vehicle relative to the center of the lane through an environmental sensor, and if the driver unintentionally deviates from the lane, giving a warning to the driver or returning the vehicle to the lane through automatic steering intervention. The LKA mainly comprises an information acquisition module, an information processing module and a control module, and when a vehicle deviates from a lane during the working of the system, a driver receives warning information of lane departure, and at the moment, the system selects to control a steering system to realize automatic driving. The lane departure warning LDW is used for sending out warning to a driver in the modes of sound, vision, vibration and the like when the vehicle unconsciously departs from the lane; lane departure prevention LDP is an extension of the LDW function to correct the vehicle position by applying appropriate steering interventions immediately before driving away when an unintentional departure of the vehicle from the lane occurs. In the prior art, the yaw rate is obtained through a sensor (namely, the yaw rate is obtained through calculation of various sensor information of the vehicle), and the lack of a planning unit easily causes unsmooth control parameters, so that comfort is poor, and passengers experience bad; in addition, the yaw angle calculation is assisted by adopting a Kalman filtering algorithm in the prior art, so that the problems of complicated technology, complicated parameter adjustment and the like exist, and the weight setting is also complicated according to various conditions in the processing process. For example, chinese patent grant bulletin number: CN108327717B discloses a lane departure assistance system for man-machine co-driving and a lane departure assistance method thereof, the lane departure assistance system comprising: the auxiliary decision-making module is used for judging whether the vehicle deviates from the lane or not and coordinating the control right of the driver and the lane departure auxiliary system to the vehicle when the vehicle is judged to deviate from the lane; the controller module is used for actively correcting the vehicle posture when the vehicle deviates from the lane, ensuring that the vehicle always runs near the center line of the lane and ensuring the driving safety; and the execution module is used for executing the control information of the controller module and completing lane departure assistance. According to the lane departure auxiliary system for the man-machine co-driving, the vehicle posture is actively corrected when the vehicle deviates from the lane, so that the vehicle is ensured to always run near the center line of the lane, and the driving safety is ensured, but the lane departure auxiliary system lacks a planning unit, so that control parameters are not smooth easily, and the experience comfort of passengers is poor.
Disclosure of Invention
Aiming at the problem that a lane departure auxiliary system in the prior art lacks a planning unit, the control parameters are easy to be unsmooth, so that the comfort of passengers is poor; the prior art is complicated, and the processing process is complex, and the lane departure auxiliary system based on curve fitting is provided, a planning unit is arranged in the system, the planning unit adopts a lane departure auxiliary method based on curve fitting, a smooth deviation rectifying track curve is planned by a Bezier curve fitting mode, and deviation rectifying track information is sent to a control module for smooth and stable vehicle control, so that smooth change of control parameters is ensured, riding comfort is effectively improved, and the processing process is simplified.
In order to achieve the above purpose, the present invention adopts the following technical scheme:
a lane departure assistance method based on curve fitting, comprising the steps of: step S1), discretizing a target track; step S2), smoothing the target track; step S3), lane departure detection, if departure, executing step S4; if not, directly converting the detection information into interface information and outputting the interface information; step S4), calculating a starting point and an ending point of the fitted curve; step S5) adopting a Bezier curve fitting mode to calculate a smooth track of the curve between the starting point and the end point, and obtaining a deviation rectifying track curve; and S6) converting the deviation rectifying track curve information obtained in the step S5, and outputting interface information obtained by conversion. In the lane departure auxiliary system in the prior art, the yaw rate is obtained through a sensor (namely, the yaw rate is obtained through calculation of various sensor information of the vehicle), and the lack of a planning unit easily causes unsmooth control parameters, so that the comfort is poor, and the experience of passengers is poor; in addition, the yaw angle calculation is assisted by adopting a Kalman filtering algorithm in the prior art, so that the problems of complicated technology, complicated parameter adjustment and the like exist, and the weight setting is also complicated according to various conditions in the processing process. Therefore, the invention provides a lane departure auxiliary method based on curve fitting, which adopts a Bezier curve fitting mode to plan a smooth deviation rectifying track curve, and then transmits deviation rectifying track information to a control module of a lane departure auxiliary system to carry out smooth and stable vehicle control, thereby ensuring smooth change of control parameters, effectively improving riding comfort and simplifying processing procedures. The specific process is as follows: firstly, calculating according to requirements to obtain a target track, wherein the requirements are various, for example, correction is performed when a vehicle drives away from a left lane line, the vehicle is controlled within a specific distance value from the left lane line, the virtual target track reference line is parallel to the lane line, and then discretization processing is performed on the target track reference line; then smoothing the obtained discretized target track reference line by adopting a spline curve fitting mode; detecting lane departure data, including the distance between the vehicle and the lane line and the vehicle driving-out time, comparing the detected distance between the vehicle and the lane line with a set distance threshold value, comparing the vehicle driving-out time with a set time threshold value, judging whether the vehicle deviates from the lane according to the comparison result, and if not, directly converting the detected data into interface information and outputting the interface information to a control module of a lane departure auxiliary system; if so, calculating to obtain a smooth variation deviation rectifying track by adopting a Bezier curve fitting mode, firstly calculating a starting point and an ending point of the Bezier curve, wherein the starting point is a vehicle body pose point at the current moment, the ending point is a certain point on a target track, the two points comprise position, speed, acceleration and jerk information, and then carrying out derivative or integral operation on the Bezier curve to obtain a smooth variation position, speed, acceleration and jerk curve; and finally, converting smooth deviation rectifying track curve information obtained through planning processing in a Bezier curve fitting mode according to a contracted interface protocol, and transmitting the interface information obtained through conversion to a control module. The control module judges whether to carry out deviation rectifying operation according to the received interface information, if so, the control alarm unit alarms, the steering control unit is controlled to carry out vehicle steering intervention according to the smooth deviation rectifying track curve, and the deviation rectifying track curve is subjected to planning treatment, so that the steering deviation rectifying control is stable, the passenger comfort is improved, and the whole treatment process is simple.
Preferably, in the step S2, the discretized target track reference line obtained in the step S1 is smoothed by adopting a spline curve fitting method. According to the invention, a target track is obtained by calculation according to requirements, the virtual target track reference line is parallel to the lane line, then discretization processing is carried out on the target track reference line, and then smoothing processing is carried out on the obtained discretization target track reference line by adopting a spline curve fitting mode, so that a smoothly-changed target track curve is obtained.
Preferably, the specific process of the step S3 includes the following steps: step A1), detecting and obtaining the distance between a vehicle and a lane line and the time when the vehicle leaves the lane; step A2) judging whether the vehicle deviates from the lane or not by comparing the distance between the vehicle and the lane line with a set distance threshold value and the time for the vehicle to leave the lane with a set time threshold value, and if so, executing step S4; if not, directly converting the detection information into interface information and outputting the interface information. The invention detects lane departure data, comprising the distance between a vehicle and a lane line and the time for the vehicle to leave the lane, compares the detected distance between the vehicle and the lane line with a set distance threshold value, compares the time for the vehicle to leave the lane with a set time threshold value, judges whether the vehicle deviates from the lane according to the comparison result, and directly converts the detected data into interface information and outputs the interface information to a control module of a lane departure auxiliary system if the vehicle does not deviate from the lane; and if the deviation is detected, calculating by adopting a Bezier curve fitting mode to obtain a deviation rectifying track curve with smooth change.
Preferably, in the step S4, the starting point is a vehicle body pose point at the current time, and the end point is a point on the target track. These two points contain position, velocity, acceleration, jerk information. The end point is a point on the target track determined according to specific requirements.
Preferably, in the step S5, the starting point and the end point obtained by the calculation in the step S4 are used as two end points of a Bezier curve (Bezier curve), and derivative or integral calculation is performed on the Bezier curve to obtain a smoothly-varying position curve, a smoothly-varying velocity curve, a smoothly-varying acceleration curve and a smoothly-varying jerk curve. The invention adopts Bezier curve fitting mode to obtain smooth deviation rectifying track curve, and obtains smooth position curve, speed curve, acceleration curve and jerk curve by deriving or integrating track curve.
Preferably, in the step S5, the vehicle state at each time is expressed as:
where x is a vehicle state quantity, p is a vehicle position, v is a vehicle speed, a is a vehicle acceleration, and j is a vehicle jerk. When Bezier curve fitting is carried out to obtain a deviation rectifying track curve, the vehicle state at each moment needs to be defined first.
Preferably, in step S5, the deviation rectifying trajectory curve is a segment curve C n (t) represents defining a segmentation curve C n (t) is:
wherein ,when t is E [0, t e ]The piecewise curve would then need to meet the following constraints: c (C) k (t) is a continuous function; segment curve starting point C n (0)=x 0 Segment curve endpoint C n (t e )=x e . Segment curve C n (t) C in the constraint to be satisfied k (t) is a continuous function, i.e. +.>As a continuous function.
Preferably, the calculation formula of the bezier curve is:
wherein d is Bessel order; k is a curve segment index value; s is the time normalized quantity, s is more than or equal to 0 and less than or equal to 1; b (B) i,d (s) is a Bernstein basis function (Bernstein basis polynomials), defined as follows:
wherein ,from->It can be seen that each segment of the curve is a d-order bezier curve, which is a smooth curve, and that the derivative or integral calculation of the curve can be used to obtain smoothly varying position, velocity, acceleration and jerk curves for smooth and comfortable vehicle control.
The lane departure auxiliary system based on curve fitting comprises an information acquisition module, an information processing module and a control module, wherein the information acquisition module, the information processing module and the control module are sequentially connected, the information acquisition module comprises a lane line, an obstacle information acquisition unit and a vehicle body information acquisition unit, the information processing module comprises a data fusion unit and a data processing unit, the control module comprises an alarm unit and a steering control unit, the information processing module further comprises a planning unit, the planning unit adopts the lane departure auxiliary method based on curve fitting, and the planning unit takes interface information obtained by converting step S3 or step S6 as input of the control module according to an interface protocol agreed with the control module. The invention provides a lane departure auxiliary system based on curve fitting, which is characterized in that a planning unit is additionally arranged in an existing lane departure auxiliary system (LKA) information processing module, and deviation correction data transmitted to a control module is subjected to planning smoothing processing of the planning unit, so that the control parameter is smoothly changed, the control module can perform stable vehicle control, the comfort of passengers is effectively improved, and the processing process is simplified. The specific process is as follows: the vehicle deviates from lane line, obstacle information acquisition unit of the information acquisition module of the auxiliary system and gathers lane line, obstacle information through the sensor such as the radar, camera, etc., the body information acquisition unit gathers the body information through CAN bus, then the information acquisition module transmits the information gathered to the information processing module, after processing through data fusion unit and data processing unit in the information processing module, plan smooth processing through planning unit, namely calculate and obtain the deviation rectifying track curve of smooth change by adopting Bezier curve fitting mode, then calculate deviation rectifying track curve derivation or integral, obtain smooth change position, speed, acceleration and jerk curve, then according to the interface agreement agreed with the control module, convert the curve information, interface information obtained by conversion is regarded as the input of the control module, the control module judges whether to correct the operation according to interface information obtained, if need correcting the operation, control alarm unit is reported to police, in order to prompt the driver; the steering control unit is controlled to perform automatic steering intervention, and the design ensures that the vehicle deviation correcting steering control is efficient, stable and comfortable.
Therefore, the invention has the advantages that: the correction track curve is calculated and obtained by adopting a Bezier curve fitting mode, and the correction track curve is subjected to planning treatment, so that the control parameters are smoothly changed, the control module can perform stable and comfortable vehicle correction steering control, the comfort of passengers is effectively improved, and the whole treatment process is simple.
Drawings
Fig. 1 is a schematic structural diagram of a lane departure assistance method based on curve fitting in an embodiment of the present invention.
Fig. 2 is a schematic structural diagram of a lane departure assistance system based on curve fitting according to an embodiment of the present invention.
1. The vehicle body information acquisition system comprises an information acquisition module 11, lane lines, an obstacle information acquisition unit 12, a vehicle body information acquisition unit 2, an information processing module 21, a data fusion unit 22, a data processing unit 23, a planning unit 3, a control module 31, an alarm unit 32 and a steering control unit.
Detailed Description
The invention is further described below with reference to the drawings and detailed description.
As shown in fig. 1, a lane departure assistance method based on curve fitting includes the following steps: step S1), discretizing a target track; step S2), smoothing the target track; step S3), lane departure detection, if departure, executing step S4; if not, directly converting the detection information into interface information and outputting the interface information; step S4), calculating a starting point and an ending point of the fitted curve; step S5) adopting a Bezier curve fitting mode to calculate a smooth track of the curve between the starting point and the end point, and obtaining a deviation rectifying track curve; and S6) converting the deviation rectifying track curve information obtained in the step S5, and outputting interface information obtained by conversion. The invention provides a lane departure auxiliary method based on curve fitting, which adopts a Bezier curve fitting mode to plan a smooth deviation rectifying track curve, and then transmits deviation rectifying track information to a control module 3 of a lane departure auxiliary system to carry out smooth and stable vehicle control, so as to ensure smooth change of control parameters. The specific process is as follows: firstly, calculating according to requirements to obtain a target track, wherein the requirements are various, for example, correction is performed when a vehicle drives away from a left lane line, the vehicle is controlled within a specific distance value from the left lane line, the virtual target track reference line is parallel to the lane line, and then discretization processing is performed on the target track reference line; then smoothing the obtained discretized target track reference line by adopting a spline curve fitting mode; then detecting lane departure data, comprising the distance between the vehicle and the lane line and the vehicle driving-out time, comparing the detected distance between the vehicle and the lane line with a set distance threshold value, comparing the vehicle driving-out time with a set time threshold value, judging whether the vehicle deviates from the lane according to the comparison result, and if not, directly converting the detected data into interface information and outputting the interface information to a control module 3 of the lane departure auxiliary system; if so, calculating to obtain a smooth variation deviation rectifying track by adopting a Bezier curve fitting mode, firstly calculating a starting point and an ending point of the Bezier curve, wherein the starting point is a vehicle body pose point at the current moment, the ending point is a certain point on a target track, the two points comprise position, speed, acceleration and jerk information, and then carrying out derivative or integral operation on the Bezier curve to obtain a smooth variation position, speed, acceleration and jerk curve; and finally, converting the smooth deviation rectifying track curve information obtained through planning processing in a Bezier curve fitting mode according to a contracted interface protocol, and transmitting the interface information obtained through conversion to the control module 3. The control module 3 judges whether to perform deviation rectifying operation according to the received interface information, if so, the control alarm unit 31 alarms, and the steering control unit 32 performs vehicle steering intervention according to the smooth deviation rectifying track curve. Besides Bezier curve fitting mode, the invention can also perform curve fitting by a polynomial mode.
In step S5, the vehicle state at each time is expressed as:
where x is a vehicle state quantity, p is a vehicle position, v is a vehicle speed, a is a vehicle acceleration, and j is a vehicle jerk. When Bezier curve fitting is carried out to obtain a deviation rectifying track curve, the vehicle state at each moment needs to be defined first.
In step S5, a segment curve C for correcting the track curve n (t) represents defining a segmentation curve C n (t) is:
wherein ,when t is E [0, t e ]The piecewise curve would then need to meet the following constraints: c (C) k (t) is a continuous function; segment curve starting point C n (0)=x 0 Segment curve endpoint C n (t e )=x e . Segment curve C n (t) C in the constraint to be satisfied k (t) is a continuous function, i.e. +.>As a continuous function.
The calculation formula of the Bezier curve is as follows:
wherein d is Bessel order; k is a curve segment index value; s is the time normalized quantity, s is more than or equal to 0 and less than or equal to 1; b (B) i,d (s) is a Bernstein basis function (Bernstein basis polynomials), defined as follows:
wherein ,from->It can be seen that each segment of the curve is a d-order bezier curve, which is a smooth curve, and that the derivative or integral calculation of the curve can be used to obtain smoothly varying position, velocity, acceleration and jerk curves for smooth and comfortable vehicle control.
As shown in fig. 2, a lane departure assistance system based on curve fitting includes an information acquisition module 1, an information processing module 2 and a control module 3, where the information acquisition module 1, the information processing module 2 and the control module 3 are sequentially connected, the information acquisition module 1 includes a lane line, an obstacle information acquisition unit 11 and a vehicle body information acquisition unit 12, the information processing module 2 includes a data fusion unit 21 and a data processing unit 22, the control module 3 includes an alarm unit 31 and a steering control unit 32, the information processing module 2 further includes a planning unit 23, the planning unit 23 adopts the lane departure assistance method based on curve fitting, and the planning unit 23 uses interface information obtained by converting in step S3 or step S6 as an input of the control module 3 according to an interface protocol agreed with the control module 3. The invention provides a lane departure auxiliary system based on curve fitting, wherein a planning unit 23 is additionally arranged in an existing lane departure auxiliary system (LKA) information processing module 2, and as deviation correction data transmitted to a control module 3 is subjected to planning smoothing processing of the planning unit 23, control parameters are smoothly changed, so that the control module 3 can perform stable vehicle control. The specific process is as follows: the vehicle deviates from lane line, obstacle information acquisition unit 11 of the information acquisition module 1 of the auxiliary system and gathers lane line, obstacle information through sensors such as radar, camera, etc., the body information acquisition unit 12 gathers the body information through CAN bus, then the information acquisition module 1 transmits the information gathered to the information processing module 2, after processing through data fusion unit 21 and data processing unit 22 in the information processing module 2, plan smooth processing through planning unit 23, namely calculate and obtain the deviation rectifying track curve of smooth change by adopting Bezier curve fitting mode, then calculate and calculate the deviation rectifying track curve to obtain position, speed, acceleration and jerk curve of smooth change, then according to the interface protocol agreed with control module 3, convert the curve information, interface information obtained by conversion is regarded as the input of control module 3, control module 3 judges whether to correct the operation according to the interface information obtained, if need to correct the operation, then control the alarm unit 31 is reported to give an alarm, in order to prompt the driver; the steering control unit 32 is controlled to perform an automatic steering intervention.
Claims (8)
1. A lane departure assistance method based on curve fitting, comprising the steps of:
step S1: discretizing a target track;
step S2: smoothing the target track;
step S3: detecting lane departure, if departure, executing step S4; if not, directly converting the detection information into interface information and outputting the interface information;
step S4: calculating a starting point and an ending point of a fitting curve;
step S5: adopting a Bezier curve fitting mode to calculate a smooth track of the curve between the starting point and the end point, and obtaining a deviation rectifying track curve;
step S6: converting the deviation rectifying track curve information obtained in the step S5, and outputting interface information obtained by conversion;
in step S5, the correction trajectory curve is segmented into curve C n (t) represents defining a segmentation curve C n (t) is:
wherein ,when t is E [0, t e ]The piecewise curve would then need to meet the following constraints:
C k (t)as a continuous function; segment curve starting point C n (0)=x 0 Segment curve endpoint C n (t e )=x e ;
Respectively representing the vehicle position, the vehicle speed, the vehicle acceleration and the vehicle jerk after Bezier curve fitting; />Respectively representing a vehicle position curve, a vehicle speed curve, a vehicle acceleration curve and a vehicle jerk curve after Bezier curve fitting; τ 1 、τ 2 ……τ n Respectively represent the segment curves C n The time end point corresponding to each segment in (t), t e Representing a piecewise curve C n (t) a corresponding time endpoint.
2. The lane departure assistance method based on curve fitting according to claim 1, wherein in step S2, the discretized target trajectory reference line obtained in step S1 is smoothed by spline curve fitting.
3. The lane departure assistance method based on curve fitting according to claim 1, wherein the specific process of step S3 comprises the steps of:
step A1: detecting and acquiring the distance between a vehicle and a lane line and the time for the vehicle to leave the lane;
step A2: judging whether the vehicle deviates from the lane or not by comparing the distance between the vehicle and the lane line with a set distance threshold value and comparing the time for the vehicle to leave the lane with a set time threshold value, and if so, executing the step S4; if not, directly converting the detection information into interface information and outputting the interface information.
4. The lane departure assistance method based on curve fitting according to claim 1, wherein in the step S4, the starting point is a vehicle body pose point at the current moment, and the ending point is a point on the target track.
5. The lane departure assistance method according to claim 4, wherein in the step S5, the starting point and the end point obtained by the calculation in the step S4 are used as two end points of a bezier curve, and the bezier curve is subjected to derivative or integral calculation to obtain a smoothly varying position curve, a smoothly varying velocity curve, a smoothly varying acceleration curve and a smoothly varying jerk curve.
6. The lane departure assistance method based on curve fitting according to claim 1 or 5, wherein in step S5, the vehicle state at each moment is expressed as:
where x is a vehicle state quantity, p is a vehicle position, v is a vehicle speed, a is a vehicle acceleration, and j is a vehicle jerk.
7. The lane departure assistance method based on curve fitting according to claim 5, wherein the calculation formula of the bezier curve is:
wherein d is Bessel order; k is a curve segment index value; s is the time normalized quantity, s is more than or equal to 0 and less than or equal to 1; b (B) i,d (s) is a Bernstein basis function defined as follows:
wherein ,
8. the lane departure auxiliary system based on curve fitting comprises an information acquisition module, an information processing module and a control module, wherein the information acquisition module, the information processing module and the control module are sequentially connected, the information acquisition module comprises a lane line, an obstacle information acquisition unit and a vehicle body information acquisition unit, the information processing module comprises a data fusion unit and a data processing unit, and the control module comprises an alarm unit and a steering control unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111051446.3A CN113911112B (en) | 2021-09-08 | 2021-09-08 | Lane departure assisting method and system based on curve fitting |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111051446.3A CN113911112B (en) | 2021-09-08 | 2021-09-08 | Lane departure assisting method and system based on curve fitting |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113911112A CN113911112A (en) | 2022-01-11 |
CN113911112B true CN113911112B (en) | 2023-08-04 |
Family
ID=79234356
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111051446.3A Active CN113911112B (en) | 2021-09-08 | 2021-09-08 | Lane departure assisting method and system based on curve fitting |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113911112B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114506340B (en) * | 2022-01-30 | 2024-08-02 | 重庆长安汽车股份有限公司 | Intelligent driving vehicle lane-changing transverse path planning method and system and vehicle |
CN114578814B (en) * | 2022-02-24 | 2024-08-23 | 岚图汽车科技有限公司 | Track planning method, device, equipment and readable storage medium |
Family Cites Families (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4231910B2 (en) * | 2000-04-25 | 2009-03-04 | 日産自動車株式会社 | Lane keeping device |
US8762046B2 (en) * | 2008-10-01 | 2014-06-24 | Navteq B.V. | Creating geometry for advanced driver assistance systems |
US8725474B2 (en) * | 2008-10-01 | 2014-05-13 | Navteq B.V. | Bezier curves for advanced driver assistance system applications |
DE102013100577B4 (en) * | 2012-01-25 | 2024-02-29 | Denso Corporation | Lane keeping control system |
CN103136341B (en) * | 2013-02-04 | 2016-12-28 | 北京航空航天大学 | A kind of lane line based on Bézier curve reconstruct device |
CN103996053B (en) * | 2014-06-05 | 2017-03-22 | 中交第一公路勘察设计研究院有限公司 | Lane departure alarm method based on machine vision |
US10121367B2 (en) * | 2016-04-29 | 2018-11-06 | Ford Global Technologies, Llc | Vehicle lane map estimation |
CN106156748B (en) * | 2016-07-22 | 2019-03-29 | 浙江零跑科技有限公司 | Traffic scene participant's recognition methods based on vehicle-mounted binocular camera |
CN107730520B (en) * | 2017-09-22 | 2020-10-27 | 智车优行科技(北京)有限公司 | Lane line detection method and system |
CN108327717B (en) * | 2018-02-06 | 2019-07-02 | 合肥工业大学 | A lane departure assist system and lane departure assist method for man-machine co-driving |
CN108622093B (en) * | 2018-05-04 | 2020-08-04 | 奇瑞汽车股份有限公司 | Lane keeping control method and device for intelligent vehicle |
JP7024638B2 (en) * | 2018-07-17 | 2022-02-24 | トヨタ自動車株式会社 | Lane deviation avoidance device |
CN110517521B (en) * | 2019-08-06 | 2020-04-07 | 北京航空航天大学 | Lane departure early warning method based on road-vehicle fusion perception |
CN112537297B (en) * | 2019-09-20 | 2022-05-13 | 比亚迪股份有限公司 | Lane keeping method and system and vehicle |
CN111169469B (en) * | 2019-10-08 | 2021-03-12 | 中国第一汽车股份有限公司 | Vehicle trajectory planning method and device, storage medium and automobile |
US11130493B2 (en) * | 2019-12-30 | 2021-09-28 | Automotive Research & Testing Center | Trajectory planning method for lane changing, and driver assistance system for implementing the same |
CN111563412B (en) * | 2020-03-31 | 2022-05-17 | 武汉大学 | Rapid lane line detection method based on parameter space voting and Bessel fitting |
CN111674405A (en) * | 2020-05-12 | 2020-09-18 | 坤泰车辆系统(常州)有限公司 | Method for predicting path by using Bezier curve by lane centering auxiliary function of automatic driving system |
CN112078594B (en) * | 2020-08-31 | 2023-01-13 | 纵目科技(上海)股份有限公司 | Curvature continuous parking path planning device and method for intelligent parking system |
-
2021
- 2021-09-08 CN CN202111051446.3A patent/CN113911112B/en active Active
Non-Patent Citations (1)
Title |
---|
基于驾驶模拟器的HMI可用性测试实验环境研究;刘雨佳等;北京理工大学学报;第第40卷卷(第第9期期);第949-955页 * |
Also Published As
Publication number | Publication date |
---|---|
CN113911112A (en) | 2022-01-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111775949B (en) | Personalized driver steering behavior auxiliary method of man-machine co-driving control system | |
JP6638041B1 (en) | Lane keeping control device | |
JP4696720B2 (en) | Automatic steering control device | |
CN113911112B (en) | Lane departure assisting method and system based on curve fitting | |
JP6541878B2 (en) | Vehicle driving support device and vehicle driving support method | |
EP3219567B1 (en) | Method, system and vehicle for analyzing a rider performance | |
JP7193408B2 (en) | vehicle controller | |
CN111409695B (en) | Steering-by-wire man-machine sharing control method for intelligent automobile and intelligent automobile | |
JP6600446B2 (en) | Vehicle control apparatus and program | |
CN108327717A (en) | A kind of man-machine deviation auxiliary system driven altogether and its deviation householder method | |
JP5412985B2 (en) | Vehicle travel support device | |
JP2007261452A (en) | Lane departure prevention device | |
JP2007261451A (en) | Lane tracking support device | |
CN112937551B (en) | Vehicle control method and system considering input characteristics of driver | |
CN112644488B (en) | adaptive cruise system | |
CN111976723B (en) | Lane keeping auxiliary system considering dangerous state of vehicle under man-machine cooperative control | |
KR101241621B1 (en) | Lane keeping assist system considering driver's range of view and steering tendency by speed | |
JP5239947B2 (en) | Driving operation support device and driving operation support method | |
CN114302839A (en) | Method for determining an avoidance path of a motor vehicle | |
JP2010149636A (en) | Vehicle | |
WO2024212452A1 (en) | Adaptive compensation lane keeping system and method | |
JP6012824B1 (en) | Vehicle steering apparatus and vehicle steering control method | |
CN115805937B (en) | Lane keeping auxiliary control method and system based on multipoint pre-aiming | |
JP5254737B2 (en) | Vehicle motion control device and program | |
JP2021165062A (en) | Automatic steering control system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |