CN115303275A - A vehicle lane change planning method, device, computer equipment and storage medium - Google Patents
A vehicle lane change planning method, device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN115303275A CN115303275A CN202211042593.9A CN202211042593A CN115303275A CN 115303275 A CN115303275 A CN 115303275A CN 202211042593 A CN202211042593 A CN 202211042593A CN 115303275 A CN115303275 A CN 115303275A
- Authority
- CN
- China
- Prior art keywords
- vehicle
- lane
- speed
- steady
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
- B60W30/00—Purposes of road vehicle drive control systems not related to the control of a particular sub-unit, e.g. of systems using conjoint control of vehicle sub-units
- B60W30/18—Propelling the vehicle
- B60W30/18009—Propelling the vehicle related to particular drive situations
- B60W30/18163—Lane change; Overtaking manoeuvres
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
- B60W40/00—Estimation or calculation of non-directly measurable driving parameters for road vehicle drive control systems not related to the control of a particular sub unit, e.g. by using mathematical models
- B60W40/02—Estimation or calculation of non-directly measurable driving parameters for road vehicle drive control systems not related to the control of a particular sub unit, e.g. by using mathematical models related to ambient conditions
- B60W40/06—Road conditions
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
- B60W40/00—Estimation or calculation of non-directly measurable driving parameters for road vehicle drive control systems not related to the control of a particular sub unit, e.g. by using mathematical models
- B60W40/10—Estimation or calculation of non-directly measurable driving parameters for road vehicle drive control systems not related to the control of a particular sub unit, e.g. by using mathematical models related to vehicle motion
- B60W40/105—Speed
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
- B60W2520/00—Input parameters relating to overall vehicle dynamics
- B60W2520/10—Longitudinal speed
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
- B60W2552/00—Input parameters relating to infrastructure
- B60W2552/05—Type of road, e.g. motorways, local streets, paved or unpaved roads
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
- B60W2552/00—Input parameters relating to infrastructure
- B60W2552/50—Barriers
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
- B60W2554/00—Input parameters relating to objects
- B60W2554/40—Dynamic objects, e.g. animals, windblown objects
- B60W2554/404—Characteristics
- B60W2554/4042—Longitudinal speed
Landscapes
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Transportation (AREA)
- Mechanical Engineering (AREA)
- Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Traffic Control Systems (AREA)
Abstract
本申请涉及一种车辆变道规划方法、装置、计算机设备和存储介质。方法包括:获取车辆的环境图像信息,根据环境图像信息获得车辆的附近车道信息;根据附近车道信息获得车辆的正前方车辆的第一行驶速度与车辆的斜前方车辆的第二行驶速度,根据第一行驶速度与第二行驶速度获得第一稳态速度与第二稳态速度,其中,第一稳态速度为车辆在当前车道的预测行驶速度,第二稳态速度为车辆在附近车道的预测行驶速度;判断第二稳态速度是否大于第一稳态速度,若是,则对车辆进行变道处理,可解决车辆变道时机不合理、时间成本较高等问题。
The present application relates to a vehicle lane change planning method, device, computer equipment and storage medium. The method includes: acquiring the environmental image information of the vehicle, and obtaining the nearby lane information of the vehicle according to the environmental image information; The first steady-state speed and the second steady-state speed are obtained by a driving speed and a second driving speed, wherein the first steady-state speed is the predicted driving speed of the vehicle in the current lane, and the second steady-state speed is the prediction of the vehicle in the nearby lane Driving speed; determine whether the second steady state speed is greater than the first steady state speed;
Description
技术领域technical field
本发明涉及自动驾驶汽车技术领域,特别是涉及一种车辆变道规划方法、装置、计算机设备和存储介质。The present invention relates to the technical field of automatic driving vehicles, in particular to a vehicle lane change planning method, device, computer equipment and storage medium.
背景技术Background technique
在车辆行驶过程中,驾驶员通常会因为前方道路堵塞或者自身目的地改变而进行变道。而随着智能驾驶技术的发展,越来越多的车辆搭载了智能驾驶辅助系统,提供车辆周围的环境信息,以此辅助驾驶员进行变道。然而,现有的智能驾驶辅助系统/方法只能在驾驶员实际进行变道的时候才发挥作用,无法提前告知驾驶员何时应进行变道,以及评估本次变道的时间成本。特别地,对于自动驾驶车辆,还会导致车辆的变道时机不合理、时间成本较高等问题。During the driving process of the vehicle, the driver usually changes lanes because the road ahead is blocked or his destination changes. With the development of intelligent driving technology, more and more vehicles are equipped with intelligent driving assistance systems, which provide environmental information around the vehicle to assist the driver in changing lanes. However, the existing intelligent driving assistance systems/methods can only function when the driver actually changes lanes, and cannot inform the driver in advance when the lane change should be performed and evaluate the time cost of the lane change. Especially for self-driving vehicles, it will also lead to problems such as unreasonable timing of vehicle lane changes and high time costs.
发明内容Contents of the invention
基于此,有必要针对上述技术问题,提供一种车辆变道规划方法、装置、计算机设备和存储介质,改善车辆行驶过程中变道时机选择不佳的问题。Based on this, it is necessary to address the above technical problems and provide a vehicle lane change planning method, device, computer equipment and storage medium to improve the problem of poor timing of lane change during vehicle driving.
一方面,提供一种车辆变道规划方法,所述车辆变道规划方法包括:In one aspect, a vehicle lane change planning method is provided, the vehicle lane change planning method comprising:
获取车辆的环境图像信息,根据所述环境图像信息获得所述车辆的附近车道信息;Obtaining the environmental image information of the vehicle, and obtaining the nearby lane information of the vehicle according to the environmental image information;
根据所述附近车道信息获得所述车辆的正前方车辆的第一行驶速度与所述车辆的斜前方车辆的第二行驶速度,根据所述第一行驶速度与所述第二行驶速度,获得第一稳态速度与第二稳态速度,其中,所述第一稳态速度为所述车辆在当前车道的预测行驶速度,所述第二稳态速度为所述车辆在附近车道的预测行驶速度;Obtaining a first traveling speed of a vehicle directly in front of the vehicle and a second traveling speed of a vehicle diagonally ahead of the vehicle according to the nearby lane information, and obtaining a second traveling speed according to the first traveling speed and the second traveling speed A steady-state speed and a second steady-state speed, wherein the first steady-state speed is the predicted speed of the vehicle in the current lane, and the second steady-state speed is the predicted speed of the vehicle in a nearby lane ;
判断所述第二稳态速度是否大于所述第一稳态速度,若是,则对所述车辆进行变道处理。Judging whether the second steady-state speed is greater than the first steady-state speed, and if so, performing lane-changing processing on the vehicle.
在其中一个实施例中,获取车辆的环境图像信息,根据所述环境图像信息获得所述车辆的附近车道信息的步骤包括:In one of the embodiments, the environment image information of the vehicle is obtained, and the step of obtaining the nearby lane information of the vehicle according to the environment image information includes:
获取第一时刻对应的第一环境图像,根据所述第一环境图像,获得所述附近车辆的第一位置信息与所述附近车道的第一车道类型信息;Acquiring a first environmental image corresponding to the first moment, and obtaining first position information of the nearby vehicle and first lane type information of the nearby lane according to the first environmental image;
获取第二时刻对应的第二环境图像,根据所述第二环境图像,获得所述附近车辆的第二位置信息与所述附近车道的第二车道类型信息;Obtain a second environment image corresponding to the second moment, and obtain second position information of the nearby vehicle and second lane type information of the nearby lane according to the second environment image;
所述附近车道信息包括:所述第一位置信息、所述第一车道类型信息、所述第二位置信息、所述第二车道类型信息。The nearby lane information includes: the first location information, the first lane type information, the second location information, and the second lane type information.
在其中一个实施例中,根据所述附近车道信息获得所述车辆的正前方车辆的第一行驶速度与所述车辆的斜前方车辆的第二行驶速度的步骤包括:In one of the embodiments, the step of obtaining the first driving speed of the vehicle directly in front of the vehicle and the second driving speed of the vehicle diagonally ahead of the vehicle according to the information of the nearby lanes includes:
根据所述第一位置信息、所述第二位置信息获得多个所述正前方车辆的正向行驶速度,根据多个所述正向行驶速度获得所述第一行驶速度,其中,所述正前方车辆与所述车辆属于相同车道并且处于所述车辆的行驶方向的前方;According to the first position information and the second position information, the forward traveling speeds of a plurality of the vehicles directly ahead are obtained, and the first traveling speed is obtained according to the plurality of forward traveling speeds, wherein the forward traveling speeds The vehicle in front belongs to the same lane as the vehicle and is in front of the driving direction of the vehicle;
根据所述第一位置信息、所述第二位置信息、所述第一车道类型信息、所述第二车道信息获得多个所述斜前方车辆的斜向行驶速度,根据多个所述斜向行驶速度获得所述第二行驶速度,其中,所述斜前方车辆与所述车辆属于不同车道并且处于所述车辆的行驶方向的前方。According to the first position information, the second position information, the first lane type information, and the second lane information, the oblique traveling speeds of a plurality of vehicles in front obliquely are obtained, and according to the plurality of oblique directions The driving speed obtains the second driving speed, wherein the obliquely preceding vehicle belongs to a different lane from the vehicle and is in front of the driving direction of the vehicle.
在其中一个实施例中,根据所述第一行驶速度与所述第二行驶速度,获得第一稳态速度与第二稳态速度的步骤包括:In one of the embodiments, according to the first driving speed and the second driving speed, the step of obtaining the first steady-state speed and the second steady-state speed includes:
将所述采样时间对应的多个所述第一行驶速度进行遍历,根据预设的第一权重数值,获得第一中间稳态速度,所述第一中间稳态速度的数学表达为:Traversing the plurality of first driving speeds corresponding to the sampling time, and obtaining a first intermediate steady-state speed according to a preset first weight value, the mathematical expression of the first intermediate steady-state speed is:
V1m(t)=w1*V1d(t)+(1-w1)V1m(t-1)V1 m (t)=w1*V1 d (t)+(1-w1)V1 m (t-1)
其中,V1m(t)代表所述第一中间稳态速度,w1代表所述第一权重数值,t代表所述采样时间内对应的时刻,V1d代表所述第一行驶速度;Wherein, V1 m (t) represents the first intermediate steady-state speed, w1 represents the first weight value, t represents the corresponding moment within the sampling time, and V1 d represents the first driving speed;
根据所述第一中间稳态速度与预设的第二权重数值,将所述采样时间对应的多个所述第一中间稳态速度进行遍历,获得所述第一稳态速度,所述第一稳态速度数学表达为:According to the first intermediate steady-state speed and a preset second weight value, traverse the plurality of first intermediate steady-state speeds corresponding to the sampling time to obtain the first steady-state speed, and the second steady-state speed The mathematical expression of a steady-state speed is:
V1a(t)=w2*V1m(t)+(1-w2)V1a(t-1)V1 a (t)=w2*V1 m (t)+(1-w2)V1 a (t-1)
其中,V1a(t)代表所述第一稳态速度,w2代表所述第二权重数值;Wherein, V1 a (t) represents the first steady-state velocity, and w2 represents the second weight value;
将所述采样时间对应的多个所述第二行驶速度进行遍历,根据所述第一权重数值,获得第二中间稳态速度,所述第二中间稳态速度的数学表达为:Traversing the plurality of second driving speeds corresponding to the sampling time, and obtaining a second intermediate steady-state speed according to the first weight value, the mathematical expression of the second intermediate steady-state speed is:
V2m(t)=w1*V2d(t)+(1-w1)*V2m(t-1)V2 m (t)=w1*V2 d (t)+(1-w1)*V2 m (t-1)
其中,V2m(t)代表所述第二中间稳态速度,w1代表所述第一权重数值,t代表所述采样时间内对应的时刻,V2d代表所述第二行驶速度;Wherein, V2 m (t) represents the second intermediate steady-state speed, w1 represents the first weight value, t represents the corresponding moment within the sampling time, and V2 d represents the second driving speed;
根据所述第二中间稳态速度与所述第二权重数值,将所述采样时间对应的多个所述第二中间稳态速度进行遍历,获得所述第二稳态速度,所述第二稳态速度数学表达为:According to the second intermediate steady-state speed and the second weight value, traverse the plurality of second intermediate steady-state speeds corresponding to the sampling time to obtain the second steady-state speed, the second The mathematical expression of the steady-state speed is:
V2a(t)=w2*V2m(t)+(1-w2)*V2a(t-1)V2 a (t)=w2*V2 m (t)+(1-w2)*V2 a (t-1)
其中,V2a(t)代表所述第二稳态速度,w2代表所述第二权重数值。Wherein, V2 a (t) represents the second steady-state speed, and w2 represents the second weight value.
在其中一个实施例中,获得所述车辆的附近车道信息之后的步骤还包括:In one of the embodiments, the steps after obtaining the nearby lane information of the vehicle further include:
根据所述附近车道信息获得所述附近车道的障碍信息,其中,所述障碍信息包括:障碍物的尺寸、所述障碍物与所述车辆之间的距离长度;Obtaining obstacle information of the nearby lane according to the nearby lane information, wherein the obstacle information includes: the size of the obstacle, the distance between the obstacle and the vehicle;
根据所述障碍信息,获得所述车辆在所述当前车道的第一可行驶宽度、在所述附近车道的第二可行驶宽度;Obtaining a first drivable width of the vehicle in the current lane and a second drivable width of the nearby lane according to the obstacle information;
判断所述第一行驶宽度是否大于所述车辆的宽度;若是,则所述车辆正常行驶;若否,则判断所述第二行驶宽度是否大于所述车辆的宽度,若是,则对所述车辆进行变道处理,若否,则对所述车辆进行减速处理。judging whether the first driving width is greater than the width of the vehicle; if yes, the vehicle is running normally; if not, judging whether the second driving width is greater than the width of the vehicle, and if Perform lane change processing, if not, perform deceleration processing on the vehicle.
在其中一个实施例中,获得所述车辆的附近车道信息之后的步骤还包括:In one of the embodiments, the steps after obtaining the nearby lane information of the vehicle further include:
获取所述车辆对应的可行驶车道类型;Obtaining the drivable lane type corresponding to the vehicle;
在预设的采样距离外,获取所述当前车道的车道类型;Obtaining the lane type of the current lane outside the preset sampling distance;
判断所述可行驶车道类型与所述当前车道的车道类型是否一致;若是,则所述车辆正常行驶;若否,则对所述车辆进行变道处理。Judging whether the drivable lane type is consistent with the lane type of the current lane; if yes, the vehicle runs normally; if not, performs lane change processing on the vehicle.
在其中一个实施例中,获得所述车辆的附近车道信息之后的步骤还包括:In one of the embodiments, the steps after obtaining the nearby lane information of the vehicle further include:
获取所述车辆的行驶目的地,根据所述行驶目的地获得所述车辆的预设行驶路径;Acquiring the driving destination of the vehicle, and obtaining a preset driving route of the vehicle according to the driving destination;
根据所述预设行驶路径与所述附近车道信息,判断所述车辆在预设的采样距离外对应的行驶车道是否与所述当前车道一致;若是,则所述车辆正常行驶;若否,则对所述车辆进行变道处理。According to the preset driving route and the nearby lane information, it is judged whether the corresponding driving lane of the vehicle outside the preset sampling distance is consistent with the current lane; if yes, the vehicle is running normally; if not, then Perform lane change processing on the vehicle.
另一方面,提供了一种车辆变道规划装置,所述车辆变道规划装置包括:In another aspect, a vehicle lane change planning device is provided, the vehicle lane change planning device comprising:
第一获取模块,用于获取车辆的环境图像信息,根据所述环境图像信息获得所述车辆的附近车道信息;The first acquisition module is used to acquire the environmental image information of the vehicle, and obtain the nearby lane information of the vehicle according to the environmental image information;
第二获取模块,用于根据所述附近车道信息获得所述车辆的正前方车辆的第一行驶速度与所述车辆的斜前方车辆的第二行驶速度,根据所述第一行驶速度与所述第二行驶速度,获得第一稳态速度与第二稳态速度,其中,所述第一稳态速度为所述车辆在当前车道的预测行驶速度,所述第二稳态速度为所述车辆在附近车道的预测行驶速度;The second acquisition module is used to obtain the first driving speed of the vehicle directly in front of the vehicle and the second driving speed of the vehicle obliquely ahead of the vehicle according to the information of the nearby lanes, according to the first driving speed and the The second driving speed is to obtain a first steady-state speed and a second steady-state speed, wherein the first steady-state speed is the predicted driving speed of the vehicle in the current lane, and the second steady-state speed is the predicted speed of the vehicle in the current lane. Predicted driving speed in nearby lanes;
判断模块,用于判断所述第二稳态速度是否大于所述第一稳态速度,若是,则对所述车辆进行变道处理。A judging module, configured to judge whether the second steady-state speed is greater than the first steady-state speed, and if so, perform lane change processing on the vehicle.
再一方面,提供了一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现以下步骤:In another aspect, a computer device is provided, including a memory, a processor, and a computer program stored on the memory and operable on the processor, and the processor implements the following steps when executing the computer program:
获取车辆的环境图像信息,根据所述环境图像信息获得所述车辆的附近车道信息;Obtaining the environmental image information of the vehicle, and obtaining the nearby lane information of the vehicle according to the environmental image information;
根据所述附近车道信息获得所述车辆的正前方车辆的第一行驶速度与所述车辆的斜前方车辆的第二行驶速度,根据所述第一行驶速度与所述第二行驶速度,获得第一稳态速度与第二稳态速度,其中,所述第一稳态速度为所述车辆在当前车道的预测行驶速度,所述第二稳态速度为所述车辆在附近车道的预测行驶速度;Obtaining a first traveling speed of a vehicle directly in front of the vehicle and a second traveling speed of a vehicle diagonally ahead of the vehicle according to the nearby lane information, and obtaining a second traveling speed according to the first traveling speed and the second traveling speed A steady-state speed and a second steady-state speed, wherein the first steady-state speed is the predicted speed of the vehicle in the current lane, and the second steady-state speed is the predicted speed of the vehicle in a nearby lane ;
判断所述第二稳态速度是否大于所述第一稳态速度,若是,则对所述车辆进行变道处理。Judging whether the second steady-state speed is greater than the first steady-state speed, and if so, performing lane-changing processing on the vehicle.
又一方面,提供了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现以下步骤:In yet another aspect, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
获取车辆的环境图像信息,根据所述环境图像信息获得所述车辆的附近车道信息;Obtaining the environmental image information of the vehicle, and obtaining the nearby lane information of the vehicle according to the environmental image information;
根据所述附近车道信息获得所述车辆的正前方车辆的第一行驶速度与所述车辆的斜前方车辆的第二行驶速度,根据所述第一行驶速度与所述第二行驶速度,获得第一稳态速度与第二稳态速度,其中,所述第一稳态速度为所述车辆在当前车道的预测行驶速度,所述第二稳态速度为所述车辆在附近车道的预测行驶速度;Obtaining a first traveling speed of a vehicle directly in front of the vehicle and a second traveling speed of a vehicle diagonally ahead of the vehicle according to the nearby lane information, and obtaining a second traveling speed according to the first traveling speed and the second traveling speed A steady-state speed and a second steady-state speed, wherein the first steady-state speed is the predicted speed of the vehicle in the current lane, and the second steady-state speed is the predicted speed of the vehicle in a nearby lane ;
判断所述第二稳态速度是否大于所述第一稳态速度,若是,则对所述车辆进行变道处理。Judging whether the second steady-state speed is greater than the first steady-state speed, and if so, performing lane-changing processing on the vehicle.
上述一种车辆变道规划方法、装置、计算机设备和存储介质,根据环境图像信息获得车辆的附近车道信息;根据所述附近车道信息获得所述车辆的正前方车辆的第一行驶速度与所述车辆的斜前方车辆的第二行驶速度,根据所述第一行驶速度与所述第二行驶速度,获得第一稳态速度与第二稳态速度;判断第二稳态速度是否大于第一稳态速度,若是,则对车辆进行变道处理,以此解决自动驾驶车辆变道时机不合理、时间成本较高等问题。According to the above-mentioned vehicle lane change planning method, device, computer equipment and storage medium, the information of the nearby lanes of the vehicle is obtained according to the environmental image information; the first driving speed of the vehicle directly in front of the vehicle and the The second running speed of the vehicle obliquely in front of the vehicle, according to the first running speed and the second running speed, obtain the first steady-state speed and the second steady-state speed; judge whether the second steady-state speed is greater than the first steady-state speed If it is the state speed, then the vehicle will change lanes, so as to solve the problems of unreasonable timing and high time cost of automatic driving vehicles.
附图说明Description of drawings
图1为一个实施例中一种车辆变道规划方法的应用环境图;Fig. 1 is an application environment diagram of a vehicle lane change planning method in an embodiment;
图2为一个实施例中一种车辆变道规划方法的流程示意图;Fig. 2 is a schematic flow chart of a vehicle lane change planning method in an embodiment;
图3为一个实施例中获得前方道路信息的流程示意图;Fig. 3 is a schematic flow chart of obtaining road information ahead in an embodiment;
图4为一个实施例中获得第一行驶速度、第二行驶速度的流程示意图;Fig. 4 is a schematic flow chart of obtaining the first traveling speed and the second traveling speed in one embodiment;
图5为一个实施例中获得第一稳态速度与第二稳态速度的流程示意图;Fig. 5 is a schematic flow chart of obtaining the first steady-state speed and the second steady-state speed in one embodiment;
图6为一个实施例中获得附近车道信息之后的流程示意图;Fig. 6 is a schematic flow diagram after obtaining nearby lane information in an embodiment;
图7为另一个实施例中获得附近车道信息之后的流程示意图;Fig. 7 is a schematic flow chart after obtaining nearby lane information in another embodiment;
图8为再一个实施例中获得附近车道信息之后的流程示意图;Fig. 8 is a schematic flow diagram after obtaining nearby lane information in another embodiment;
图9为一个实施例中车辆变道规划装置的结构框图;Fig. 9 is a structural block diagram of a vehicle lane change planning device in an embodiment;
图10为一个实施例中计算机设备的内部结构图。Figure 10 is a diagram of the internal structure of a computer device in one embodiment.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.
本申请提供的一种车辆变道规划方法,可以应用于如图1所示的应用环境中。其中,终端102通过网络与服务器104进行通信。例如,本申请提供的一种车辆变道规划方法可应用于自动驾驶车辆行驶过程中对变道进行规划的场景中。在车辆行驶过程中,驾驶员通常会因为前方道路堵塞或者自身目的地改变而进行变道。而随着智能驾驶技术的发展,越来越多的车辆搭载了智能驾驶辅助系统,提供车辆周围的环境信息,以此辅助驾驶员进行变道。然而,现有的智能驾驶辅助系统/方法只能在驾驶员实际进行变道的时候才发挥作用,无法提前告知驾驶员何时应进行变道,以及评估本次变道的时间成本。特别地,对于自动驾驶车辆,还会导致车辆的变道时机不合理、时间成本较高等问题。因此,本申请通过获取车辆的环境图像信息,根据环境图像信息获得车辆的附近车道信息;根据附近车道信息获得车辆的正前方车辆的第一行驶速度与车辆的斜前方车辆的第二行驶速度,根据第一行驶速度与第二行驶速度获得第一稳态速度与第二稳态速度;判断第二稳态速度是否大于第一稳态速度,若是,则对车辆进行变道处理,可解决车辆变道时机不合理、时间成本较高等问题。在一些实施过程中,可以通过终端102采集自动驾驶车辆的环境图像信息,并将环境图像信息上传至服务器104进行数据分析和计算获得变道策略,然后服务器104将变道策略发送至终端102。其中,终端102可以但不限于是各种个人计算机、笔记本电脑、智能手机、平板电脑、便携式可穿戴设备或者子服务器,服务器104可以用独立的服务器或者是多个服务器组成的服务器集群或者云计算平台来实现。A vehicle lane change planning method provided in this application can be applied to the application environment shown in FIG. 1 . Wherein, the terminal 102 communicates with the
在一个实施例中,如图2所示,提供了一种车辆变道规划方法,包括以下步骤:In one embodiment, as shown in Figure 2, a vehicle lane change planning method is provided, comprising the following steps:
S1:获取车辆的环境图像信息,根据所述环境图像信息获得所述车辆的附近车道信息;S1: Obtain the environmental image information of the vehicle, and obtain the nearby lane information of the vehicle according to the environmental image information;
S2:根据所述附近车道信息获得所述车辆的正前方车辆的第一行驶速度与所述车辆的斜前方车辆的第二行驶速度,根据所述第一行驶速度与所述第二行驶速度,获得第一稳态速度与第二稳态速度,其中,所述第一稳态速度为所述车辆在当前车道的预测行驶速度,所述第二稳态速度为所述车辆在附近车道的预测行驶速度;S2: Obtain a first traveling speed of a vehicle directly in front of the vehicle and a second traveling speed of a vehicle diagonally ahead of the vehicle according to the nearby lane information, and according to the first traveling speed and the second traveling speed, obtaining a first steady-state speed and a second steady-state speed, wherein the first steady-state speed is the predicted speed of the vehicle in the current lane, and the second steady-state speed is the predicted speed of the vehicle in a nearby lane Driving speed;
S3:判断所述第二稳态速度是否大于所述第一稳态速度,若是,则对所述车辆进行变道处理。S3: Determine whether the second steady-state speed is greater than the first steady-state speed, and if so, perform lane-changing processing on the vehicle.
通过上述步骤,可改善自动驾驶车辆变道时机不合理、时间成本较高等问题。Through the above steps, problems such as unreasonable timing of lane change and high time cost of autonomous driving vehicles can be improved.
在对自动驾驶车辆进行变道规划之前需要获得车辆附近的环境图像信息,在步骤S1中,示例性地说明,获取车辆的环境图像信息,根据环境图像信息获得车辆的附近车道信息,例如,可以通过车载摄像头获取车辆周围任意角度的其他车辆信息、车道信息、障碍物信息作为环境图像信息,例如获取自动驾驶车辆(当前车辆)的前方、后方、左方、右方的视频信息,然后按照预设的周期对视频进行分段截取和分析,在一些实施过程中,预设的周期可以为200毫秒,也可以为500毫秒,在此不对具体的数值作限定,实施者可以根据对图像解析的实时性要求进行周期的数值调整,并且需要说明的是,附近车道信息不仅可以包括当前车辆的附近车道,还可以包括当前车辆所属的车道,在一些实施过程中,还可以直接按照预设的周期对当前车辆的环境图像信息进行拍照和存储。获取了环境图像信息后,则可以从中获取当前车辆的车道的前后方信息以及附近车道的前后方信息,其中,前后方信息中还包括该车道上是否存在其他车辆、车辆的数量、车道的类型、车道的形状等信息,将上述信息进行融合则得到了附近车道信息,以此作为后续对车辆进行变道规划决策的数据基础,在另一些实施过程中,还可以通过地图得到本车行驶车道的附近车道信息。Before the lane change planning for the autonomous vehicle, it is necessary to obtain the environmental image information near the vehicle. In step S1, it is exemplarily explained that the environmental image information of the vehicle is obtained, and the nearby lane information of the vehicle is obtained according to the environmental image information. For example, you can Obtain other vehicle information, lane information, and obstacle information at any angle around the vehicle through the on-board camera as environmental image information, such as obtaining video information of the front, rear, left, and right of the self-driving vehicle (current vehicle), and then follow the preset The preset period intercepts and analyzes the video in segments. In some implementation processes, the preset period can be 200 milliseconds or 500 milliseconds. The specific value is not limited here. The implementer can analyze the image according to the Real-time performance requires periodical value adjustment, and it should be noted that nearby lane information can include not only the nearby lanes of the current vehicle, but also the lane to which the current vehicle belongs. In some implementations, it can also directly follow the preset period Take photos and store the environmental image information of the current vehicle. After the environmental image information is obtained, the front and rear information of the current vehicle's lane and the front and rear information of the nearby lanes can be obtained from it. The front and rear information also includes whether there are other vehicles on the lane, the number of vehicles, and the type of lane , the shape of the lane and other information, the above information is fused to obtain the information of the nearby lanes, which is used as the data basis for the subsequent lane change planning and decision-making of the vehicle. In other implementation processes, the driving lane of the vehicle can also be obtained through the map nearby lane information.
在获取了附近车道信息后,为了进一步对车辆变道的时间成本进行评估,在步骤S2中,示例性地说明,根据附近车道信息获得车辆的正前方车辆的第一行驶速度与车辆的斜前方车辆的第二行驶速度,根据第一行驶速度与第二行驶速度,获得第一稳态速度与第二稳态速度,例如,可以获取与当前车辆属于同一车道并且处于当前车辆行驶前方的正前方车辆的行驶速度作为第一行驶速度,获取与当前车辆属于不同车道并且处于当前车辆行驶前方的斜前方车辆的行驶速度作为第二行驶速度;由于附近车道信息中包括了附近车道数量、其他车辆的数量、其他车辆在附近车道中所处的位置,因此根据附近车道信息可以获取其他车辆(正前方车辆、斜前方车辆)与当前车辆之间的相对位置,需要注意的是,其他车辆可能不止一个,因此第一行驶速度和第二行驶速度实际上可以作为多个其他车辆的行驶速度的集合。根据第一行驶速度与第二行驶速度,则可以预测当前车辆如果继续在当前车道行驶的一段时间内可以达到的平均行驶速度或者最大可行驶速度,即第一稳态速度,而由于已知附近车道中其他车辆的第二行驶速度,则可以预测出如果当前车辆进行变道后在附近车道行驶的一段时间内可以达到的平均行驶速度或者最大可行驶速度,即第二稳态速度。After obtaining the information of the nearby lanes, in order to further evaluate the time cost of the vehicle changing lanes, in step S2, it is exemplarily explained that according to the information of the nearby lanes, the first driving speed of the vehicle directly in front of the vehicle and the oblique front of the vehicle are obtained. The second driving speed of the vehicle. According to the first driving speed and the second driving speed, the first steady state speed and the second steady state speed can be obtained. For example, it can be obtained that it belongs to the same lane as the current vehicle and is directly in front of the current vehicle. The driving speed of the vehicle is used as the first driving speed, and the driving speed of the oblique front vehicle that belongs to a different lane from the current vehicle and is in front of the current vehicle is obtained as the second driving speed; since the nearby lane information includes the number of nearby lanes, the number of other vehicles, The number and the position of other vehicles in the nearby lanes, so the relative position between other vehicles (vehicles directly ahead, vehicles obliquely ahead) and the current vehicle can be obtained according to the information of the nearby lanes. It should be noted that there may be more than one other vehicle , so the first driving speed and the second driving speed can actually be used as a set of driving speeds of multiple other vehicles. According to the first driving speed and the second driving speed, the average driving speed or the maximum driving speed that the current vehicle can reach within a period of time if the current vehicle continues to drive in the current lane can be predicted, that is, the first steady-state speed. The second driving speed of other vehicles in the lane can predict the average driving speed or the maximum driving speed that can be achieved within a period of time if the current vehicle changes lanes and drives in a nearby lane, that is, the second steady-state speed.
获取了第一稳态速度和第二稳态速度后,则可以将两者进行比较,根据比较结果获取变道规划决策,在步骤S3中,示例性地说明,判断第二稳态速度是否大于第一稳态速度,若是,则对车辆进行变道处理,例如,当第一稳态速度为50km/h,第二稳态速度为60km/h,可以认为如果车辆继续保持在当前车道行驶所能达到的速度为50km/h,小于车辆变道后在附近车道行驶所能达到的速度为60km/h,在不影响达到目的地的整体路径时,可以对车辆进行变道处理,使车辆获得可以达到的更快的行驶速度,从而节约行驶时间。然而,如果第一稳态速度为60km/h,第二稳态速度为50km/h,此时则认为当前车辆继续保持在当前车道进行行驶时可以达到更快的行驶速度,其中,km/h代表速度单位:每小时的公里数。通过该方式,则可以在实际进行变道之前分析自动驾驶车辆的当前车道和附近车道上的其他车辆的行驶信息,从而预先获取变道规划的决策,节约车辆进行变道的时间成本,避免来回重复变道。After the first steady-state speed and the second steady-state speed are obtained, the two can be compared, and the lane change planning decision is obtained according to the comparison result. In step S3, it is exemplarily explained that it is judged whether the second steady-state speed is greater than If it is the first steady-state speed, then the vehicle is changed lane. For example, when the first steady-state speed is 50km/h and the second steady-state speed is 60km/h, it can be considered that if the vehicle continues to drive in the current lane The speed that can be reached is 50km/h, which is less than the speed that can be reached by driving in the nearby lane after the vehicle changes lanes. The faster driving speed can be achieved, thus saving the driving time. However, if the first steady-state speed is 60km/h and the second steady-state speed is 50km/h, then it is considered that the current vehicle can reach a faster driving speed while continuing to drive in the current lane, wherein, km/h Representative speed unit: kilometers per hour. In this way, the current lane of the autonomous vehicle and the driving information of other vehicles in the nearby lanes can be analyzed before the actual lane change, so as to obtain the decision of lane change planning in advance, save the time and cost of the vehicle to change lanes, and avoid back and forth Repeat lane change.
在一些实施例中,如图3所示,获取车辆的环境图像信息,根据所述环境图像信息获得所述车辆的附近车道信息的步骤包括:In some embodiments, as shown in FIG. 3 , the environmental image information of the vehicle is acquired, and the step of obtaining the nearby lane information of the vehicle according to the environmental image information includes:
S11:获取第一时刻对应的第一环境图像,根据所述第一环境图像,获得所述附近车辆的第一位置信息与所述附近车道的第一车道类型信息;S11: Obtain a first environment image corresponding to the first moment, and obtain first position information of the nearby vehicle and first lane type information of the nearby lane according to the first environment image;
S12:获取第二时刻对应的第二环境图像,根据所述第二环境图像,获得所述附近车辆的第二位置信息与所述附近车道的第二车道类型信息;S12: Obtain a second environment image corresponding to the second moment, and obtain second position information of the nearby vehicle and second lane type information of the nearby lane according to the second environment image;
S13:所述附近车道信息包括:所述第一位置信息、所述第一车道类型信息、所述第二位置信息、所述第二车道类型信息。S13: The nearby lane information includes: the first location information, the first lane type information, the second location information, and the second lane type information.
如图3所示,在步骤S11至步骤S13中,示例性地说明,分别获取第一时刻、第二时刻的第一环境图像和第二环境图像,例如,将当前时刻作为第一时刻,获取第一时刻的第一环境图像,其中,第一环境图像可以是通过摄像头实时拍摄的照片,也可以是实时视频中某一帧的图像,其中包括当前车辆所处的车道的前方、后方的车道信息、车辆信息、障碍物信息,根据上述信息则可以获取其他车辆的第一位置信息(位置坐标)以及附近车道的第一车道类型信息(例如货车专用车道、客车专用车道、应急车道、直行车道等),然后在第一时刻的基础上增加1秒或者2秒作为第二时刻,获得第二时刻对应的第二环境图像,并根据第二环境图像获得更新后的附近车辆的第二位置信息和附近车道的第二车道类型信息,需要说明的是,第一环境图像和第二环境图像仅代表在不同时刻下当前车辆所能采集的周围环境图像,并且由于当前车辆处于行驶状态,所能采集的周围环境图像会相应变化,本申请并不对第一时刻和第二时刻的具体数值作限定,实施者可以根据自身对图像采集的实时性要求进行设置,优选地,第一时刻和第二时刻并不仅仅是单独的一个时间点,而可以是多个时间点的集合,例如,实施者可以采用两个以上的时间作为第一时刻或者第二时刻。As shown in Figure 3, in steps S11 to S13, it is exemplarily explained that the first environment image and the second environment image at the first moment and the second moment are obtained respectively, for example, the current moment is taken as the first moment, and the The first environment image at the first moment, wherein the first environment image can be a photo taken in real time by a camera, or an image of a certain frame in a real-time video, including the front and rear lanes of the lane where the current vehicle is located Information, vehicle information, obstacle information, according to the above information, the first position information (position coordinates) of other vehicles and the first lane type information of nearby lanes (such as truck lanes, bus lanes, emergency lanes, through lanes, etc.) can be obtained. etc.), then add 1 second or 2 seconds as the second moment on the basis of the first moment, obtain the second environment image corresponding to the second moment, and obtain the updated second position information of nearby vehicles according to the second environment image and the second lane type information of the nearby lanes. It should be noted that the first environment image and the second environment image only represent the surrounding environment images that the current vehicle can collect at different times, and because the current vehicle is in a driving state, it can The collected ambient environment images will change accordingly. This application does not limit the specific values of the first moment and the second moment. The implementer can set them according to their own real-time requirements for image acquisition. Preferably, the first moment and the second moment A moment is not just a single time point, but may be a collection of multiple time points. For example, the implementer may use more than two times as the first moment or the second moment.
如图4所示,在一些实施例中,根据所述附近车道信息获得所述车辆的正前方车辆的第一行驶速度与所述车辆的斜前方车辆的第二行驶速度的步骤包括:As shown in FIG. 4 , in some embodiments, the step of obtaining the first traveling speed of the vehicle directly in front of the vehicle and the second traveling speed of the vehicle diagonally ahead of the vehicle according to the nearby lane information includes:
S21:根据所述第一位置信息、所述第二位置信息获得多个所述正前方车辆的正向行驶速度,根据多个所述正向行驶速度获得所述第一行驶速度,其中,所述正前方车辆与所述车辆属于相同车道并且处于所述车辆的行驶方向的前方;S21: Obtain the forward traveling speeds of a plurality of vehicles directly in front according to the first position information and the second position information, and obtain the first traveling speed according to the plurality of forward traveling speeds, wherein the The vehicle directly ahead belongs to the same lane as the vehicle and is in front of the driving direction of the vehicle;
S22:根据所述第一位置信息、所述第二位置信息、所述第一车道类型信息、所述第二车道信息获得多个所述斜前方车辆的斜向行驶速度,根据多个所述斜向行驶速度获得所述第二行驶速度,其中,所述斜前方车辆与所述车辆属于不同车道并且处于所述车辆的行驶方向的前方。S22: According to the first location information, the second location information, the first lane type information, and the second lane information, obtain the oblique traveling speeds of a plurality of vehicles obliquely ahead, and according to the plurality of The second traveling speed is obtained by obliquely traveling speed, wherein the obliquely leading vehicle and the vehicle belong to different lanes and are in front of the traveling direction of the vehicle.
如图4所示,在步骤S21至步骤S22中,示例性地说明,根据第一位置信息、第二位置信息获得多个正前方车辆的正向行驶速度,根据多个正向行驶速度获得第一行驶速度,根据第一位置信息、第二位置信息、第一车道类型信息、第二车道信息获得多个斜前方车辆的斜向行驶速度,根据多个斜向行驶速度获得第二行驶速度,例如,根据第一时刻对应的第一位置信息与第二时刻的第二位置信息,可以获取当前车辆的正前方车辆的位置信息,而对多个位置信息进行多帧检测则可以获取正前方车辆的正向行驶速度,此处需要进行说明的是,第一时刻与第二时刻只是代表不同时刻的描述词语,并不对具体获取多少个时刻的数量进行限定,因此可以获取两个(两帧)以上的正向行驶速度进行多帧融合分析可以得到正前方车辆的第一行驶速度,需要进行说明的是,正前方车辆与当前车辆属于同一车道,并且正前方车辆处于当前车辆的行驶方向的前方;而对于第二行驶速度,则可以根据第一位置信息、第二位置信息、第一车道类型、第二车道类型来获取斜前方车辆的斜向行驶速度,并对多个斜向行驶速度进行多帧检测则可以获得第二行驶速度,需要说明的是,斜前方车辆与当前车辆属于不同车道,并且斜前方车辆处于当前车辆的行驶方向的前方;在一些实施过程中,还可以根据当前车辆上的感知模块利用历史多帧信息计算出其他车辆的行驶速度,即正前方车辆的第一行驶速度与斜前方车辆的第二行驶速度。As shown in FIG. 4, in steps S21 to S22, it is exemplarily explained that the forward traveling speeds of a plurality of vehicles directly ahead are obtained according to the first position information and the second position information, and the first vehicle speed is obtained according to the plurality of forward traveling speeds. a driving speed, obtaining the oblique traveling speeds of a plurality of diagonally ahead vehicles according to the first position information, the second position information, the first lane type information, and the second lane information, and obtaining the second traveling speed according to the plurality of oblique traveling speeds, For example, according to the first position information corresponding to the first moment and the second position information at the second moment, the position information of the vehicle directly in front of the current vehicle can be obtained, and multi-frame detection of multiple position information can obtain the vehicle directly ahead What needs to be explained here is that the first moment and the second moment are just descriptive words representing different moments, and there is no limit to the number of moments to be obtained, so two (two frames) can be obtained Multi-frame fusion analysis of the above forward driving speed can obtain the first driving speed of the vehicle directly ahead. It should be noted that the vehicle directly ahead and the current vehicle belong to the same lane, and the vehicle directly ahead is in front of the driving direction of the current vehicle ; and for the second driving speed, the oblique running speed of the oblique front vehicle can be obtained according to the first position information, the second position information, the first lane type, and the second lane type, and a plurality of oblique running speeds can be obtained. Multi-frame detection can obtain the second driving speed. It should be noted that the diagonally ahead vehicle and the current vehicle belong to different lanes, and the diagonally ahead vehicle is in front of the current vehicle's driving direction; The perception module on the system uses historical multi-frame information to calculate the driving speed of other vehicles, that is, the first driving speed of the vehicle directly ahead and the second driving speed of the vehicle obliquely ahead.
为了获取第一稳态速度和第二稳态速度,如图5所示,根据所述第一行驶速度与所述第二行驶速度,获得第一稳态速度与第二稳态速度的步骤包括:In order to obtain the first steady-state speed and the second steady-state speed, as shown in FIG. 5 , according to the first driving speed and the second driving speed, the step of obtaining the first steady-state speed and the second steady-state speed includes :
S31:将所述采样时间对应的多个所述第一行驶速度进行遍历,根据预设的第一权重数值,获得第一中间稳态速度,所述第一中间稳态速度的数学表达为:S31: Traversing the multiple first driving speeds corresponding to the sampling time, and obtaining a first intermediate steady-state speed according to a preset first weight value, the mathematical expression of the first intermediate steady-state speed is:
V1m(t)=w1*V1d(t)+(1-w1)*V1m(t-1)V1 m (t)=w1*V1 d (t)+(1-w1)*V1 m (t-1)
其中,V1m(t)代表所述第一中间稳态速度,w1代表所述第一权重数值,t代表所述采样时间内对应的时刻,V1d代表所述第一行驶速度;Wherein, V1 m (t) represents the first intermediate steady-state speed, w1 represents the first weight value, t represents the corresponding moment within the sampling time, and V1 d represents the first driving speed;
S32:根据所述第一中间稳态速度与预设的第二权重数值,将所述采样时间对应的多个所述第一中间稳态速度进行遍历,获得所述第一稳态速度,所述第一稳态速度数学表达为:S32: According to the first intermediate steady-state speed and the preset second weight value, iterate over the plurality of first intermediate steady-state speeds corresponding to the sampling time to obtain the first steady-state speed, so The mathematical expression of the first steady-state speed is:
V1a(t)=w2*V1m(t)+(1-w2)*V1a(t-1)V1 a (t)=w2*V1 m (t)+(1-w2)*V1 a (t-1)
其中,V1a(t)代表所述第一稳态速度,w2代表所述第二权重数值;Wherein, V1 a (t) represents the first steady-state velocity, and w2 represents the second weight value;
S33:将所述采样时间对应的多个所述第二行驶速度进行遍历,根据所述第一权重数值,获得第二中间稳态速度,所述第二中间稳态速度的数学表达为:S33: Traversing the plurality of second driving speeds corresponding to the sampling time, and obtaining a second intermediate steady-state speed according to the first weight value, the mathematical expression of the second intermediate steady-state speed is:
V2m(t)=w1*V2d(t)+(1-w1)*V2m(t-1)V2 m (t)=w1*V2 d (t)+(1-w1)*V2 m (t-1)
其中,V2m(t)代表所述第二中间稳态速度,w1代表所述第一权重数值,t代表所述采样时间内对应的时刻,V2d代表所述第二行驶速度;Wherein, V2 m (t) represents the second intermediate steady-state speed, w1 represents the first weight value, t represents the corresponding moment within the sampling time, and V2 d represents the second driving speed;
S34:根据所述第二中间稳态速度与所述第二权重数值,将所述采样时间对应的多个所述第二中间稳态速度进行遍历,获得所述第二稳态速度,所述第二稳态速度数学表达为:S34: According to the second intermediate steady-state speed and the second weight value, traverse the plurality of second intermediate steady-state speeds corresponding to the sampling time to obtain the second steady-state speed, the The mathematical expression of the second steady-state speed is:
V2a(t)=w2*V2m(t)+(1-w2)*V2a(t-1)V2 a (t)=w2*V2 m (t)+(1-w2)*V2 a (t-1)
其中,V2a(t)代表所述第二稳态速度,w2代表所述第二权重数值。Wherein, V2 a (t) represents the second steady-state speed, and w2 represents the second weight value.
如图5所示,在步骤S31中,示例性地说明,将采样时间对应的多个第一行驶速度进行遍历,根据预设的第一权重数值,获得第一中间稳态速度,例如,以时间t为序列,从t=1开始获取第一中间稳态速度,在一些实施过程中,第一权重w1可以设置为0.1,而t的取值范围(采样时间)可以为2秒、10秒,在最初时刻V1m(0)的数值为0,然后从t=1开始进行遍历,对第一中间稳态速度的数值进行迭代更新。As shown in FIG. 5, in step S31, it is exemplarily explained that the multiple first driving speeds corresponding to the sampling time are traversed, and the first intermediate steady-state speed is obtained according to the preset first weight value, for example, by Time t is a sequence, starting from t=1 to obtain the first intermediate steady-state speed, in some implementation processes, the first weight w1 can be set to 0.1, and the value range of t (sampling time) can be 2 seconds, 10 seconds , the value of V1 m (0) is 0 at the initial moment, and then traverses from t=1 to iteratively update the value of the first intermediate steady-state speed.
如图5所示,在步骤S32中,示例性地说明,根据第一中间稳态速度与预设的第二权重数值,将采样时间对应的多个第一中间稳态速度进行遍历,获得第一稳态速度,例如,以时间t为序列,从t=1开始获取第一稳态速度,在一些实施过程中,第一权重w2可以设置为0.01,而t的取值范围(采样时间)可以为2秒、10秒,在最初时刻V1a(0)的数值为0,然后从t=1开始进行遍历,对第一稳态速度的数值进行迭代更新。通过该方式,则可以获取第一稳态速度。As shown in Figure 5, in step S32, it is exemplarily explained that according to the first intermediate steady-state speed and the preset second weight value, a plurality of first intermediate steady-state speeds corresponding to the sampling time are traversed to obtain the first intermediate steady-state speed A steady-state speed, for example, taking time t as a sequence, starting to obtain the first steady-state speed from t=1, in some implementation processes, the first weight w2 can be set to 0.01, and the value range of t (sampling time) It can be 2 seconds or 10 seconds. At the initial moment, the value of V1 a (0) is 0, and then traverses from t=1 to iteratively update the value of the first steady-state speed. In this way, the first steady-state speed can be obtained.
如图5所示,在步骤S33中,示例性地说明,将采样时间对应的多个第二行驶速度进行遍历,根据预设的第一权重数值,获得第二中间稳态速度,例如,以时间t为序列,从t=1开始获取第二中间稳态速度,在一些实施过程中,第一权重w1可以设置为0.1,而t的取值范围(采样时间)可以为2秒、10秒,在最初时刻V1m(0)的数值为0,然后从t=1开始进行遍历,对中间稳态速度的数值进行迭代更新。As shown in FIG. 5 , in step S33, it is exemplarily explained that the multiple second driving speeds corresponding to the sampling time are traversed, and the second intermediate steady-state speed is obtained according to the preset first weight value, for example, by Time t is a sequence, starting from t=1 to obtain the second intermediate steady-state speed, in some implementations, the first weight w1 can be set to 0.1, and the value range of t (sampling time) can be 2 seconds, 10 seconds , the value of V1 m (0) is 0 at the initial moment, and then traverses from t=1 to iteratively update the value of the intermediate steady-state speed.
如图5所示,在步骤S34中,示例性地说明,根据第二中间稳态速度与预设的第二权重数值,将采样时间对应的多个第二中间稳态速度进行遍历,获得第二稳态速度,例如,以时间t为序列,从t=1开始获取第二稳态速度,在一些实施过程中,第一权重w2可以设置为0.01,而t的取值范围(采样时间)可以为2秒、10秒,在最初时刻V2a(0)的数值为0,然后从t=1开始进行遍历,对第二稳态速度的数值进行迭代更新。通过该方式,则可以获取第二稳态速度,便于在后续过程中将第二稳态速度与第一稳态速度进行比较,合理地考虑、降低车辆变道的时间成本。As shown in FIG. 5, in step S34, it is exemplarily explained that according to the second intermediate steady-state speed and the preset second weight value, a plurality of second intermediate steady-state speeds corresponding to the sampling time are traversed to obtain the second intermediate steady-state speed The two-stable speed, for example, takes time t as a sequence, and starts to obtain the second steady-state speed from t=1. In some implementations, the first weight w2 can be set to 0.01, and the value range of t (sampling time) It can be 2 seconds or 10 seconds. At the initial moment, the value of V2 a (0) is 0, and then traverses from t=1 to iteratively update the value of the second steady-state speed. In this way, the second steady-state speed can be obtained, which is convenient for comparing the second steady-state speed with the first steady-state speed in the subsequent process, and reasonably considers and reduces the time cost of the vehicle changing lanes.
在一些实施过程中,对于卡车类型等车身尺寸较大的自动驾驶车辆,还需要检查目标车道的前方的一定距离内的车道空间是否允许该自动驾驶车辆通行,其中,目标车道包括当前车道和附近车道。In some implementation processes, for self-driving vehicles with large body sizes such as trucks, it is also necessary to check whether the lane space within a certain distance in front of the target lane allows the self-driving vehicle to pass, wherein the target lane includes the current lane and nearby Lane.
如图6所示,获得所述车辆的附近车道信息之后的步骤还包括:As shown in Figure 6, the steps after obtaining the nearby lane information of the vehicle also include:
S41:根据所述附近车道信息获得所述附近车道的障碍信息,其中,所述障碍信息包括:障碍物的尺寸、所述障碍物与所述车辆之间的距离长度;S41: Obtain obstacle information of the nearby lane according to the nearby lane information, wherein the obstacle information includes: the size of the obstacle, the distance between the obstacle and the vehicle;
S42:根据所述障碍信息,获得所述车辆在所述当前车道的第一可行驶宽度、在所述附近车道的第二可行驶宽度;S42: Obtain the first drivable width of the vehicle in the current lane and the second drivable width of the nearby lane according to the obstacle information;
S43:判断所述第一行驶宽度是否大于所述车辆的宽度;若是,则所述车辆正常行驶;若否,则判断所述第二行驶宽度是否大于所述车辆的宽度,若是,则对所述车辆进行变道处理,若否,则对所述车辆进行减速处理。S43: Judging whether the first driving width is larger than the width of the vehicle; if yes, the vehicle is running normally; if not, judging whether the second driving width is larger than the width of the vehicle, if yes, then If the above vehicle performs lane change processing, if not, then performs deceleration processing on the vehicle.
如图6所示,在步骤S41至步骤S43中,示例性地说明,获得附近车道的障碍信息并判断当前车辆是否可以避开障碍物,例如,当前车道前方可能存在事故、施工、慢速车辆等情况(在此统称为障碍物),在该场景下,当前车辆需要作出减速、停止、变道等操作,并且障碍物占据了部分车道位置,因此需要识别出障碍物类型、障碍物的尺寸、障碍物与当前车辆的距离长度,同时需要说明的是,障碍物可能存在与当前车道的前方,也可能存在与附近车道的前方,因此需要得到当前车辆在当前车道的第一可行驶宽度和在附近车道的第二可行驶宽度,然后判断第一行驶宽度是否大于车辆正常行驶需要的宽度,若是,则当前车辆在当前车道正常行驶避开障碍物;若否,则判断第二行驶宽度是否大于车辆正常行驶的需要的宽度,若是,则对当前车辆进行变道处理,若否,则强制对当前车辆进行减速处理直至停止。As shown in FIG. 6, in steps S41 to S43, it is exemplarily explained that obtaining obstacle information of nearby lanes and judging whether the current vehicle can avoid obstacles, for example, there may be accidents, construction, slow vehicles ahead of the current lane In this scenario, the current vehicle needs to slow down, stop, change lanes, etc., and the obstacle occupies part of the lane position, so it is necessary to identify the type and size of the obstacle , the distance between the obstacle and the current vehicle. At the same time, it should be noted that the obstacle may exist in front of the current lane or in front of nearby lanes. Therefore, it is necessary to obtain the first drivable width of the current vehicle in the current lane and The second drivable width of the nearby lanes, and then judge whether the first drivable width is greater than the width required for normal driving of the vehicle, if so, the current vehicle is running normally in the current lane to avoid obstacles; if not, then judge whether the second drivable width is If the width is greater than the required width for normal driving of the vehicle, if so, the current vehicle will be changed lanes, if not, the current vehicle will be forced to decelerate until it stops.
如图7所示,获得所述车辆的附近车道信息之后的步骤还包括:As shown in Figure 7, the steps after obtaining the nearby lane information of the vehicle also include:
S51:获取所述车辆对应的可行驶车道类型;S51: Obtain the drivable lane type corresponding to the vehicle;
S52:在预设的采样距离外,获取所述当前车道的车道类型;S52: Obtain the lane type of the current lane outside the preset sampling distance;
S53:判断所述可行驶车道类型与所述当前车道的车道类型是否一致;若是,则所述车辆正常行驶;若否,则对所述车辆进行变道处理。S53: Determine whether the drivable lane type is consistent with the lane type of the current lane; if yes, the vehicle runs normally; if not, perform lane change processing on the vehicle.
如图7所示,在步骤S51至步骤S53中,示例性地说明,针对当前车辆前方的车道类型判断是否对当前车辆进行变道处理,例如,当前车辆的前方车道可能并不属于当前车辆所允许通行的车道类型,比如对于卡车类型的自动驾驶车辆,前方车道可能并非卡车车道或者在当前行驶的时间段内前方车道禁止卡车驶入,此时则需要对当前车辆所处车道的一定距离外的车道类型进行识别,即设定采样距离,可以设置为50米、100米,获取到采样距离之外的当前车道的车道类型后,结合当前车辆对应的可行驶车道类型,判断两者是否一致,若一致,则当前车辆正常行驶,若不一致,则需要识别出其他附近车道,并对当前车辆进行变道处理,例如执行往右车道进行变道的变道决策,通过该方式,则可以合理地识别出前方的障碍物信息,预先获得变道决策。As shown in FIG. 7, in steps S51 to S53, it is exemplarily explained that it is determined whether to perform lane change processing on the current vehicle according to the lane type in front of the current vehicle. For example, the lane ahead of the current vehicle may not belong to the current vehicle. The type of lane that is allowed to pass. For example, for a truck-type self-driving vehicle, the front lane may not be a truck lane or the front lane may not allow trucks to enter during the current driving time period. Identify the lane type of the current vehicle, that is, set the sampling distance, which can be set to 50 meters or 100 meters. After obtaining the lane type of the current lane outside the sampling distance, combined with the drivable lane type corresponding to the current vehicle, determine whether the two are consistent , if they are consistent, the current vehicle is driving normally; if they are inconsistent, it is necessary to identify other nearby lanes and perform lane change processing on the current vehicle, for example, execute a lane change decision to change lanes to the right lane. In this way, reasonable It can accurately identify the obstacle information ahead and obtain the lane change decision in advance.
如图8所示,获得所述车辆的附近车道信息之后的步骤还包括:As shown in Figure 8, the steps after obtaining the nearby lane information of the vehicle also include:
S61:获取所述车辆的行驶目的地,根据所述行驶目的地获得所述车辆的预设行驶路径;S61: Obtain the driving destination of the vehicle, and obtain a preset driving route of the vehicle according to the driving destination;
S62:根据所述预设行驶路径与所述附近车道信息,判断所述车辆在预设的采样距离外对应的行驶车道是否与所述当前车道一致;若是,则所述车辆正常行驶;若否,则对所述车辆进行变道处理。S62: According to the preset driving route and the nearby lane information, determine whether the corresponding driving lane of the vehicle outside the preset sampling distance is consistent with the current lane; if yes, the vehicle is driving normally; if not , then perform lane change processing on the vehicle.
如图8所示,在步骤S61至步骤S62中,示例性地说明,根据预设行驶路径与附近车道信息,判断车辆在预设的采样距离外对应的行驶车道是否与当前车道一致,例如,在确定了目的地或者目的地被更改后,行驶路线可能有多个选择,如果当前车辆在行驶了一定距离长度后需要靠右下匝道或者进入某一个收费站口,则需要提前进行变道规划,防止无法及时变道,此时则需要根据行驶路径和附近的车道信息判断在采样距离之外对应的行驶车道是否与当前车道一致,若一致,则当前车辆正常行驶,若不一致,则需要对当前车辆进行变道处理,通过该方式,可以在由于路线原因需要进行提前变道的场景中及时地获取变道策略,避免当前车辆的实际行驶路线存在错误情况。As shown in FIG. 8, in steps S61 to S62, it is exemplarily explained that according to the preset driving route and nearby lane information, it is judged whether the corresponding driving lane of the vehicle outside the preset sampling distance is consistent with the current lane, for example, After the destination is determined or the destination is changed, there may be multiple options for the driving route. If the current vehicle needs to rely on the lower right ramp or enter a certain toll gate after driving a certain distance, it is necessary to plan the lane change in advance , to prevent lane changing in time, at this time, it is necessary to judge whether the corresponding driving lane outside the sampling distance is consistent with the current lane according to the driving path and nearby lane information. If it is consistent, the current vehicle is driving normally; The current vehicle performs lane change processing. In this way, the lane change strategy can be obtained in a timely manner in the scene where an early lane change is required due to route reasons, so as to avoid errors in the actual driving route of the current vehicle.
在一些实施过程中,还可以通过与服务器、云平台、云端进行互联,获取当前车辆周围区域车道的车轮拥堵情况,提前针对拥堵道路场景进行提前变道的规划。In some implementation processes, it is also possible to obtain the current wheel congestion in the lanes around the vehicle through interconnection with the server, cloud platform, and cloud, and plan ahead for lane changes in advance for congested road scenarios.
应该理解的是,虽然图2至图8的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图2至图8中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the various steps in the flow charts of FIG. 2 to FIG. 8 are shown sequentially as indicated by the arrows, these steps are not necessarily executed sequentially in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least some of the steps in FIGS. 2 to 8 may include a plurality of sub-steps or stages. These sub-steps or stages are not necessarily executed at the same time, but may be executed at different times. These sub-steps or The execution order of the stages is not necessarily performed sequentially, but may be executed alternately or alternately with at least a part of other steps or substeps of other steps or stages.
在一个实施例中,如图9所示,提供了一种车辆变道规划装置,所述车辆变道规划装置包括:In one embodiment, as shown in FIG. 9 , a vehicle lane change planning device is provided, and the vehicle lane change planning device includes:
第一获取模块,用于获取车辆的环境图像信息,根据所述环境图像信息获得所述车辆的附近车道信息;The first acquisition module is used to acquire the environmental image information of the vehicle, and obtain the nearby lane information of the vehicle according to the environmental image information;
第二获取模块,获取所述车辆的第一行驶速度,根据所述附近车道信息获得所述车辆的附近车辆的第二行驶速度,根据所述第一行驶速度与所述第二行驶速度,获得第一稳态速度与第二稳态速度,其中,所述第一稳态速度为所述车辆在当前车道的预测行驶速度,所述第二稳态速度为所述车辆在附近车道的预测行驶速度;The second acquisition module acquires the first driving speed of the vehicle, obtains the second driving speed of nearby vehicles of the vehicle according to the nearby lane information, and obtains according to the first driving speed and the second driving speed A first steady-state speed and a second steady-state speed, wherein the first steady-state speed is the predicted driving speed of the vehicle in the current lane, and the second steady-state speed is the predicted driving speed of the vehicle in a nearby lane speed;
判断模块,用于判断所述第二稳态速度是否大于所述第一稳态速度,若是,则对所述车辆进行变道处理。A judging module, configured to judge whether the second steady-state speed is greater than the first steady-state speed, and if so, perform lane change processing on the vehicle.
在第一获取模块中,示例性地说明,获取车辆的环境图像信息,根据环境图像信息获得车辆的附近车道信息,例如,可以通过车载摄像头获取车辆周围任意角度的其他车辆信息、车道信息、障碍物信息作为环境图像信息,例如获取自动驾驶车辆(当前车辆)的前方、后方、左方、右方的视频信息,然后按照预设的周期对视频进行分段截取和分析,在一些实施过程中,预设的周期可以为300毫秒,也可以为600毫秒,在此不对具体的数值作限定,实施者可以根据对图像解析的实时性要求进行周期的数值调整,并且需要说明的是,附近车道信息不仅可以包括当前车辆的附近车道,还可以包括当前车辆所属的车道,在一些实施过程中,还可以直接按照预设的周期对当前车辆的环境图像信息进行拍照和存储。获取了环境图像信息后,则可以从中获取当前车辆的车道的前后方信息以及附近车道的前后方信息,其中,前后方信息中还包括该车道上是否存在其他车辆、车辆的数量、车道的类型、车道的形状等信息,将上述信息进行融合则得到了附近车道信息,以此作为后续对车辆进行变道规划决策的数据基础,在另一些实施过程中,还可以通过地图得到本车行驶车道的附近车道信息。In the first acquisition module, it is exemplarily explained that the environmental image information of the vehicle is acquired, and the nearby lane information of the vehicle is obtained according to the environmental image information. For example, other vehicle information, lane information, obstacle Object information is used as environmental image information, such as obtaining the video information of the front, rear, left, and right of the self-driving vehicle (current vehicle), and then segmenting and analyzing the video according to the preset cycle. In some implementation processes , the preset period can be 300 milliseconds or 600 milliseconds, and the specific value is not limited here. The implementer can adjust the period value according to the real-time requirements of image analysis, and it should be noted that nearby lanes The information can include not only the nearby lanes of the current vehicle, but also the lane to which the current vehicle belongs. In some implementations, the environmental image information of the current vehicle can be directly photographed and stored according to a preset cycle. After the environmental image information is obtained, the front and rear information of the current vehicle's lane and the front and rear information of the nearby lanes can be obtained from it. The front and rear information also includes whether there are other vehicles on the lane, the number of vehicles, and the type of lane , the shape of the lane and other information, the above information is fused to obtain the information of the nearby lanes, which is used as the data basis for the subsequent lane change planning and decision-making of the vehicle. In other implementation processes, the driving lane of the vehicle can also be obtained through the map nearby lane information.
在第二获取模块中,示例性地说明,根据附近车道信息获得车辆的正前方车辆的第一行驶速度与车辆的斜前方车辆的第二行驶速度,根据第一行驶速度与第二行驶速度,获得第一稳态速度与第二稳态速度,例如,可以获取与当前车辆属于同一车道并且处于当前车辆行驶前方的正前方车辆的行驶速度作为第一行驶速度,获取与当前车辆属于不同车道并且处于当前车辆行驶前方的斜前方车辆的行驶速度作为第二行驶速度;由于附近车道信息中包括了附近车道数量、其他车辆的数量、其他车辆在附近车道中所处的位置,因此根据附近车道信息可以获取其他车辆(正前方车辆、斜前方车辆)与当前车辆之间的相对位置,需要注意的是,其他车辆可能不止一个,因此第一行驶速度和第二行驶速度实际上可以作为多个其他车辆的行驶速度的集合。根据第一行驶速度与第二行驶速度,则可以预测当前车辆如果继续在当前车道行驶的一段时间内可以达到的平均行驶速度或者最大可行驶速度,即第一稳态速度,而由于已知附近车道中其他车辆的第二行驶速度,则可以预测出如果当前车辆进行变道后在附近车道行驶的一段时间内可以达到的平均行驶速度或者最大可行驶速度,即第二稳态速度。In the second acquiring module, it is exemplarily explained that the first traveling speed of the vehicle directly in front of the vehicle and the second traveling speed of the vehicle obliquely in front of the vehicle are obtained according to the information of the nearby lanes, and according to the first traveling speed and the second traveling speed, To obtain the first steady-state speed and the second steady-state speed, for example, the speed of the vehicle in front that belongs to the same lane as the current vehicle and is in front of the current vehicle can be obtained as the first speed, and the speed of the vehicle belonging to a different lane from the current vehicle and The driving speed of the oblique front vehicle in front of the current vehicle is taken as the second driving speed; since the nearby lane information includes the number of nearby lanes, the number of other vehicles, and the positions of other vehicles in the nearby lanes, according to the nearby lane information It is possible to obtain the relative position between other vehicles (vehicle directly ahead, vehicle obliquely ahead) and the current vehicle. It should be noted that there may be more than one other vehicle, so the first driving speed and the second driving speed can actually serve as multiple other vehicles. A collection of vehicle speeds. According to the first driving speed and the second driving speed, the average driving speed or the maximum driving speed that the current vehicle can reach within a period of time if the current vehicle continues to drive in the current lane can be predicted, that is, the first steady-state speed. The second driving speed of other vehicles in the lane can predict the average driving speed or the maximum driving speed that can be achieved within a period of time if the current vehicle changes lanes and drives in a nearby lane, that is, the second steady-state speed.
在判断模块中,示例性地说明,判断第二稳态速度是否大于第一稳态速度,若是,则对车辆进行变道处理,例如,当第一稳态速度为40km/h,第二稳态速度为60km/h,可以认为如果车辆继续保持在当前车道行驶所能达到的速度为40km/h,小于车辆变道后在附近车道行驶所能达到的速度为60km/h,在不影响达到目的地的整体路径时,可以对车辆进行变道处理,使车辆获得可以达到的更快的行驶速度,从而节约行驶时间。然而,如果第一稳态速度为60km/h,第二稳态速度为50km/h,此时则认为当前车辆继续保持在当前车道进行行驶时可以达到更快的行驶速度,其中,km/h代表速度单位:每小时的公里数。通过该方式,则可以在实际进行变道之前分析自动驾驶车辆的当前车道和附近车道上的其他车辆的行驶信息,从而预先获取变道规划的决策,节约车辆进行变道的时间成本,避免来回重复变道。In the judging module, it is exemplarily explained that it is judged whether the second steady-state speed is greater than the first steady-state speed, and if so, the vehicle is changed lane. For example, when the first steady-state speed is 40km/h, the second steady-state The state speed is 60km/h. It can be considered that if the vehicle continues to drive in the current lane, the speed that can be achieved is 40km/h, which is less than the speed that the vehicle can achieve in the nearby lane after changing lanes, which is 60km/h. When the overall route of the destination is determined, the vehicle can be changed lanes, so that the vehicle can obtain a faster driving speed, thereby saving driving time. However, if the first steady-state speed is 60km/h and the second steady-state speed is 50km/h, then it is considered that the current vehicle can reach a faster driving speed while continuing to drive in the current lane, wherein, km/h Representative speed unit: kilometers per hour. In this way, the current lane of the autonomous vehicle and the driving information of other vehicles in the nearby lanes can be analyzed before the actual lane change, so as to obtain the decision of lane change planning in advance, save the time and cost of the vehicle to change lanes, and avoid back and forth Repeat lane change.
上述装置可应用于自动驾驶车辆行驶过程中对变道进行规划的场景中。通过第一获取模块获取车辆的环境图像信息,根据环境图像信息获得车辆的附近车道信息;通过第二获取模块获取车辆的第一行驶速度,根据附近车道信息获得车辆的附近车辆的第二行驶速度,根据第一行驶速度与第二行驶速度,获得第一稳态速度与第二稳态速度;通过判断模块判断第二稳态速度是否大于第一稳态速度,若是,则对车辆进行变道处理,可解决车辆变道时机不合理、时间成本较高等问题。The above-mentioned device can be applied to the scenario of planning lane changes during driving of an autonomous vehicle. Obtain the environmental image information of the vehicle through the first acquisition module, obtain the nearby lane information of the vehicle according to the environmental image information; obtain the first driving speed of the vehicle through the second acquisition module, and obtain the second driving speed of the nearby vehicles of the vehicle according to the nearby lane information , according to the first driving speed and the second driving speed, obtain the first steady-state speed and the second steady-state speed; judge whether the second steady-state speed is greater than the first steady-state speed through the judging module, and if so, change the lane of the vehicle It can solve the problems of unreasonable timing of vehicle lane change and high time cost.
关于车辆变道规划装置的具体限定可以参见上文中对于车辆变道规划方法的限定,在此不再赘述。上述车辆变道规划装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For the specific limitations of the vehicle lane change planning device, please refer to the above limitation on the vehicle lane change planning method, which will not be repeated here. Each module in the above vehicle lane change planning device can be fully or partially realized by software, hardware and combinations thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, and can also be stored in the memory of the computer device in the form of software, so that the processor can invoke and execute the corresponding operations of the above-mentioned modules.
在一个实施例中,提供了一种计算机设备,该计算机设备可以是服务器,其内部结构图可以如图10所示。该计算机设备包括通过系统总线连接的处理器、存储器、网络接口和数据库。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统、计算机程序和数据库。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的数据库用于存储车辆变道规划的数据。该计算机设备的网络接口用于与外部的终端通过网络连接通信。该计算机程序被处理器执行时以实现一种车辆变道规划方法。In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure may be as shown in FIG. 10 . The computer device includes a processor, memory, network interface and database connected by a system bus. Wherein, the processor of the computer device is used to provide calculation and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs and databases. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing the data of vehicle lane change planning. The network interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, a vehicle lane change planning method is realized.
本领域技术人员可以理解,图10中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structure shown in Figure 10 is only a block diagram of a part of the structure related to the solution of this application, and does not constitute a limitation to the computer equipment on which the solution of this application is applied. The specific computer equipment can be More or fewer components than shown in the figures may be included, or some components may be combined, or have a different arrangement of components.
在一个实施例中,提供了一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,处理器执行计算机程序时实现以下步骤:In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored on the memory and operable on the processor. When the processor executes the computer program, the following steps are implemented:
获取车辆的环境图像信息,根据所述环境图像信息获得所述车辆的附近车道信息;Obtaining the environmental image information of the vehicle, and obtaining the nearby lane information of the vehicle according to the environmental image information;
根据所述附近车道信息获得所述车辆的正前方车辆的第一行驶速度与所述车辆的斜前方车辆的第二行驶速度,根据所述第一行驶速度与所述第二行驶速度,获得第一稳态速度与第二稳态速度,其中,所述第一稳态速度为所述车辆在当前车道的预测行驶速度,所述第二稳态速度为所述车辆在附近车道的预测行驶速度;Obtaining a first traveling speed of a vehicle directly in front of the vehicle and a second traveling speed of a vehicle diagonally ahead of the vehicle according to the nearby lane information, and obtaining a second traveling speed according to the first traveling speed and the second traveling speed A steady-state speed and a second steady-state speed, wherein the first steady-state speed is the predicted speed of the vehicle in the current lane, and the second steady-state speed is the predicted speed of the vehicle in a nearby lane ;
判断所述第二稳态速度是否大于所述第一稳态速度,若是,则对所述车辆进行变道处理。Judging whether the second steady-state speed is greater than the first steady-state speed, and if so, performing lane-changing processing on the vehicle.
在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现以下步骤:In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
获取车辆的环境图像信息,根据所述环境图像信息获得所述车辆的附近车道信息;Obtaining the environmental image information of the vehicle, and obtaining the nearby lane information of the vehicle according to the environmental image information;
根据所述附近车道信息获得所述车辆的正前方车辆的第一行驶速度与所述车辆的斜前方车辆的第二行驶速度,根据所述第一行驶速度与所述第二行驶速度,获得第一稳态速度与第二稳态速度,其中,所述第一稳态速度为所述车辆在当前车道的预测行驶速度,所述第二稳态速度为所述车辆在附近车道的预测行驶速度;Obtaining a first traveling speed of a vehicle directly in front of the vehicle and a second traveling speed of a vehicle diagonally ahead of the vehicle according to the nearby lane information, and obtaining a second traveling speed according to the first traveling speed and the second traveling speed A steady-state speed and a second steady-state speed, wherein the first steady-state speed is the predicted speed of the vehicle in the current lane, and the second steady-state speed is the predicted speed of the vehicle in a nearby lane ;
判断所述第二稳态速度是否大于所述第一稳态速度,若是,则对所述车辆进行变道处理。Judging whether the second steady-state speed is greater than the first steady-state speed, and if so, performing lane-changing processing on the vehicle.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程RO M(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented through computer programs to instruct related hardware, and the computer programs can be stored in a non-volatile computer-readable memory In the medium, when the computer program is executed, it may include the processes of the embodiments of the above-mentioned methods. Wherein, any references to memory, storage, database or other media used in the various embodiments provided in the present application may include non-volatile and/or volatile memory. Nonvolatile memory can include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Chain Synchlink DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments can be combined arbitrarily. To make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be It is considered to be within the range described in this specification.
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only represent several implementation modes of the present application, and the description thereof is relatively specific and detailed, but it should not be construed as limiting the scope of the patent for the invention. It should be noted that those skilled in the art can make several modifications and improvements without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the scope of protection of the patent application should be based on the appended claims.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211042593.9A CN115303275A (en) | 2022-08-29 | 2022-08-29 | A vehicle lane change planning method, device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211042593.9A CN115303275A (en) | 2022-08-29 | 2022-08-29 | A vehicle lane change planning method, device, computer equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115303275A true CN115303275A (en) | 2022-11-08 |
Family
ID=83864219
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211042593.9A Pending CN115303275A (en) | 2022-08-29 | 2022-08-29 | A vehicle lane change planning method, device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115303275A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107742432A (en) * | 2017-10-23 | 2018-02-27 | 天津职业技术师范大学 | Active warning system and control method for expressway operating speed based on vehicle-road coordination |
CN109190831A (en) * | 2018-09-12 | 2019-01-11 | 广州力挚网络科技有限公司 | A kind of real-time speed projectional technique and device |
US20190100211A1 (en) * | 2017-09-29 | 2019-04-04 | Neusoft Corporation | Vehicle lane-changing control method, vehicle lanechanging control device and related equipment |
CN109598947A (en) * | 2018-12-26 | 2019-04-09 | 武汉万集信息技术有限公司 | A kind of vehicle identification method and system |
WO2020135741A1 (en) * | 2018-12-29 | 2020-07-02 | 长城汽车股份有限公司 | Control method and control system for lane changing during automatic driving of vehicle, and vehicle |
WO2022105579A1 (en) * | 2020-11-19 | 2022-05-27 | 腾讯科技(深圳)有限公司 | Control method and apparatus based on autonomous driving, and vehicle and related device |
-
2022
- 2022-08-29 CN CN202211042593.9A patent/CN115303275A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20190100211A1 (en) * | 2017-09-29 | 2019-04-04 | Neusoft Corporation | Vehicle lane-changing control method, vehicle lanechanging control device and related equipment |
CN107742432A (en) * | 2017-10-23 | 2018-02-27 | 天津职业技术师范大学 | Active warning system and control method for expressway operating speed based on vehicle-road coordination |
CN109190831A (en) * | 2018-09-12 | 2019-01-11 | 广州力挚网络科技有限公司 | A kind of real-time speed projectional technique and device |
CN109598947A (en) * | 2018-12-26 | 2019-04-09 | 武汉万集信息技术有限公司 | A kind of vehicle identification method and system |
WO2020135741A1 (en) * | 2018-12-29 | 2020-07-02 | 长城汽车股份有限公司 | Control method and control system for lane changing during automatic driving of vehicle, and vehicle |
WO2022105579A1 (en) * | 2020-11-19 | 2022-05-27 | 腾讯科技(深圳)有限公司 | Control method and apparatus based on autonomous driving, and vehicle and related device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11783570B2 (en) | Method and apparatus for determining road information data and computer storage medium | |
EP4141736A1 (en) | Lane tracking method and apparatus | |
US9866782B2 (en) | Enhanced view for connected cars | |
US10810754B2 (en) | Simultaneous localization and mapping constraints in generative adversarial networks for monocular depth estimation | |
CN112033425B (en) | Vehicle driving assisting method, device, computer equipment and storage medium | |
US10417509B2 (en) | Variable speed sign value prediction and confidence modeling | |
DE102020127043A1 (en) | SECURITY SYSTEM FOR ONE VEHICLE | |
WO2021155685A1 (en) | Map updating method, apparatus and device | |
DE102019133536A1 (en) | Method and apparatus for enabling sequential bottom view image projection synthesis and complicated scene reconstruction at map anomaly hotspots | |
US11691634B1 (en) | On-vehicle driving behavior modelling | |
KR20210043516A (en) | Method and apparatus for training trajectory planning model, electronic device, storage medium and program | |
DE102016224604A1 (en) | System and method for verifying map data for a vehicle | |
WO2021223116A1 (en) | Perceptual map generation method and apparatus, computer device and storage medium | |
CN111753639B (en) | Perception map generation method, device, computer equipment and storage medium | |
US11030774B2 (en) | Vehicle object tracking | |
CN109472251A (en) | Object collision prediction method and device | |
US12071159B2 (en) | Aerial view generation for vehicle control | |
WO2024146294A1 (en) | Method and apparatus for performing unmanned driving by using manual driving trajectory layer information | |
US12168456B2 (en) | Vehicle placement on aerial views for vehicle control | |
CN115303275A (en) | A vehicle lane change planning method, device, computer equipment and storage medium | |
CN116238504A (en) | Vehicle control method, device, device, medium and product | |
CN111942381A (en) | Driving assistance method and device, computer equipment and storage medium | |
CN115503715A (en) | Method and device for changing lane of automatic driving vehicle, computer equipment and storage medium | |
US20220250642A1 (en) | High definition map updates using assets generated by an autonomous vehicle fleet | |
CN115675525A (en) | Control method and device for automatic driving vehicle, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |