[go: up one dir, main page]

CN117351762A - Method, device, equipment, storage medium and vehicle for vehicle to pass through intersection - Google Patents

Method, device, equipment, storage medium and vehicle for vehicle to pass through intersection Download PDF

Info

Publication number
CN117351762A
CN117351762A CN202210753330.2A CN202210753330A CN117351762A CN 117351762 A CN117351762 A CN 117351762A CN 202210753330 A CN202210753330 A CN 202210753330A CN 117351762 A CN117351762 A CN 117351762A
Authority
CN
China
Prior art keywords
vehicle
driving
determining
intersection
lane
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210753330.2A
Other languages
Chinese (zh)
Inventor
王凌云
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Co Wheels Technology Co Ltd
Original Assignee
Beijing Co Wheels Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Co Wheels Technology Co Ltd filed Critical Beijing Co Wheels Technology Co Ltd
Priority to CN202210753330.2A priority Critical patent/CN117351762A/en
Publication of CN117351762A publication Critical patent/CN117351762A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/09Arrangements for giving variable traffic instructions
    • G08G1/0962Arrangements for giving variable traffic instructions having an indicator mounted inside the vehicle, e.g. giving voice messages
    • G08G1/0968Systems involving transmission of navigation instructions to the vehicle
    • G08G1/096805Systems involving transmission of navigation instructions to the vehicle where the transmitted instructions are used to compute a route
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/09Arrangements for giving variable traffic instructions
    • G08G1/0962Arrangements for giving variable traffic instructions having an indicator mounted inside the vehicle, e.g. giving voice messages
    • G08G1/0967Systems involving transmission of highway information, e.g. weather, speed limits
    • G08G1/096708Systems involving transmission of highway information, e.g. weather, speed limits where the received information might be used to generate an automatic action on the vehicle control
    • G08G1/096725Systems involving transmission of highway information, e.g. weather, speed limits where the received information might be used to generate an automatic action on the vehicle control where the received information generates an automatic action on the vehicle control
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/16Anti-collision systems
    • G08G1/167Driving aids for lane monitoring, lane changing, e.g. blind spot detection

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Atmospheric Sciences (AREA)
  • Traffic Control Systems (AREA)

Abstract

The present disclosure relates to a method, apparatus, device, storage medium and vehicle for a vehicle to pass through an intersection, the method comprising: when the vehicle is at the intersection and the front of the intersection is provided with the vehicle, acquiring the running track and the running state of the front vehicle; determining the driving trend of the front vehicle according to the driving state of the front vehicle; determining a target running track of the vehicle according to the running trend of the front vehicle and the running track of the front vehicle; and controlling the vehicle to run according to the target running track. According to the method and the device, the running trend of the front vehicle is judged according to the running state of the front vehicle, the running trend of the front vehicle is determined to be straight running, lane changing or turning and the like, so that the target running track of the front vehicle is determined according to the running trend of the front vehicle and the running track of the front vehicle, the vehicle is controlled to run through the intersection according to the target running track, and compared with the prior art that the vehicle runs blindly following the front vehicle, the method and the device are safer and more reliable, and the running safety of the vehicle is improved.

Description

车辆通过路口的方法、装置、设备、存储介质及车辆Methods, devices, equipment, storage media and vehicles for vehicles passing through intersections

技术领域Technical field

本公开涉及汽车智能驾驶技术领域,尤其涉及一种车辆通过路口的方法、装置、设备、存储介质及车辆。The present disclosure relates to the field of automobile intelligent driving technology, and in particular to a method, device, equipment, storage medium and vehicle for a vehicle to pass through an intersection.

背景技术Background technique

车道保持系统(Lane Keeping Assist,LKA)是指控制车辆沿着一个车道的两条车道线保持自动行驶。Lane Keeping Assist (LKA) refers to controlling the vehicle to maintain automatic driving along two lanes of one lane.

通常情况下,当前方有车,本车在通过路口无车道线可以跟随前车行驶保持LKA功能时,前车在路口处变道行驶,本车也跟随变道,此时极容易与相邻车辆发生碰撞。Under normal circumstances, when there is a car in front, the car can follow the car in front when passing through the intersection without lane lines and maintain the LKA function. Vehicles collide.

发明内容Contents of the invention

为了解决上述技术问题,本公开提供了一种车辆通过路口的方法、装置、设备、存储介质及车辆,提高车辆行驶的安全性,提高车辆通过路口的方法的灵活性。In order to solve the above technical problems, the present disclosure provides a method, device, equipment, storage medium and vehicle for a vehicle to pass through an intersection, thereby improving the safety of vehicle driving and improving the flexibility of the method for a vehicle to pass through an intersection.

第一方面,本公开实施例提供一种车辆通过路口的方法,包括:In a first aspect, an embodiment of the present disclosure provides a method for a vehicle to pass through an intersection, including:

当本车位于路口且前方有车时,获取前车的行驶轨迹及行驶状态;When the vehicle is at an intersection and there is a vehicle in front of it, obtain the driving trajectory and driving status of the vehicle in front;

根据所述前车的行驶状态确定所述前车的行驶趋势;Determine the driving trend of the preceding vehicle based on the driving state of the preceding vehicle;

根据所述前车的行驶趋势及所述前车的行驶轨迹确定本车的目标行驶轨迹;Determine the target driving trajectory of the vehicle based on the driving trend of the preceding vehicle and the driving trajectory of the preceding vehicle;

控制本车按照所述目标行驶轨迹行驶。Control the vehicle to drive according to the target driving trajectory.

第二方面,本公开实施例提供一种车辆通过路口的装置,包括:In a second aspect, an embodiment of the present disclosure provides a device for a vehicle to pass through an intersection, including:

获取模块,用于当本车位于路口且前方有车时,获取前车的行驶轨迹及行驶状态;The acquisition module is used to obtain the driving trajectory and driving status of the vehicle in front when the vehicle is at an intersection and there is a vehicle in front;

第一确定模块,用于根据所述前车的行驶状态确定所述前车的行驶趋势;A first determination module, configured to determine the driving trend of the preceding vehicle based on the driving state of the preceding vehicle;

第二确定模块,用于根据所述前车的行驶趋势及所述前车的行驶轨迹确定本车的目标行驶轨迹;a second determination module, configured to determine the target driving trajectory of the vehicle based on the driving trend of the preceding vehicle and the driving trajectory of the preceding vehicle;

控制模块,用于控制本车按照所述目标行驶轨迹行驶。A control module is used to control the vehicle to drive according to the target driving trajectory.

第三方面,本公开实施例提供一种电子设备,包括:In a third aspect, an embodiment of the present disclosure provides an electronic device, including:

存储器;memory;

处理器;以及processor; and

计算机程序;Computer program;

其中,所述计算机程序存储在所述存储器中,并被配置为由所述处理器执行以实现如第一方面所述的方法。Wherein, the computer program is stored in the memory and configured to be executed by the processor to implement the method as described in the first aspect.

第四方面,本公开实施例提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行以实现第一方面所述的方法。In a fourth aspect, embodiments of the present disclosure provide a computer-readable storage medium on which a computer program is stored, and the computer program is executed by a processor to implement the method described in the first aspect.

第五方面,本公开实施例还提供了一种计算机程序产品,该计算机程序产品包括计算机程序或指令,该计算机程序或指令被处理器执行以实现第一方面所述的方法。In a fifth aspect, embodiments of the present disclosure also provide a computer program product. The computer program product includes a computer program or instructions, and the computer program or instructions are executed by a processor to implement the method described in the first aspect.

第六方面,本公开实施例还提供了一种车辆,包括如上所述的车辆通过路口的装置。In a sixth aspect, an embodiment of the present disclosure further provides a vehicle, including the device for passing a vehicle through an intersection as described above.

本公开实施例提供的车辆通过路口的方法、装置、设备、存储介质及车辆,通过当本车位于路口且前方有车时,获取前车的行驶轨迹及行驶状态,为后续确定前车的行驶趋势提供数据基础;根据前车的行驶状态确定前车的行驶趋势,明确了前车的行驶情况是直行、换道还是转弯等情况;根据前车的行驶趋势及前车的行驶轨迹确定本车的目标行驶轨迹,从而确定本车目标行驶轨迹,保证了本车行驶的安全;控制本车按照目标行驶轨迹行驶,使得本车根据目标行驶轨迹通过路口,相较于现有技术中盲目跟随前车行驶,更加安全可靠,提高车辆行驶的安全性。The methods, devices, equipment, storage media, and vehicles for vehicles passing through intersections provided by embodiments of the present disclosure obtain the driving trajectory and driving status of the preceding vehicle when the vehicle is located at the intersection and there is a vehicle in front of it, thereby determining the driving direction of the preceding vehicle in the future. The trend provides the data basis; determine the driving trend of the preceding vehicle based on the driving status of the preceding vehicle, and clarify whether the preceding vehicle is going straight, changing lanes, or turning; determine the own vehicle based on the driving trend of the preceding vehicle and the driving trajectory of the preceding vehicle The target driving trajectory of the vehicle is determined, thereby ensuring the safety of the vehicle; controlling the vehicle to drive according to the target driving trajectory, so that the vehicle passes the intersection according to the target driving trajectory. Compared with the existing technology, blindly following the vehicle ahead The vehicle is driven more safely and reliably, and the safety of the vehicle is improved.

附图说明Description of drawings

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.

为了更清楚地说明本公开实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those of ordinary skill in the art, It is said that other drawings can be obtained based on these drawings without exerting creative labor.

图1为本公开实施例提供的车辆通过路口的方法流程图;Figure 1 is a flow chart of a method for a vehicle to pass through an intersection provided by an embodiment of the present disclosure;

图2为本公开实施例提供的一种应用场景的示意图;Figure 2 is a schematic diagram of an application scenario provided by an embodiment of the present disclosure;

图3为本公开实施例提供的一种应用场景的示意图;Figure 3 is a schematic diagram of an application scenario provided by an embodiment of the present disclosure;

图4为本公开实施例提供的车辆通过路口的方法流程图;Figure 4 is a flow chart of a method for a vehicle to pass through an intersection provided by an embodiment of the present disclosure;

图5为本公开实施例提供的车辆通过路口的方法流程图;Figure 5 is a flow chart of a method for a vehicle to pass through an intersection provided by an embodiment of the present disclosure;

图6为本公开实施例提供的一种应用场景的示意图;Figure 6 is a schematic diagram of an application scenario provided by an embodiment of the present disclosure;

图7为本公开实施例提供的车辆通过路口的装置的结构示意图;Figure 7 is a schematic structural diagram of a device for vehicles passing through intersections provided by an embodiment of the present disclosure;

图8为本公开实施例提供的电子设备的结构示意图。FIG. 8 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure.

具体实施方式Detailed ways

为了能够更清楚地理解本公开的上述目的、特征和优点,下面将对本公开的方案进行进一步描述。需要说明的是,在不冲突的情况下,本公开的实施例及实施例中的特征可以相互组合。In order to understand the above objects, features and advantages of the present disclosure more clearly, the solutions of the present disclosure will be further described below. It should be noted that, as long as there is no conflict, the embodiments of the present disclosure and the features in the embodiments can be combined with each other.

在下面的描述中阐述了很多具体细节以便于充分理解本公开,但本公开还可以采用其他不同于在此描述的方式来实施;显然,说明书中的实施例只是本公开的一部分实施例,而不是全部的实施例。Many specific details are set forth in the following description to fully understand the present disclosure, but the present disclosure can also be implemented in other ways different from those described here; obviously, the embodiments in the description are only part of the embodiments of the present disclosure, and Not all examples.

本公开实施例提供了一种车辆通过路口的方法,下面结合具体的实施例对该方法进行介绍。The embodiment of the present disclosure provides a method for a vehicle to pass through an intersection. The method will be introduced below with reference to specific embodiments.

图1为本公开实施例提供的车辆通过路口的方法流程图。该方法可以应用于图2所示的应用场景,该应用场景中包括路口23、本车21和前车22,本车21和前车22具体可以是小轿车、越野车、商务车、货车等。可以理解的是,本公开实施例提供的车辆通过路口的方法还可以应用在其他场景中。Figure 1 is a flow chart of a method for a vehicle to pass through an intersection provided by an embodiment of the present disclosure. This method can be applied to the application scenario shown in Figure 2. The application scenario includes an intersection 23, the own vehicle 21 and the preceding vehicle 22. The local vehicle 21 and the leading vehicle 22 can specifically be cars, off-road vehicles, commercial vehicles, trucks, etc. . It can be understood that the method for vehicles passing through intersections provided by the embodiments of the present disclosure can also be applied in other scenarios.

下面结合图2所示的应用场景,对图1所示的车辆通过路口的方法进行介绍,该方法包括的具体步骤如下:The method for vehicles passing through the intersection shown in Figure 1 is introduced below in conjunction with the application scenario shown in Figure 2. The specific steps included in this method are as follows:

S101、当本车位于路口且前方有车时,获取前车的行驶轨迹及行驶状态。S101. When the vehicle is at an intersection and there is a vehicle in front of it, obtain the driving trajectory and driving status of the vehicle in front.

如图2所示,当本车21位于路口23且前方有车22时,将本车看成一点,记作点O,同样的,前车记为点Q,本车21通过传感器数据获取前车Q的行驶轨迹及行驶状态,其中行驶轨迹为从本路口到对向路口的行驶路程,行驶状态包括静止状态(即刹车状态)和移动状态(即向前、向左、向右等方向移动的状态),传感器置于车辆前挡风玻璃中央处,传感器也可以装车辆在其他位置,具体可以根据实际情况确定,可以理解的是,该传感器可以是感知摄像头等可以获取车道线信息、前车的行驶轨迹及行驶状态等信息的设备。As shown in Figure 2, when the vehicle 21 is located at an intersection 23 and there is a car 22 in front of it, the vehicle 21 is regarded as a point, which is recorded as point O. Similarly, the vehicle in front is recorded as point Q. The vehicle 21 obtains the vehicle 22 in front of it through sensor data. The driving trajectory and driving status of car Q, where the driving trajectory is the distance traveled from this intersection to the opposite intersection. The driving status includes a stationary state (i.e. braking state) and a moving state (i.e. moving forward, left, right, etc. state), the sensor is placed in the center of the front windshield of the vehicle. The sensor can also be installed in other locations on the vehicle. The specific situation can be determined according to the actual situation. It is understood that the sensor can be a sensing camera, etc. that can obtain lane line information, front A device that collects information such as the vehicle’s driving trajectory and driving status.

S102、根据所述前车的行驶状态确定所述前车的行驶趋势。S102. Determine the driving trend of the preceding vehicle according to the driving state of the preceding vehicle.

本车21根据前车22的行驶状态,包括静止状态(即刹车状态)和移动状态(即向前、向左、向右等方向移动的状态),确定前车22的行驶趋势。可以理解的是,前车的行驶趋势包括直行、换道、转弯、掉头等。The own vehicle 21 determines the driving trend of the preceding vehicle 22 based on the driving state of the preceding vehicle 22, including a stationary state (ie, braking state) and a moving state (ie, a state of moving forward, left, right, etc.). It is understandable that the driving trend of the vehicle in front includes going straight, changing lanes, turning, making a U-turn, etc.

S103、根据所述前车的行驶趋势及所述前车的行驶轨迹确定本车的目标行驶轨迹。S103. Determine the target driving trajectory of the vehicle based on the driving trend of the preceding vehicle and the driving trajectory of the preceding vehicle.

本车根据前车22的行驶趋势及前车22的行驶轨迹,确定本车21的目标行驶轨迹。The vehicle determines the target driving trajectory of the vehicle 21 based on the driving trend of the preceding vehicle 22 and the driving trajectory of the preceding vehicle 22 .

S104、控制本车按照所述目标行驶轨迹行驶。S104. Control the vehicle to drive according to the target driving trajectory.

控制本车21按照目标行驶轨迹行驶通过路口23,当本车通过路口后,根据LKA功能,控制本车21沿着所在车道的两条车道线保持自动行驶。The vehicle 21 is controlled to drive through the intersection 23 according to the target driving trajectory. After the vehicle passes the intersection, the vehicle 21 is controlled to keep driving automatically along the two lane lines of the lane according to the LKA function.

本公开实施例通过当本车位于路口且前方有车时,获取前车的行驶轨迹及行驶状态,为后续确定前车的行驶趋势提供数据基础;根据前车的行驶状态确定前车的行驶趋势,明确了前车的行驶情况是直行、换道还是转弯等情况;根据前车的行驶趋势及前车的行驶轨迹确定本车的目标行驶轨迹,从而确定本车目标行驶轨迹,保证了本车行驶的安全;控制本车按照目标行驶轨迹行驶,使得本车根据目标行驶轨迹通过路口,相较于现有技术中盲目跟随前车行驶,更加安全可靠,提高车辆行驶的安全性。The embodiment of the present disclosure obtains the driving trajectory and driving status of the preceding vehicle when the vehicle is located at an intersection and there is a vehicle ahead, thereby providing a data basis for subsequent determination of the driving trend of the preceding vehicle; determining the driving trend of the preceding vehicle based on the driving status of the preceding vehicle , it is clear whether the driving situation of the vehicle in front is going straight, changing lanes, turning, etc.; determine the target driving trajectory of the vehicle based on the driving trend of the vehicle in front and the driving trajectory of the vehicle in front, thereby determining the target driving trajectory of the vehicle, ensuring that the vehicle Driving safety: Control the vehicle to drive according to the target driving trajectory, so that the vehicle passes the intersection according to the target driving trajectory. Compared with the existing technology of blindly following the vehicle in front, it is safer and more reliable, and improves the safety of vehicle driving.

另外,本实施例通过本车跟随前车通过路口后,快速根据LKA功能回到车道中心行驶,保证了本车的安全,相比较现有的通过路口的方法,能有效的避免交通事故人员伤亡等安全情况,提高驾驶的体验感和安全性。In addition, in this embodiment, after the vehicle follows the vehicle in front and passes through the intersection, it quickly returns to the center of the lane according to the LKA function, ensuring the safety of the vehicle. Compared with the existing method of passing through the intersection, it can effectively avoid casualties in traffic accidents. Wait for safety conditions to improve the driving experience and safety.

在一些实施例中,根据所述前车的行驶状态确定所述前车的行驶趋势,包括:确定前车所在位置与前车历史位置之间的横向移动距离;基于所述横向移动距离,确定前车的行驶趋势。In some embodiments, determining the driving trend of the preceding vehicle according to the driving state of the preceding vehicle includes: determining the lateral movement distance between the location of the preceding vehicle and the historical position of the preceding vehicle; determining based on the lateral movement distance The driving trend of the vehicle in front.

确定前车所在位置与前车历史位置之间的横向移动距离,其中,前车所在位置与前车历史位置之间的时间差为安全行驶时间,根据该横向移动距离,确定前车的行驶趋势。可以理解的是,前车的行驶趋势包括直行、换道、转弯、掉头等。Determine the lateral movement distance between the position of the preceding vehicle and the historical position of the preceding vehicle, where the time difference between the location of the preceding vehicle and the historical position of the preceding vehicle is the safe driving time. Based on the lateral movement distance, the driving trend of the preceding vehicle is determined. It is understandable that the driving trend of the vehicle in front includes going straight, changing lanes, turning, making a U-turn, etc.

安全行驶时间=预设距离/(车道宽度/变道时间)Safe driving time = preset distance/(lane width/lane changing time)

安全行驶时间表示在未知场景下,保证自身安全,向前行驶的最长时间,单位是秒(s);The safe driving time indicates the maximum time to drive forward to ensure your own safety in an unknown scenario, the unit is seconds (s);

预设距离表示车道保持辅助功能功能运行域中允许横向偏移的距离,单位是米(m);The preset distance represents the distance allowed for lateral offset in the operating domain of the lane keeping assist function, and the unit is meters (m);

车道宽度,又称标准车道宽度,表示道路上供一列车辆安全顺适行驶所需要的宽度,包括设计车辆的外廓宽度和错车、超车或并列行驶所必需的余宽等,单位是米(m);Lane width, also known as standard lane width, represents the width required for a row of vehicles to travel safely and smoothly on the road, including the designed outer width of the vehicle and the necessary excess width for passing, overtaking or parallel driving, etc. The unit is meters (m );

变道时间(T)表示车辆成功从当前车道变道到相邻车道所用的时间,单位是秒(s)。Lane changing time (T) represents the time it takes for a vehicle to successfully change lanes from the current lane to the adjacent lane, and the unit is seconds (s).

如图3所示,当本车O位于路口,且本车前方有车时,确定前车在T时刻的位置Q’与前车在T0时刻的历史位置Q之间的横向移动距离X,同样的,前车在T时刻的位置Q’与前车在T0时刻的历史位置Q之间的纵向移动距离为Y,其中,前车所在位置Q’与前车历史位置Q之间的时间差T-T0为安全行驶时间。As shown in Figure 3, when the vehicle O is at the intersection and there is a car in front of the vehicle, determine the lateral movement distance X between the position Q' of the preceding vehicle at time T and the historical position Q of the preceding vehicle at time T0. Similarly, , the longitudinal movement distance between the position Q' of the preceding vehicle at time T and the historical position Q of the preceding vehicle at time T0 is Y, where the time difference between the position Q' of the preceding vehicle and the historical position Q of the preceding vehicle is T- T0 is the safe driving time.

本公开实施例通过确定前车的横向移动距离,进而确定前车的行驶趋势,为本车的目标行驶轨迹的确定提供了数据基础。The embodiment of the present disclosure provides a data basis for determining the target driving trajectory of the vehicle by determining the lateral movement distance of the vehicle in front, and then determining the driving trend of the vehicle in front.

如图4所示,在一些实施例中,根据横向移动距离,确定前车的行驶趋势具体包括如下步骤S401-S403:As shown in Figure 4, in some embodiments, determining the driving trend of the preceding vehicle based on the lateral movement distance specifically includes the following steps S401-S403:

S401、判断横向移动距离是否大于预设距离阈值,若是,则执行步骤S402;若否,则执行步骤S403。S401. Determine whether the lateral movement distance is greater than the preset distance threshold. If yes, execute step S402; if not, execute step S403.

预设距离阈值为基于车道保持辅助功能允许的横向偏移距离确定的距离阈值,预设距离阈值=预设距离+标定值,标定值是为了防止车辆控制过于敏感。The preset distance threshold is a distance threshold determined based on the lateral offset distance allowed by the lane keeping assist function. The preset distance threshold = the preset distance + the calibration value. The calibration value is to prevent the vehicle control from being too sensitive.

S402、确定前车的行驶趋势为换道或转弯。S402. Determine the driving trend of the vehicle in front to change lanes or turn.

若横向移动距离X大于预设距离阈值,即X>预设距离+标定值,则确定前车的行驶趋势为换道或转弯。If the lateral movement distance X is greater than the preset distance threshold, that is,

可选的,前车换道可以是向左换道,也可以是向右换道。转弯可以是向左转弯,也可以是向右转弯。Optionally, the vehicle in front can change lanes to the left or right. The turn can be left or right.

具体的,S402可以通过如图5所示的方法实现。即当前车的行驶趋势为换道的情况下,具体的,如图5所示,S402具体可以通过如下S501-S503步骤来实现:Specifically, S402 can be implemented by the method shown in Figure 5. That is, when the current driving trend of the vehicle is to change lanes, specifically, as shown in Figure 5, S402 can be implemented through the following steps S501-S503:

S501、判断本车相邻车道是否存在障碍物,若是,则直行步骤S502;若否,则执行步骤S503。S501. Determine whether there is an obstacle in the lane adjacent to the vehicle. If yes, proceed to step S502; if not, proceed to step S503.

传感器数据可以感知到本车感知范围内相邻车道是否存在障碍物的情况,若本车相邻车道存在障碍物,则执行步骤S502;若本车相邻车道不存在障碍物,则执行步骤S503。The sensor data can sense whether there are obstacles in the adjacent lanes within the sensing range of the vehicle. If there are obstacles in the adjacent lanes of the vehicle, step S502 is executed; if there are no obstacles in the adjacent lanes of the vehicle, step S503 is executed. .

S502、根据本车当前位置、以及本车的历时帧虚拟生成车道线,规划本车的目标行驶轨迹,控制本车按照所述目标行驶轨迹行驶。S502: Virtually generate lane lines based on the current position of the vehicle and the vehicle's duration frame, plan the target driving trajectory of the vehicle, and control the vehicle to drive according to the target driving trajectory.

当相邻车道存在障碍物且本车当前位置无法感知到对向出口两侧车道线的起始位置时,例如前车是向右变道行驶,本车的相邻右侧车道存在障碍物,则本车不能跟随前车行驶趋势行驶,根据本车的历时帧确定历史车道宽度,根据本车当前位置、历史车道宽度,虚拟生成车道线。具体的,以本车当前位置为中心,向垂直于本车行驶方向以历史车道宽度的一半确定本车在两侧虚拟车道线上的投影位置,根据这两个投影位置和汽车的行驶方向,可以分别过这两个投影位置做汽车行驶方向的平行线,从而虚拟成车道线。可以理解的是,前车也可以是向左变道,相应的,本车相邻左侧车道存在障碍物。When there are obstacles in the adjacent lanes and the current position of the vehicle cannot sense the starting positions of the lane lines on both sides of the opposite exit, for example, the vehicle in front is changing lanes to the right and there are obstacles in the adjacent right lane of the vehicle. Then the vehicle cannot follow the driving trend of the vehicle in front. The historical lane width is determined based on the vehicle's duration frame, and the lane lines are generated virtually based on the vehicle's current position and historical lane width. Specifically, with the current position of the vehicle as the center and perpendicular to the vehicle's driving direction, the projection position of the vehicle on the virtual lane lines on both sides is determined at half the historical lane width. Based on these two projection positions and the driving direction of the car, Parallel lines in the driving direction of the car can be drawn through these two projection positions to create virtual lane lines. It is understandable that the vehicle in front can also change lanes to the left. Correspondingly, there are obstacles in the left lane adjacent to the vehicle.

可选的,当相邻车道存在障碍物且本车当前位置可以感知到对向出口两侧车道线的起始位置时,基于本车当前位置、对向出口两侧车道线的起始位置,规划本车的目标行驶轨迹,并控制本车按照所述目标行驶轨迹行驶。Optionally, when there are obstacles in adjacent lanes and the current position of the vehicle can sense the starting positions of the lane lines on both sides of the opposite exit, based on the current position of the vehicle and the starting positions of the lane lines on both sides of the opposite exit, Plan the target driving trajectory of the vehicle and control the vehicle to drive according to the target driving trajectory.

如图6所示,当本车位于O’点时,根据本车传感器数据,可以得到对向出口两侧车道线的起始位置A1、B1,确定对向出口两侧车道线的起始位置A1、B1之间的连线的中点O1;从而确定该连线的中点O1为该轨迹规划终点。As shown in Figure 6, when the vehicle is at point O', based on the sensor data of the vehicle, the starting positions A1 and B1 of the lane lines on both sides of the opposite exit can be obtained, and the starting positions of the lane lines on both sides of the opposite exit can be determined. The midpoint O1 of the connecting line between A1 and B1 is determined as the end point of the trajectory planning.

安全行驶距离=安全行驶时间*行驶速度Safe driving distance = safe driving time * driving speed

安全行驶距离表示在未知场景下,保证自身安全,向前行驶的最远距离,单位是米(m);The safe driving distance represents the farthest distance you can travel forward to ensure your own safety in an unknown scenario. The unit is meters (m);

行驶速度(V)表示车辆行驶速度,单位米/秒(m/s)。Driving speed (V) represents the vehicle driving speed in meters per second (m/s).

安全行驶距离=预设距离/(车道宽度/变道时间)*行驶速度Safe driving distance = preset distance/(lane width/lane changing time)*driving speed

若所述本车当前位置O’与所述轨迹规划终点O1之间的距离小于或等于安全行驶距离,则将所述本车当前位置O’与所述轨迹规划终点O1之间的连线确定为本车的目标行驶轨迹,并控制本车按照所述目标行驶轨迹行驶通过路口。If the distance between the current position O' of the own vehicle and the end point O1 of the trajectory planning is less than or equal to the safe driving distance, then the connection line between the current position O' of the own vehicle and the end point O1 of the trajectory planning is determined. is the target driving trajectory of the vehicle, and controls the vehicle to drive through the intersection according to the target driving trajectory.

若本车当前位置O’与轨迹规划终点O1之间的距离大于安全行驶距离,则根据本车当前位置O’在当前车道两侧车道线上的投影位置A、B与对向出口两侧车道线的起始位置A1、B1,确定轨迹规划点O2,以使本车当前位置O’、轨迹规划点O2、轨迹规划终点O1中任意相邻两点之间的距离小于或等于安全行驶距离。可以理解的是,当本车当前位置O’、轨迹规划点O2、轨迹规划终点O1中任意相邻两点之间的距离大于安全行驶距离时,则还需要确定其他轨迹规划点,使得本车当前位置、至少一个轨迹规划点、轨迹规划终点中任意相邻两点之间的距离小于或等于安全行驶距离。If the distance between the vehicle's current position O' and the trajectory planning end point O1 is greater than the safe driving distance, then the projection positions A and B of the vehicle's current position O' on the lane lines on both sides of the current lane and the lanes on both sides of the opposite exit The starting positions A1 and B1 of the line are determined, and the trajectory planning point O2 is determined so that the distance between any two adjacent points among the vehicle's current position O', trajectory planning point O2, and trajectory planning end point O1 is less than or equal to the safe driving distance. It can be understood that when the distance between any two adjacent points among the current position O' of the vehicle, the trajectory planning point O2, and the trajectory planning end point O1 is greater than the safe driving distance, other trajectory planning points need to be determined so that the vehicle The distance between the current position, at least one trajectory planning point, and any two adjacent points in the trajectory planning end point is less than or equal to the safe driving distance.

可选的,基于本车当前位置O’在当前车道两侧车道线上的投影位置A和B与对向出口两侧车道线的起始位置A1和B1,确定至少一个轨迹规划点包括:确定当前车道左侧车道线上的投影位置A与对向出口左侧车道线的起始位置A1之间的连线AA1的第一中点A2;确定当前车道右侧车道线上的投影位置B与对向出口右侧车道线的起始位置B1之间的连线BB1的第二中点B2;确定第一中点A2与第二中点B2之间的连线的中点O2作为第一轨迹规划点。Optionally, based on the projected positions A and B of the vehicle's current position O' on the lane lines on both sides of the current lane and the starting positions A1 and B1 of the lane lines on both sides of the opposite exit, determining at least one trajectory planning point includes: determining The first midpoint A2 of the connection line AA1 between the projected position A on the left lane line of the current lane and the starting position A1 of the left lane line of the opposite exit; determine the projected position B on the right lane line of the current lane and The second midpoint B2 of the connection line BB1 between the starting position B1 of the right lane line of the opposite exit; determine the midpoint O2 of the connection line between the first midpoint A2 and the second midpoint B2 as the first trajectory Planning points.

根据本车当前的位置O’、至少一个轨迹规划点、轨迹规划终点O1,规划本车的目标行驶轨迹,并控制本车按照所述目标行驶轨迹行驶通过路口。According to the current position O' of the vehicle, at least one trajectory planning point, and the trajectory planning end point O1, the target driving trajectory of the vehicle is planned, and the vehicle is controlled to drive through the intersection according to the target driving trajectory.

S503、根据所述前车的行驶轨迹,确定本车的目标行驶轨迹为所述前车的行驶轨迹。S503. According to the driving trajectory of the preceding vehicle, determine the target driving trajectory of the own vehicle as the driving trajectory of the preceding vehicle.

当相邻车道不存在障碍物时,例如,前车是向右变道行驶,本车的相邻右侧车道不存在障碍物,则根据前车的行驶轨迹,确定本车的目标行驶轨迹为前车的行驶轨迹,即本车的目标行驶轨迹为前车的行驶轨迹为向前车换道方向(即右侧方向)行驶安全行驶距离,且本车的横向移动距离为所述车道保持辅助功能允许的横向偏移距离。可以理解的是,前车也可以是向左变道,相应的,本车相邻左侧车道不存在障碍物。When there are no obstacles in the adjacent lanes, for example, the vehicle in front is changing lanes to the right and there are no obstacles in the adjacent right lane of the vehicle, then based on the driving trajectory of the vehicle in front, the target driving trajectory of the vehicle is determined as The driving trajectory of the preceding vehicle, that is, the target driving trajectory of this vehicle is the driving trajectory of the preceding vehicle, which is a safe driving distance in the lane-changing direction of the preceding vehicle (i.e., the right direction), and the lateral movement distance of this vehicle is the lane keeping assist The lateral offset distance allowed by the function. It is understandable that the vehicle in front can also change lanes to the left. Correspondingly, there are no obstacles in the left lane adjacent to the vehicle.

S403、确定前车的行驶趋势为直行。S403. Determine that the driving trend of the vehicle in front is straight.

若横向移动距离X小于或等于预设距离阈值,即X<预设距离+标定值或X=预设距离+标定值,则确定前车的行驶趋势为直行。If the lateral movement distance X is less than or equal to the preset distance threshold, that is,

可选的,若前车的行驶趋势为直行,则根据所述前车的行驶轨迹,确定本车的目标行驶轨迹为所述前车的行驶轨迹。Optionally, if the driving trend of the preceding vehicle is to go straight, the target driving trajectory of the own vehicle is determined to be the driving trajectory of the preceding vehicle based on the driving trajectory of the preceding vehicle.

本公开实施例通过确定前车的行驶情况,本车相邻车道是否有障碍物,是否能感知到对向出口两侧车道线的起始位置,从而确定本车的目标行驶轨迹,并控制本车按照目标行驶轨迹行驶通过路口,本车在过路口后,可以根据LKA功能在车道中心行驶,进一步提高本车行驶的安全性。The embodiment of the present disclosure determines the target driving trajectory of the vehicle by determining the driving situation of the vehicle in front, whether there are obstacles in the adjacent lane of the vehicle, and whether the starting position of the lane lines on both sides of the opposite exit can be sensed, thereby determining the target driving trajectory of the vehicle and controlling the vehicle. The car drives through the intersection according to the target driving trajectory. After crossing the intersection, the car can drive in the center of the lane according to the LKA function, further improving the safety of the car's driving.

图7为本公开实施例提供的车辆通过路口的装置的结构示意图。该车辆通过路口的装置可以是如上实施例所述的电子设备,或者该车辆通过路口的装置可以该电子设备中的部件或组件。本公开实施例提供的车辆通过路口的装置可以执行车辆通过路口的方法实施例提供的处理流程,如图7所示,车辆通过路口的装置70包括:获取模块71、第一确定模块72、第二确定模块73、控制模块74;其中,获取模块71,用于当本车位于路口且前方有车时,获取前车的行驶轨迹及行驶状态;第一确定模块72,用于根据所述前车的行驶状态确定所述前车的行驶趋势;第二确定模块73,用于根据所述前车的行驶趋势及所述前车的行驶轨迹确定本车的目标行驶轨迹;控制模块74,用于控制本车按照所述目标行驶轨迹行驶。FIG. 7 is a schematic structural diagram of a device for vehicles passing through intersections provided by an embodiment of the present disclosure. The device for the vehicle to pass through the intersection may be the electronic device as described in the above embodiment, or the device for the vehicle to pass through the intersection may be a component or assembly in the electronic device. The device for a vehicle passing through an intersection provided by the embodiment of the present disclosure can execute the processing flow provided by the method embodiment for a vehicle passing through the intersection. As shown in Figure 7, the device 70 for a vehicle passing through the intersection includes: an acquisition module 71, a first determination module 72, a third The second determination module 73 and the control module 74; among them, the acquisition module 71 is used to acquire the driving trajectory and driving status of the preceding vehicle when the vehicle is located at the intersection and there is a vehicle in front; the first determination module 72 is used to obtain the driving trajectory and driving status of the preceding vehicle according to the preceding vehicle. The driving state of the vehicle determines the driving trend of the preceding vehicle; the second determination module 73 is used to determine the target driving trajectory of the vehicle based on the driving trend of the preceding vehicle and the driving trajectory of the preceding vehicle; the control module 74 uses To control the vehicle to drive according to the target driving trajectory.

可选的,第一确定模块72,还用于根据所述前车的行驶状态确定所述前车的行驶趋势,包括:确定前车所在位置与前车历史位置之间的横向移动距离;基于所述横向移动距离,确定前车的行驶趋势。Optionally, the first determination module 72 is also used to determine the driving trend of the preceding vehicle according to the driving state of the preceding vehicle, including: determining the lateral movement distance between the position of the preceding vehicle and the historical position of the preceding vehicle; based on The lateral movement distance determines the driving trend of the vehicle in front.

可选的,第一确定模块72,还用于基于所述横向移动距离,确定前车的行驶趋势,包括:判断所述横向移动距离是否大于预设距离阈值;其中,所述预设距离阈值为基于车道保持辅助功能允许的横向偏移距离确定的距离阈值;若所述横向移动距离小于或等于预设距离阈值,则确定前车的行驶趋势为直行;若所述横向移动距离大于预设距离阈值,则确定前车的行驶趋势为换道或转弯。Optionally, the first determination module 72 is also used to determine the driving trend of the preceding vehicle based on the lateral movement distance, including: determining whether the lateral movement distance is greater than a preset distance threshold; wherein, the preset distance threshold It is a distance threshold determined based on the lateral offset distance allowed by the lane keeping assist function; if the lateral movement distance is less than or equal to the preset distance threshold, it is determined that the driving trend of the vehicle in front is to go straight; if the lateral movement distance is greater than the preset distance distance threshold, it is determined that the driving trend of the vehicle in front is to change lanes or turn.

可选的,第二确定模块73,还用于根据所述前车的行驶趋势及所述前车的行驶轨迹确定本车的目标行驶轨迹,包括:若前车的行驶趋势为换道或转弯,则判断本车相邻车道是否存在障碍物;若本车相邻车道不存在障碍物,则根据所述前车的行驶轨迹,确定本车的目标行驶轨迹为所述前车的行驶轨迹。Optionally, the second determination module 73 is also used to determine the target driving trajectory of the own vehicle based on the driving trend of the preceding vehicle and the driving trajectory of the preceding vehicle, including: if the driving trend of the preceding vehicle is to change lanes or turn. , then determine whether there are obstacles in the adjacent lanes of the vehicle; if there are no obstacles in the adjacent lanes of the vehicle, determine the target driving trajectory of the vehicle to be the driving trajectory of the preceding vehicle based on the driving trajectory of the preceding vehicle.

可选的,第二确定模块73,还用于根据所述前车的行驶趋势及所述前车的行驶轨迹确定本车的目标行驶轨迹,包括:若前车的行驶趋势为直行,则根据所述前车的行驶轨迹,确定本车的目标行驶轨迹为所述前车的行驶轨迹。Optionally, the second determination module 73 is also used to determine the target driving trajectory of the own vehicle based on the driving trend of the preceding vehicle and the driving trajectory of the preceding vehicle, including: if the driving trend of the preceding vehicle is straight, then based on The driving trajectory of the preceding vehicle determines the target driving trajectory of the own vehicle as the driving trajectory of the preceding vehicle.

可选的,控制模块74,还用于若前车的行驶趋势为换道且本车相邻车道存在障碍物,则根据本车当前位置、以及本车的历时帧虚拟生成车道线,规划本车的目标行驶轨迹,控制本车按照所述目标行驶轨迹行驶。Optionally, the control module 74 is also used to, if the driving trend of the vehicle in front is to change lanes and there are obstacles in the adjacent lane of the vehicle, virtually generate lane lines based on the current position of the vehicle and the duration frame of the vehicle, and plan the vehicle's current position. The target driving trajectory of the vehicle is controlled to control the vehicle to drive according to the target driving trajectory.

可选的,控制模块74,还用于根据本车当前位置、以及本车的历时帧虚拟生成车道线,确定本车的目标行驶轨迹,包括:根据本车的历时帧确定历史车道宽度;根据本车当前位置、所述历史车道宽度,虚拟生成车道线;根据所述车道线,确定本车的目标行驶轨迹为所述车道线的中心线。Optionally, the control module 74 is also used to virtually generate lane lines based on the current location of the vehicle and the vehicle's duration frame, and determine the target driving trajectory of the vehicle, including: determining the historical lane width based on the vehicle's duration frame; The current position of the vehicle and the historical lane width are used to virtually generate lane lines; based on the lane lines, the target driving trajectory of the vehicle is determined to be the center line of the lane lines.

可选的,控制模块74,还用于根据本车当前位置,判断本车能否感知到对向出口两侧车道线的起始位置,若是,则基于本车当前位置、对向出口两侧车道线的起始位置,规划本车的目标行驶轨迹,并控制本车按照所述目标行驶轨迹行驶。Optionally, the control module 74 is also used to determine whether the vehicle can sense the starting position of the lane lines on both sides of the opposite exit based on the current position of the vehicle. If so, based on the current position of the vehicle and the starting positions of the lane lines on both sides of the opposite exit. The starting position of the lane line, planning the target driving trajectory of the vehicle, and controlling the vehicle to drive according to the target driving trajectory.

图7所示实施例的车辆通过路口的装置可用于执行上述方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The device for vehicles passing through intersections in the embodiment shown in FIG. 7 can be used to implement the technical solutions of the above method embodiments. The implementation principles and technical effects are similar and will not be described again here.

图8为本公开实施例提供的电子设备的结构示意图。本公开实施例提供的电子设备可以执行车辆通过路口的方法实施例提供的处理流程,如图8所示,电子设备80包括:存储器81、处理器82、计算机程序和通讯接口83;其中,计算机程序存储在存储器81中,并被配置为由处理器82执行如上所述的车辆通过路口的方法。FIG. 8 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure. The electronic device provided by the embodiment of the present disclosure can execute the processing flow provided by the method embodiment of the vehicle passing through the intersection. As shown in Figure 8, the electronic device 80 includes: a memory 81, a processor 82, a computer program and a communication interface 83; wherein, the computer The program is stored in the memory 81 and is configured to be executed by the processor 82 as described above for the vehicle passing through the intersection.

另外,本公开实施例还提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行以实现上述实施例所述的车辆通过路口的方法。In addition, embodiments of the present disclosure also provide a computer-readable storage medium on which a computer program is stored, and the computer program is executed by a processor to implement the method for a vehicle passing an intersection described in the above embodiments.

此外,本公开实施例还提供了一种计算机程序产品,该计算机程序产品包括计算机程序或指令,该计算机程序或指令被处理器执行时实现如上所述的车辆通过路口的方法。In addition, embodiments of the present disclosure also provide a computer program product, which includes a computer program or instructions. When the computer program or instructions are executed by a processor, the method for a vehicle passing an intersection as described above is implemented.

此外,本公开实施例还提供一种车辆,包括如上所述车辆通过路口的装置。In addition, an embodiment of the present disclosure also provides a vehicle, including a device for passing a vehicle through an intersection as described above.

需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。It should be noted that the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two. The computer-readable storage medium may be, for example, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or any combination thereof. More specific examples of computer readable storage media may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard drive, random access memory (RAM), read only memory (ROM), removable Programmed read-only memory (EPROM or flash memory), fiber optics, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above. In this disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code therein. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device . Program code embodied on a computer-readable medium may be transmitted using any suitable medium, including but not limited to: wire, optical cable, RF (radio frequency), etc., or any suitable combination of the above.

在一些实施方式中,客户端、服务器可以利用诸如HTTP(HyperText TransferProtocol,超文本传输协议)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(“LAN”),广域网(“WAN”),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。In some embodiments, the client and server can communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and can communicate with digital data in any form or medium. (e.g., communications network) interconnection. Examples of communication networks include local area networks ("LAN"), wide area networks ("WAN"), the Internet (e.g., the Internet), and end-to-end networks (e.g., ad hoc end-to-end networks), as well as any currently known or developed in the future network of.

上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。The above-mentioned computer-readable medium may be included in the above-mentioned electronic device; it may also exist independently without being assembled into the electronic device.

上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the electronic device, the electronic device:

当本车位于路口且前方有车时,获取前车的行驶轨迹及行驶状态;When the vehicle is at an intersection and there is a vehicle in front of it, obtain the driving trajectory and driving status of the vehicle in front;

根据所述前车的行驶状态确定所述前车的行驶趋势;Determine the driving trend of the preceding vehicle based on the driving state of the preceding vehicle;

根据所述前车的行驶趋势及所述前车的行驶轨迹确定本车的目标行驶轨迹;Determine the target driving trajectory of the vehicle based on the driving trend of the preceding vehicle and the driving trajectory of the preceding vehicle;

控制本车按照所述目标行驶轨迹行驶。Control the vehicle to drive according to the target driving trajectory.

另外,该电子设备还可以执行如上所述的车辆通过路口的方法中的其他步骤。In addition, the electronic device can also perform other steps in the method for a vehicle passing through an intersection as described above.

可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括但不限于面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, including but not limited to object-oriented programming languages—such as Java, Smalltalk, C++, and Includes conventional procedural programming languages—such as "C" or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In situations involving remote computers, the remote computer can be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as an Internet service provider through Internet connection).

附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operations of possible implementations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagram may represent a module, segment, or portion of code that contains one or more logic functions that implement the specified executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown one after another may actually execute substantially in parallel, or they may sometimes execute in the reverse order, depending on the functionality involved. It will also be noted that each block of the block diagram and/or flowchart illustration, and combinations of blocks in the block diagram and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or operations. , or can be implemented using a combination of specialized hardware and computer instructions.

描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在某种情况下并不构成对该单元本身的限定。The units involved in the embodiments of the present disclosure can be implemented in software or hardware. Among them, the name of a unit does not constitute a limitation on the unit itself under certain circumstances.

本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、片上系统(SOC)、复杂可编程逻辑设备(CPLD)等等。The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, and without limitation, exemplary types of hardware logic components that may be used include: Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), Systems on Chips (SOCs), Complex Programmable Logical device (CPLD) and so on.

在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。In the context of this disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. Machine-readable media may include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media would include electrical connections based on one or more wires, laptop disks, hard drives, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.

需要说明的是,在本文中,诸如“第一”和“第二”等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that in this article, relational terms such as “first” and “second” are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply these There is no such actual relationship or sequence between entities or operations. Furthermore, the terms "comprises," "comprises," or any other variations thereof are intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus that includes a list of elements includes not only those elements, but also those not expressly listed other elements, or elements inherent to the process, method, article or equipment. Without further limitation, an element defined by the statement "comprises a..." does not exclude the presence of additional identical elements in a process, method, article, or apparatus that includes the stated element.

以上所述仅是本公开的具体实施方式,使本领域技术人员能够理解或实现本公开。对这些实施例的多种修改对本领域的技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本公开的精神或范围的情况下,在其它实施例中实现。因此,本公开将不会被限制于本文所述的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。The above descriptions are only specific embodiments of the present disclosure, enabling those skilled in the art to understand or implement the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be practiced in other embodiments without departing from the spirit or scope of the disclosure. Therefore, the present disclosure is not to be limited to the embodiments described herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (12)

1. A method of passing a vehicle through an intersection, the method comprising:
when the vehicle is at the intersection and the front of the intersection is provided with the vehicle, acquiring the running track and the running state of the front vehicle;
determining the driving trend of the front vehicle according to the driving state of the front vehicle;
determining a target running track of the vehicle according to the running trend of the front vehicle and the running track of the front vehicle;
and controlling the vehicle to run according to the target running track.
2. The method of claim 1, wherein determining the driving tendency of the lead vehicle based on the driving state of the lead vehicle comprises:
determining a lateral movement distance between a position of a front vehicle and a history position of the front vehicle;
and determining the driving trend of the front vehicle based on the transverse movement distance.
3. The method of claim 2, wherein determining a driving tendency of a preceding vehicle based on the lateral movement distance comprises:
judging whether the transverse moving distance is larger than a preset distance threshold value or not; the preset distance threshold is a distance threshold determined based on a lateral offset distance allowed by a lane keeping auxiliary function;
if the transverse movement distance is smaller than or equal to a preset distance threshold value, determining that the driving trend of the front vehicle is straight;
and if the transverse moving distance is greater than the preset distance threshold, determining that the driving trend of the front vehicle is lane change or turning.
4. A method according to claim 3, wherein determining a target travel track of the host vehicle from the travel tendency of the preceding vehicle and the travel track of the preceding vehicle comprises:
if the driving trend of the front vehicle is lane change or turning, judging whether an obstacle exists in the adjacent lane of the vehicle;
if no obstacle exists in the adjacent lane of the vehicle, determining the target running track of the vehicle as the running track of the front vehicle according to the running track of the front vehicle.
5. A method according to claim 3, wherein determining a target travel track of the host vehicle from the travel tendency of the preceding vehicle and the travel track of the preceding vehicle comprises:
if the running trend of the front vehicle is straight running, determining that the target running track of the vehicle is the running track of the front vehicle according to the running track of the front vehicle.
6. The method according to claim 4, wherein the method further comprises:
if the driving trend of the front vehicle is lane change and the adjacent lane of the host vehicle has an obstacle, virtually generating a lane line according to the current position of the host vehicle and the time frame of the host vehicle, planning a target driving track of the host vehicle, and controlling the host vehicle to drive according to the target driving track.
7. The method of claim 6, wherein virtually generating a lane line from the current location of the host vehicle and the duration frame of the host vehicle, determining the target travel track of the host vehicle comprises:
determining a historical lane width according to the duration frame of the vehicle;
virtually generating a lane line according to the current position of the vehicle and the historical lane width;
and determining the target running track of the vehicle as the central line of the lane line according to the lane line.
8. The method of claim 6, wherein the method further comprises:
and judging whether the host vehicle can sense the initial positions of the lane lines at the two sides of the opposite exit according to the current position of the host vehicle, if so, planning a target running track of the host vehicle based on the current position of the host vehicle and the initial positions of the lane lines at the two sides of the opposite exit, and controlling the host vehicle to run according to the target running track.
9. An apparatus for passing a vehicle through an intersection, the apparatus comprising:
the acquisition module is used for acquiring the running track and the running state of the front vehicle when the vehicle is at the intersection and the front vehicle is in front of the intersection;
the first determining module is used for determining the driving trend of the front vehicle according to the driving state of the front vehicle;
the second determining module is used for determining a target running track of the vehicle according to the running trend of the front vehicle and the running track of the front vehicle;
and the control module is used for controlling the vehicle to run according to the target running track.
10. An electronic device, comprising:
a memory;
a processor; and
a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to implement the method of any one of claims 1-8.
11. A computer readable storage medium, on which a computer program is stored, which computer program, when being executed by a processor, implements the method according to any of claims 1-8.
12. A vehicle comprising the apparatus for passing through an intersection of a vehicle according to claim 9.
CN202210753330.2A 2022-06-28 2022-06-28 Method, device, equipment, storage medium and vehicle for vehicle to pass through intersection Pending CN117351762A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210753330.2A CN117351762A (en) 2022-06-28 2022-06-28 Method, device, equipment, storage medium and vehicle for vehicle to pass through intersection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210753330.2A CN117351762A (en) 2022-06-28 2022-06-28 Method, device, equipment, storage medium and vehicle for vehicle to pass through intersection

Publications (1)

Publication Number Publication Date
CN117351762A true CN117351762A (en) 2024-01-05

Family

ID=89365576

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210753330.2A Pending CN117351762A (en) 2022-06-28 2022-06-28 Method, device, equipment, storage medium and vehicle for vehicle to pass through intersection

Country Status (1)

Country Link
CN (1) CN117351762A (en)

Similar Documents

Publication Publication Date Title
CN113905940B (en) Autonomous vehicle maneuvering based on risks associated with obscured areas
CN110033610B (en) Accountability and agreement acceptance of vehicles to form a fleet of vehicles
US10788843B2 (en) Cooperative driving method by which follow vehicle merges with or diverges from cooperative driving and cooperative driving method by which lead vehicle controls merging with or diverging from cooperative driving
CN108349496B (en) Method and control system for determining a traffic clearance between two vehicles for a vehicle&#39;s lane change
CN109562760B (en) Predictions for Autonomous Vehicle Testing
CN110466502A (en) A kind of valet parking method and apparatus
WO2023050811A1 (en) Driving device control method, apparatus, electronic device, storage medium, and computer program product
CN111984018A (en) Automatic driving method and device
CN116476840B (en) Lane changing driving method, device, equipment and storage medium
JP2012221451A (en) Driving support device
KR20200063039A (en) Apparatus for planning dual path and determining road judgement area for autonomous driving and method using thereof
CN114763135A (en) Vehicle running control method and device, electronic equipment and storage medium
CN112509314B (en) Intersection vehicle speed guiding method and device
CN117351762A (en) Method, device, equipment, storage medium and vehicle for vehicle to pass through intersection
JP7136761B2 (en) Risk estimation device and vehicle control device
CN114701495B (en) Lane departure suppression method, electronic device, and storage medium
CN117341687A (en) Methods, devices, equipment, storage media and vehicles for vehicles passing through intersections
CN115562280A (en) Path planning method, device and storage medium for automatically driving vehicle to get rid of trouble
CN115063995A (en) A method and device for controlling a network-connected automatic vehicle in a sudden bottleneck area of an expressway
CN113844446B (en) Vehicle track prediction method integrating long and short ranges
CN115635980A (en) Vehicle passing method, device, equipment and storage medium
CN116547182B (en) Automatic driving control method and automatic driving control device
CN115402313A (en) Autonomous vehicle control method, device, equipment and storage medium
CN115743182A (en) Bypassing method and control method of automatic driving vehicle and vehicle-mounted equipment
CN116946126A (en) Lane keeping methods, devices, equipment, storage media and vehicles

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