CN117842012A - Obstacle avoidance method and device for automatic driving, terminal equipment and storage medium - Google Patents

Obstacle avoidance method and device for automatic driving, terminal equipment and storage medium Download PDF

Info

Publication number
CN117842012A
CN117842012A CN202211206213.0A CN202211206213A CN117842012A CN 117842012 A CN117842012 A CN 117842012A CN 202211206213 A CN202211206213 A CN 202211206213A CN 117842012 A CN117842012 A CN 117842012A
Authority
CN
China
Prior art keywords
lane
vehicle
target
current
obstacle
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.)
Pending
Application number
CN202211206213.0A
Other languages
Chinese (zh)
Inventor
赵仕强
高健
刘紫薇
彭树礼
马晓强
高杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Haomo Zhixing Technology Co Ltd
Original Assignee
Haomo Zhixing Technology Co Ltd
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 Haomo Zhixing Technology Co Ltd filed Critical Haomo Zhixing Technology Co Ltd
Priority to CN202211206213.0A priority Critical patent/CN117842012A/en
Publication of CN117842012A publication Critical patent/CN117842012A/en
Pending legal-status Critical Current

Links

Landscapes

  • Traffic Control Systems (AREA)

Abstract

The application is applicable to the technical field of automatic driving, and provides an obstacle avoidance method, an obstacle avoidance device and terminal equipment for automatic driving, wherein the method comprises the following steps: acquiring current vehicle information and current road information of a target vehicle; when the fact that the current lane of the target vehicle contains an obstacle is determined, determining that the target vehicle generates obstacle avoidance lane change intention; determining a target lane for avoiding obstacle change according to the distance between the obstacle and lane lines on two sides of the current lane; when the target lane meets the lane changing condition, determining a safety boundary corresponding to the target vehicle according to the current vehicle information and the current road information; the target vehicle is controlled to change lanes to the target lane within the safety boundary. Therefore, when the obstacle is detected in front of the vehicle, the vehicle automatically changes the lane to avoid the obstacle, so that the safety and the practicability of automatic driving are improved, and the user experience is improved.

Description

Obstacle avoidance method and device for automatic driving, terminal equipment and storage medium
Technical Field
The application belongs to the technical field of automatic driving, and particularly relates to an obstacle avoidance method, an obstacle avoidance device, terminal equipment and a computer readable storage medium for automatic driving.
Background
The adaptive cruise control system (Adaptive Cruise Control System, ACCS) senses the distance between each object in the surrounding environment and itself through sensors in the vehicle, and can maintain the set maximum cruise speed for forward driving on the one hand, and can adaptively adjust the vehicle speed according to the distance between the vehicle and the vehicle in front on the other hand, and maintain the safety distance. Automatic Lane Change Assist (ALC) is a sub-function of ACCS, and is based on ASSC, for autonomously judging Lane Change intention and whether Lane Change conditions are met or not under the condition that a user does not turn on a turn light, so as to implement autonomous Lane Change.
In the related art, if a stationary obstacle appears in a lane during the driving of a vehicle, collision risk is generated if the vehicle does not avoid in time. However, the conventional ACCS cannot autonomously change the lane to avoid the obstacle when detecting the obstacle, thereby reducing the safety and practicality of automatic driving and affecting the user experience.
Disclosure of Invention
The embodiment of the application provides an obstacle avoidance method, device, terminal equipment and storage medium for automatic driving, which can solve the problem that if a static obstacle appears in a lane in the driving process of a vehicle, collision risks can be generated if the obstacle is not avoided in time, however, the conventional ACCS cannot autonomously change the lane to avoid the obstacle when the obstacle is detected, so that the safety and the practicability of automatic driving are reduced, and the user experience is influenced.
In a first aspect, an embodiment of the present application provides an obstacle avoidance method for autopilot, including: acquiring current vehicle information of a target vehicle and current road information of the target vehicle, wherein the current road information comprises barrier information; when the fact that the current lane of the target vehicle contains an obstacle is determined, determining that the target vehicle generates obstacle avoidance lane change intention; determining a target lane for avoiding obstacle change according to the distance between the obstacle and lane lines on two sides of the current lane; when the target lane meets the lane changing condition, determining a safety boundary corresponding to the target vehicle according to the current vehicle information and the current road information; the target vehicle is controlled to change lanes to the target lane within the safety boundary.
In a possible implementation manner of the first aspect, the determining the target lane for avoiding the obstacle change according to a distance between the obstacle and lane lines at two sides of the lane where the obstacle is located includes:
when the first distance between the obstacle and the lane line on the left side of the current lane is greater than or equal to the second distance between the obstacle and the lane line on the right side of the current lane, determining the lane on the left side of the current lane as a target lane;
And when the first distance is smaller than the second distance, determining the lane positioned on the right side of the lane where the current position exists as a target lane.
Optionally, in another possible implementation manner of the first aspect, after determining the target lane for avoiding the obstacle change according to a distance between the obstacle and lane lines on two sides of the lane where the obstacle is currently located, the method further includes:
when the target lane does not meet the lane changing condition, judging whether the first distance and the second distance are greater than or equal to the first safety distance;
when the first distance and/or the second distance is greater than or equal to the first safety distance, controlling the target vehicle to avoid obstacles in the lane where the target vehicle is currently located;
when the first distance and the second distance are smaller than the first safety distance, judging whether the first distance and/or the second distance is larger than or equal to the second safety distance or not;
and when the first distance and/or the second distance is greater than or equal to the second safety distance, controlling the target vehicle to occupy the adjacent lane of the current lane to avoid the obstacle across the lane.
Optionally, in still another possible implementation manner of the first aspect, the current vehicle information includes a current position and a current speed of the target vehicle, the obstacle information includes a current position of the obstacle, the current road information further includes other vehicle information, and the other vehicle information includes a current position and a current speed of the other vehicle; correspondingly, when the target lane meets the lane change condition, before determining the safety boundary corresponding to the target vehicle according to the current vehicle information and the current road information, the method further comprises the following steps:
Determining each first vehicle and each first obstacle contained in the target lane according to the current position of each vehicle and the current position of each obstacle;
determining collision time between the target vehicle and each first other vehicle and each first obstacle according to the current speed and the current position of the target vehicle, the current speed and the current position of each first other vehicle and the current position of each first obstacle;
and when the collision time between the target vehicle and each first other vehicle and each first obstacle meets the lane change condition, determining that the target lane meets the lane change condition.
Optionally, in a further possible implementation manner of the first aspect, the obstacle information includes a current position of the obstacle, the current road information further includes other vehicle information and lane line information, and the other vehicle information includes a current position of the other vehicle and a current speed of the other vehicle; correspondingly, when the target lane meets the lane change condition, determining the safety boundary corresponding to the target vehicle according to the current vehicle information and the current road information includes:
according to the current road information, determining the current lane, the target lane, and each second other vehicle and each second obstacle contained in each lane between the current lane and the target lane;
And determining a safety boundary corresponding to the target vehicle according to the lane line information of the target lane, the current position and the current speed of each second vehicle and the current position of each second obstacle.
Optionally, in a further possible implementation manner of the first aspect, when the target lane meets the lane change condition, after determining the safety boundary corresponding to the target vehicle according to the current vehicle information and the current road information, the method further includes:
acquiring the current position and the current speed of a third other vehicle which enters the safety boundary;
determining a predicted running track corresponding to the third vehicle according to the current position and the current speed of the third vehicle;
and updating the safety boundary according to the predicted running track corresponding to the third vehicle.
Optionally, in another possible implementation manner of the first aspect, the current vehicle information includes a current speed of the target vehicle and a vehicle type, the current road information includes lane line information, and the lane line information includes a confidence level of a lane line; correspondingly, the controlling the target vehicle to change the lane to the target lane within the safety boundary includes:
determining the current steering wheel corner of the target vehicle in lane change according to the lane line confidence of the target lane, the current speed of the target vehicle and the vehicle type of the target vehicle;
And controlling the target vehicle to change the lane to the target lane within the safety boundary according to the current steering wheel angle.
Optionally, in a further possible implementation manner of the first aspect, the controlling the target vehicle to change the lane to the target lane within the safety boundary includes:
continuously detecting whether a target lane meets lane change conditions and whether a target vehicle has obstacle avoidance lane change intention within preset lane change execution waiting time;
when the time interval between the current time and the time when the target vehicle is determined to meet the lane change condition reaches the preset lane change execution waiting time, if the target lane meets the lane change condition at the current time and the target vehicle has the obstacle avoidance lane change intention, controlling the target vehicle to change lanes to the target lane in the safety boundary at the current time;
if the target lane does not meet the lane changing condition at the current moment and the target vehicle has obstacle avoidance lane changing intention, adjusting the current speed of the target vehicle, and continuously detecting whether the target lane meets the lane changing condition or not;
and if the target vehicle does not have the obstacle avoidance lane change intention at the current moment, canceling execution of lane change.
Optionally, in a further possible implementation manner of the first aspect, after determining the target lane for avoiding the obstacle change according to a distance between the obstacle and lane lines on two sides of the lane where the obstacle is currently located, the method further includes:
When the target lane does not meet the lane changing condition, the current speed of the target vehicle is adjusted, and whether the target lane meets the lane changing condition is continuously detected within the preset continuous detection time.
Optionally, in a further possible implementation manner of the first aspect, after the controlling the target vehicle to change the lane to the target lane within the safety boundary, the method further includes:
when the body of the target vehicle completely enters the target lane and the two side lane lines corresponding to the target lane are parallel, determining the offset of the target vehicle in the target lane;
and when the offset is in a preset offset range, determining that the lane change of the target vehicle is completed.
In a second aspect, embodiments of the present application provide an automatic driving obstacle avoidance device, including: the first acquisition module is used for acquiring current vehicle information of the target vehicle and current road information of the target vehicle, wherein the current road information comprises barrier information; the first determining module is used for determining that the target vehicle generates obstacle avoidance lane change intention when the fact that the obstacle is contained in the lane where the target vehicle is located currently is determined; the second determining module is used for determining a target lane for avoiding the obstacle to change the lane according to the distance between the obstacle and lane lines on two sides of the lane where the obstacle is currently located; the third determining module is used for determining a safety boundary corresponding to the target vehicle according to the current vehicle information and the current road information when the target lane meets the lane changing condition; and the lane changing module is used for controlling the target vehicle to change lanes to the target lane in the safety boundary.
In a possible implementation manner of the second aspect, the second determining module includes:
a first determining unit configured to determine a lane located on the left side of a lane where the obstacle is located as a target lane when a first distance between the obstacle and a lane line on the left side of the lane where the obstacle is located is greater than or equal to a second distance between the obstacle and a lane line on the right side of the lane where the obstacle is located;
and the second determining unit is used for determining the lane positioned on the right side of the current lane as a target lane when the first distance is smaller than the second distance.
Optionally, in another possible implementation manner of the second aspect, the apparatus further includes:
the first judging module is used for judging whether the first distance and the second distance are larger than or equal to the first safety distance when the target lane does not meet the lane changing condition;
the first obstacle avoidance module is used for controlling the target vehicle to avoid an obstacle in the lane where the target vehicle is located when the first distance and/or the second distance are/is greater than or equal to the first safety distance;
the second judging module is used for judging whether the first distance and/or the second distance is greater than or equal to the second safety distance when the first distance and the second distance are smaller than the first safety distance;
The second obstacle avoidance module is used for controlling the target vehicle to occupy the adjacent lane of the current lane to avoid the obstacle crossing lane when the first distance and/or the second distance are/is greater than or equal to the second safety distance.
Optionally, in a further possible implementation manner of the second aspect, the current vehicle information includes a current position and a current speed of the target vehicle, the obstacle information includes a current position of the obstacle, the current road information further includes other vehicle information, and the other vehicle information includes a current position and a current speed of the other vehicle; correspondingly, the device further comprises:
a fourth determining module, configured to determine each first vehicle and each first obstacle included in the target lane according to the current position of each vehicle and the current position of each obstacle;
a fifth determining module, configured to determine a collision time between the target vehicle and each first obstacle according to the current speed, the current position, the current speed and the current position of each first vehicle and the current position of each first obstacle;
and the sixth determining module is used for determining that the target lane meets the lane changing condition when the collision time between the target vehicle and each first other vehicle and each first obstacle meet the lane changing condition.
Optionally, in a further possible implementation manner of the second aspect, the obstacle information includes a current position of the obstacle, the current road information further includes other vehicle information and lane line information, and the other vehicle information includes a current position of the other vehicle and a current speed of the other vehicle; correspondingly, the third determining module includes:
a third determining unit, configured to determine, according to the current road information, each second vehicle and each second obstacle included in the current lane, the target lane, and each lane between the current lane and the target lane;
and the fourth determining unit is used for determining the corresponding safety boundary of the target vehicle according to the lane line information of the target lane, the current position and the current speed of each second vehicle and the current position of each second obstacle.
Optionally, in a further possible implementation manner of the second aspect, the apparatus further includes:
the second acquisition module is used for acquiring the current position and the current speed of a third other vehicle which enters the safety boundary;
a seventh determining module, configured to determine a predicted driving track corresponding to the third vehicle according to the current position and the current speed of the third vehicle;
And the updating module is used for updating the safety boundary according to the predicted running track corresponding to the third other vehicle.
Optionally, in another possible implementation manner of the second aspect, the current vehicle information includes a current speed of the target vehicle and a vehicle type, the current road information includes lane line information, and the lane line information includes a confidence level of a lane line; correspondingly, the lane changing module comprises:
a fifth determining unit, configured to determine a current steering wheel angle of the target vehicle when the target vehicle changes lanes according to the lane line confidence level of the target lane, the current speed of the target vehicle, and the vehicle type of the target vehicle;
the first lane changing unit is used for controlling the target vehicle to change lanes to the target lane in the safety boundary according to the current steering wheel angle.
Optionally, in a further possible implementation manner of the second aspect, the lane changing module includes:
the detection unit is used for continuously detecting whether the target lane meets the lane change condition and whether the target vehicle has an obstacle avoidance lane change intention within the preset lane change execution waiting time;
the second lane changing unit is used for controlling the target vehicle to change lanes to the target lane within the safety boundary at the current moment if the target lane meets the lane changing condition at the current moment and the target vehicle has the obstacle avoidance lane changing intention when the time interval between the current moment and the moment when the target vehicle is determined to meet the lane changing condition reaches the preset lane changing execution waiting time;
The adjusting unit is used for adjusting the current speed of the target vehicle and continuously detecting whether the target lane meets the lane changing condition if the target lane does not meet the lane changing condition at the current moment and the target vehicle has the obstacle avoidance lane changing intention;
and the cancellation execution unit is used for canceling execution of lane change if the target vehicle does not have the obstacle avoidance lane change intention at the current moment.
Optionally, in a further possible implementation manner of the second aspect, the apparatus further includes:
and the adjusting module is used for adjusting the current speed of the target vehicle when the target lane does not meet the lane changing condition, and continuously detecting whether the target lane meets the lane changing condition within the preset continuous detection time.
Optionally, in a further possible implementation manner of the second aspect, the apparatus further includes:
an eighth determining module, configured to determine an offset of the target vehicle in the target lane when the body of the target vehicle completely enters the target lane and the body of the target vehicle is parallel to two lane lines corresponding to the target lane;
and the ninth determining module is used for determining that the lane change of the target vehicle is completed when the offset is in a preset offset range.
In a third aspect, an embodiment of the present application provides a terminal device, including: the system comprises a memory, a processor and a computer program stored in the memory and capable of running on the processor, wherein the processor realizes the automatic driving obstacle avoidance method when executing the computer program.
In a fourth aspect, embodiments of the present application provide a computer readable storage medium having a computer program stored thereon, wherein the computer program when executed by a processor implements an obstacle avoidance method for autopilot as described above.
In a fifth aspect, embodiments of the present application provide a computer program product that, when run on a terminal device, causes the terminal device to perform an obstacle avoidance method of autopilot as described above.
Compared with the prior art, the embodiment of the application has the beneficial effects that: when the obstacle is detected in front of the vehicle, the vehicle automatically changes the lane to avoid the obstacle, so that the safety and the practicability of automatic driving are improved, and the user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following description will briefly introduce the drawings that are needed in the embodiments or the description of the prior art, it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of an obstacle avoidance method for autopilot according to one embodiment of the present disclosure;
FIG. 2 is a schematic diagram of a target lane selection according to an embodiment of the present application;
FIG. 3 is a schematic diagram of obstacle avoidance of a target vehicle in a lane where the target vehicle is currently located according to an embodiment of the present disclosure;
FIG. 4 is a schematic diagram of a cross-lane obstacle avoidance with a partial area of adjacent lanes according to an embodiment of the present disclosure;
FIG. 5 is a flow chart of an obstacle avoidance method for autopilot provided in another embodiment of the present application;
FIG. 6 is a flow chart of an obstacle avoidance method for autopilot provided in accordance with yet another embodiment of the present application;
FIG. 7 is a schematic structural view of an autonomous obstacle avoidance device according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of a terminal device provided in an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system configurations, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It should be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
As used in this specification and the appended claims, the term "if" may be interpreted as "when..once" or "in response to a determination" or "in response to detection" depending on the context. Similarly, the phrase "if a determination" or "if a [ described condition or event ] is detected" may be interpreted in the context of meaning "upon determination" or "in response to determination" or "upon detection of a [ described condition or event ]" or "in response to detection of a [ described condition or event ]".
In addition, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used merely to distinguish between descriptions and are not to be construed as indicating or implying relative importance.
Reference in the specification to "one embodiment" or "some embodiments" or the like means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," and the like in the specification are not necessarily all referring to the same embodiment, but mean "one or more but not all embodiments" unless expressly specified otherwise. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless expressly specified otherwise.
The following describes in detail an obstacle avoidance method, an apparatus, a terminal device, a storage medium, and a computer program for autopilot provided in the present application with reference to the accompanying drawings.
Fig. 1 shows a schematic flow chart of an obstacle avoidance method for automatic driving according to an embodiment of the present application.
Step 101, obtaining current vehicle information of a target vehicle and current road information of the target vehicle, wherein the current road information comprises barrier information.
It should be noted that, the obstacle avoidance method for autopilot according to the embodiment of the present application may be executed by the obstacle avoidance apparatus for autopilot according to the embodiment of the present application. The automatic driving obstacle avoidance device of the embodiment of the application can be configured in any automatic driving vehicle to execute the automatic driving obstacle avoidance method of the embodiment of the application.
The target vehicle may refer to a vehicle, i.e., a host vehicle, currently used for executing the obstacle avoidance method of automatic driving according to the embodiments of the present application.
The current vehicle information may include one or more of information of a current speed, a current position, a current heading angle, a current steering wheel angle, and the like of the target vehicle, which is not limited in the embodiment of the present application.
The current road information of the target vehicle may refer to the corresponding road information in the range that the sensing device in the target vehicle can sense at the current moment. The current road information may include one or more of other vehicle information, obstacle information, lane line information, sign information, road sign information, and the like included in the current road, which is not limited in the embodiment of the present application.
The types of information specifically included in the above listed types of information are only exemplary, and should not be construed as limiting the present application. In actual use, the specific information types contained in the various information can be determined according to actual needs and specific application scenarios, which are not limited in the embodiment of the present application.
In the embodiment of the application, the target vehicle can be provided with sensing devices such as an image acquisition device and various sensors for sensing the surrounding environment of the target vehicle, so that sensing information acquired by each sensing device in the target vehicle can be acquired in real time, and the sensing information of the target vehicle is analyzed to determine the current vehicle information of the target vehicle and the current road information of the target vehicle.
Step 102, when it is determined that the current lane of the target vehicle contains an obstacle, determining that the target vehicle generates an obstacle avoidance lane change intention.
In the embodiment of the present application, the current vehicle information of the target vehicle may include the current position of the target vehicle, so that the lane where the target vehicle is currently located may be determined according to the high-precision map where the current position of the target vehicle corresponds to the current road. Then, according to the information of each obstacle in the current road information, the position of each obstacle in the current road can be determined, whether the current lane contains the obstacle or not is further determined according to the position of each obstacle and the high-precision map of the current road, and when the current lane contains the obstacle, the obstacle avoidance lane change intention of the target vehicle is determined; and, when it is determined that no obstacle is included in the lane in which the current is located, it may be determined that the target vehicle does not generate the obstacle avoidance lane change intention.
As one possible implementation, it may be determined that an obstacle is contained in the lane in which the current is located when one or more of the following types of obstacles are detected in front of the target vehicle: (1) Detecting a preset type of obstacle in a lane where the vehicle is currently located, such as a cone, a sign, a fence, a tripod and the like; (2) Detecting obstacles with the size larger than a preset size in the lane where the vehicle is located, for example, detecting that the length, width and height of the obstacles are all larger than the preset size (for example, 30 cm); (3) Position type obstacles smaller than the preset size but identifiable, such as stones with larger volumes in the road surface, etc.
The current position of the target vehicle may be a real-time position of the target vehicle at the current time acquired by the positioning device in the target vehicle. For example, when the positioning device in the target vehicle is a global positioning system (Global Positioning System, GPS) device, the current position of the target vehicle may be GPS coordinate information of the target vehicle at the current time.
The current position of the obstacle in the current road may be detected by a sensor such as a laser radar or a millimeter wave radar in the target vehicle, or may be obtained by analyzing image data acquired by an image acquisition device mounted in the target vehicle, which is not limited in the embodiment of the present application. The current position of each obstacle in the current road may be detected by a laser radar, a millimeter wave radar, or the like carried in the target vehicle, so that the current position of each obstacle may be determined according to the current position of the target vehicle and the current distance between the target vehicle and each obstacle.
The above-listed ways of determining the current positions of the target vehicle and the obstacle are merely exemplary, and are not to be construed as limiting the present application. In actual use, the determination mode of the current positions of the target vehicle and the obstacle can be determined according to the type of the sensing device actually carried in the target vehicle, which is not limited in the embodiment of the present application.
And step 103, determining a target lane for avoiding the obstacle change according to the distance between the obstacle and lane lines on two sides of the lane where the obstacle is currently located.
As a possible implementation, when there is only one lane of the variable road in the road where the target vehicle is currently located, other than the road where the target vehicle is currently located, the lane may be directly determined as the target lane. When there are a plurality of lanes of the variable lane and the lanes of the variable lane are all located on the same side as the current lane, a lane adjacent to the current lane may be determined as a target lane; alternatively, any lane may be selected randomly from among the lanes of the plurality of variable lanes on the same side as the target lane.
As a possible implementation manner, when there are multiple lane-changing lanes and multiple lane-changing lanes are respectively located at two sides of the current lane, the target lane can be determined according to the distances between the lane lines at two sides of the current lane and the obstacle, so that the distance between the target lane and the obstacle is as large as possible, and the driving safety in the lane-changing process is further improved. That is, in one possible implementation manner of the embodiment of the present application, the step 103 may include:
When the first distance between the obstacle and the lane line on the left side of the current lane is greater than or equal to the second distance between the obstacle and the lane line on the right side of the current lane, determining the lane on the left side of the current lane as a target lane;
and when the first distance is smaller than the second distance, determining the lane positioned on the right side of the lane where the current position exists as a target lane.
In the embodiment of the application, when a plurality of lanes with changeable lanes exist, the lane far away from the obstacle can be determined as the target lane, so that the driving safety in the lane changing process is ensured. Thus, a first distance between the left lane line of the current lane and the obstacle and a second distance between the right lane line of the current lane and the obstacle can be determined first, and when the first distance is greater than or equal to the second distance, the left lane line of the current lane is determined to be far away from the obstacle, so that the lane positioned on the left side of the current lane can be determined as the target lane; conversely, when the first distance is smaller than the second distance, it may be determined that the lane line on the right side of the current lane is farther from the obstacle, so that the lane on the right side of the current lane may be determined as the target lane.
For example, as shown in fig. 2, when the current lane of the target vehicle a has an obstacle B, and the distance between the obstacle B and the lane line on the left side of the current lane is y1, the distance between the obstacle B and the lane line on the right side of the current lane is y2, and y1 is greater than y2, the lane on the left side of the current lane may be determined as the target lane.
Further, since there may be a plurality of obstacles or only one obstacle included in the lane where the present is located, the size of the obstacle may be larger or smaller. When the number of the obstacles contained in the current lane is small and the size of the obstacles is small, the obstacles possibly cannot influence the passing of the target lane in the current lane, and the obstacles can be detoured in the current lane by small-amplitude avoidance or by means of partial areas of adjacent lanes, so that the lane changing obstacle avoidance is not needed. Therefore, when the target lane does not meet the lane change condition, whether small-amplitude avoidance can be performed or not can be further determined according to the specific position and the specific size of the obstacle contained in the current lane, so that the purpose of obstacle detouring is achieved. That is, in a possible implementation manner of the embodiment of the present application, after the step 103, the method may further include:
When the target lane does not meet the lane changing condition, judging whether the first distance and the second distance are greater than or equal to the first safety distance;
when the first distance and/or the second distance is greater than or equal to the first safety distance, controlling the target vehicle to avoid obstacles in the lane where the target vehicle is currently located;
when the first distance and the second distance are smaller than the first safety distance, judging whether the first distance and/or the second distance is larger than or equal to the second safety distance or not;
and when the first distance and/or the second distance is greater than or equal to the second safety distance, controlling the target vehicle to occupy the adjacent lane of the current lane to avoid the obstacle across the lane.
The first safety distance may refer to a minimum distance that a target vehicle can safely pass when avoiding an obstacle in a lane where the target vehicle is currently located.
The second safety distance may refer to a minimum distance that the target vehicle can safely pass when performing obstacle avoidance across the lane by using a partial area of the adjacent lane.
In the embodiment of the application, when the target lane does not meet the lane change condition, whether the lane can be avoided in the lane or the lane crossing obstacle can be avoided by the adjacent lane part area can be determined according to whether the distance between the lane lines on the two sides of the lane where the target lane is currently located and the obstacle respectively meets the safety distance of the obstacle in the lane and the safety distance of the lane crossing obstacle avoidance by the adjacent lane part area.
As one possible implementation manner, when the first distance and/or the second distance is greater than or equal to the first safety distance, the target vehicle is controlled to avoid the obstacle in the current lane, so as to realize intelligent obstacle avoidance. Specifically, when only the first distance is greater than or equal to the first safety distance, the target vehicle can be controlled to avoid the obstacle at the left side of the obstacle; when only the second distance is greater than or equal to the first safety distance, the target vehicle can be controlled to avoid the obstacle on the right side of the obstacle; when the first distance and the second distance are both greater than or equal to the first safety distance, the control target vehicle can be randomly selected to avoid the obstacle on the left side or the right side of the obstacle.
For example, as shown in fig. 3, in the lane where the target vehicle a is currently located, a first distance y1 between the left lane line of the lane where the target vehicle a is currently located and the obstacle, and a second distance y2 between the right lane line and the obstacle are both greater than the first safety distance, and y1 is greater than y2, so that the target vehicle a can be controlled to intelligently avoid the obstacle in the lane where the target vehicle a is currently located through the left side of the obstacle.
As a possible implementation manner, when the first distance and the second distance are smaller than the first safety distance, it may be determined that the left side and the right side of the obstacle cannot allow the target vehicle to safely avoid the obstacle in the current lane, so that it may be continuously determined whether the first distance and/or the second distance satisfy the second safety distance for avoiding the obstacle across the lane, and when the first distance and/or the second distance is greater than or equal to the second safety distance, the target vehicle is controlled to borrow a partial area of the adjacent lane for avoiding the obstacle across the lane. Specifically, when only the first distance is greater than or equal to the second safety distance, the target vehicle can be controlled to avoid the obstacle across the lane by using the partial area of the left adjacent lane of the lane where the target vehicle is currently located; when only the second distance is greater than or equal to the second safety distance, the target vehicle can be controlled to carry out lane crossing obstacle avoidance by using the partial area of the right adjacent lane of the lane where the target vehicle is currently positioned; when the first distance and the second distance are both greater than or equal to the second safety distance, the method can randomly select to borrow the partial area of the left or right adjacent lane of the current lane to avoid the obstacle across the lane.
For example, as shown in fig. 4, in the lane where the target vehicle a is currently located, a first distance y1 between the left lane line of the lane where the target vehicle a is currently located and the obstacle, and a second distance y2 between the right lane line and the obstacle are smaller than the first safety distance and larger than the second safety distance, and y1 is larger than y2, so that the target vehicle a can be controlled to avoid obstacle crossing by using a partial area of the left adjacent lane of the vehicle where the target vehicle a is currently located.
Further, after determining the target lane, whether the target lane meets the lane change condition can be detected, so that whether the target vehicle can be controlled to execute lane change at present is determined, and further, the running safety of the target vehicle in the lane change process is ensured. That is, in a possible implementation manner of the embodiment of the present application, after the step 103, the method may further include:
when the target lane does not meet the lane changing condition, the current speed of the target vehicle is adjusted, and whether the target lane meets the lane changing condition is continuously detected within the preset continuous detection time.
The preset duration detection time may refer to a duration of detecting whether the target lane continuously meets the lane change condition when the target lane does not meet the lane change condition. In actual use, a specific value of the preset duration detection time can be determined according to actual needs and specific application scenarios, which is not limited in the embodiment of the present application. For example, the preset duration detection time may be 5 seconds, 10 seconds, 15 seconds, and so on.
As a possible implementation manner, when the target lane is determined and it is detected that the target lane does not meet the lane change condition, it may be determined that the target vehicle is not suitable for lane change at present, so as not to generate danger. Therefore, the current speed of the target vehicle can be adjusted firstly so that the target vehicle meets the lane change condition, whether the target lane meets the lane change condition or not is detected in real time according to the adjusted current speed in the process of adjusting the current speed of the target vehicle, if the target lane still does not meet the lane change condition in the preset continuous detection time, the fact that the current road condition is not suitable for the target vehicle to change the lane can be determined, and therefore the obstacle avoidance lane change intention of the target vehicle can be canceled; if the target lane meets the lane change condition within the preset continuous detection time, the current road condition can be determined to be suitable for the target lane to change the lane, so that the subsequent steps in the embodiment of the application can be continuously executed to complete the obstacle avoidance lane change operation of the target vehicle.
As a possible implementation manner, whether the target lane can be used for lane change currently may be determined according to the collision time of the target vehicle with each other vehicle and each obstacle in the current road. In one possible implementation manner of the embodiment of the present application, the current vehicle information may include a current position and a current speed of the target vehicle, the obstacle information may include a current position of the obstacle, the current road information may also include other vehicle information, and the other vehicle information may include a current position and a current speed of the other vehicle; accordingly, whether the target lane satisfies the lane change condition may be determined by:
Determining each first vehicle and each first obstacle contained in the target lane according to the current position of each vehicle and the current position of each obstacle;
determining collision time between the target vehicle and each first other vehicle and each first obstacle according to the current speed and the current position of the target vehicle, the current speed and the current position of each first other vehicle and the current position of each first obstacle;
and when the collision time between the target vehicle and each first other vehicle and each first obstacle meets the lane change condition, determining that the target lane meets the lane change condition.
The other vehicles may refer to other vehicles except the target vehicle detected by the target vehicle in the current road where the target vehicle is located.
The information of the vehicle may include one or more of information of a current speed, a current position, a vehicle type, a vehicle size, and the like of the vehicle, which is not limited in the embodiment of the present application.
The types of information specifically included in the above-listed information about the other vehicle are merely exemplary, and are not to be construed as limiting the present application. In actual use, the specific information type contained in the vehicle information can be determined according to actual needs and specific application scenarios, which is not limited in the embodiment of the present application.
The current speed of the target vehicle, the current position of the other vehicle and the current speed of the other vehicle may be detected by a sensor such as a laser radar or a millimeter wave radar in the target vehicle, or may be obtained by analyzing image data acquired by an image acquisition device mounted in the target vehicle. The current speed of each other vehicle in the current road can be directly detected by a sensor which is carried in the target vehicle and can sense speed information, such as a laser radar, a millimeter wave radar and the like; the current position of each other vehicle in the current road can be detected by a laser radar, a millimeter wave radar and the like carried in the target vehicle, so that the current position of each other vehicle is determined according to the current position of the target vehicle and the current distance between the target vehicle and each other vehicle.
The above-listed manner of determining the current vehicle information of the target vehicle and the manner of determining the other vehicle information are merely exemplary, and are not to be construed as limiting the present application. In actual use, the determination mode of the current vehicle information and the other vehicle information of the target vehicle can be determined according to the type of the sensing device actually carried in the target vehicle, which is not limited in the embodiment of the present application.
As a possible implementation manner, according to the current position of each other vehicle and the current position of each obstacle included in the current road information and the high-precision map corresponding to the current road, each first other vehicle and each first obstacle included in the target lane are determined, and then the driving track of the target vehicle is predicted according to the current speed and the current position of the target vehicle, and the driving track of each first other vehicle is predicted according to the current speed and the current position of each first other vehicle. Then, according to the predicted running track of the target vehicle and the predicted running track of each first other vehicle, the collision time between the target vehicle and each first other vehicle can be determined; and determining the collision time between the target vehicle and each first obstacle according to the predicted running track of the target vehicle and the current position of each first obstacle.
As a possible implementation manner, the lane change condition may include that the collision time between the target vehicle and each first other vehicle and each first obstacle is greater than a preset collision time threshold, so that when it is determined that the collision time between the target vehicle and each first other vehicle is greater than the preset collision time threshold and the collision time between the target vehicle and each first obstacle is greater than the preset collision time threshold, it is determined that the target lane meets the lane change condition; accordingly, if the collision time between the target vehicle and any one of the first vehicles is smaller than a preset collision time threshold, or if the collision time between the target vehicle and any one of the first obstacles is smaller than a preset collision time threshold, it may be determined that the target lane does not meet the lane change condition.
It should be noted that, during actual use, a specific value of the preset collision time threshold may be determined according to an actual requirement and a specific application scenario, which is not limited in the embodiment of the present application. For example, the preset collision time threshold may be 5 seconds.
And 104, determining a safety boundary corresponding to the target vehicle according to the current vehicle information and the current road information when the target lane meets the lane change condition.
In the embodiment of the application, when the target lane is determined to meet the lane change condition, it may be determined that the target vehicle can be controlled to change the lane to the target lane at present so as to avoid an obstacle in front of the lane where the target vehicle is currently located.
As a possible implementation manner, in order to further improve the safety of the automatic driving vehicle in the lane changing process, so as to have the capability of using a complex urban traffic scene, the safety boundary of the target vehicle for lane changing can be determined according to the current vehicle information and the current road information of the target vehicle, so that the target vehicle can change lanes in the safety boundary, and the safety and reliability of the target vehicle in the lane changing process are ensured.
Further, the area, which does not contain other vehicles and obstacles, in the current road can be determined as an area where the target vehicle can safely travel, and then the safety boundary corresponding to the target vehicle is determined according to the area where the target vehicle can safely travel. In one possible implementation manner of the embodiment of the present application, the obstacle information may include a current position of the obstacle, the current road information may further include other vehicle information and lane line information, and the other vehicle information may include a current position of the other vehicle and a current speed of the other vehicle; accordingly, the step 104 may include:
According to the current road information, determining the current lane, the target lane, and each second other vehicle and each second obstacle contained in each lane between the current lane and the target lane;
and determining a safety boundary corresponding to the target vehicle according to the lane line information of the target lane, the current position and the current speed of each second vehicle and the current position of each second obstacle.
As a possible implementation manner, first, each second vehicle and each second obstacle included in the current lane, the target lane, and each lane between the current lane and the target lane may be determined according to the current position of each vehicle and the current position of each obstacle included in the current road information, and a high-precision map corresponding to the current road. Then, the lane line of the target lane, which is far away from the target vehicle, may be determined as an initial safety boundary according to the lane line information of the target lane, and the lane line of the target vehicle, which is far away from the target lane, may be determined as another initial safety boundary; and then the two initial safety boundaries can be adjusted according to the current positions of each second vehicle and each second barrier contained in the area between the two initial safety boundaries, so that the second vehicles and the second barriers do not exist in the area between the two adjusted safety boundaries, and the two adjusted safety boundaries are determined to be the safety boundaries corresponding to the target vehicle.
If the second vehicle and the second obstacle do not exist in the area between the two initial safety boundaries, the two initial safety boundaries may be directly determined as the safety boundaries corresponding to the target vehicle.
For example, the current lane of the target vehicle is a left lane, the target lane is a left lane, and each second vehicle and each second obstacle included in the left lane and the left lane may be determined according to the current road information. Then, the left lane line of the left lane may be determined as one initial safety boundary, and the right lane line of the left lane may be determined as another initial safety boundary; if the second other vehicle and the second obstacle do not exist in the area between the two initial safety boundaries, the two initial safety boundaries can be determined to be the corresponding safety boundaries of the target vehicle; if the two initial safety boundaries are adjusted so that the second vehicle and the second obstacle do not exist in the area between the adjusted safety boundaries, and the adjusted safety boundaries are determined to be the safety boundaries corresponding to the target vehicles.
As an example, when the initial safety boundaries are adjusted, the positions of the initial safety boundaries may be adjusted according to the current position of the second vehicle or the second obstacle between the two initial safety boundaries to generate two parallel straight line safety boundaries.
As an example, when the initial safety boundary is adjusted, the initial safety boundary may be further bent according to the current position of the second vehicle or the second obstacle between the two initial safety boundaries, so that the bent safety boundary may bypass the corresponding second vehicle or the second obstacle, thereby generating two curved safety boundaries with higher flexibility.
Further, after the safety boundaries are determined, other vehicles in the road may cut into the areas between the safety boundaries corresponding to the target vehicles at any time, so that the safety boundaries can be updated in real time according to the running tracks cut into the vehicles, and the running safety of the target vehicles is further improved. That is, in a possible implementation manner of the embodiment of the present application, after the step 104, the method may further include:
acquiring the current position and the current speed of a third other vehicle which enters the safety boundary;
determining a predicted running track corresponding to the third vehicle according to the current position and the current speed of the third vehicle;
and updating the safety boundary according to the predicted running track corresponding to the third vehicle.
The third vehicle may be a vehicle that enters a region between safety boundaries corresponding to the target vehicle.
In the embodiment of the present application, in order to prevent the target vehicle from flexibly avoiding a third vehicle that randomly cuts into the safety boundary in the lane changing process, the target vehicle may sense in real time whether the third vehicle and an obstacle exist in the safety boundary in the lane changing process, and determine the current position and the current speed of the third vehicle according to the sensing information of each sensing device in the target vehicle when the third vehicle is detected to exist in the safety boundary, predict the driving track of the third vehicle according to the current position and the current speed of the third vehicle, so as to generate a predicted driving track corresponding to the third vehicle, and further adjust the safety boundary corresponding to the target vehicle according to the predicted driving track corresponding to the third vehicle, so that the area between the adjusted safety boundaries does not include the predicted driving track corresponding to the third vehicle, and update the adjusted safety boundary to a new safety boundary corresponding to the target vehicle.
It should be noted that, the specific manner of adjusting the security boundary when updating the security boundary may be the same as the manner of adjusting the initial security boundary when establishing the security boundary, which is not described herein.
Step 105, control the target vehicle to change lane to the target lane within the safety boundary.
In this embodiment of the present application, after determining a safety boundary corresponding to a target vehicle, a corresponding turn signal in the target vehicle may be controlled to turn on according to a positional relationship between the target lane and a lane where the target vehicle is currently located, so as to remind surrounding other vehicles that the target vehicle is about to change lanes, and control a steering wheel of the target vehicle to turn, so as to control the target vehicle to change lanes to the target lane within the safety boundary.
Furthermore, in order to timely determine that the lane change of the target vehicle is finished and timely switch to the normal running state to control the target vehicle, whether the lane change of the target vehicle is finished or not can be detected in real time in the lane change executing process of the target vehicle. That is, in a possible implementation manner of the embodiment of the present application, after the step 105, the method may further include:
when the body of the target vehicle completely enters the target lane and the two side lane lines corresponding to the target lane are parallel, determining the offset of the target vehicle in the target lane;
and when the offset is in a preset offset range, determining that the lane change of the target vehicle is completed.
The offset of the target vehicle in the target lane may refer to a distance between a center line of the target vehicle and a center line of the target lane.
As a possible implementation manner, during the lane changing of the target vehicle, the positional relationship between the body of the target vehicle and the lane lines on both sides of the target lane may be detected in real time, and when it is determined that the body of the target vehicle does not coincide with the lane lines on both sides of the target lane and is located in the area between the lane lines on both sides of the target lane, it may be determined that the body of the target vehicle has completely entered the target lane. Further, whether the lane change of the target vehicle is completed can be determined according to the distances between the target vehicle and lane lines on both sides of the target lane, respectively.
As a possible implementation manner, since the vehicle body is generally parallel to the lane line of the lane where the vehicle is located and is located near the center of the lane when the vehicle is traveling normally in the lane, it is possible to determine the offset amount of the target vehicle in the target lane when it is detected that the vehicle body of the target vehicle completely enters the target lane and the vehicle body is parallel to the lane line of the target lane. It can be understood that if the offset of the target vehicle in the target lane is within the preset offset range, the current position of the target vehicle in the middle of the target lane or near the middle of the target lane can be determined, so that the lane change of the target vehicle can be determined to be completed; if the offset of the target vehicle in the target lane is not in the preset offset range, the current position of the target vehicle close to the edge of the target lane can be determined, so that steering wheel rotation angle of the target vehicle can be adjusted continuously until the offset of the target vehicle in the target lane is in the preset offset range.
As an example, in the case where there is a center lane line in the target lane, the distance between the longitudinal center line of the target vehicle and the center lane line of the target lane may be determined as the offset amount of the target vehicle in the target lane.
As an example, the offset amount of the target vehicle in the target lane may also be determined according to the distance between the left and right body edges of the target vehicle and the lane lines on both sides of the target lane, respectively. Specifically, the distance D1 between the left side body edge of the target vehicle and the left side lane line of the target lane and the distance D2 between the right side body edge of the target vehicle and the right side lane line of the target lane may be first determined, and then the absolute value of the difference between D1 and D2 may be determined as the offset amount of the target vehicle in the target lane.
The above-listed determination method of the offset amount of the target vehicle in the target lane is merely exemplary, and is not to be construed as limiting the present application. In actual use, a suitable offset determination mode and a preset offset range can be selected according to actual needs and specific application scenarios, and the embodiment of the application is not limited to this. For example, the preset offset range may be 0, so that the target vehicle may be determined to be completed when the target vehicle is in the middle of the target lane; for another example, the preset offset range may be [0,0.4] meters, so that when the target vehicle is at a position close to the middle of the target lane, it can be determined that the lane change of the target vehicle is completed, so as to ensure the lane change flexibility; for another example, the preset offset range may also be determined in real time according to the width of the target lane, e.g., [0,0.1X ] meters, where X is the width of the target lane.
According to the automatic driving obstacle avoidance method, when the fact that the current lane of the target vehicle contains the obstacle is determined according to the current vehicle information and the current road information of the target vehicle, the obstacle avoidance lane change intention of the target vehicle is determined, the target lane for obstacle avoidance lane change is determined according to the distance between the obstacle and lane lines on two sides of the current lane, and then when the target lane meets the lane change condition, the safety boundary corresponding to the target vehicle is determined according to the current vehicle information and the current road information, and then the target vehicle is controlled to change lanes to the target lane in the safety boundary. Therefore, when the obstacle is detected in front of the vehicle, the vehicle automatically changes the lane to avoid the obstacle, so that the safety and the practicability of automatic driving are improved, and the user experience is improved.
In one possible implementation form of the method, in the process of controlling the target vehicle to change the lane, the steering wheel corner of the target vehicle can be controlled according to the real-time speed of the target vehicle, the type of the vehicle and the definition degree of the lane lines, so that unexpected lateral movement of the target vehicle is prevented, and the safety and reliability of the automatic driving vehicle in the lane changing process are further improved.
The following describes an obstacle avoidance method for autopilot according to the embodiment of the present application with reference to fig. 5.
Fig. 5 shows a schematic flow chart of another obstacle avoidance method for automatic driving according to an embodiment of the present application.
As shown in fig. 5, the obstacle avoidance method for automatic driving includes the following steps:
step 201, obtaining current vehicle information of a target vehicle and current road information of the target vehicle, wherein the current road information comprises barrier information.
Step 202, when it is determined that the current lane of the target vehicle contains an obstacle, determining that the target vehicle generates an obstacle avoidance lane change intention.
And 203, determining a target lane for obstacle avoidance lane change according to the distance between the obstacle and the lane lines on the two sides of the lane where the obstacle is currently located.
And 204, when the target lane meets the lane change condition, determining a safety boundary corresponding to the target vehicle according to the current vehicle information and the current road information.
The specific implementation and principles of the steps 201 to 204 may refer to the detailed description of the embodiments, and are not repeated here.
Step 205, determining the current steering wheel angle of the target vehicle when the lane is changed according to the lane line confidence of the target lane, the current speed of the target vehicle and the vehicle type of the target vehicle.
The lane line confidence of the target lane can reflect the definition degree of the lane line of the target lane. The higher the lane line confidence of the target lane, the clearer the lane line of the target lane is. For example, when the lane lines on both sides of the target lane are clear, the confidence of the lane line of the target lane may be 1; when only one side lane line of the target lane is detected, the lane line confidence of the target lane may be 0.8; when the lane lines on both sides of the target lane are not clear, the lane line confidence of the target lane may be 0.5.
It should be noted that, the correspondence between the lane line confidence of the above-listed target lane and the lane line clarity of the target lane is merely exemplary, and is not to be construed as limiting the present application. In actual use, lane line confidence corresponding to lane lines with various degrees of definition can be determined according to actual needs and specific application scenes, and the embodiment of the application is not limited to the confidence.
The types of the target vehicles may include minibuses, trucks, buses, tank trucks, and the like, which are not limited in the embodiment of the present application.
The current steering wheel angle may be a steering wheel angle of the target vehicle at the current moment determined according to the current speed of the target vehicle, the type of the vehicle and the lane line confidence of the target lane. The current steering wheel angle of the target vehicle can be updated in real time according to the change of the real-time speed of the target vehicle.
In the embodiment of the application, when the speeds of the vehicles are different, even if the steering wheel angles of the vehicles are the same, the distances of the lateral movement of the vehicles are different; the lane line definition of the target lane can affect the reliability of the safety boundary corresponding to the target vehicle, for example, when the lane line of the target lane is unclear, the determined safety boundary corresponding to the target vehicle is easily oversized and exceeds the range of the target lane, so that the safety in the lane changing process is affected; moreover, since different types of vehicles generally have different body weights and weights, the inertial sizes of the different types of vehicles are different, and therefore, different lateral movement distances can be generated when the speed and steering wheel angles of the different types of vehicles are the same. Therefore, the embodiment of the application can comprehensively consider three parameters of the lane line confidence of the target lane, the current speed of the target vehicle and the vehicle type of the target vehicle, and determine the real-time steering wheel corner of the target vehicle in the lane changing process.
As one possible implementation, a constraint relationship between the current steering wheel angle and the current speed of the vehicle at each lane line confidence level may be determined for each type of vehicle. Furthermore, in the actual lane changing process, a corresponding constraint relation can be obtained according to the vehicle type of the target vehicle and the lane line confidence of the target lane, and then the current speed of the target vehicle is substituted into the corresponding constraint relation, so that the current steering wheel corner of the target vehicle in the lane changing process is determined, and when the current speed of the target vehicle or the lane line confidence of the target lane changes, the current steering wheel corner of the target vehicle in the lane changing process is updated in real time.
It will be appreciated that for the same type of vehicle, the current steering wheel angle of the vehicle may be inversely related to the current speed of the vehicle with the same lane line confidence; at the same current speed, a positive correlation may be made with the lane line confidence of the target lane. When the confidence of the lane lines is the same and the current speed of the vehicle is the same, for different types of vehicles, the current steering wheel angle of the vehicle can be in negative correlation with the body quantity of the vehicle; for example, the current steering wheel angle of the truck may be less than the current steering wheel angle of the car when the lane-line confidence is the same and the current speed of the vehicle is the same.
As an example, when the confidence of the lane line of the target vehicle, the vehicle type of which includes a car and a truck, the target lane includes 1, 0.8, 0.5, the relationship between the current steering wheel angle of the target vehicle and the current speed of the target vehicle is as follows:
in the case where the vehicle type of the target vehicle is a car, when the lane line confidence of the target lane is 1, the constraint relationship between the current steering wheel rotation angle θ of the target vehicle and the current speed V of the target vehicle may be: θ= -194.9012 ×inv+890.1633; when the lane line confidence of the target lane is 0.8, the constraint relation between the current steering wheel angle θ of the target vehicle and the current speed V of the target vehicle may be: θ= -170.4858 ×inv+771.0669; when the lane line confidence of the target lane is 0.5, the constraint relationship between the current steering wheel angle θ of the target vehicle and the current speed V of the target vehicle may be: θ= -157.4657 ×inv+704.4208.
In the case where the vehicle type of the target vehicle is a truck, when the lane line confidence of the target lane is 1, the constraint relationship between the current steering wheel angle θ of the target vehicle and the current speed V of the target vehicle may be: θ= -228.4555 ×inv+1044.1069; when the lane line confidence of the target lane is 0.8, the constraint relation between the current steering wheel angle θ of the target vehicle and the current speed V of the target vehicle may be: θ= -217.6552 × lnV +983.9248; when the lane line confidence of the target lane is 0.5, the constraint relationship between the current steering wheel angle θ of the target vehicle and the current speed V of the target vehicle may be: θ= -203.4666 ×inv+916.3233.
It should be noted that the above examples are only exemplary and should not be construed as limiting the present application. During actual use, the lane line confidence of the target lane, the current speed of the target vehicle and the constraint relation between the type of the vehicle and the current steering wheel angle of the target vehicle can be fitted according to actual needs and specific application scenes, and the embodiment of the application is not limited to the fitting.
Step 206, controlling the target vehicle to change the lane to the target lane in the safety boundary according to the current steering wheel angle.
In the embodiment of the application, after determining the current steering wheel angle of the target vehicle at the current moment, the steering wheel of the target vehicle can be controlled to steer according to the current steering wheel angle so as to control the target vehicle to change the lane to the target lane in the safety boundary. And in the course of changing the lane of the target vehicle, the change of the current speed of the target vehicle can be detected in real time, and the current steering wheel angle of the target vehicle is updated in real time according to the real-time current speed of the target vehicle until the lane change of the target vehicle is completed.
According to the automatic driving obstacle avoidance method, when the current lane of the target vehicle contains an obstacle according to the current vehicle information and the current road information of the target vehicle, the obstacle avoidance lane change intention of the target vehicle is determined, the target lane for obstacle avoidance lane change is determined according to the distance between the obstacle and lane lines on two sides of the current lane, then when the target lane meets the lane change condition, the safety boundary corresponding to the target vehicle is determined according to the current vehicle information and the current road information, and then the current steering wheel corner of the target vehicle in lane change is determined according to the lane line confidence of the target lane, the current speed of the target vehicle and the vehicle type of the target vehicle, so that the target vehicle is controlled to change lanes to the target lane in the safety boundary according to the current steering wheel corner. Therefore, when the obstacle is detected in front of the vehicle, the automatic lane change is performed to avoid the obstacle, and the lane change track of the vehicle is restrained through the restraint conditions of the safety boundary and the steering wheel angle in the automatic lane change process, so that unexpected lateral movement is prevented in the lane change process, the safety and the practicability of automatic driving are further improved, and the user experience is improved.
In one possible implementation form of the present application, before the target vehicle is controlled to execute lane changing, lane changing execution waiting time may be further set, so as to detect whether the target lane still meets the lane changing condition and whether the obstacle avoidance lane changing intention still exists within the lane changing execution waiting time, so as to prevent an unexpected situation unsuitable for lane changing from occurring when lane changing is executed, or cancel the situation of the lane changing intention by the user, and further improve the safety and practicality of automatic driving.
The following describes an obstacle avoidance method for autopilot according to the embodiment of the present application with reference to fig. 6.
Fig. 6 shows a schematic flow chart of another obstacle avoidance method for automatic driving according to an embodiment of the present application.
As shown in fig. 6, the obstacle avoidance method for automatic driving includes the following steps:
step 301, obtaining current vehicle information of a target vehicle and current road information of the target vehicle, wherein the current road information comprises barrier information.
In step 302, when it is determined that the lane in which the target vehicle is currently located contains an obstacle, it is determined that the target vehicle generates an obstacle avoidance lane change intention.
Step 303, determining a target lane for obstacle avoidance and lane change according to the distance between the obstacle and the lane lines on two sides of the current lane.
And 304, determining a safety boundary corresponding to the target vehicle according to the current vehicle information and the current road information when the target lane meets the lane change condition.
The specific implementation process and principle of the above steps 301 to 304 may refer to the detailed description of the above embodiments, which is not repeated here.
And step 305, continuously detecting whether the target lane meets the lane change condition and whether the target vehicle has an obstacle avoidance lane change intention within the preset lane change execution waiting time.
The preset lane change execution waiting time may refer to a time from when the target lane is determined to meet the lane change condition and when the safety boundary is determined to when the lane change can be executed, or may refer to a time from when the target lane is determined to meet the lane change condition and when the safety boundary is determined to when the lane change is canceled.
It should be noted that, during actual use, a specific value of the preset lane change execution waiting time may be determined according to an actual need and a specific application scenario, which is not limited in the embodiment of the present application. For example, the preset lane change execution waiting time may be 1 second, 2 seconds, or the like.
In the embodiment of the application, after the target lane is determined to meet the lane changing condition and the corresponding safety boundary of the target vehicle is determined, the current road condition is likely to have an emergency, so that the target vehicle cannot safely change lanes; or the autonomous vehicle may allow the user to cancel the lane-changing intention generated autonomously by the vehicle to promote the degree of humanization of the autonomous vehicle. Therefore, the embodiment of the application can wait briefly before the target vehicle is controlled to execute lane changing, detect whether the target lane always meets the lane changing condition within the preset lane changing execution waiting time, and detect whether the target vehicle still has the obstacle avoidance lane changing intention, so as to eliminate the situation that the sudden dangerous condition of the current road condition is not suitable for lane changing or the user cancels the lane changing intention, and further improve the safety and the practicability of automatic driving.
As one possible implementation manner, when detecting whether the target vehicle has the obstacle avoidance lane change intention, the determination may be made by whether the user-input lane change cancellation intention instruction is acquired within the preset lane change execution waiting time. For example, if a lane change canceling intention instruction input by a user is acquired within a preset lane change execution waiting time, it can be determined that the target vehicle does not have an obstacle avoidance intention; if the instruction of canceling the lane change intention input by the user is not acquired within the preset lane change execution waiting time, the current obstacle avoidance lane change intention of the target vehicle can be determined.
It should be noted that, the specific manner of detecting whether the target lane meets the lane change condition may refer to the detailed description of the above embodiment, which is not repeated here.
And 306, when the time interval between the current time and the time when the target vehicle is determined to meet the lane change condition reaches the preset lane change execution waiting time, if the target lane meets the lane change condition at the current time and the target vehicle has the obstacle avoidance lane change intention, controlling the target vehicle to change lanes to the target lane in the safety boundary at the current time.
In the embodiment of the application, if the time interval between the current time and the time when the obstacle avoidance lane change intention is generated by the target vehicle reaches the preset lane change execution waiting time, the current time can be determined to be the ending time of the lane change standby, so that if the target lane is determined to meet the lane change condition at the current time and the obstacle avoidance lane change intention exists by the target vehicle, the target vehicle can be determined to change lanes at the current time, and the target vehicle can be controlled to change lanes to the target lane within the safety boundary.
It should be noted that, the specific implementation process and principle of controlling the target vehicle to change lane to the target lane within the safety boundary may refer to the detailed description of the above embodiments, which is not repeated herein.
Step 307, if the target lane does not meet the lane change condition at the current moment and the target vehicle has an obstacle avoidance lane change intention, adjusting the current speed of the target vehicle, and continuously detecting whether the target lane meets the lane change condition.
In the embodiment of the application, when determining that the current time is the ending time of the lane change standby, if it is determined that the target lane does not meet the lane change condition at the current time, but the obstacle avoidance lane change intention still exists in the target vehicle, the current speed of the target vehicle can be adjusted to expect that the target lane meets the lane change condition by adjusting the current speed of the target vehicle, and whether the target lane meets the lane change condition is continuously detected in the process of adjusting the current speed of the target vehicle until the target lane meets the lane change condition is detected, and the target vehicle can be directly controlled to change the lane to the target lane in the safety boundary; if the target lane still does not meet the lane change condition within the preset continuous detection time, the obstacle avoidance lane change intention can be canceled, and the lane change is canceled.
Step 308, if the target vehicle does not have the obstacle avoidance lane change intention at the current moment, the lane change is canceled.
In the embodiment of the application, when the current time is determined to be the ending time of lane change standby, if it is determined that the target vehicle does not have the obstacle avoidance lane change intention at the current time, it can be determined that the user cancels the obstacle avoidance lane change intention, then the execution lane change can be directly canceled, and the target vehicle can drive according to the subjective intention of the user.
According to the automatic driving obstacle avoidance method, when the fact that the current lane of the target vehicle contains an obstacle is determined according to the current vehicle information and the current road information of the target vehicle, the fact that the target vehicle generates an obstacle avoidance lane change intention is determined, a target lane for obstacle avoidance lane change is determined according to the distance between the obstacle and lane lines on two sides of the current lane, then when the target lane meets lane change conditions, a safety boundary corresponding to the target vehicle is determined according to the current vehicle information and the current road information, whether the target lane meets the lane change conditions or not and whether the obstacle avoidance lane change intention exists in the target vehicle are detected continuously within preset lane change execution waiting time, and when the current time is the ending time of lane change standby, if the target lane meets the lane change conditions at the current time and the obstacle avoidance lane change intention exists in the target vehicle, the target vehicle is controlled to the target lane in the safety boundary at the current time, otherwise, the current speed of the target vehicle can be adjusted to enable the target lane to meet the lane change conditions, or the lane change is directly cancelled. Therefore, when the obstacle is detected in front of the vehicle, the lane change is performed automatically so as to avoid the obstacle, and the lane change execution waiting time is set so as to detect whether the target lane still meets the lane change condition and whether the obstacle avoidance lane change intention still exists in the lane change execution waiting time, so that the sudden situation that the lane change is unsuitable for the lane change is prevented from occurring when the lane change is executed, or the situation of the lane change intention is canceled by a user, the safety and the reliability of automatic driving are improved, the practicability and the flexibility of automatic driving are further improved, and the user experience is improved.
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic of each process, and should not limit the implementation process of the embodiment of the present application in any way.
Corresponding to the method for avoiding obstacle in autopilot described in the above embodiments, fig. 7 shows a block diagram of the apparatus for avoiding obstacle in autopilot provided in the embodiments of the present application, and for convenience of explanation, only the portions related to the embodiments of the present application are shown.
Referring to fig. 7, the apparatus 40 includes:
a first obtaining module 41, configured to obtain current vehicle information of a target vehicle and current road information where the target vehicle is located, where the current road information includes obstacle information;
a first determining module 42, configured to determine that the target vehicle generates an obstacle avoidance lane change intention when it is determined that the lane in which the target vehicle is currently located contains an obstacle;
a second determining module 43, configured to determine a target lane for avoiding the obstacle change according to a distance between the obstacle and lane lines on two sides of the lane where the obstacle is currently located;
a third determining module 44, configured to determine, when the target lane meets the lane change condition, a safety boundary corresponding to the target vehicle according to the current vehicle information and the current road information;
A lane changing module 45 for controlling the lane change of the target vehicle to the target lane within the safety boundary.
In practical use, the obstacle avoidance apparatus for autopilot provided in the embodiments of the present application may be configured in any terminal device to execute the foregoing obstacle avoidance method for autopilot.
According to the automatic driving obstacle avoidance device, when the current lane of the target vehicle contains an obstacle according to the current vehicle information and the current road information of the target vehicle, the obstacle avoidance lane change intention of the target vehicle is determined, the target lane for obstacle avoidance lane change is determined according to the distance between the obstacle and lane lines on two sides of the current lane, then when the target lane meets the lane change condition, the safety boundary corresponding to the target vehicle is determined according to the current vehicle information and the current road information, and then the current steering wheel corner of the target vehicle in lane change is determined according to the lane line confidence of the target lane, the current speed of the target vehicle and the vehicle type of the target vehicle, so that the target vehicle is controlled to change lanes to the target lane in the safety boundary according to the current steering wheel corner. Therefore, when the obstacle is detected in front of the vehicle, the automatic lane change is performed to avoid the obstacle, and the lane change track of the vehicle is restrained through the restraint conditions of the safety boundary and the steering wheel angle in the automatic lane change process, so that unexpected lateral movement is prevented in the lane change process, the safety and the practicability of automatic driving are further improved, and the user experience is improved.
In one possible implementation form of the present application, the second determining module 43 includes:
a first determining unit configured to determine a lane located on the left side of a lane where the obstacle is located as a target lane when a first distance between the obstacle and a lane line on the left side of the lane where the obstacle is located is greater than or equal to a second distance between the obstacle and a lane line on the right side of the lane where the obstacle is located;
and the second determining unit is used for determining the lane positioned on the right side of the current lane as a target lane when the first distance is smaller than the second distance.
Further, in another possible implementation manner of the present application, the apparatus 40 further includes:
the first judging module is used for judging whether the first distance and the second distance are larger than or equal to the first safety distance when the target lane does not meet the lane changing condition;
the first obstacle avoidance module is used for controlling the target vehicle to avoid an obstacle in the lane where the target vehicle is located when the first distance and/or the second distance are/is greater than or equal to the first safety distance;
the second judging module is used for judging whether the first distance and/or the second distance is greater than or equal to the second safety distance when the first distance and the second distance are smaller than the first safety distance;
The second obstacle avoidance module is used for controlling the target vehicle to occupy the adjacent lane of the current lane to avoid the obstacle crossing lane when the first distance and/or the second distance are/is greater than or equal to the second safety distance.
Further, in still another possible implementation manner of the present application, the current vehicle information includes a current position and a current speed of the target vehicle, the obstacle information includes a current position of the obstacle, the current road information further includes other vehicle information, and the other vehicle information includes a current position and a current speed of the other vehicle; correspondingly, the device 40 further comprises:
a fourth determining module, configured to determine each first vehicle and each first obstacle included in the target lane according to the current position of each vehicle and the current position of each obstacle;
a fifth determining module, configured to determine a collision time between the target vehicle and each first obstacle according to the current speed, the current position, the current speed and the current position of each first vehicle and the current position of each first obstacle;
and the sixth determining module is used for determining that the target lane meets the lane changing condition when the collision time between the target vehicle and each first other vehicle and each first obstacle meet the lane changing condition.
Further, in still another possible implementation manner of the present application, the obstacle information includes a current position of the obstacle, the current road information further includes other vehicle information and lane line information, and the other vehicle information includes a current position of the other vehicle and a current speed of the other vehicle; correspondingly, the third determining module 44 includes:
a third determining unit, configured to determine, according to the current road information, each second vehicle and each second obstacle included in the current lane, the target lane, and each lane between the current lane and the target lane;
and the fourth determining unit is used for determining the corresponding safety boundary of the target vehicle according to the lane line information of the target lane, the current position and the current speed of each second vehicle and the current position of each second obstacle.
Further, in still another possible implementation manner of the present application, the foregoing apparatus 40 further includes:
the second acquisition module is used for acquiring the current position and the current speed of a third other vehicle which enters the safety boundary;
a seventh determining module, configured to determine a predicted driving track corresponding to the third vehicle according to the current position and the current speed of the third vehicle;
And the updating module is used for updating the safety boundary according to the predicted running track corresponding to the third other vehicle.
Further, in another possible implementation manner of the present application, the current vehicle information includes a current speed and a vehicle type of the target vehicle, the current road information includes lane line information, and the lane line information includes a confidence level of a lane line; correspondingly, the lane changing module 45 includes:
a fifth determining unit, configured to determine a current steering wheel angle of the target vehicle when the target vehicle changes lanes according to the lane line confidence level of the target lane, the current speed of the target vehicle, and the vehicle type of the target vehicle;
the first lane changing unit is used for controlling the target vehicle to change lanes to the target lane in the safety boundary according to the current steering wheel angle.
Further, in still another possible implementation manner of the present application, the lane changing module 45 includes:
the detection unit is used for continuously detecting whether the target lane meets the lane change condition and whether the target vehicle has an obstacle avoidance lane change intention within the preset lane change execution waiting time;
the second lane changing unit is used for controlling the target vehicle to change lanes to the target lane within the safety boundary at the current moment if the target lane meets the lane changing condition at the current moment and the target vehicle has the obstacle avoidance lane changing intention when the time interval between the current moment and the moment when the target vehicle is determined to meet the lane changing condition reaches the preset lane changing execution waiting time;
The adjusting unit is used for adjusting the current speed of the target vehicle and continuously detecting whether the target lane meets the lane changing condition if the target lane does not meet the lane changing condition at the current moment and the target vehicle has the obstacle avoidance lane changing intention;
and the cancellation execution unit is used for canceling execution of lane change if the target vehicle does not have the obstacle avoidance lane change intention at the current moment.
Further, in still another possible implementation manner of the present application, the foregoing apparatus 40 further includes:
and the adjusting module is used for adjusting the current speed of the target vehicle when the target lane does not meet the lane changing condition, and continuously detecting whether the target lane meets the lane changing condition within the preset continuous detection time.
Further, in still another possible implementation manner of the present application, the foregoing apparatus 40 further includes:
an eighth determining module, configured to determine an offset of the target vehicle in the target lane when the body of the target vehicle completely enters the target lane and the body of the target vehicle is parallel to two lane lines corresponding to the target lane;
and the ninth determining module is used for determining that the lane change of the target vehicle is completed when the offset is in a preset offset range.
It should be noted that, because the content of information interaction and execution process between the above devices/units is based on the same concept as the method embodiment of the present application, specific functions and technical effects thereof may be referred to in the method embodiment section, and will not be described herein again.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working process of the units and modules in the above system may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
In order to implement the above embodiment, the present application further proposes a terminal device.
Fig. 8 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
As shown in fig. 8, the terminal apparatus 200 includes:
the system comprises a memory 210 and at least one processor 220, a bus 230 connecting different components (including the memory 210 and the processor 220), wherein the memory 210 stores a computer program, and the processor 220 executes the program to implement the obstacle avoidance method of automatic driving in the embodiment of the application.
Bus 230 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include Industry Standard Architecture (ISA) bus, micro channel architecture (MAC) bus, enhanced ISA bus, video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Terminal device 200 typically includes a variety of electronic device readable media. Such media can be any available media that is accessible by terminal device 200 and includes both volatile and nonvolatile media, removable and non-removable media.
Memory 210 may also include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM) 240 and/or cache memory 250. Terminal device 200 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 260 may be used to read from or write to non-removable, nonvolatile magnetic media (not shown in FIG. 8, commonly referred to as a "hard disk drive"). Although not shown in fig. 8, a magnetic disk drive for reading from and writing to a removable non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from or writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In such cases, each drive may be coupled to bus 230 via one or more data medium interfaces. Memory 210 may include at least one program product having a set (e.g., at least one) of program modules configured to carry out the functions of the embodiments of the present application.
Program/utility 280 having a set (at least one) of program modules 270 may be stored in, for example, memory 210, such program modules 270 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment. Program modules 270 generally perform the functions and/or methods in the embodiments described herein.
Terminal device 200 can also communicate with one or more external devices 290 (e.g., keyboard, pointing device, display 291, etc.), one or more devices that enable a user to interact with the terminal device 200, and/or any device (e.g., network card, modem, etc.) that enables the terminal device 200 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 292. Also, terminal device 200 can communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the Internet, via network adapter 293. As shown, network adapter 293 communicates with other modules of terminal device 200 over bus 230. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with terminal device 200, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
The processor 220 executes various functional applications and data processing by running programs stored in the memory 210.
It should be noted that, the implementation process and the technical principle of the terminal device in this embodiment refer to the foregoing explanation of the automatic driving obstacle avoidance method in this embodiment, and are not repeated herein.
Embodiments of the present application also provide a computer readable storage medium storing a computer program which, when executed by a processor, implements steps that may implement the various method embodiments described above.
The present embodiments provide a computer program product which, when run on a terminal device, causes the terminal device to perform steps that enable the respective method embodiments described above to be implemented.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the present application implements all or part of the flow in the methods of the above embodiments, and may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, where the computer program may implement the steps of each method embodiment described above when executed by a processor. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include at least: any entity or device capable of carrying computer program code to a photographing device/terminal apparatus, recording medium, computer Memory, read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), electrical carrier signals, telecommunications signals, and software distribution media. Such as a U-disk, removable hard disk, magnetic or optical disk, etc. In some jurisdictions, computer readable media may not be electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other manners. For example, the apparatus/terminal device embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical function division, and there may be additional divisions in actual implementation, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
The above embodiments are only for illustrating the technical solution of the present application, and are not limiting; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application.

Claims (10)

1. An obstacle avoidance method for autopilot, comprising:
acquiring current vehicle information of a target vehicle and current road information of the target vehicle, wherein the current road information comprises barrier information;
When the fact that the obstacle is contained in the lane where the target vehicle is currently located is determined, determining that the target vehicle generates obstacle avoidance lane change intention;
determining a target lane for obstacle avoidance and lane change according to the distance between the obstacle and lane lines on two sides of the current lane;
when the target lane meets a lane changing condition, determining a safety boundary corresponding to the target vehicle according to the current vehicle information and the current road information;
and controlling the target vehicle to change the lane to the target lane within the safety boundary.
2. The method of claim 1, wherein the determining a target lane for obstacle avoidance based on a distance between the obstacle and lane lines on both sides of the current lane comprises:
determining a lane positioned on the left side of the current lane as the target lane when a first distance between the obstacle and a lane line on the left side of the current lane is greater than or equal to a second distance between the obstacle and a lane line on the right side of the current lane;
and when the first distance is smaller than the second distance, determining the lane positioned on the right side of the current lane as the target lane.
3. The method of claim 2, wherein after determining the target lane for obstacle avoidance based on the distance between the obstacle and the lane lines on both sides of the current lane, further comprising:
when the target lane does not meet the lane changing condition, judging whether the first distance and the second distance are greater than or equal to a first safety distance or not;
when the first distance and/or the second distance are/is greater than or equal to the first safety distance, the target vehicle is controlled to avoid the obstacle in the current lane;
judging whether the first distance and/or the second distance is greater than or equal to a second safety distance when the first distance and the second distance are smaller than the first safety distance;
and when the first distance and/or the second distance are/is greater than or equal to the second safety distance, controlling the target vehicle to occupy the adjacent lane of the current lane to avoid the obstacle across the lane.
4. The method of claim 1, wherein the current vehicle information includes a current position and a current speed of the target vehicle, the obstacle information includes a current position of an obstacle, the current road information includes other vehicle information, the other vehicle information includes a current position and a current speed of the other vehicle, and when the target lane meets a lane change condition, before determining a safety boundary corresponding to the target vehicle according to the current vehicle information and the current road information, the method further includes:
Determining each first vehicle and each first obstacle contained in the target lane according to the current position of each vehicle and the current position of each obstacle;
determining collision time between the target vehicle and each first obstacle according to the current speed and the current position of the target vehicle, the current speed and the current position of each first vehicle and the current position of each first obstacle;
and when the collision time between the target vehicle and each first other vehicle and each first obstacle meets the lane changing condition, determining that the target lane meets the lane changing condition.
5. The method of claim 1, wherein the obstacle information includes a current position of the obstacle, the current road information further includes other vehicle information and lane line information, the other vehicle information includes a current position of the other vehicle and a current speed of the other vehicle, and when the target lane meets a lane change condition, determining a safety boundary corresponding to the target vehicle according to the current vehicle information and the current road information includes:
Determining each second vehicle and each second obstacle contained in the current lane, the target lane and each lane between the current lane and the target lane according to the current road information;
and determining a safety boundary corresponding to the target vehicle according to the lane line information of the target lane, the current position and the current speed of each second vehicle and the current position of each second obstacle.
6. The method of claim 1, wherein after determining the safety boundary corresponding to the target vehicle according to the current vehicle information and the current road information when the target lane satisfies a lane change condition, further comprising:
acquiring the current position and the current speed of a third other vehicle which enters the safety boundary;
determining a predicted running track corresponding to the third vehicle according to the current position and the current speed of the third vehicle;
and updating the safety boundary according to the predicted running track corresponding to the third other vehicle.
7. The method of any of claims 1-6, wherein the current vehicle information includes a current speed of the target vehicle, a vehicle type, the current road information includes lane line information including a confidence level of a lane line, and the controlling the target vehicle to lane within the safety boundary includes:
Determining a current steering wheel corner of the target vehicle when the target vehicle changes lanes according to the lane line confidence of the target lane, the current speed of the target vehicle and the vehicle type of the target vehicle;
and controlling the target vehicle to change the lane to the target lane in the safety boundary according to the current steering wheel angle.
8. An autonomous obstacle avoidance device, comprising:
the first acquisition module is used for acquiring current vehicle information of a target vehicle and current road information of the target vehicle, wherein the current road information comprises barrier information;
the first determining module is used for determining that the target vehicle generates an obstacle avoidance lane change intention when determining that the lane where the target vehicle is currently located contains the obstacle;
the second determining module is used for determining a target lane for avoiding obstacle change according to the distance between the obstacle and lane lines on two sides of the lane where the obstacle is currently located;
the third determining module is used for determining a safety boundary corresponding to the target vehicle according to the current vehicle information and the current road information when the target lane meets the lane changing condition;
And the lane changing module is used for controlling the target vehicle to change lanes to the target lane in the safety boundary.
9. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1-7 when executing the computer program.
10. A computer readable storage medium storing a computer program, which when executed by a processor implements the method according to any one of claims 1-7.
CN202211206213.0A 2022-09-30 2022-09-30 Obstacle avoidance method and device for automatic driving, terminal equipment and storage medium Pending CN117842012A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211206213.0A CN117842012A (en) 2022-09-30 2022-09-30 Obstacle avoidance method and device for automatic driving, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211206213.0A CN117842012A (en) 2022-09-30 2022-09-30 Obstacle avoidance method and device for automatic driving, terminal equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117842012A true CN117842012A (en) 2024-04-09

Family

ID=90527534

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211206213.0A Pending CN117842012A (en) 2022-09-30 2022-09-30 Obstacle avoidance method and device for automatic driving, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117842012A (en)

Similar Documents

Publication Publication Date Title
EP3611069B1 (en) Vehicle control device
CN111775940B (en) Automatic channel changing method, device, equipment and storage medium
EP3581449A1 (en) Driving assist control device
CN110834630A (en) Vehicle driving control method and device, vehicle and storage medium
CN112384419B (en) Vehicle driving support control device, vehicle driving support system, and vehicle driving support control method
CN113905940A (en) Autonomous vehicle maneuvering based on risks associated with obscured areas
JP6780611B2 (en) Autonomous driving device
JP7193656B2 (en) Control unit and method for recognizing intruding or exiting vehicles
CN111522350B (en) Sensing method, intelligent control equipment and automatic driving vehicle
RU2745804C1 (en) Method and processor for control of movement of autonomous vehicle in the traffic line
CN111717198A (en) Control method, device, equipment and medium for L2 level automatic driving
CN114559942B (en) Vehicle lane change early warning method and device and computer readable medium
EP3581450A1 (en) Driving assist control device
WO2022216641A1 (en) Counter-steering penalization during vehicle turns
KR20220016397A (en) Collision risk reduction apparatus and method
US20220063406A1 (en) Onboard display device, onboard display method, and computer readable storage medium
US20220194374A1 (en) Method for providing assistance to driver, and vehicle apparatus applying method
CN113911111A (en) Vehicle collision detection method, system, electronic device, and storage medium
CN113602263A (en) Vehicle avoidance method and device, vehicle-mounted equipment and storage medium
CN116394892A (en) Method, device, equipment and storage medium for transverse braking of vehicle
CN117842012A (en) Obstacle avoidance method and device for automatic driving, terminal equipment and storage medium
CN116215577A (en) Low-speed automatic pilot method, system, electronic equipment and storage medium
CN110262516A (en) Vehicle, method and device with Function for Automatic Pilot
CN116148860A (en) Method and device for identifying static obstacle, vehicle and storage medium
CN117842010A (en) Automatic driving lane changing method, device, terminal equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication