A method for driving a vehicle and an unmanned vehicle

By determining the length of the road segment that can be merged into the target lane when the driverless vehicle changes lanes, the problem of lane change failure is solved, and successful lane merging and driving time are guaranteed.

CN114889650BActive Publication Date: 2024-09-10GUANGDONG INST OF SCI & TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210744368.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-01-11
Publication Date
2024-09-10
Estimated Expiration
2041-01-11

AI Technical Summary

Technical Problem

When an autonomous vehicle changes lanes, if the length of the nearest merging road section is too short, it may easily lead to lane merging failure.

Method used

By judging the lengths of non-merging road sections and mergeable road sections arranged in sequence on the target lane, if the length of at least one mergeable road section is greater than the preset threshold, then merge into the target lane on this road section, and adjust the speed according to the length of the road section.

Benefits of technology

This enables driverless vehicles to successfully merge before the lane change requirement is triggered, and ensures the safety and efficiency of driving time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114889650B
    Figure CN114889650B
Patent Text Reader

Abstract

This invention discloses a method for driving a vehicle, including determining whether an autonomous vehicle has a lane-changing requirement; if so, obtaining the target lane corresponding to the lane-changing requirement; determining whether the length of a first merging segment is greater than or equal to a first preset threshold; if so, controlling the autonomous vehicle to merge into the first merging segment; if not, determining whether the length of a second merging segment is greater than or equal to the first preset threshold; if so, controlling the autonomous vehicle to merge into the second merging segment; if not, determining whether the length of a third merging segment is greater than or equal to the second preset threshold; if so, controlling the autonomous vehicle to merge into the third merging segment. This method enables the autonomous vehicle to merge into the target lane on a segment closest to the triggering target of the lane-changing requirement and with a length greater than the first preset threshold, thereby achieving successful lane merging while ensuring its travel time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the technical field of unmanned vehicle, and in particular to a method for driving a vehicle and an unmanned vehicle. Background Art

[0002] Unmanned vehicles are a type of smart car, also known as wheeled mobile robots. They mainly rely on the intelligent driving system based on the computer system in the car to achieve the purpose of unmanned driving. That is, unmanned vehicles are vehicles that can start, drive and stop without the driver. Its intelligent driving system includes high-precision maps, positioning and perception. The emergence of unmanned vehicles will undoubtedly bring unprecedented travel experience to people.

[0003] However, the inventors of the present invention discovered during the process of implementing the present invention that, when current driverless vehicles are traveling in a driving lane and need to change lanes to a target lane, they usually change lanes at a mergeable section closest to the triggering target that triggers the lane change requirement. However, when the length of the nearest mergeable section is too short, the driverless vehicle may easily fail to merge. Summary of the invention

[0004] In view of the above problems, embodiments of the present invention provide a method for driving a vehicle and an unmanned vehicle, which overcome the above problems or at least partially solve the above problems.

[0005] According to one aspect of an embodiment of the present invention, a method for driving a vehicle is provided, the method comprising: judging whether the unmanned vehicle has a lane change requirement according to a preset driving route of the unmanned vehicle; if so, obtaining a target lane corresponding to the lane change requirement; when the target lane has a first non-merging section, a first merging section, a second non-merging section, a second merging section, a third non-merging section and a third merging section in sequence from a triggering target of the lane change requirement, the first non-merging section, the first merging section, the second non-merging section, the second merging section The first mergeable road section, the second non-mergeable road section and the third mergeable road section are all located in front of the unmanned vehicle, and the length of at least one of the first mergeable road section, the second mergeable road section and the third mergeable road section is greater than a first preset threshold, then it is determined whether the length of the first mergeable road section is greater than or equal to the first preset threshold; if the length of the first mergeable road section is greater than or equal to the first preset threshold, the unmanned vehicle is controlled to merge into the target lane at the first mergeable road section; if the length of the first mergeable road section is less than the first preset threshold, then it is determined whether the length of the second mergeable road section is greater than or equal to the first preset threshold. whether the length of the second mergable section is greater than or equal to a first preset threshold; if the length of the second mergable section is greater than or equal to the first preset threshold, controlling the unmanned vehicle to merge into the target lane at the second mergable section; if the length of the second mergable section is less than the first preset threshold, determining whether the length of the third mergable section is greater than or equal to the second preset threshold; if the length of the third mergable section is greater than or equal to the first preset threshold, controlling the unmanned vehicle to merge into the target lane at the third mergable section; the step of controlling the unmanned vehicle to merge into the target lane at the first mergable section further comprises: comparing the length of the first mergable section with a second preset threshold, wherein the second preset threshold is greater than the first preset threshold; if the length of the first mergable section is less than the second preset threshold, controlling the unmanned vehicle to merge into the target lane at a reduced speed at the first mergable section; if the length of the first mergable section is greater than or equal to the second preset threshold, controlling the unmanned vehicle to merge into the target lane at a normal speed at the first mergable section.

[0006] In an optional manner, the step of controlling the unmanned vehicle to merge into the target lane at the second mergeable section further includes: comparing the length of the second mergeable section with the second preset threshold; if the length of the second mergeable section is less than the second preset threshold, controlling the unmanned vehicle to merge into the target lane at a slower speed at the second mergeable section; if the length of the second mergeable section is greater than or equal to the second preset threshold, controlling the unmanned vehicle to merge into the target lane at a normal speed at the second mergeable section.

[0007] According to one aspect of an embodiment of the present invention, a device for driving a vehicle is provided, the device comprising: a first judgment module, for judging whether the unmanned vehicle has a lane change demand according to a preset driving route of the unmanned vehicle; an acquisition module, for acquiring a target lane corresponding to the lane change demand if the unmanned vehicle has a lane change demand; a second judgment module, for determining, when the target lane has a first non-merging section, a first merging section, a second non-merging section, a second merging section, a third non-merging section and a third merging section in sequence from a triggering target of the lane change demand, the first non-merging section, the first merging section and the second merging section a first control module, configured to control the unmanned vehicle to merge into the target lane at the first mergable section if the length of the first mergable section is greater than or equal to the first preset threshold; a third judgment module, configured to control the unmanned vehicle to merge into the target lane at the first mergable section if the length of the first mergable section is greater than or equal to the first preset threshold; and a third judgment module, configured to control the unmanned vehicle to merge into the target lane at the first mergable section if the length of the first mergable section is less than the first preset threshold. , then determine whether the length of the second mergeable section is greater than or equal to a first preset threshold; a second control module is used to control the unmanned vehicle to merge into the target lane in the second mergeable section if the length of the second mergeable section is greater than or equal to the first preset threshold; a fourth determination module is used to determine whether the length of the third mergeable section is greater than or equal to the second preset threshold if the length of the second mergeable section is less than the first preset threshold; a third control module is used to control the unmanned vehicle to merge into the target lane in the third mergeable section if the length of the third mergeable section is greater than or equal to the first preset threshold. marked lane; the first control module includes: a first comparison unit, used to compare the length of the first mergeable section with a second preset threshold, wherein the second preset threshold is greater than the first preset threshold; a first control unit, used to control the unmanned vehicle to slow down and merge into the target lane at the first mergeable section if the length of the first mergeable section is less than the second preset threshold; a second control unit, used to control the unmanned vehicle to speed up and merge into the target lane at the first mergeable section if the length of the first mergeable section is greater than or equal to the second preset threshold.

[0008] In an optional manner, the second control module includes: a second comparison unit, used to compare the length of the second mergeable section with the second preset threshold; a third control unit, used to control the unmanned vehicle to slow down and merge into the target lane in the second mergeable section if the length of the second mergeable section is less than the second preset threshold; a fourth control unit, used to control the unmanned vehicle to run at a normal speed and merge into the target lane in the second mergeable section if the length of the second mergeable section is greater than or equal to the second preset threshold.

[0009] According to one aspect of an embodiment of the present invention, an unmanned vehicle is provided, which includes: at least one processor, and a memory, wherein the memory is communicatively connected to the at least one processor, the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method as described above.

[0010] The beneficial effect of the embodiment of the present invention is that, different from the existing method of driving a vehicle, the method of driving a vehicle in the embodiment of the present invention can enable the unmanned vehicle to merge into the target lane at the section of road that is closest to the trigger target of the lane change requirement and whose length is greater than the first preset threshold, thereby enabling the unmanned vehicle to successfully merge before the trigger target of the lane change requirement and ensuring the driving time of the unmanned vehicle. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.

[0012] Figure 1 is a flow chart of a method for driving a vehicle provided by an embodiment of the present invention;

[0013] Figure 2 It is a flowchart of an implementation method for determining whether an unmanned vehicle has a lane change requirement provided by an embodiment of the present invention;

[0014] Figure 3 is a flow chart of a method for controlling an unmanned vehicle to merge into a target lane on a first mergable road section provided by an embodiment of the present invention;

[0015] Figure 4 is a flow chart of another method for driving a vehicle provided by an embodiment of the present invention;

[0016] Figure 5is a flow chart of another method for driving a vehicle provided by an embodiment of the present invention;

[0017] Figure 6 is a flow chart of a method for controlling an unmanned vehicle to merge into a target lane on a second mergable road section provided by an embodiment of the present invention;

[0018] Figure 7 Schematic diagram of a flow chart of another method for driving a vehicle provided by an embodiment of the present invention

[0019] Figure 8 It is a flowchart of a method for controlling an unmanned vehicle to merge into a target lane on a third mergable road section provided by an embodiment of the present invention.

[0020] Fig. 9 is a schematic diagram of a device for driving a vehicle provided by an embodiment of the present invention;

[0021] Fig.10 It is a schematic diagram of the hardware structure of an unmanned vehicle provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0022] In order to make the purpose, technical scheme and advantages of the embodiments of the present invention clearer, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all the embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0023] It should be noted that when an element is described as being "fixed to" another element, it may be directly on the other element, or one or more elements may be located therebetween. When an element is described as being "connected to" another element, it may be directly connected to the other element, or one or more elements may be located therebetween. The terms "vertical", "horizontal", "left", "right" and similar expressions used in this specification are for illustrative purposes only.

[0024] In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0025] Embodiment 1

[0026] See also Figure 1 , Figure 1 1 is a flow chart of a method for driving a vehicle provided by an embodiment of the present invention, the method comprising the following steps:

[0027] Step S101, based on the preset driving route of the unmanned vehicle, determine whether the unmanned vehicle has a lane change requirement, and if so, execute step S102.

[0028] Among them, if the unmanned vehicle does not have the need to change lanes, it is only necessary to control the unmanned vehicle to travel in the current driving lane, and after a preset time, execute step S101, that is, after the preset time, continue to determine whether the unmanned vehicle has the need to change lanes.

[0029] When a user uses an unmanned vehicle, a preset driving route from the starting point to the destination will be generated. The preset driving route can be a driving route recommended by the unmanned vehicle based on the vehicle usage time, starting point, destination and the user's vehicle usage habits, or a driving route selected by the user based on the starting point and destination.

[0030] For example, the preset driving route includes going straight on Road A, going straight to the B turning intersection, then turning right to enter Road C, going straight, going straight to the D turning intersection, then turning left to enter Road E…

[0031] Generally, the driverless vehicle needs to change lanes at a traffic light or at a turning intersection.

[0032] For example, an unmanned vehicle is driving straight on the straight lane of Road A. When it needs to turn at the turning intersection B, it needs to merge into the turning lane, and there is a need to change lanes at this time.

[0033] In some embodiments, the step of determining whether the driverless vehicle has a lane change requirement can refer to Figure 2 , step S101 includes the following steps:

[0034] Step S1011, obtaining the lane in which the driverless vehicle is currently traveling.

[0035] The driving lane may be a straight lane, a turning lane for turning left, and a right-turn lane for turning right.

[0036] Step S1012, obtaining the nearest first turning intersection where a turn is required from the preset driving route of the unmanned vehicle.

[0037] In some embodiments, a traffic light is provided at the first turning intersection, and the traffic light is a traffic light that allows turning.

[0038] Step S1013: Acquire a first turning lane corresponding to the first turning intersection.

[0039] The first turning lane corresponding to the first turning intersection corresponds to the driving route of "turning". For a single row of turning lanes, for example, for a right turn, the turning lane is the lane farthest from the lane dividing line. For example, for a left turn, the turning lane is the lane closest to the lane dividing line.

[0040] It should be noted that, for double-row turning lanes or multiple-row turning lanes, all turning lanes need to be acquired.

[0041] Step S1014, determining whether the first turning lane is the same as the driving lane, if not, executing step S1015, otherwise executing step S1016.

[0042] For example, if the driving lane of the unmanned vehicle is a straight lane, and the first turning lane is different from the driving lane, step S1015 is executed to determine whether the unmanned vehicle has a lane change requirement.

[0043] For example, the driving lane of the unmanned vehicle is a turning lane for turning left, and the first turning lane is a turning lane for turning right, and the first turning lane is different from the driving lane, and step S1015 is executed to determine whether the unmanned vehicle has a lane change requirement.

[0044] For example, if the driving lane of the unmanned vehicle is a turning lane for turning right, and the first turning lane is a turning lane for turning right, then the first turning lane is the same as the driving lane, and step S1016 is executed.

[0045] Step S1015: determining that the unmanned vehicle has a lane change requirement, wherein the first turning lane is a target lane corresponding to the lane change requirement.

[0046] Step S1016, obtaining a second turning intersection that is closest to the first turning intersection and requires turning from the preset driving route of the unmanned vehicle.

[0047] Step S1017: Acquire a second turning lane corresponding to the second turning intersection.

[0048] Step S1018, determining whether the second turning lane is the same as the driving lane, if not, executing step S1019.

[0049] Step S1019: determining that the unmanned vehicle has a lane change requirement, wherein the second turning lane is a target lane corresponding to the lane change requirement.

[0050] If the second turning lane is the same as the driving lane, it is determined that the unmanned vehicle has no lane change requirement.

[0051] Step S102: obtaining a target lane corresponding to the lane change requirement.

[0052] According to the above steps S1011 to S1019, when the first turning lane is different from the driving lane, the target lane is the first turning lane, and the triggering target of the lane change requirement is the first turning lane; when the first turning lane is the same as the driving lane and the second turning lane is different from the driving lane, the target lane is the second turning lane, and the triggering target of the lane change requirement is the second turning lane.

[0053] Step S103: when the target lane has a first non-merge section, a first mergeable section, a second non-merge section, a second mergeable section, a third non-merge section and a third mergeable section in sequence from the triggering target of the lane change demand, the first non-merge section, the first mergeable section, the second non-merge section, the second mergeable section, the third non-merge section and the third mergeable section are all located in front of the unmanned vehicle, and at least one of the first mergeable section, the second mergeable section and the third mergeable section has a length greater than a first preset threshold, then determine whether the length of the first mergeable section is greater than or equal to the first preset threshold, if the length of the first mergeable section is greater than or equal to the first preset threshold, execute step S104, otherwise execute step S105.

[0054] The first non-merging road section, the second non-merging road section and the third non-merging road section include a congested road section and a solid road section respectively.

[0055] The first mergeable road section, the second mergeable road section and the third mergeable road section are not congested road sections and are not solid line sections.

[0056] Among them, a feasible measurement method for the length of the first mergeable road section is: the unmanned vehicle is equipped with a vehicle-mounted radar, the vehicle-mounted radar continuously transmits signals and receives echo signals of objects, and the distance between the object and the vehicle-mounted radar can be measured according to the transmitted signals and the echo signals of the object. The vehicle-mounted radar measures a first distance between the unmanned vehicle and the first non-mergeable road section, and measures a second distance between the unmanned vehicle and the second non-mergeable road section. The length of the first mergeable road section is obtained by subtracting the second distance from the first distance.

[0057] The first preset threshold is the safe distance for merging lanes. For a normally traveling vehicle, the safe distance for merging lanes can generally be set to 50 meters.

[0058] The driving safety of the unmanned vehicle can be guaranteed by merging the unmanned vehicle into the first non-merging section only when the length of the first non-merging section is greater than or equal to the merging safety distance.

[0059] Step S104, controlling the unmanned vehicle to merge into the target lane on the first mergeable road section.

[0060] In some embodiments, see Figure 3 , step S104 includes the following steps:

[0061] Step S1041, compare the length of the first mergeable road section with a second preset threshold, wherein the second preset threshold is greater than the first preset threshold. If the length of the first mergeable road section is less than the second preset threshold, execute step S1042, otherwise execute step S1043.

[0062] In some embodiments, the second preset threshold is the merging safety distance plus the braking distance. Generally, the merging safety distance can be set to 50 meters, and the braking distance can be set to 35 meters, and the second preset threshold can be set to 85 meters.

[0063] Of course, the merging safety distance or braking distance may also be set to other values.

[0064] Step S1042, controlling the unmanned vehicle to slow down and merge into the target lane on the first mergeable road section.

[0065] It should be noted that when the length of the first mergeable road section is less than the second preset threshold, the unmanned vehicle is controlled to slow down and merge into the target lane on the first mergeable road section. This can further ensure the driving safety of the unmanned vehicle when the unmanned vehicle merges.

[0066] Step S1043, controlling the unmanned vehicle to merge into the target lane at the first mergeable road section at a normal speed.

[0067] It should be noted that when the length of the first mergeable road section is greater than or equal to a second preset threshold, the unmanned vehicle is controlled to travel at a normal speed and merge into the target lane on the first mergeable road section. When the unmanned vehicle merges, it does not affect the driving speed of the unmanned vehicle and does not affect the time it takes for the unmanned vehicle to reach the destination.

[0068] Step S105, determining whether the length of the second mergeable road section is greater than or equal to a first preset threshold value, if the length of the second mergeable road section is greater than or equal to the first preset threshold value, executing step S106, otherwise executing step S107.

[0069] When the length of the first mergeable road section is less than the first preset threshold, in order to ensure the safety of the unmanned vehicle merging into the lane and the driving safety of the unmanned vehicle, it is possible to detect whether the second mergeable road section is suitable for merging into the lane. Specifically, it is possible to determine whether the length of the second mergeable road section is greater than or equal to the first preset threshold. If the length of the second mergeable road section is greater than or equal to the first preset threshold, step S106 can be executed to control the unmanned vehicle to merge into the target lane at the second mergeable road section. If the length of the second mergeable road section is less than the first preset threshold, it is possible to detect whether the third mergeable road section is suitable for merging into the lane. Specifically, step S107 can be executed.

[0070] In some embodiments, when the target lane has a first non-merge section, a first merging section, a second non-merge section, a second merging section, a third non-merge section and a third merging section in sequence from the triggering target of the lane change requirement, and the first non-merge section, the first merging section, the second non-merge section, the second merging section, the third non-merge section and the third merging section are all located in front of the unmanned vehicle, then there may be a traffic light that does not allow turning in front of the second non-merge section, or there may be a traffic accident in front of the second non-merge section, or the second non-merge section is a solid line section.

[0071] When there is a traffic accident in front of the second non-mergeable section, it is necessary to avoid merging into the target lane in the second mergeable section to avoid delaying driving. Before step S105, it can be determined whether there is a traffic accident in front of the second non-mergeable section. If so, it is not possible to merge into the target lane in the second mergeable section, nor is it possible to merge into the target lane in the third mergeable section.

[0072] When the second non-merge section is a solid line section, the target lane can be merged into the second mergeable section. Before step S105, it can be determined whether the second non-merge section is a solid line section. If so, step S105 is executed.

[0073] If there is a traffic light that does not allow turning ahead of the second non-mergeable road section, you can merge into the target lane on the second mergeable road section. Figure 4 Before step S105, the method may further include the following steps:

[0074] Step S201, detecting whether there is a first traffic light between the first mergeable road section and the second non-mergeable road section. If there is a first traffic light between the first mergeable road section and the second non-mergeable road section, executing step S202.

[0075] In some embodiments, if there is no first traffic light between the first mergeable road section and the second non-mergeable road section, it is determined whether the second non-mergeable road section is a solid road section, whether there is a traffic accident in front of the second non-mergeable road section, etc.

[0076] Step S202, determining whether the first mergeable road section is located in a turning lane, if the first mergeable road section is located in a turning lane, executing step S203.

[0077] Step S203, determining whether the first traffic light allows vehicles to turn; if the first traffic light does not allow vehicles to turn, executing step S105.

[0078] When there is a first traffic light between the first mergeable section and the second non-mergeable section, the first mergeable section is located in a turning lane, and the first traffic light does not allow vehicles to turn, then the unmanned vehicle's movement complies with traffic regulations if it merges into the target lane through the second mergeable section and the unmanned vehicle passes through the second non-mergeable section, the first mergeable section and the first non-merge section in sequence, and turns at the trigger target.

[0079] In some embodiments, when the target lane has a first non-merge section, a first mergeable section, a second non-merge section, a second mergeable section, a third non-merge section and a third mergeable section in sequence from the triggering target of the lane change requirement, and the first non-merge section, the first mergeable section, the second non-merge section, the second mergeable section, the third non-merge section and the third mergeable section are all located in front of the unmanned vehicle, and when the length of the first mergeable section is less than a first preset threshold, it can be detected whether the second mergeable section is suitable for merging, that is, step S105 is executed, or, refer to Figure 5 , before executing step S105, perform the following steps:

[0080] Step S301, detect whether the unmanned vehicle has an optional route from the target point. If the unmanned vehicle does not have an optional route from the target point, execute step S105; if the unmanned vehicle has an optional route from the target point, execute step S302.

[0081] For example, the preset driving route is to go straight on road b at turning intersection a, and go straight to the target point turning intersection c after triggering the target turn. The optional route can be to go straight on road d at turning intersection a, and go straight to the target point turning intersection c after passing turning intersection e.

[0082] The target point is a certain position point in front of the trigger target. For example, the target point may be a turning intersection in front of the trigger target where a turn is required.

[0083] When the third non-merging road section is the road section starting from the unmanned vehicle, and the target point is a turning intersection in front of the triggering target where a turn is required, then obviously, there is no optional route, and only step S105 can be executed at this time.

[0084] When there is a turning intersection between the third non-merging road section and the unmanned vehicle and there is no lane change requirement between the unmanned vehicle and the turning intersection, the unmanned vehicle has an optional route to the target point, and step S302 is executed at this time.

[0085] Step S302, predicting a first driving time for the unmanned vehicle to reach the target point via the preset driving route, and predicting a second driving time for the unmanned vehicle to reach the target point via the optional route.

[0086] The first driving time and the second driving time may refer to historical data of the vehicle at the current moment.

[0087] Step S303, determining whether the first driving time is less than or equal to the second driving time; if the first driving time is less than or equal to the second driving time, executing step S105.

[0088] When the first driving time is less than or equal to the second driving time, that is, the time taken by the unmanned vehicle to reach the target point via the preset driving route is less than or equal to the time taken by the unmanned vehicle to reach the target point via the optional route, the preset driving route is still chosen.

[0089] When the first driving time is greater than the second driving time, an optional route may be chosen to ensure the driving time of the driverless vehicle.

[0090] Step S106, controlling the unmanned vehicle to merge into the target lane on the second mergeable road section.

[0091] When the length of the first mergeable road segment is less than the first preset threshold and the length of the second mergeable road segment is greater than or equal to the first preset threshold, step S106 is executed. Figure 6 , step S106 includes the following steps:

[0092] Step S1061: compare the length of the second mergeable road segment with the second preset threshold.

[0093] Step S1062: If the length of the second mergeable road section is less than the second preset threshold, the unmanned vehicle is controlled to slow down and merge into the target lane on the second mergeable road section.

[0094] Step S1063: If the length of the second mergeable road section is greater than or equal to the second preset threshold, the unmanned vehicle is controlled to merge into the target lane at a normal speed on the second mergeable road section.

[0095] The implementation process and beneficial effects of steps S1061 to S1063 may refer to steps S1041 to S1043, and will not be repeated here.

[0096] Step S107, determining whether the length of the third mergeable road section is greater than or equal to a second preset threshold; if the length of the third mergeable road section is greater than or equal to the first preset threshold, executing step S108.

[0097] When the length of the first mergeable road section is less than the first preset threshold and the length of the second mergeable road section is less than the first preset threshold, it is detected whether the third mergeable road section is suitable for the unmanned vehicle to merge into the target lane, that is, step S107 is executed.

[0098] In some embodiments, when the target lane has a first non-merge section, a first merging section, a second non-merge section, a second merging section, a third non-merge section and a third merging section in sequence from the triggering target of the lane change requirement, and the first non-merge section, the first merging section, the second non-merge section, the second merging section, the third non-merge section and the third merging section are all located in front of the unmanned vehicle, there may be a traffic light that does not allow turning in front of the third non-merge section, or there may be a traffic accident in front of the third non-merge section, or the third non-merge section is a solid line section.

[0099] When there is a traffic accident ahead of the third non-mergeable section, it is necessary to avoid merging into the target lane on the third mergeable section to avoid delaying driving. Before step S105, it can be determined whether there is a traffic accident ahead of the third non-mergeable section. If so, it is impossible to merge into the target lane on the third mergeable section.

[0100] When the third non-merge section is a solid line section, the target lane can be merged into the third mergeable section. Before step S107, it can be determined whether the third non-merge section is a solid line section. If so, step S107 is executed.

[0101] When there is a traffic light that does not allow turning ahead of the third non-mergeable road section, you can merge into the target lane on the third mergeable road section. Please refer to Figure 7 Before step S107, the method may further include the following steps:

[0102] Step S401, detecting whether there is a second traffic light between the second mergeable road section and the third non-mergeable road section, if there is a second traffic light between the second mergeable road section and the third non-mergeable road section, executing step S402.

[0103] In some embodiments, if there is no second traffic light between the second mergeable road section and the third non-mergeable road section, it is determined whether the third non-mergeable road section is a solid line section, whether there is a traffic accident in front of the third non-mergeable road section, etc.

[0104] Step S402, determining whether the second traffic light allows vehicles to turn; if the second traffic light does not allow vehicles to turn, executing step S107.

[0105] When there is a second traffic light between the second mergeable section and the third non-mergeable section, and the second traffic light does not allow vehicles to turn, the unmanned vehicle's movement complies with traffic regulations if the unmanned vehicle merges into the target lane through the third mergeable section and passes through the third mergeable section, the third non-mergeable section, the second mergeable section, the second non-mergeable section, the first mergeable section and the first non-mergeable section in sequence, and turns at the trigger target.

[0106] Step S108, controlling the unmanned vehicle to merge into the target lane at the third mergeable road section.

[0107] When the length of the first mergeable road section is less than the first preset threshold, the length of the second mergeable road section is less than the first preset threshold, and the length of the third mergeable road section is greater than or equal to the first preset threshold, the unmanned vehicle can be controlled to merge into the target lane at the third mergeable road section, that is, step S108 is executed to ensure the driving safety of the unmanned vehicle. In some embodiments, refer to Figure 8 , step S108 includes the following steps:

[0108] Step S1081, comparing the length of the third mergeable road segment with the second preset threshold.

[0109] Step S1082: If the length of the third mergeable road section is less than the second preset threshold, the unmanned vehicle is controlled to slow down and merge into the target lane on the third mergeable road section.

[0110] Step S1083: If the length of the third mergeable road section is greater than or equal to the second preset threshold, the unmanned vehicle is controlled to merge into the target lane at a normal speed on the third mergeable road section.

[0111] The implementation process and beneficial effects of steps S1081 to S1083 can be referred to steps S1041 to S1043, and will not be repeated here.

[0112] It should be noted that no matter which section of the first mergeable section, the second mergeable section and the third mergeable section the unmanned vehicle merges into the target lane at, the driving safety of the unmanned vehicle can be fully guaranteed by comparing its length with the second preset threshold and further controlling the speed of the unmanned vehicle.

[0113] In an embodiment of the present invention, it is determined whether the unmanned vehicle has a lane change demand based on a preset driving route of the unmanned vehicle; if so, a target lane corresponding to the lane change demand is obtained; when the target lane has a first non-merging section, a first merging section, a second non-merging section, a second merging section, a third non-merging section and a third merging section in sequence from the triggering target of the lane change demand, the first non-merging section, the first merging section, the second non-merging section, the second merging section, the third non-merging section and the third merging section are all located in front of the unmanned vehicle, and at least one of the first merging section, the second merging section and the third merging section has a length greater than a first preset threshold, it is determined whether the length of the first merging section is greater than or equal to the first preset threshold; if the length of the first merging section is greater than or equal to the first preset threshold, the unmanned vehicle is controlled to enter the lane at the The first mergeable section merges into the target lane; if the length of the first mergeable section is less than the first preset threshold, it is determined whether the length of the second mergeable section is greater than or equal to the first preset threshold; if the length of the second mergeable section is greater than or equal to the first preset threshold, the unmanned vehicle is controlled to merge into the target lane at the second mergeable section; if the length of the second mergeable section is less than the first preset threshold, it is determined whether the length of the third mergeable section is greater than or equal to the second preset threshold; if the length of the third mergeable section is greater than or equal to the first preset threshold, the unmanned vehicle is controlled to merge into the target lane at the third mergeable section, so that the unmanned vehicle can merge into the target lane at the section closest to the trigger target of the lane change requirement and with a length greater than the first preset threshold, thereby achieving the unmanned vehicle's successful lane merging before the trigger target of the lane change requirement and ensuring the driving time of the unmanned vehicle.

[0114] Embodiment 2

[0115] See also Fig. 9 , Fig. 9 It is a schematic diagram of a device for driving a vehicle provided in an embodiment of the present invention. The device 400 includes: a first judgment module 401, an acquisition module 402, a second judgment module 403, a first control module 404, a third judgment module 405, a second control module 406, a fourth judgment module 407 and a third control module 408. Among them, the first judgment module 401 is used to judge whether the unmanned vehicle has a lane change demand according to the preset driving route of the unmanned vehicle; the acquisition module 402 is used to obtain the target lane corresponding to the lane change demand if the unmanned vehicle has a lane change demand; the second judgment module 403 is used to judge whether the length of the first merging section is greater than or equal to the first preset threshold when the target lane has a first non-merging section, a first merging section, a second non-merging section, a second merging section, a third non-merging section and a third merging section in sequence from the triggering target of the lane change demand, and the first non-merging section, the first merging section, the second non-merging section, the second merging section, the third non-merging section and the third merging section are all located in front of the unmanned vehicle, and the length of at least one of the first merging section, the second merging section and the third merging section is greater than a first preset threshold; the first control module 404, used to control the unmanned vehicle to merge into the target lane at the first mergeable section if the length of the first mergeable section is greater than or equal to the first preset threshold; a third judgment module 405, used to determine whether the length of the second mergeable section is greater than or equal to the first preset threshold if the length of the first mergeable section is less than the first preset threshold; a second control module 406, used to control the unmanned vehicle to merge into the target lane at the second mergeable section if the length of the second mergeable section is greater than or equal to the first preset threshold; a fourth judgment module 407, used to determine whether the length of the third mergeable section is greater than or equal to the second preset threshold if the length of the second mergeable section is less than the first preset threshold; a third control module 408, used to control the unmanned vehicle to merge into the target lane at the third mergeable section if the length of the third mergeable section is greater than or equal to the first preset threshold.

[0116] In some embodiments, the first control module 404 includes: a first comparison unit 4041, a first control unit 4042, and a second control unit 4043. The first comparison unit 4041 is used to compare the length of the first mergeable section with a second preset threshold, wherein the second preset threshold is greater than the first preset threshold; the first control unit 4042 is used to control the unmanned vehicle to slow down and merge into the target lane at the first mergeable section if the length of the first mergeable section is less than the second preset threshold; the second control unit 4043 is used to control the unmanned vehicle to merge into the target lane at a normal speed at the first mergeable section if the length of the first mergeable section is greater than or equal to the second preset threshold.

[0117] In some embodiments, the second control module 406 includes: a second comparison unit 4061, a third control unit 4062, and a fourth control unit 4063. The second comparison unit 4061 is used to compare the length of the second mergeable section with the second preset threshold; the third control unit 4062 is used to control the unmanned vehicle to slow down and merge into the target lane on the second mergeable section if the length of the second mergeable section is less than the second preset threshold; the fourth control unit 4063 is used to control the unmanned vehicle to merge into the target lane on the second mergeable section at a normal speed if the length of the second mergeable section is greater than or equal to the second preset threshold.

[0118] In some embodiments, the third control module 408 includes: a third comparison unit 4081, a fifth control unit 4082, and a sixth control unit 4083. The third comparison unit 4081 is used to compare the length of the third mergeable road section with the second preset threshold; the fifth control unit 4082 is used to control the unmanned vehicle to slow down and merge into the target lane on the third mergeable road section if the length of the third mergeable road section is less than the second preset threshold; the sixth control unit 4083 is used to control the unmanned vehicle to merge into the target lane on the third mergeable road section at a normal speed if the length of the third mergeable road section is greater than or equal to the second preset threshold.

[0119] In some embodiments, before entering the third judgment module 405, the device further includes: a first detection module 409, a fifth judgment module 410 and a sixth judgment module 411. The first detection module 409 is used to detect whether there is a first traffic light between the first mergeable road section and the second non-mergeable road section; the fifth judgment module 410 is used to determine whether the first mergeable road section is located in a turning lane if there is a first traffic light between the first mergeable road section and the second non-mergeable road section; the sixth judgment module 411 is used to determine whether the first traffic light allows vehicles to turn if the first mergeable road section is located in a turning lane, and if the first traffic light does not allow vehicles to turn, enter the third judgment module 405.

[0120] In some embodiments, before entering the fourth judgment module 407, the device further includes: a second detection module 412 and a seventh judgment module 413. The second detection module 412 is used to detect whether there is a second traffic light between the second mergeable road section and the third non-mergeable road section; the seventh judgment module 413 is used to determine whether the vehicle is allowed to turn at the second traffic light if there is a second traffic light between the second mergeable road section and the third non-mergeable road section, and enter the fourth judgment module 407 if the vehicle is not allowed to turn at the second traffic light.

[0121] In some embodiments, there is a target point in front of the trigger target, and before entering the third judgment module 405, the device further includes: a second detection module 414, a prediction module 415 and an eighth judgment module 416. Among them, the second detection module 414 is used to detect whether the unmanned vehicle has an optional route from the target point, and if the unmanned vehicle does not have an optional route from the target point, then enter the third judgment module; the prediction module 415 is used to predict the first driving time for the unmanned vehicle to reach the target point through the preset driving route if the unmanned vehicle has an optional route from the target point, and predict the second driving time for the unmanned vehicle to reach the target point through the optional route; the eighth judgment module 416 is used to determine whether the first driving time is less than or equal to the second driving time, and if the first driving time is less than or equal to the second driving time, then enter the third judgment module 405.

[0122] In the embodiment of the present invention, the first judging module 401 judges whether the unmanned vehicle has a lane change demand according to the preset driving route of the unmanned vehicle; if the unmanned vehicle has a lane change demand, the acquisition module 402 acquires the target lane corresponding to the lane change demand; when the target lane has a first non-merging section, a first merging section, a second non-merging section, a second merging section, a third non-merging section and a third merging section in sequence from the triggering target of the lane change demand, the first non-merging section, the first merging section and the second merging section are A first mergable road section, a second non-mergable road section, a second mergable road section, a third non-mergable road section and a third mergable road section are all located in front of the unmanned vehicle, and at least one of the first mergable road section, the second mergable road section and the third mergable road section has a length greater than a first preset threshold, then the second judging module 403 judges whether the length of the first mergable road section is greater than or equal to the first preset threshold; if the length of the first mergable road section is greater than or equal to the first preset threshold, then the first controlling module 404 controls the unmanned vehicle to the unmanned vehicle merges into the target lane at the first mergeable section; if the length of the first mergeable section is less than the first preset threshold, the third judgment module 405 is used to judge whether the length of the second mergeable section is greater than or equal to the first preset threshold; if the length of the second mergeable section is greater than or equal to the first preset threshold, the second control module 406 is used to control the unmanned vehicle to merge into the target lane at the second mergeable section; if the length of the second mergeable section is less than the first preset threshold, the fourth judgment module 407 is used to judge whether the length of the third mergeable section is greater than or equal to the second preset threshold; if the length of the third mergeable section is greater than or equal to the first preset threshold, the third control module 408 is used to control the unmanned vehicle to merge into the target lane at the third mergeable section, so that the unmanned vehicle can merge into the target lane at the section closest to the triggering target of the lane change demand and whose length is greater than the first preset threshold, thereby achieving both the successful merging of the unmanned vehicle before the triggering target of the lane change demand and ensuring the driving time of the unmanned vehicle.

[0123] Embodiment 3

[0124] See also Fig.10 , Fig.10 Schematic diagram of the hardware structure of the unmanned vehicle provided by the embodiment of the present invention. The unmanned vehicle 500 includes: one or more processors 501 and a memory 502, Fig.10 A memory is taken as an example.

[0125] The processor 501 and the memory 502 may be connected via a bus or other means. In the embodiment of the present invention, connection via a bus is taken as an example.

[0126] The memory 502 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs and modules, such as program instructions / modules corresponding to the method for driving a vehicle in an embodiment of the present invention (for example, the attached Fig. 9 The processor 501 executes various functional applications and data processing of the device for driving the vehicle by running the non-volatile software programs, instructions and modules stored in the memory 502, that is, the method for driving the vehicle of the above method embodiment is realized.

[0127] The memory 502 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and applications required for at least one function; the data storage area may store data created according to the use of the device for driving the vehicle, etc. In addition, the memory 502 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 502 may optionally include a memory remotely arranged relative to the processor 501, and these remote memories may be connected to the device for controlling the unmanned vehicle via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0128] The one or more modules are stored in the memory 502, and when executed by the one or more processors 501, the method of driving a vehicle in any of the above method embodiments is executed.

[0129] The above product can execute the method provided by the embodiment of the present invention, and has the functional modules and beneficial effects corresponding to the execution method. For technical details not described in detail in this embodiment, please refer to the method provided by the embodiment of the present invention.

[0130] An embodiment of the present invention provides a non-volatile computer-readable storage medium, which stores computer-executable instructions. The computer-executable instructions are executed by an unmanned vehicle to perform the method of driving the vehicle in any of the above method embodiments.

[0131] An embodiment of the present invention provides a computer program product, including a computer program stored on a non-volatile computer-readable storage medium, wherein the computer program includes program instructions, and when the program instructions are executed by a computer, the computer executes the method of driving a vehicle in any of the above-mentioned method embodiments.

[0132] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0133] Through the description of the above implementation methods, ordinary technicians in this field can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course can also be implemented by hardware. Ordinary technicians in this field can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing related hardware through a computer program, and the program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0134] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them. Under the concept of the present invention, the technical features in the above embodiments or different embodiments may also be combined, the steps may be implemented in any order, and there are many other changes in different aspects of the present invention as described above, which are not provided in detail for the sake of simplicity. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they may still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for driving a vehicle, applied to an unmanned vehicle, characterized in that: The method comprises: According to a preset driving route of the unmanned vehicle, determining whether the unmanned vehicle has a lane change requirement; If so, obtaining the target lane corresponding to the lane change requirement; When the target lane has, in order from the triggering target of the lane change demand, a first non-merge section, a first mergeable section, a second non-merge section, a second mergeable section, a third non-merge section and a third mergeable section, the first non-merge section, the first mergeable section, the second non-merge section, the second mergeable section, the third non-merge section and the third mergeable section, all of which are located in front of the unmanned vehicle, and a length of at least one of the first mergeable section, the second mergeable section and the third mergeable section is greater than a first preset threshold, then determining whether the length of the first mergeable section is greater than or equal to the first preset threshold; Wherein, the first non-merging road section includes a congested road section and a solid road section; Among the first mergeable road section, the second mergeable road section and the third mergeable road section, the third mergeable road section is closest to the driverless vehicle, and the first mergeable road section is farthest from the driverless vehicle; If the length of the first mergable road section is greater than or equal to a first preset threshold, controlling the unmanned vehicle to merge into the target lane on the first mergable road section; If the length of the first mergeable road section is less than a first preset threshold, determining whether the length of the second mergeable road section is greater than or equal to the first preset threshold; If the length of the second mergable road section is greater than or equal to a first preset threshold, controlling the unmanned vehicle to merge into the target lane on the second mergable road section; If the length of the second mergeable road section is less than the first preset threshold, determining whether the length of the third mergeable road section is greater than or equal to the first preset threshold; If the length of the third mergable road section is greater than or equal to a first preset threshold, controlling the unmanned vehicle to merge into the target lane at the third mergable road section; If there is a turning intersection between the unmanned vehicle and the third non-merging road section and there is no lane change requirement between the unmanned vehicle and the turning intersection, then the unmanned vehicle has an optional route to the target point, predicting a first driving time for the unmanned vehicle to reach the target point via the preset driving route, and predicting a second driving time for the unmanned vehicle to reach the target point via the optional route, the method further includes: Comparing the first driving time and the second driving time, wherein the first driving time and the second driving time may refer to historical data of the vehicle at the current moment; When the first driving time is less than or equal to the second driving time, the vehicle still chooses to drive along the preset driving route; When the first driving time is greater than the second driving time, an optional route may be selected for driving.

2. The method according to claim 1, characterized in that The step of controlling the unmanned vehicle to merge into the target lane on the second mergeable road section further comprises: comparing the length of the second mergeable road section with a second preset threshold; If the length of the second mergeable road section is less than the second preset threshold, controlling the unmanned vehicle to slow down and merge into the target lane on the second mergeable road section; If the length of the second mergeable road section is greater than or equal to the second preset threshold, the unmanned vehicle is controlled to merge into the target lane at a normal speed on the second mergeable road section.

3. The method according to claim 1, characterized in that The step of controlling the unmanned vehicle to merge into the target lane on the first mergeable road section further comprises: comparing the length of the first mergeable road segment with a second preset threshold, wherein the second preset threshold is greater than the first preset threshold; If the length of the first mergeable road section is less than the second preset threshold, controlling the unmanned vehicle to slow down and merge into the target lane on the first mergeable road section; If the length of the first mergeable road section is greater than or equal to the second preset threshold, the unmanned vehicle is controlled to merge into the target lane at a normal speed on the first mergeable road section.

4. An unmanned vehicle, characterized in that: include: at least one processor; as well as A memory, wherein the memory is communicatively connected to the at least one processor, the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method according to any one of claims 1 to 3.