This application claims priority to Chinese Patent Application No. 201910123953.X, entitled “DECISION METHOD, DEVICE, EQUIPMENT IN A LANE CHANGING PROCESS AND STORAGE MEDIUM”, and filed on Feb. 19, 2019, which is hereby incorporated by reference in its entirety.
The disclosure relates to the technical field of driverless vehicles, and more particularly to a decision method, device, equipment in a lane changing process and storage medium.
A process that a vehicle travels from a lane to another lane in a travelling process is called lane changing. In a conventional art, a driverless vehicle may not respond to such an emergency in a lane changing process.
A decision method and device in a lane changing process are provided according to the embodiments of the disclosure, to at least solve the above technical problem in the conventional art.
According to a first aspect, a decision method in a lane changing process is provided according to the embodiments of the disclosure, the method may include:
acquiring a first planned track of a driverless vehicle for travelling to a first lane and a second planned track of the driverless vehicle for travelling to a second lane within a preset time period, in a lane changing process of the driverless vehicle, wherein the first lane is a target lane of the lane changing process, and the second lane is a lane where the driverless vehicle is located at a starting moment of the lane changing process
predicting a predicted track of at least one obstacle within the preset time period according to a travelling state of the obstacle, wherein the obstacle is in a preset range around the driverless vehicle; and
determining a travelling motion of the driverless vehicle according to the first planned track, the second planned track and the predicted track of the obstacle.
In an implementation anode, determining the travelling motion of the driverless vehicle according to the first planned track, the second planned track and the predicted track of obstacle may include:
determining whether the travelling of the driverless vehicle on the first planned track is safe, according to the first planned track and the predicted track of each obstacle;
controlling the driverless vehicle to travel to the first lane, if the travelling of the driverless vehicle on the first planned track is safe; and
if the travelling of the driverless vehicle on the first planned track is not safe, determining whether the travelling of the driverless vehicle on the second planned track is safe according to the second planned track and the predicted track of each obstacle; controlling the driverless vehicle to travel to the second lane if the travelling of the driverless vehicle on the second planned track is safe, and controlling the driverless vehicle to stop travelling if the travelling of the driverless vehicle on the second planned track is not safe.
In an implementation mode, determining whether the travelling of the driverless vehicle to the first lane is safe according to the first planned track and the predicted track of the obstacle may include:
determining a first predicted position of the driverless vehicle and a predicted position of the obstacle at least one time point in a preset time period, according to the first planned track and the predicted track of the obstacle;
for each time point in the preset time period, calculating a distance between the first predicted position and the predicted position; and
determining whether a time point exists at which the distance is less than a first distance threshold, and determining that the travelling of the driverless vehicle to the first lane is not safe if the time point exists.
In an implementation mode, determining whether the travelling of the driverless vehicle to the second lane is safe according to the second planned track and the predicted track of each obstacle may include:
determining a second predicted position of the driverless vehicle and a predicted position of the obstacle at least one time point in a preset time period, according to the second planned track and the predicted track of the obstacle;
for each time point in the preset time period, calculating a distance between the second predicted position and the predicted position; and
determining whether a time point exists at which the distance is less than a second distance threshold, and determining that the travelling of the driverless vehicle to the second lane is not sate if the time point exists.
In an implementation mode, the determining whether the travelling of the driverless vehicle to the second lane is safe according to the second planned track and the predicted track of the obstacle may further include:
determining whether the second planned track passes a section where lane changing is not allowed, and determining that the travelling of the driverless vehicle to the second lane is not safe if the section where the lane changing is not allowed is passed.
In an implementation mode, steps of acquiring, predicting and determining are repeatedly executed in the lane changing process.
According to a second aspect, a decision device in a lane changing process is provided according to the embodiments of the disclosure, which may include:
an acquisition module, configured to acquire a first planned track of a driverless vehicle for travelling to a first lane and a second planned track of the driverless vehicle for travelling to a second lane within a preset time period, in a lane changing process of the driverless vehicle, wherein the first lane is a target lane of the lane changing process, and the second lane is a lane where the driverless vehicle is located at a starting moment of the lane changing process;
a prediction module, configured to predict a predicted track of at least one obstacle within the preset time period according to a travelling state of the obstacle, wherein the obstacle is in a preset range around. the driverless vehicle; and
a decision module, configured to determine a travelling motion of the driverless vehicle according to the first planned track, the second planned track and the predicted track of the obstacle.
in an implementation mode, the decision module includes:
a first decision submodule, configured to determine whether a travelling of the driverless vehicle to the first lane is safe, according to the first planned track and the predicted track of the obstacle, determine to proceed the lane changing process if the travelling of the driverless vehicle to the first lane is safe, and instruct the second decision submodule for determination if the travelling of the driverless vehicle to the first lane is not safe; and
a second decision submodule, configured to determine whether the travelling of the driverless vehicle to the second lane is safe according to the second planned track and the predicted track of the obstacle; determine to travel to the second lane if the travelling of the driverless vehicle to the second lane is safe, and determining to stop travelling if the travelling of the driverless vehicle to the second lane is not safe.
In an implementation mode, the first decision submodule may be configured to:
determine a first predicted position of the driverless vehicle and a predicted position of the obstacle at least one time point in a preset time period, according to the first planned track and the predicted track of the obstacle;
for each time point in the preset time period, calculate a distance between the first predicted position and the predicted position; and
determine whether a time point exists at which the distance is less than a first distance threshold, and determine that the travelling of the driverless vehicle to the first lane is not safe if the time point exists.
In an implementation mode, the second decision submodule may be configured to:
determine a second predicted position of the driverless vehicle and a predicted position of the obstacle at least one time point in a preset time period, according to the second planned track and the predicted track of the obstacle;
for each time point in the preset time period, calculate a distance between the second predicted position and the predicted position; and
determine whether a. time point exists at which the distance is less than a. second distance threshold, and determine that the travelling of the driverless vehicle to the second lane is not safe if the time point exists.
In an implementation mode, the second decision submodule may further be configured to:
determine whether the second planned track passes a section where lane changing is not allowed, and determining that the travelling of the driverless vehicle to the second lane is not safe if the section where the lane changing is not allowed is passed.
According to a third aspect, a decision equipment in a lane changing process is provided according to the embodiments of the present disclosure. A function of the equipment may be realized through hardware, and may also be realized by executing corresponding software through the hardware. The hardware or the software includes one or more modules corresponding to the function.
in a possible embodiment, a structure of the equipment includes a processor and a memory. The memory is configured to store a program supporting the server to execute the travelling motion determination method. The processor is configured to execute the program stored in the memory. The equipment may further include a communication interface, configured for communication with another device or communication network.
According to a fourth aspect, a computer-readable storage medium is provided according to the embodiments of the present disclosure, which is configured to store a computer software instruction for decision-making equipment for a lane changing process, including a program involved in execution of the decision-making method for the lane changing process.
One technical solution in the technical solutions has the following advantages or beneficial effects.
According to the embodiments of the disclosure, a first planned track of a driverless vehicle for travelling to a first lane and a second planned track of the driverless vehicle for travelling to a second lane, within a preset time period in a lane changing process of the driverless vehicle, and the predicted track of the obstacle around is calculated. Then, the determination on the travelling operation of the driverless vehicle is made according to such information. With adoption of the manner disclosed in the embodiments of the disclosure, a response may be made to an emergency on a road in the lane changing process of the driverless vehicle.
The summary is only for the purpose of description and not intended to form limits in any manner. Besides the above-described schematic aspects, implementation modes and characteristics, further aspects, implementation modes and characteristics of the disclosure become easy to understand with reference to the drawings and the following detailed descriptions.
In the drawings, unless otherwise specified, the same reference signs throughout multiple drawings represent the same or similar components or elements.
These drawings are not always drawn to scale. It is to be understood that these drawings only show some implementation modes disclosed according to the disclosure and should not be considered as limits to the scope of the disclosure.
Some exemplary embodiments are simply described below only. As realized by those skilled in the art, the described embodiments may be modified in various manners without departing from the spirit or scope of the disclosure. Therefore, the drawings and the descriptions are considered to be substantially exemplary and nonrestrictive.
A driverless vehicle, before lane changing, determines whether a target lane is safe according to the planned track and a travelling track of an obstacle on the target lane and executes lane changing if it is safe. However, a travelling condition of an obstacle around may change in a lane changing process, for example, a vehicle behind on the target lane suddenly accelerates or a vehicle in front suddenly decelerates, and this makes the lane changing process of the driverless vehicle unsafe.
A decision method and device in a lane changing process are provided according to the embodiments of the disclosure. Detailed descriptions will be made to the technical solutions below through the following embodiments respectively.
The decision method in a lane changing process of the embodiments of the disclosure may be applied to a driverless vehicle. FIG. I is a schematic diagram of a lane changing process of a vehicle. A. section of a road with double lanes is presented in
in S21, acquiring a first planned track of a driverless vehicle for travelling to a first lane and a second planned track of the driverless vehicle for travelling to a second lane within a preset time period.
The first lane may be a target lane of the lane changing process, i.e., a lane planned for the driverless vehicle before lane changing.
The second lane may be a lane where the driverless vehicle is located at a starting moment of the lane changing process, i.e.. a lane before lane changing.
The preset time period may be a time period of a preset time length starting from a present moment.
In S22, predicting a predicted track of at least one obstacle within the preset time period according to a travelling state of the obstacle, wherein the obstacle is in a preset range around the driverless vehicle.
In S23, determining a travelling motion of the driverless vehicle according to the first planned track, the second planned track and the predicted track of the obstacle.
An execution sequence of S21 and S22 is not limited, any step may be executed at first, or they may be executed at the same time.
In a possible implementation mode, S21 to S23 may be repeatedly executed according to a preset rule in the lane changing process of the driverless vehicle, for example, executed according to a preset period.
In S22, the first planned track and second planned track of the driverless vehicle may include information such as planned positions, planned velocities and planned accelerations of the driverless vehicle at multiple time points within the preset time period.
In S22, the obstacle in the preset range around the driverless vehicle may be an obstacle in a sensing range of the driverless vehicle and may also be an obstacle closest to the driverless vehicle on the first lane and the second lane. The travelling state of the obstacle may include information such as a position, a velocity, an acceleration and a direction. The predicted track of the obstacle may include information such as a predicted position, predicted velocity and predicted acceleration of the obstacle at each time point within the preset time period.
As shown in
In
Based on the above introductions about the first planned track, the second planned track and the predicted track of each obstacle, specific implementation modes of the embodiment of the disclosure will be introduced below.
In S231, determining whether a travelling of the driverless vehicle to the first lane is safe, according to the first planned track and the predicted track of the obstacle; determining to proceed the lane changing process if the travelling of the driverless vehicle to the first lane is safe, otherwise, executing S232.
In S232, if the travelling of the driverless vehicle to the first lane is not safe, determining whether the travelling of the driverless vehicle to the second lane is safe according to the second planned track and the predicted track of the obstacle; determining to travel to the second lane if the travelling of the driverless vehicle to the second lane is safe, and determining to stop travelling if the travelling of the driverless vehicle to the second lane is not safe.
The driverless vehicle, after stopping travelling, may travel to the first lane or the second lane again after a danger on the first lane or the second lane is eliminated. For example, the obstacle X or obstacle Y in
In a possible implementation mode, as shown in
In S2311, determining a first predicted position of the driverless vehicle and a predicted position of the obstacle at least one time point in a preset time period, according to the first planned track and the predicted track of the obstacle;
In S2312, for each time point in the preset time period, calculating a distance between the first predicted position and the predicted position;
In S2313, determining whether a time point exists at which the distance is less than a first distance threshold, and determining that the travelling of the driverless vehicle to the first lane is not sate if the time point exists.
Descriptions will be made below based on
In S2311, a first predicted position of the driverless vehicle and predicted position of each obstacle in next 8s are determined according to the first planned track and the predicted track of the obstacle X. For example, every second is a determination moment, first predicted positions {Pa1, Pa2, Pa3, Pa4, Pa5, Pa6, Pa7, Pa8} of the driverless vehicle at eight moments in the next 8s are determined, and predicted positions {Px1, Px2, Px3, Px4, Px5, Px6, Px7, Px8} of the obstacle X at the corresponding eight moments are determined.
In S2312, for each moment, a distance between the first predicted position and each predicted position is calculated. Namely,
for the first moment, the distance between Pa1 and Px1 is calculated;
for the second moment, the distance between Pat and Px2 is calculated;
; and
for the eighth moment, the distance between Pa8 and Px8 is calculated.
In S2313, if any one of the calculated distance is less than the first preset distance threshold, it is determined that it is unsafe for the driverless vehicle to travel to the first lane. In a possible implementation mode, the first preset distance threshold may be set to be different values according to a condition such as a road type, a present road condition and a present vehicle velocity. For example, when the vehicle velocity is relatively high, the first distance threshold is set to be a relatively high value; and when the vehicle velocity is relatively low, the first distance threshold is set to be a relatively low value.
In the embodiment, descriptions are made with judgment in a distance between the driverless vehicle and an obstacle as an example. When distances between the driverless vehicle and at least two obstacles are determined, it may be determined that it is unsafe for the driverless vehicle to travel to the first lane if the distance between the first predicted position and a predicted position of any obstacle is less than the first preset distance threshold,
In an implementation mode, as shown in
in S2321, determining a second predicted position of the driverless vehicle and a predicted position of the obstacle at least one time point in a preset time period, according to the second planned track and the predicted track of the obstacle;
in S2322, for each time point in the preset time period, calculating a distance between the second predicted position and the predicted position; and
in S2323, determining whether a time point exists at which the distance is less than a second distance threshold, and determining that the travelling of the driverless vehicle to the second lane is not safe if the time point exists.
Descriptions will be made below still based on
In S2321, a second predicted position of the driverless vehicle and predicted position of each obstacle in next 8s are determined according to the second planned track and the predicted track of the obstacle Y. For example, every second is a determination moment, second predicted positions {Pb1, Pb2, Pb3, Pb4, Pb 5, Pb6, Pb7, Pb8} of the driverless vehicle at eight moments in the next 8s are determined, and predicted positions {Py1, Py2, Py3, Py4, Py5, Py6, Py7, Py8} of the obstacle Y at the corresponding eight moments are determined.
In S2322, for each moment, a distance between the second predicted position and each predicted position is calculated. Namely,
for the first moment, the distance between Pb1 and Py1 is calculated;
for the second moment, the distance between Pb2 and Py2 is calculated;
; and
for the eighth moment, the distance between Pb8 and Py8 is calculated.
In S2323, if any one of the calculated distance is less than the second preset distance threshold exists, it is determined that it is unsafe for the driverless vehicle to travel to the second lane. In a possible implementation mode, the second preset distance threshold may be set to be different values according to the road type, the present road condition and the present vehicle velocity. For example, when the vehicle velocity is relatively high, the second distance threshold is set to be a relatively high value; and when the vehicle velocity is relatively low, the second distance threshold is set to be a relatively low value.
It is to be noted that, in the embodiment, descriptions are made with determination in a distance between the driverless vehicle and an obstacle as an example. When distances between the driverless vehicle and at least two obstacles are determined, it may be determined that it is unsafe for the driverless vehicle to travel to the second lane if the distance between the second predicted position and a predicted position of any obstacle is less than the second preset distance threshold.
Safety in travelling of the driverless vehicle to the second lane is determined in the above process according to a collision risk. Considering the traffic rules, on the same road, lane changing is allowed in some sections and lane changing is not allowed in some sections. If a vehicle is located in a section where lane changing is allowed at the beginning of lane changing and then enters a section where lane changing is not allowed, there is also a danger when it changes the lane again.
Based on this, in another embodiment of the disclosure, the determining whether the travelling of the driverless vehicle to the second lane is safe according to the second planned track and the predicted track of the obstacle in S232 may further include that: determining whether the second planned track passes a section where lane changing is not allowed, and determining that the travelling of the driverless vehicle to the second lane is not safe if the section where the lane changing is not allowed is passed.
It is to be noted that a travelling motion determination process for a moment in the lane changing process of the driverless vehicle is introduced in the abovementioned embodiment. In the lane changing process of the driverless vehicle, the travelling motion determination process introduced in the abovementioned embodiment may be executed for many times until lane changing of the driverless vehicle is ended. For example, the travelling motion determination process is periodically executed according to a preset period in the lane changing process.
An embodiment of the disclosure also discloses a decision device in a lane changing process. Referring to
The acquisition module 710 is configured to acquire a first planned track of a driverless vehicle for travelling to a first lane and a second planned track of the driverless vehicle for travelling to a second lane within a preset time period, in a lane changing process of the driverless vehicle, wherein the first lane is a target lane of the lane changing process, and the second lane is a lane where the driverless vehicle is located at a starting moment of the lane changing process.
The prediction module 720 is configured to predict a predicted track of at least one obstacle within the preset time period according to a travelling state of the obstacle, wherein the obstacle is in a preset range around the driverless vehicle.
The decision module 730 is configured to determine a travelling motion of the driverless vehicle according to the first planned track, the second planned track and the predicted track of the obstacle.
As shown in
The first decision submodule 731 is configured to determine whether a travelling of the driverless vehicle to the first lane is safe, according to the first planned track and the predicted track of the obstacle, determine to proceed the lane changing process if the travelling of the driverless vehicle to the first lane is safe, and instruct the second decision submodule 723 for determination if the travelling of the driverless vehicle on the first planned track is not safe.
The second decision submodule 732 is configured to determine determine whether the travelling of the driverless vehicle to the second lane is safe according to the second planned track and the predicted track of the obstacle; determine to travel to the second lane if the travelling of the driverless vehicle to the second lane is safe, and determining to stop travelling if the travelling of the driverless vehicle to the second lane is not safe.
In an implementation mode, the first decision submodule 731 is configured to:
determine a first predicted position of the driverless vehicle and a predicted position of the obstacle at least one time point in a preset time period, according to the first planned track and the predicted track of the obstacle;
for each time point in the preset time period, calculate a distance between the first predicted position and the predicted position; and
determine whether a time point exists at which the distance is less than a first distance threshold, and determine that the travelling of the driverless vehicle to the first lane is not safe if the time point exists.
In an implementation mode, the second decision submodule 732 is configured to:
determine a second predicted position of the driverless vehicle and a predicted position of the obstacle at least one time point in a preset time period, according to the second planned track and the predicted track of the obstacle;
for each time point in the preset time period, calculate a distance between the second predicted position and the predicted position; and
determine whether a time point exists at which the distance is less than a second distance threshold, and determine that the travelling of the driverless vehicle to the second lane is not safe if the time point exists.
In an implementation mode, the second decision submodule 732 is further configured to:
determine whether the second planned track passes a section where lane changing is not allowed, and determining that the travelling of the driverless vehicle to the second lane is not safe if the section where the lane changing is not allowed is passed.
The function of each module in each device of the embodiment of the disclosure may refer to the corresponding descriptions in the method and will not be elaborated herein.
An embodiment of the disclosure also discloses a decision equipment in a lane changing process.
The equipment may further include a communication interface 13.
The communication interface 13 is configured to communicate with an external device for data exchange transmission.
The memory 11 may include a high-speed Random Access Memory (RAM) and may also include a non-volatile memory, for example, at least one disk memory.
If the memory 11, the processor 12 and the communication interface 13 are independently implemented, the memory 11, the processor 12 and the communication interface 13 may be connected with one another and complete communication with one another through a bus. The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. etc. The bus may be divided into an address bus, a data bus, a control bus and the like. For convenient representation, only one bold line is adopted for representation in
Optionally, during specific implementation, if the memory 11, the processor 12 and the communication interface 13 are integrated into a chip, the memory 11, the processor 12 and the communication interface 13 may complete communication with one another through an internal interface.
In the descriptions of the specification, the descriptions made with reference to terms “an embodiment”, “some embodiments”, “example”, “specific example”, “some examples” or the like refer to that specific features, structures, materials or characteristics described in combination with the embodiment or the example are included in at least one embodiment or example of the disclosure. Moreover, the specific described features, structures, materials or characteristics may be combined in a proper manner in any one or more embodiments or examples. In addition, those skilled in the art may integrate and combine different embodiments or examples described in the specification and features of different embodiments or examples without conflicts.
In addition, terms “first” and “second” are only adopted for description and should not be understood to indicate or imply relative importance or implicitly indicate the number of indicated technical features. Therefore, a feature defined by “first” and “second” may explicitly or implicitly indicate inclusion of at least one such feature. In the descriptions of the disclosure, “multiple” means two or more than two, unless otherwise limited definitely and specifically.
Any process or method in the flowcharts or described herein in another manner may be understood to represent a module, segment or part including codes of one or more executable instructions configured to realize specific logic functions or steps of the process and, moreover, the scope of the preferred implementation mode of the disclosure includes other implementation, not in a sequence shown or discussed herein, including execution of the functions basically simultaneously or in an opposite sequence according to the involved functions. This should be understood by those skilled in the art of the embodiments of the disclosure.
Logics and/or steps represented in the flowcharts or described herein in another manner, for example, may be considered as a fixed sequence list of executable instructions configured to realize the logic functions and may specifically implemented in any computer-readable medium for an instruction execution system, device or equipment (for example, a computer-based system, a system including a processor or another system capable of reading instructions from the instruction execution system, device or equipment and executing the instructions) to use or for use in combination with the instruction execution system, device or equipment. For the specification, “computer-readable medium” may be any device capable of including, storing, communicating with, propagating or transmitting a program for the instruction execution system, device or equipment to use or for use in combination with the instruction execution system, device or equipment. A more specific example (non-exhaustive list) of the computer-readable medium includes: an electric connection portion (electronic device) with one or more wires, a portable computer disk (magnetic device), a RAM, a Read-Only Memory (ROM), an Erasable Programmable ROM (EPROM) (or flash memory), an optical fiber device and a portable Compact Disc Read-Only Memory (CD-ROM). In addition, the computer-readable medium may even be paper or another medium on which the program may be printed because, for example, the paper or the other medium may be optically scanned then edited, explained or, when necessary, processed in another proper manner to obtain the program in an electronic manner for storage in the computer memory.
It is to be understood that each part of the disclosure may be implemented by hardware, software, firmware or a combination thereof. In the abovementioned implementation modes, multiple steps or methods may be implemented by software or firmware stored in a memory and executed by a proper instruction execution system. For example, in case of implementation with the hardware, like another implementation mode, any one or combination of the following technologies well-known in the art may be adopted for implementation: a discrete logic circuit with a logic gate circuit configured to realize a logic function for a data signal, an application-specific integrated circuit with a proper combined logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA) and the like.
Those of ordinary skill in the art should understand that all or part of the steps in the method of the abovementioned embodiment may be completed through related hardware instructed by a program, the program may be stored in a computer-readable storage medium, and when the program is executed, one or combination of the steps of the method embodiment is included.
In addition, each functional unit in each embodiment of the disclosure may be integrated into a processing module, each unit may also physically exist independently, and two or more than two units may also be integrated into a module. The integrated module may be implemented in a hardware form and may also be implemented in form of software functional module. When being implemented in form of software functional module and sold or used as an independent product, the integrated module may be stored in a computer-readable storage medium. The storage medium may be a ROM, a magnetic disk, an optical disk or the like.
Based on the above, according to the decision method and device in a lane changing process according to the embodiments of the disclosure, the first planned track of the driverless vehicle for travelling to the first lane and second planned track for travelling to the second lane in a period of time are acquired in the lane changing process of the driverless vehicle, and the predicted track of the obstacle around is calculated. Then, the determination of the travelling motion of the driverless vehicle is made according to the first planned track, the second planned track and the predicted track of each obstacle. With adoption of the manner disclosed in the embodiments of the disclosure, a response may be made to an emergency on a road in the lane changing process of the driverless vehicle.
The above is only the specific implementation mode of the disclosure and not intended to limit the scope of protection of the disclosure. Various variations or replacements apparent to those skilled in the art within the technical scope disclosed by the disclosure shall fall within the scope of protection of the disclosure. Therefore, the scope of protection of the disclosure shall be subject to the scope of protection of the claims.
Number | Date | Country | Kind |
---|---|---|---|
201910123953.X | Feb 2019 | CN | national |