Speed planning method and device, vehicle and storage medium

By fitting speed equations in intersections combined with road structure and statistical traffic flow data, the problem of insufficient adaptability of intelligent driving assistance systems in intersection speed planning is solved, and driving safety and comfort are improved.

CN118560477APending Publication Date: 2024-08-30RUILIAN XINGCHEN (BEIJING) TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310121155.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-02-14
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

The speed planning adaptability of the intelligent driving assistance system at intersections is low, and it cannot effectively distinguish the road structure and traffic flow conditions of different intersections, resulting in insufficient driving safety and comfort.

Method used

By determining the trajectory points in the intersection and obtaining the trajectory point data, fitting the speed equation, combining the road structure and statistical traffic data for speed planning, considering the road curvature, the location of traffic participants and motion prediction, obtaining the legal speed limit with priority, ensuring Planning speed at every moment.

Benefits of technology

It improves the adaptability and safety of intelligent driving functions at intersections, ensures that speed planning complies with road structure and traffic flow requirements, reduces the frequency of vehicle acceleration and deceleration at intersections, and improves user experience and fuel economy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118560477A
    Figure CN118560477A
Patent Text Reader

Abstract

The invention provides a speed planning method and device, a vehicle and a storage medium. The speed planning method and device are applied to a driving scene of the vehicle at an intersection. The method comprises the following steps: determining track points in an intersection according to a planned path; the track points comprise a starting point and an ending point, and the vehicle travels from the starting point to the ending point at the intersection; acquiring track point data corresponding to the track points; the track point data comprises position data of track points and statistical traffic flow data; fitting a speed equation of driving at the intersection according to the track point data; the speed equation is an equation about speed and time; and according to the first speed determined by the speed equation, determining the planned speed at each moment when driving at the intersection. According to the embodiment of the invention, the road structure and the statistical traffic flow data are added as references during speed planning, so that the planned speed better conforms to the road structure, the dynamics requirement and the traffic rule of the intersection, and the adaptability of the intelligent driving function in the driving scene of the intersection is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle technology, and in particular to a speed planning method, device, vehicle and storage medium. Background Art

[0002] With the rapid development of the field of autonomous driving, the intelligence and autonomy of autonomous driving technology are increasing. For autonomous driving vehicles, speed planning is one of the main manifestations of vehicle driving on the road. Speed ​​determines the acceleration, deceleration, starting, and parking of the vehicle. At present, the speed planning of the intelligent driving assistance system (ADAS: Advanced Driving Assistance System) is mostly based on the vehicle's own sensors to perceive the outside world to determine the acceleration, constant speed, and deceleration actions. On the one hand, special road scenes such as intersections are not treated differently; on the other hand, the speed value is not adjusted specifically at different intersections. The adaptability of the intelligent driving function to driving scenes at intersections is low. Summary of the invention

[0003] In view of this, the purpose of the embodiments of the present application is to provide a speed planning method, device, vehicle and storage medium, which can make the intelligent driving function more adaptable to intersection driving scenarios.

[0004] According to a first aspect of the present application, a speed planning method is provided, which is applied to a driving scenario of a vehicle at an intersection; the method comprises:

[0005] Determine a track point in the intersection according to the planned path; the track point includes a starting point and an end point, and the vehicle travels from the starting point to the end point in the intersection;

[0006] Acquire trajectory point data corresponding to the trajectory point; the trajectory point data includes position data of the trajectory point and statistical vehicle flow data;

[0007] Fitting a speed equation for traveling at the intersection according to the trajectory point data; the speed equation is an equation of speed with respect to time;

[0008] The planned speed at each moment when traveling at the intersection is determined according to the first speed determined by the speed equation.

[0009] In the above process, the planned speed at each moment when driving at an intersection is determined based on the first speed of the speed equation, and the fitting of the speed equation refers to the road structure and statistical traffic data. Therefore, the road structure and statistical traffic data are actually added as references during speed planning. In this way, on the one hand, the planned speed is more in line with the road structure and dynamics requirements; on the other hand, the traffic speed of the intersection is constrained according to the statistical traffic data, which ensures the traffic safety of the intersection, thereby improving the adaptability of the intelligent driving function in the driving scene of the intersection.

[0010] In some embodiments, the statistical traffic flow data includes statistical traffic flow data for multiple time periods; and obtaining the trajectory point data corresponding to the trajectory point includes:

[0011] Get the location data of the track points, and

[0012] Get the traffic statistics for the current time period.

[0013] In the above process, the traffic flow data of the trajectory points are counted by time period, so that the planned speed is more consistent with the statistical traffic flow data of the trajectory points at the current moment.

[0014] In some embodiments, the statistical traffic data is obtained by the following steps:

[0015] Acquire multiple traffic flow data samples of the trajectory point,

[0016] The traffic flow data samples of the preset quantile are determined as statistical traffic flow data.

[0017] In the above process, by generating statistical traffic data of trajectory points on a third-party device such as a server, the vehicle can directly obtain the statistical traffic data from the third-party device and perform speed planning, thereby improving the adaptability of the intelligent driving function in intersection driving scenarios.

[0018] In some embodiments, fitting a speed equation for traveling at the intersection according to the trajectory point data includes:

[0019] Fitting a trajectory equation according to the trajectory point data; the trajectory equation is an equation of position with respect to time, and is used to characterize the driving trajectory of the vehicle at the intersection;

[0020] The velocity equation is obtained by differentiating the trajectory equation.

[0021] In the above process, by first fitting the trajectory equation of the position with respect to time and then differentiating it with respect to time to obtain the speed equation, the driving trajectory of the vehicle at the intersection conforms to the trajectory equation, and the driving speed conforms to the speed equation, thus completing the trajectory planning and speed planning of the vehicle at the intersection.

[0022] In some embodiments, the statistical traffic data includes speed data and acceleration data of the traffic; and the trajectory equation is a quintic equation.

[0023] In the above process, the trajectory point data includes position data, speed data and acceleration data. The trajectory point data of the starting point and the end point are used as the constraint conditions of the trajectory equation. The road structure, statistical traffic speed and statistical traffic acceleration are added as references when planning the trajectory and speed, so that the planned trajectory conforms to the road structure. The statistical traffic speed and statistical traffic acceleration are used to constrain the speed and acceleration of the vehicle when passing through the intersection, ensuring the safety of the intersection. This improves the adaptability of the intelligent driving function in the intersection driving scene.

[0024] In some embodiments, the method further comprises:

[0025] For each position in the driving trajectory, determining the maximum driving speed of the vehicle along the curvature of the position as a second speed;

[0026] The step of determining the planned speed at each moment when traveling at the intersection according to the first speed determined by the speed equation includes:

[0027] The planned speed at each moment is determined according to the minimum value between the first speed and the second speed.

[0028] In the above process, speed planning not only takes the road structure and traffic statistics data as reference, but also takes into account the maximum driving speed when driving along a certain curvature. Taking the impact of curvature on driving speed into account in the driving scene at the intersection makes the speed planning method more suitable for the driving scene at the intersection, and improves driving safety.

[0029] In some embodiments, when there are other traffic participants besides the vehicle at the intersection, the method further includes:

[0030] Adopting a corresponding anti-collision strategy according to the positional relationship between the traffic participant and the driving trajectory, and determining a target speed under the anti-collision strategy;

[0031] The step of determining the planned speed at each moment when traveling at the intersection according to the first speed determined by the speed equation includes:

[0032] The planned speed at each moment is determined according to the minimum value between the first speed and the target speed.

[0033] In the above process, speed planning not only takes road structure and traffic statistics data as reference, but also considers the third speed under the anti-collision strategy. Combining anti-collision, road structure and traffic statistics data for speed planning can effectively improve the safety of the vehicle at the intersection.

[0034] In some embodiments, the traffic participant is on the driving trajectory, and the corresponding anti-collision strategy is a following strategy, and determining the target speed under the anti-collision strategy includes:

[0035] Determining an expected following distance according to the current speed of the vehicle; wherein the current speed is positively correlated with the expected following distance;

[0036] Using a sensor carried by the vehicle to sense the actual distance between the vehicle and the traffic participant;

[0037] A third speed is determined as the target speed according to a distance difference between the expected following distance and the actual distance.

[0038] In the above process, according to the situation of traffic participants on the driving trajectory, a following strategy is adopted and the third speed under the following strategy is determined. When planning the speed, the following strategy, road structure and statistical traffic data are taken into consideration, which effectively improves the safety of the vehicle driving at the intersection.

[0039] In some embodiments, the other traffic participants are not on the driving trajectory, and the adopting a corresponding anti-collision strategy and determining a target speed under the anti-collision strategy include:

[0040] Predicting the motion of the vehicle and the traffic participant based on the motion information of the vehicle and the motion information of the traffic participant;

[0041] If it is determined that there is a risk of collision based on the motion prediction result, a parking strategy is adopted, and a fourth speed is determined as the target speed based on the distance between the current position of the vehicle and the predicted collision point.

[0042] In the above process, if the traffic participant is not on the driving trajectory, the vehicle is first judged through motion prediction whether there is a risk of collision between the traffic participant and the vehicle. If there is a risk of collision, a parking strategy is adopted and the fourth speed under the parking strategy is determined. When planning the speed, the parking strategy, road structure and traffic statistics are taken into consideration, which effectively improves the safety of the vehicle at the intersection.

[0043] In some embodiments, before the vehicle enters the intersection, the method further includes:

[0044] Acquire the traffic status of the lane where the vehicle is located; wherein the lane is connected to the intersection; the traffic status is used to indicate whether the lane is passable or impassable;

[0045] Determining a fifth speed when the vehicle enters the intersection according to the traffic state;

[0046] The planned speed at each moment before entering the intersection is determined according to the current speed of the vehicle and the fifth speed.

[0047] In the above process, the vehicle enters the intersection at different driving speeds according to the traffic status of the lane, which can not only ensure the safe driving of the vehicle, but also ensure that the vehicle complies with the traffic rules of the intersection.

[0048] In some embodiments, determining the fifth speed of the vehicle when entering the intersection according to the traffic state includes:

[0049] If the traffic state indicates that the lane is passable, determining the fifth speed as speed data in the statistical traffic data of the starting point;

[0050] If the traffic status indicates that the lane is impassable, the fifth speed is determined to be zero.

[0051] In the above process, when the lane is passable, the driving speed of the vehicle when entering the intersection is planned according to the speed data in the statistical traffic data of the starting point, so that the vehicle complies with the traffic rules of the intersection, ensuring the traffic safety of the intersection, thereby improving the adaptability of the intelligent driving function in the intersection driving scenario.

[0052] In some embodiments, the method further comprises:

[0053] According to the priorities of the acquisition methods from high to low, adopt an acquisition method corresponding to the priority to acquire the legal speed limit of the road where the vehicle is located;

[0054] The step of determining the planned speed at each moment when traveling at the intersection according to the first speed determined by the speed equation includes:

[0055] determining a planned speed at each moment when driving at the intersection according to a minimum value between the first speed and the legal speed limit;

[0056] Among them, in order of priority from high to low, the acquisition method includes:

[0057] Using sensors carried by the vehicle to obtain the legal speed limit of the road;

[0058] Obtain the legal speed limit for said road from a map;

[0059] The legal speed limit of the road is queried according to the grade and / or type information of the road.

[0060] In the above process, speed planning not only takes the road structure and traffic statistics data as reference, but also takes into account the legal speed limit of the road where the vehicle is located. Combining the legal speed limit, road structure and traffic statistics data for speed planning can effectively improve the safety of the vehicle at the intersection.

[0061] According to a second aspect of the present application, a speed planning device is provided, which is applied to a driving scenario of a vehicle at an intersection; the device comprises:

[0062] A determination module, configured to determine a trajectory point in the intersection according to a planned path; the trajectory point includes a starting point and an end point, and the vehicle travels from the starting point to the end point in the intersection;

[0063] An acquisition module, used to acquire track point data corresponding to the track point; the track point data includes position data of the track point and statistical traffic data;

[0064] A fitting module, used for fitting a speed equation for traveling at the intersection according to the trajectory point data; the speed equation is an equation of speed with respect to time;

[0065] The planning module is used to determine the planned speed at each moment when driving at the intersection according to the first speed determined by the speed equation.

[0066] According to the third aspect of the present application, a vehicle is provided, comprising: a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the storage medium via the bus, and the processor executes the machine-readable instructions to perform the steps of a time synchronization method as described in any one of the first aspects.

[0067] According to a fourth aspect of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of a time synchronization method as described in any one of the first aspects are executed. BRIEF DESCRIPTION OF THE DRAWINGS

[0068] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0069] Figure 1 A flow chart of a speed planning method provided in an embodiment of the present application is shown;

[0070] Figure 2 The application scenario of the embodiment of the present application is shown;

[0071] Figure 3 A flow chart of a method for acquiring trajectory point data in a speed planning method provided in an embodiment of the present application is shown;

[0072] Figure 4 The application scenario of the embodiment of the present application is shown;

[0073] Figure 5 A schematic diagram of the structure of the server in the embodiment of the present application is shown;

[0074] Figure 6 A flow chart of a method for generating statistical vehicle flow data in a speed planning method provided in an embodiment of the present application is shown;

[0075] Figure 7 A flow chart of a speed equation fitting method in a speed planning method provided in an embodiment of the present application is shown;

[0076] Figure 8 The application scenario of the embodiment of the present application is shown;

[0077] Fig. 9 A flowchart of a third speed determination method in a speed planning method provided in an embodiment of the present application is shown;

[0078] Fig.10 A flow chart of a speed planning method before entering an intersection in a speed planning method provided in an embodiment of the present application is shown;

[0079] Fig.11 A flow chart of a speed planning method in the first stage of a speed planning method provided in an embodiment of the present application is shown;

[0080] Fig.12 A flow chart of a speed planning method in the second stage of a speed planning method provided in an embodiment of the present application is shown;

[0081] Fig.13 A schematic diagram of the structure of a speed planning device provided in an embodiment of the present application is shown;

[0082] Fig.14 A schematic structural diagram of a vehicle provided in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0083] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the drawings in the present application only serve the purpose of explanation and description and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn in real proportion. The flowchart used in this application shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowchart can be implemented out of sequence, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art can add one or more other operations to the flowchart under the guidance of the content of the present application, or remove one or more operations from the flowchart.

[0084] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.

[0085] In order to enable those skilled in the art to use the content of this application, the following implementation is given in conjunction with the specific application scenario "vehicle". For those skilled in the art, the general principles defined here can be applied to other embodiments and application scenarios without departing from the spirit and scope of this application. Although this application is mainly described around the vehicle, it should be understood that this is only an exemplary embodiment. This application can be applied to any other type of transportation. For example, this application can be applied to different transportation system environments, including land, sea, or aviation, or any combination thereof. The means of transportation of the transportation system may include taxis, private cars, rideshares, buses, trains, bullet trains, high-speed railways, subways, ships, airplanes, spacecrafts, hot air balloons, or unmanned vehicles, or any combination thereof. This application may also include any service system, for example, a system for sending and / or receiving express delivery, a service system for transactions between buyers and sellers. The application of the system or method of this application may include a web page, a browser plug-in, a client terminal, a customized system, an internal analysis system, or an artificial intelligence robot, or any combination thereof.

[0086] It should be noted that the term "comprising" will be used in the embodiments of the present application to indicate the existence of the features declared thereafter, but does not exclude the addition of other features.

[0087] The terms "passenger", "requester", "service personnel", "service requester" and "customer" in this application are used interchangeably to refer to individuals, entities or tools that can request or order services. The terms "driver", "provider", "service provider" and "supplier" in this application are used interchangeably to refer to individuals, entities or tools that can provide services. The term "user" in this application may refer to an individual, entity or tool that requests a service, orders a service, provides a service, or facilitates the provision of a service. For example, a user may be a passenger, a driver, an operator, etc., or any combination thereof. In this application, "passenger" and "passenger terminal" are used interchangeably, and "driver" and "driver terminal" are used interchangeably.

[0088] One aspect of the present application relates to a speed planning method, which is applied to the driving scenario of the vehicle at an intersection. The method determines the starting point and the end point at the intersection through the planned path, and fits the speed equation for driving at the intersection according to the position data of the starting point and the end point and the statistical traffic data, respectively. Finally, the planned speed at each moment of driving at the intersection is planned according to the first speed determined by the speed equation. Since the road structure of the intersection will affect the position of the starting point and the end point, the road structure and the statistical traffic data are added as planning references in the above speed planning process. On the one hand, the special road scenes at the intersection are treated differently in speed planning. On the other hand, according to the intersections with different road structures and statistical traffic data, the planned speeds are also different, thereby improving the adaptability of the intelligent driving function in the driving scenario of the intersection.

[0089] It is worth noting that before the present application was filed, the adaptability of the intelligent driving function in the intersection driving scene was low. As mentioned above, the current ADAS speed planning is mostly based on the vehicle's own sensors to perceive the outside world. On-board sensors such as millimeter-wave radars and visual sensors can sense whether there are obstacles such as other traffic participants around the vehicle. If so, the relative position and relative speed with the traffic participants in front are sensed, and the speed conditions that meet the collision-free conditions are calculated, and the speed planning is performed according to the speed conditions. If not, it drives at the speed set by the driver.

[0090] The speed planning strategy in the related technology only considers the collision-free condition and is suitable for expressways and suburban roads with simple road conditions and single road structures. However, it is no longer applicable to roads with complex road conditions and changeable road structures, such as urban roads, especially intersections. If the speed planning strategy is applied to the driving scenario at an intersection, on the one hand, the driver needs to intervene frequently, resulting in the exit of the intelligent driving function and affecting the user experience. On the other hand, since the speed planning strategy does not take into account the direction of the road, it is impossible to plan the speed in advance. Due to the limitation of the sensing distance of the on-board sensors, the frequent acceleration and deceleration of the vehicle is not friendly to ride comfort and fuel economy.

[0091] Furthermore, the speed of traffic should also be different at different intersections. For example, compared with suburban intersections, a lower speed should be used at urban intersections to ensure traffic safety. Obviously, the speed planning strategy of the relevant technology does not adjust the speed for different intersections, so that although the planned speed meets the laws of physics and traffic, it cannot adapt to the traffic flow trend at the intersection, resulting in the situation where the speed on urban roads is too fast and dangerous, or the speed is too slow and suppresses the following vehicles.

[0092] However, the speed planning method provided by this application adds the road structure as a reference for speed planning in the driving scene at the intersection, so the proposed speed planning strategy can be applied to intersections with complex road conditions and variable road structures. At the same time, the statistical traffic data of the intersection is added as a reference for speed planning, so the proposed planning strategy can also adapt to intersections with different traffic flow trends.

[0093] Each embodiment is described in detail below.

[0094] The embodiment of the present application provides a speed planning method, which is applied to the driving scene of the vehicle at an intersection. An intersection refers to a flat intersection, that is, a part where two or more roads intersect on the same plane. For example, an intersection may include but is not limited to a crossroad, a roundabout, a three-way intersection, etc.

[0095] When the vehicle is driving at an intersection, Figure 1 The steps shown are for speed planning:

[0096] Step 110: determining a trajectory point at the intersection according to the planned path;

[0097] Wherein, the trajectory points include a starting point and an end point, and the vehicle travels from the starting point to the end point at the intersection;

[0098] Step 120: Acquire trajectory point data corresponding to the trajectory point;

[0099] Wherein, the track point data includes the position data of the track point and the statistical traffic data;

[0100] Step 130: fitting a speed equation for traveling at the intersection according to the trajectory point data;

[0101] Wherein, the velocity equation is an equation of velocity with respect to time;

[0102] Step 140: Determine the planned speed at each moment when traveling at the intersection according to the first speed determined by the speed equation.

[0103] The above method can be executed when the vehicle is about to enter an intersection. That is, when the distance between the vehicle and the intersection is less than a preset distance threshold, the above steps 110-140 are triggered. Before the vehicle enters the intersection, the vehicle plans the planned speed for driving at the intersection. When entering the intersection, the vehicle drives through the intersection at the planned speed.

[0104] See also Figure 2 ,by Figure 2 The intersection shown is taken as an example. Of course, in addition to the intersection, the present application is also applicable to speed planning in other intersections. At the intersection 200, the vehicle is traveling in the lane 211 of the road 210. If the lane 211 is a shared lane for left turn, straight and right turn, the vehicle can turn left from the lane 221 to the road 220, go straight to the road 230, and turn right to the road 240. In this way, the lane 211 is the starting point of the intersection 200.

[0105] The vehicle can plan a route based on the starting point and destination of the trip. Based on the planned route, it can be determined which lane of which road the vehicle should travel from lane 211 to, that is, the end point of intersection 200. Figure 2 In the example shown, the end point of the intersection 200 may be one of the lanes of the road 220, one of the lanes of the road 230, or one of the lanes of the road 240. Thus, according to the planned path, a trajectory point, including a start point and an end point, may be determined in the intersection 200. The vehicle travels from the start point to the end point in the intersection 200.

[0106] After the trajectory point is determined, the trajectory point data corresponding to the trajectory point can be obtained, and the trajectory point data includes the position data of the trajectory point and the statistical traffic data.

[0107] The track point includes a starting point and an end point, and the acquired track point data includes: position data and statistical traffic data of the starting point, and position data and statistical traffic data of the end point.

[0108] The position data of the track point may refer to the intersection of the stop line and the center line of the lane where the track point is located. That is, the intersection of the stop line and the center line of the lane where the starting point is located may be used as the position of the starting point, and the intersection of the stop line and the center line of the lane where the end point is located may be used as the position of the end point. The position data of the track point may be obtained from a map, such as a high-precision map, and may be, for example, the longitude and latitude coordinates of the track point.

[0109] It is understandable that, since the position data of the trajectory point is related to the position of the stop line and the center line, the position data of the trajectory point is different for intersections with different road structures. For example, at a crossroad, a three-way intersection, or a roundabout, the position data of the trajectory point is obviously different. For another example, for the same intersection, such as a crossroad, if the road width is different or the number of lanes is different, then the position data of the trajectory point will also be different. Therefore, the road structure will affect the position data of the trajectory point.

[0110] The statistical traffic flow data of a trajectory point refers to the statistical characteristic data of the traffic passing through the trajectory point.

[0111] Optionally, traffic flow data can be counted by lane. Figure 2 In the intersection 200 shown, the road 210 includes a lane 211 and a lane 212. In this way, characteristic data statistics can be performed on the traffic passing through the lane 211 and the lane 212. The statistical traffic data of the lane 211 is the statistical traffic data of the starting point in the trajectory point.

[0112] Optionally, traffic flow data can be counted on a road basis. Figure 2 In the intersection 200 shown, lanes 211 and 212 are lanes in the same direction of the road 210, so feature data statistics can be performed on the traffic passing through the road 210. The obtained statistical traffic data is the statistical traffic data of the starting point in the trajectory point.

[0113] After obtaining the trajectory point data corresponding to the trajectory point, the speed equation for driving at the intersection can be fitted according to the trajectory point data. That is, the speed equation is fitted according to the position data and statistical traffic data of the starting point, and the position data and statistical traffic data of the end point.

[0114] The speed equation is an equation of speed with respect to time, which represents the value of speed after a certain period of time starting from zero. For example, when the vehicle is at the starting point, the time is zero and the timing starts; when the vehicle reaches the end point, the timing stops.

[0115] Among them, in the speed equation, when the time is zero, that is, when the vehicle is at the starting point, the calculated speed conforms to the statistical traffic data of the starting point. When the vehicle is at the end point, the calculated speed conforms to the statistical traffic data of the end point. In other words, the statistical traffic data of the trajectory point constrains the speed of the vehicle when it travels to the trajectory point.

[0116] The speed equation can be used to determine the first speed at different times. Based on the first speed, the planned speed at each moment when driving at an intersection can be determined. For example, when the vehicle is driving from the starting point to the end point, the planned speed at each moment is determined to be the first speed at that moment. That is, the speed of the vehicle from the starting point to the end point conforms to the speed equation.

[0117] It can be seen that the speed planning method provided by the present application is that the planned speed at each moment when driving at an intersection is determined based on the first speed of the speed equation, and the fitting of the speed equation refers to the road structure and statistical traffic data. Therefore, the road structure and statistical traffic data are actually added as references during speed planning. In this way, on the one hand, the planned speed is more in line with the road structure and dynamics requirements; on the other hand, the traffic speed of the intersection is constrained according to the statistical traffic data, which ensures the traffic safety of the intersection, thereby improving the adaptability of the intelligent driving function in the intersection driving scene.

[0118] In some embodiments, the traffic statistics data include traffic statistics data of multiple time periods. By performing feature data statistics on traffic at a trajectory point in different time periods, the corresponding traffic statistics data of a trajectory point in multiple time periods can be obtained.

[0119] Thus, the acquisition process of the trajectory point data in step 120 may include: Figure 3 Steps shown:

[0120] Step 121: Obtaining the location data of the track point, and

[0121] Step 122: Obtain the traffic statistics data for the time period at the current time.

[0122] The traffic statistics of the same road or lane may be different in different time periods. For example, the traffic volume on the same road is large during rush hour and the speed is slow, but the traffic volume is small during off-peak hours and the speed is fast. Therefore, traffic statistics of trajectory points in different time periods can make the planning speed more reasonable.

[0123] Those skilled in the art can divide the time periods according to the actual road conditions at the intersection. For example, the time periods can be divided into 7:00-10:00, 10:00-16:00, 16:00-20:00, and 20:00-7:00. Of course, the time periods can also be divided according to other granularities and other division methods, which are not limited in this application.

[0124] In this way, when obtaining the trajectory point data, the statistical traffic flow data corresponding to the time period can be obtained according to the time period of the current moment.

[0125] In this embodiment, by performing traffic flow statistics on the trajectory points in different time periods, the planned speed is made more consistent with the traffic flow statistics of the trajectory points at the current moment.

[0126] Regarding the statistical method of counting traffic flow data, in some embodiments, the statistical traffic flow data can be generated in a third-party device, such as a server. Figure 4 As shown, the vehicle 440 can be connected to the server 410 and the database 420 through the network 430. The server 410 may include a processor for executing instruction operations.

[0127] In some embodiments, server 410 may be a single server or a server group. The server group may be centralized or distributed (for example, server 410 may be a distributed system). In some embodiments, server 410 may be local or remote relative to a terminal. In some embodiments, server 410 may be implemented on a cloud platform; by way of example only, a cloud platform may include a private cloud, a public cloud, a hybrid cloud, a community cloud, a distributed cloud, an inter-cloud, a multi-cloud, etc., or any combination thereof.

[0128] In some embodiments, the server 410 may include a processor. The processor may process relevant information and / or data to generate statistical traffic data. In some embodiments, the processor may include one or more processing cores (e.g., a single-core processor or a multi-core processor). By way of example only, the processor may include a central processing unit (CPU), an application specific integrated circuit (ASIC), an application specific instruction set processor (ASIP), a graphics processing unit (GPU), a physical processing unit (PPU), a digital signal processor (DSP), a field programmable gate array (FPGA), a programmable logic device (PLD), a controller, a microcontroller unit, a reduced instruction set computer (RISC), or a microprocessor, or any combination thereof.

[0129] In some embodiments, the server 410 may be configured as described in the present application. Figure 5 The electronic device 500 may be a general-purpose computer or a special-purpose computer. Although only one computer is shown in the present application, for convenience, corresponding functions may be implemented in a distributed manner on multiple similar platforms to balance the processing load.

[0130] For example, the electronic device 500 may include a network port 510 connected to a network, one or more processors 520 for executing program instructions, a communication bus 530, and storage media 540 in different forms, such as disks, ROM, or RAM, or any combination thereof. Exemplarily, the computer platform may also include program instructions stored in ROM, RAM, or other types of non-temporary storage media, or any combination thereof. The method of the present application may be implemented according to these program instructions. The electronic device 500 also includes an input / output (I / O) interface 550 between the computer and other input / output devices (e.g., keyboard, display screen).

[0131] For ease of description, only one processor is described in the electronic device 500. However, it should be noted that the electronic device 500 in the present application may also include multiple processors, so the steps performed by the server described in the present application may also be performed jointly or individually by multiple processors.

[0132] In this embodiment, the server 410 executes the following Figure 6 The steps shown are used to generate statistical traffic data.

[0133] Step 610: Acquire multiple traffic flow data samples of the trajectory point.

[0134] Step 620: Determine the traffic flow data samples of the preset quantile as statistical traffic flow data.

[0135] When generating statistical traffic flow data, first obtain multiple traffic flow data samples of the trajectory point. Among them, each time a vehicle passes through a trajectory point, a traffic flow data sample can be obtained. The number of traffic flow data samples should be sufficient so that the statistical results are consistent with the actual traffic flow trend.

[0136] Subsequently, the plurality of traffic flow data samples may be sorted in order according to the numerical values, and the value of the traffic flow data sample of the preset quantile may be determined from the sorted traffic flow data samples as the statistical traffic flow data. As an example, the preset quantile may be 0.6826. Of course, those skilled in the art may also determine the specific value of the quantile according to actual needs, and this application does not limit this.

[0137] It is understandable that when there are enough traffic data samples, the traffic data samples corresponding to the preset quantiles can reflect the actual traffic trend of the trajectory point, so the traffic data samples can be used as statistical traffic data.

[0138] Optionally, when the vehicle 440 needs to obtain statistical traffic data of a certain trajectory point in a certain time period, the statistical traffic data can be directly obtained from the server 410 through the network 430 .

[0139] Optionally, after generating the statistical traffic flow data, the server 410 may store the statistical traffic flow data corresponding to each track point in each time period in the database 420. When the vehicle 440 needs to obtain the statistical traffic flow data of a certain track point in a certain time period, the statistical traffic flow data may be obtained from the database 420 through the network 430.

[0140] The network 430 may be used for the exchange of information and / or data. In some embodiments, the network 430 may be any type of wired or wireless network, or a combination thereof. By way of example only, the network 120 may include a wired network, a wireless network, a fiber optic network, a telecommunications network, an intranet, the Internet, a local area network (LAN), a wide area network (WAN), a wireless local area network (WLAN), a metropolitan area network (MAN), a wide area network (WAN), a public switched telephone network (PSTN), a Bluetooth network, a ZigBee network, or a near field communication (NFC) network, or any combination thereof. In some embodiments, the network 430 may include one or more network access points. For example, the network 120 may include a wired or wireless network access point, such as a base station and / or a network switching node.

[0141] The database 420 may store data and / or instructions. In some embodiments, the database 420 may include a large capacity memory, a removable memory, a volatile read-write memory, or a read-only memory (ROM), or any combination thereof. As an example, the large capacity memory may include a disk, an optical disk, a solid-state drive, or the like; the removable memory may include a flash drive, a floppy disk, an optical disk, a memory card, a zip disk, a magnetic tape, or the like; the volatile read-write memory may include a random access memory (RAM); the RAM may include a dynamic RAM (DRAM), a double data rate synchronous dynamic RAM (DDRSDRAM); a static RAM (SRAM), a thyristor RAM (T-RAM), a zero capacitor RAM (Zero-RAM), or the like. As an example, ROM may include mask ROM (Mask Read-Only Memory, MROM), programmable ROM (Programmable Read-Only Memory, PROM), erasable programmable ROM (Programmable Erasable Read-only Memory, PEROM), electrically erasable programmable ROM (Electrically Erasable Programmable read only memory, EEPROM), CD-ROM (CD-ROM), and digital universal disk ROM, etc. In some embodiments, database 150 can be implemented on a cloud platform. As an example only, the cloud platform may include a private cloud, a public cloud, a hybrid cloud, a community cloud, a distributed cloud, a cross-cloud, a multi-cloud, or other similar, etc., or any combination thereof.

[0142] It can be seen that in this embodiment, by generating statistical traffic data of trajectory points on a third-party device such as a server, the vehicle can directly obtain the statistical traffic data from the third-party device and perform speed planning, thereby improving the adaptability of the intelligent driving function in intersection driving scenarios.

[0143] Regarding the fitting process of the velocity equation, in some embodiments, the above step 130 may include the following steps: Figure 7 Steps shown:

[0144] Step 131: fitting a trajectory equation according to the trajectory point data;

[0145] Wherein, the trajectory equation is an equation of position with respect to time, which is used to characterize the driving trajectory of the vehicle at the intersection;

[0146] Step 132: Derivative the trajectory equation to obtain the velocity equation.

[0147] In the process of fitting the speed equation, the trajectory equation of the vehicle at the intersection is first fitted based on the position data and statistical traffic data of the starting point, as well as the position data and statistical traffic data of the end point. Since the trajectory equation is an equation of position with respect to time, the speed equation can be obtained after the trajectory equation is differentiated with respect to time. In addition, since the trajectory equation is an equation of position with respect to time, and the speed equation is an equation of speed with respect to time, the corresponding relationship between position and speed can be obtained by formula conversion, that is, the planned speed corresponding to each position of the vehicle on the driving trajectory can be known.

[0148] In this embodiment, the trajectory equation of the position with respect to time is first fitted, and then the speed equation is derived with respect to time, so that the driving trajectory of the vehicle at the intersection conforms to the trajectory equation, and the driving speed conforms to the speed equation, thereby completing the trajectory planning and speed planning of the vehicle at the intersection.

[0149] In some embodiments, the statistical traffic data includes speed data and acceleration data of the traffic, and thus, the track point data includes the position data, speed data, and acceleration data of the track point.

[0150] For example, the trajectory point data can be decomposed into two components in perpendicular directions. Figure 8 As shown in FIG. 1 , a rectangular coordinate system XOY can be established with the starting point, that is, the intersection of the stop line and the center line of the lane where the starting point is located. The track point data can be decomposed into components on the X axis and the Y axis. In this way, the position data of the track point can be expressed as (X t , Y t ), speed data can be expressed as (V xt , V yt ), acceleration data can be expressed as (A xt , A yt ). For the starting point O, the trajectory point data can be expressed as (X0, Y0, V x0 , V y0 , A x0 , A y0 ); For the end point T, the trajectory point data can be expressed as (X T , Y T , V xT , V yT , A xT , A yT ).

[0151] The trajectory equation may be a quintic equation. For example, the trajectory equation may be expressed as:

[0152] x(t)=a0+a1t+a2t 2 +a3t 3 +a4t 4 +a5t 5

[0153] y(t)=b0+b1t+b2t 2 +b3t 3 +b4t 4 +b5t 5

[0154] In this way, the trajectory point data (X0, Y0, V x0 , V y0 , A x0 , A y0 ), and the trajectory point data with known endpoints (X T , Y T , V xT , V yT , A xT , A yT ), we can solve the unknown parameters (a0, a1, a2, a3, a4, a5, b0, b1, b2, b3, b4, b5) in the above trajectory equation, and thus obtain the trajectory equation of the fifth term. Figure 8 , which is a schematic diagram of a driving trajectory 810 represented by a fitted trajectory equation.

[0155] It can be understood that the trajectory equation of the fifth order is solved by using the trajectory point data of the starting point and the end point, that is, the trajectory point data of the starting point and the end point are the constraints of the trajectory equation. When the vehicle travels according to the trajectory equation and the speed equation, the speed passing the starting point (X0, Y0) is (V x0 , V y0 ), the acceleration is (A x0 , A y0 ); Passing the end point (X T , Y T ) is (V xT , V yT ), the acceleration is (A xT , A yT ).

[0156] In addition, for intersections such as roundabouts, there are non-passable areas in the intersections. For example, the central area of ​​the roundabout is often impassable. Vehicles cannot directly pass through the roundabout to reach the target exit, but need to drive around the roundabout. In this way, the constraints of the trajectory equation can also include non-passable areas in the intersection. For example, the non-passable area can be obtained through a map, such as a high-precision map. This allows the vehicle's driving trajectory to more accurately conform to the road structure of the intersection.

[0157] It can be seen that in this embodiment, the trajectory point data includes position data, speed data and acceleration data. The trajectory point data of the starting point and the end point are used as the constraint conditions of the trajectory equation. The road structure, statistical traffic speed and statistical traffic acceleration are added as references when planning the trajectory and speed, so that the planned trajectory conforms to the road structure. The statistical traffic speed and statistical traffic acceleration are used to constrain the speed and acceleration of the vehicle when passing through the intersection, ensuring the safety of the intersection. This improves the adaptability of the intelligent driving function in the intersection driving scene.

[0158] In some embodiments, after fitting the trajectory equation, before executing step 140, the method further includes the step of: for each position in the driving trajectory, determining the maximum driving speed of the vehicle along the curvature of the position as a second speed.

[0159] The trajectory equation represents the driving trajectory of the vehicle at the intersection. Each position on the driving trajectory has a corresponding curvature. The trajectory equation is an equation of position with respect to time. The trajectory equation can be used to calculate the corresponding curvature of any position on the driving trajectory.

[0160] When a vehicle is traveling along a certain curvature, if the speed is too fast, the vehicle will make centrifugal motion. In order to ensure the safe driving of the vehicle, the speed of the vehicle should not exceed the maximum driving speed when traveling along different curvatures. For example, the maximum driving speed V at a certain position on the driving trajectory is max The calculation formula is as follows:

[0161]

[0162] Among them, R is the radius of curvature at the position, and the radius of curvature is the inverse of curvature; aset is the driving acceleration set at the position, which is a known value. In this way, the radius of curvature at any position can be calculated through the trajectory equation, and then the maximum driving speed corresponding to each position point can be calculated according to the set acceleration. At the same time, since the trajectory equation is related to time, it can be converted into the maximum driving speed of the vehicle at each moment during the driving process. The maximum driving speed is determined as the second speed.

[0163] Thus, the above step 140 is specifically implemented as follows:

[0164] Step 141: Determine the planned speed at each moment according to the minimum value of the first speed and the second speed.

[0165] It is worth noting that the planned speed at each moment is determined by comparing the first speed with the second speed. In this way, at some moments, if the first speed is greater than the second speed, in order to ensure the safe driving of the vehicle, the second speed is determined as the planned speed; at other moments, if the first speed is less than the second speed, in order to comply with the traffic trend at the intersection, the first speed is determined as the planned speed. And the vehicle driving at the first speed does not exceed the maximum driving speed under the curvature of the position, so the safe driving of the vehicle is also guaranteed.

[0166] It can be seen that in this embodiment, the speed planning not only takes the road structure and the traffic statistics data as reference, but also takes into account the maximum driving speed when driving along a certain curvature. It is understandable that vehicles often need to turn at intersections. Taking the influence of curvature on driving speed into account in the driving scene at the intersection makes the speed planning method more adaptable to the driving scene at the intersection on the one hand, and improves driving safety on the other hand.

[0167] When the vehicle is driving at an intersection, there may be other traffic participants besides the vehicle at the intersection. Traffic participants may include but are not limited to other vehicles, pedestrians, animals, etc.

[0168] When there are no other traffic participants at the intersection, the vehicle may perform speed planning according to any of the above embodiments and combinations thereof, and travel through the intersection at the planned speed.

[0169] In some embodiments, when there are other traffic participants at the intersection, a speed planning method provided based on any of the above embodiments and combinations thereof further includes the steps of: adopting a corresponding collision avoidance strategy based on the positional relationship between the traffic participants and the driving trajectory, and determining the target speed under the collision avoidance strategy.

[0170] The positional relationship between the traffic participant and the driving trajectory may include: the traffic participant is on the driving trajectory, and the traffic participant is not on the driving trajectory. In the face of different positional relationships, the adopted anti-collision strategies are also different. Under the corresponding anti-collision strategy, the corresponding target speed can be determined. The vehicle drives at the target speed to implement the corresponding anti-collision strategy.

[0171] Thus, the above step 140 is specifically implemented as follows:

[0172] Step 142: Determine the planned speed at each moment according to the minimum value between the first speed and the target speed.

[0173] In this way, at some moments, if the first speed is greater than the target speed, in order to avoid collision between the vehicle and traffic participants, the target speed is determined as the planned speed; at other moments, if the first speed is less than the target speed, in order to comply with the traffic flow trend at the intersection, the first speed is determined as the planned speed. Moreover, the vehicle travels at the first speed which is less than the target speed, thus avoiding collision with traffic participants and ensuring safe driving of the vehicle.

[0174] It can be seen that in this embodiment, the speed planning not only takes the road structure and the statistical traffic data as reference, but also takes into account the third speed under the collision avoidance strategy. Combining the collision avoidance, road structure and statistical traffic data for speed planning can effectively improve the safety of the vehicle driving at the intersection.

[0175] In some embodiments, when a traffic participant is on the driving track, the corresponding anti-collision strategy is a following strategy. It is understandable that at this time, the traffic participant should be in front of the vehicle, and the following strategy means that the vehicle follows behind the traffic participant and maintains a certain following distance. For example, the traffic participant may be the front vehicle, and the vehicle adopts the following strategy to maintain a certain following distance from the front vehicle to prevent collision with the front vehicle.

[0176] Thus, the target speed can be obtained by executing Fig. 9 The steps shown determine:

[0177] Step 910: determining an expected following distance according to the current speed of the vehicle;

[0178] Wherein, the current speed is positively correlated with the expected following distance;

[0179] Step 920: using the sensor carried by the vehicle to sense the actual distance between the vehicle and the traffic participant;

[0180] Step 930: Determine a third speed as the target speed according to the distance difference between the expected following distance and the actual distance.

[0181] The expected following distance refers to the expected distance between the vehicle and the traffic participants. In order to ensure that the vehicle has a sufficiently long braking distance, when the current speed of the vehicle is high, the expected following distance should also be large accordingly. Therefore, the current speed of the vehicle is positively correlated with the expected following distance. According to the current speed of the vehicle, the expected following distance is first determined. Among them, the calculation formula of the expected following distance d is as follows:

[0182] d=V ego ·t+d min

[0183] Among them, V ego is the current speed of the vehicle, t is the set time, dmin is the minimum distance for calibration.

[0184] Then, the actual distance between the vehicle and the traffic participants can be sensed by using the sensors carried by the vehicle, such as millimeter wave radar and visual sensor. The distance difference can be determined based on the expected following distance and the actual distance. error The calculation formula is as follows:

[0185] d error =dd actual

[0186] Among them, d actual is the actual distance between the vehicle and traffic participants.

[0187] Then the third speed can be determined according to the distance difference. The calculation formula of the third speed V3 is as follows:

[0188] V3=K p ·d error +K i ·∫d error

[0189] Among them, K p , K i is the calibration value.

[0190] If the expected following distance is greater than the actual distance, it means that the current vehicle is too close to the traffic participants and the braking distance is insufficient to ensure the safe driving of the vehicle. Then the vehicle should decelerate, that is, reduce the current speed of the vehicle to the third speed to increase the distance between the vehicle and the traffic participants and meet the expected following distance.

[0191] If the expected following distance is less than the actual distance, it means that the current vehicle can get closer to the traffic participant. In order to avoid suppressing the rear vehicle, the vehicle should accelerate, that is, increase the current speed of the vehicle to the third speed, so as to reduce the distance between the vehicle and the traffic participant and meet the expected following distance.

[0192] Thus, the above step 142 is specifically implemented as follows: determining the planned speed at each moment according to the minimum value between the first speed and the third speed.

[0193] In this embodiment, a following strategy is adopted according to the situation of traffic participants on the driving trajectory, and the third speed under the following strategy is determined. When planning the speed, the following strategy, road structure and statistical traffic data are considered together, which effectively improves the safety of the vehicle driving at the intersection.

[0194] In other embodiments, when a traffic participant is not on the driving trajectory, the vehicle may or may not collide with the traffic participant. For example, when the vehicle turns left and enters another road, if there is a pedestrian crossing the road on the zebra crossing, the vehicle may or may not collide with the pedestrian because the vehicle and the pedestrian's moving trajectory intersect.

[0195] That is to say, if there is an intersection between the moving trajectories of the vehicle and the traffic participant, then there is a possibility of collision between the vehicle and the traffic participant. If both vehicles reach the intersection at the same time, a collision will occur. If they do not reach the intersection at the same time, no collision will occur.

[0196] Therefore, when the traffic participant is not on the driving track, the motion prediction of the vehicle and the traffic participant must be performed first. For example, the motion prediction of the vehicle is performed based on the motion information of the vehicle; and the motion prediction of the traffic participant is performed based on the motion information of the traffic participant.

[0197] The motion information includes one or more of position information, speed information, acceleration information, and orientation information. Position information can be decomposed into lateral position information and longitudinal position information; speed information can be decomposed into longitudinal speed information and lateral speed information; acceleration information can be decomposed into longitudinal acceleration information and lateral acceleration information; orientation information can be heading angle information.

[0198] The motion information of the vehicle can be obtained through the sensors carried by the vehicle. For example, the position information can be obtained through the positioning device carried by the vehicle, such as a GPS (Global Positioning System) device. The speed information can be obtained through the vehicle speed sensor. The acceleration information can be obtained through the vehicle acceleration sensor, such as a gyroscope.

[0199] The motion information of traffic participants can be sensed in real time by the millimeter wave radar and / or visual sensor carried by the vehicle. For example, the position information can be the position information of the traffic participant relative to the vehicle, such as the relative distance. The motion information of traffic participants can be sensed in real time by the millimeter wave radar and / or visual sensor carried by the vehicle, which can be referred to the methods in the related art, and this application will not expand on this.

[0200] Exemplarily, motion prediction may include: predicting the moving trajectory of a traffic participant based on the traffic participant's orientation information; if there is an intersection between the moving trajectory and the driving trajectory of the vehicle, predicting the time when the traffic participant reaches the intersection based on the traffic participant's speed information and acceleration information, and predicting the time when the vehicle arrives at the intersection based on the vehicle's speed information and acceleration information.

[0201] Based on the motion prediction results, it can be determined whether there is a risk of collision between the vehicle and traffic participants.

[0202] For example, if it is determined according to the motion prediction results that the moving trajectory of the traffic participant and the driving trajectory of the vehicle do not have an intersection, it is determined that there is no collision risk. If it is determined according to the motion prediction results that the moving trajectory of the traffic participant and the driving trajectory of the vehicle have an intersection, and both arrive at the intersection at the same time, it is determined that there is a collision risk; if the two do not arrive at the intersection at the same time, there is no collision risk.

[0203] When it is determined that there is a risk of collision, an anti-collision strategy, i.e., a parking strategy, is adopted. The parking strategy means that the vehicle stops before reaching the predicted collision point. The predicted collision point is the intersection of the moving trajectory and the driving trajectory. In this way, the fourth speed can be determined as the target speed according to the distance between the current position of the vehicle and the collision point.

[0204] Thus, the above step 142 is specifically implemented as follows: determining the planned speed at each moment according to the minimum value between the first speed and the fourth speed.

[0205] In this embodiment, when a traffic participant is not on the driving trajectory, the vehicle is first judged through motion prediction whether there is a collision risk between the traffic participant and the vehicle. If there is a collision risk, a parking strategy is adopted and the fourth speed under the parking strategy is determined. When planning the speed, the parking strategy, road structure and traffic statistics are taken into consideration, which effectively improves the safety of the vehicle at the intersection.

[0206] In some embodiments, the jerk of the vehicle can also be obtained through the sensors carried by the vehicle, including longitudinal jerk and lateral jerk. Jerk refers to the rate of change of acceleration and is the third-order derivative of the position vector with respect to time. Jerk is related to the riding comfort of the passengers on board. In order to ensure the riding comfort, the jerk of the vehicle can be limited to not exceed a preset threshold. That is, when the jerk does not exceed the preset threshold, speed planning is performed according to the speed planning method provided in any of the above embodiments.

[0207] The above embodiment records the speed planning method when the vehicle is traveling at an intersection. In addition, the speed planning method provided by the present application also includes the speed planning method before the vehicle enters the intersection, including: Fig.10 Steps shown:

[0208] Step 1010: Obtain the traffic status of the lane where the vehicle is located;

[0209] The lane is connected to the intersection; the traffic status is used to indicate whether the lane is passable or impassable;

[0210] Step 1020: Determine a fifth speed for the vehicle when entering the intersection according to the traffic status;

[0211] Step 1030: Determine the planned speed at each moment before entering the intersection according to the current speed of the vehicle and the fifth speed.

[0212] by Figure 2 For example, the lane where the vehicle is located is lane 211 in road 210, and lane 211 is connected to intersection 200. Traffic light status information of lane 211 and / or road 210 can be obtained through vehicle-mounted sensors (such as visual sensors) or maps. According to the traffic light status information, the traffic status of lane 211 can be obtained as passable or impassable.

[0213] Under different traffic conditions, the fifth speed of the vehicle when entering the intersection is not the same.

[0214] Exemplarily, if the traffic status indicates that the lane where the vehicle is located is passable, speed data in the statistical traffic data starting from the fifth speed is determined.

[0215] It is understandable that when the vehicle is traveling in lane 211, it will pass the starting point and enter the intersection. Therefore, when the lane is passable, that is, when the light is green, the vehicle is planned to travel according to the speed data in the statistical traffic data of the starting point when entering the starting point, so that the vehicle complies with the traffic rules of the intersection.

[0216] Exemplarily, if the traffic status indicates that the lane where the vehicle is located is impassable, the fifth speed is determined to be zero.

[0217] It is understandable that if the lane is impassable, that is, when the traffic light is red, the vehicle should stop at the starting point, or in other words, before the stop line of the lane. Therefore, the fifth speed for entering the intersection is set to zero.

[0218] After the fifth speed for entering the intersection is determined, the planned speed at each moment before entering the intersection can be determined based on the current speed of the vehicle and the fifth speed.

[0219] For example, a linear interpolation method may be used to obtain discrete speeds in the intermediate area between the current position of the vehicle and the starting point, so that the vehicle travels at each discrete speed in the intermediate area and enters the intersection at the fifth speed.

[0220] It can be seen that in this embodiment, the driving speed of the vehicle before entering the intersection is planned according to the traffic status of the lane. When the lane is passable, the driving speed of the vehicle when entering the intersection is planned according to the speed data in the statistical traffic data of the starting point, so that the vehicle complies with the traffic rules of the intersection, ensuring the traffic safety of the intersection, thereby improving the adaptability of the intelligent driving function in the driving scene of the intersection.

[0221] In addition, in some embodiments, before the vehicle enters the intersection, if there are traffic participants on the road where the vehicle is located, including traffic participants on the vehicle's driving trajectory and traffic participants not on the vehicle's driving trajectory, then Fig. 9 or Fig.10 The method shown determines the planned speed of the vehicle at each moment before entering the intersection. That is, according to the following strategy or the parking strategy, the planned speed of the vehicle at each moment before entering the intersection is determined.

[0222] In addition, the speed planning method provided by the present application further includes the steps of: according to the priorities of the acquisition methods from high to low, adopting the acquisition method corresponding to the priority to acquire the legal speed limit of the road where the vehicle is located;

[0223] There are corresponding speed limit regulations on roads. There are multiple methods for obtaining the corresponding legal speed limit on roads. This embodiment prioritizes the various methods for obtaining the legal speed limit.

[0224] For example, in descending order of priority, the highest priority acquisition method is: using sensors carried by the vehicle to obtain the legal speed limit of the road. For example, a visual sensor installed on the front windshield of the vehicle is used to obtain the legal speed limit specified by the speed limit sign on the road.

[0225] The second priority is to obtain the legal speed limit of the road from the map. For example, the legal speed limit marked on the map is obtained through a high-precision map or a navigation map.

[0226] The lowest priority acquisition method is to query the legal speed limit of the road based on the grade and / or type information of the road. For example, the grade and / or type information of the current road where the vehicle is located is obtained through positioning, and the legal speed limit allowed for the road is obtained based on the grade and / or type of the road and in accordance with relevant laws and regulations.

[0227] In this way, when it is necessary to obtain the legal speed limit of the road where the vehicle is located, the acquisition method corresponding to the priority is adopted according to the priority of the acquisition method from high to low. That is, the legal speed limit is first obtained by the acquisition method with the highest priority. If the sensor does not sense the speed limit sign on the road, the acquisition method with the second highest priority is adopted. If the legal speed limit is not marked on the map, the acquisition method with the lowest priority is adopted to refer to relevant laws and regulations to obtain the legal speed limit of the current road.

[0228] Thus, the above step 140 is specifically implemented as follows:

[0229] Step 143: Determine the planned speed at each moment when driving at the intersection according to the minimum value between the first speed and the legal speed limit.

[0230] In this way, at some moments, if the first speed is greater than the legal speed limit, in order to avoid illegal driving of the vehicle, the legal speed limit is determined as the planned speed. At other moments, if the first speed is less than the legal speed limit, in order to comply with the traffic trend at the intersection, the first speed is determined as the planned speed. Moreover, the vehicle is driven at a first speed that is less than the legal speed limit, which also avoids illegal driving of the vehicle and ensures safe driving of the vehicle.

[0231] It can be seen that in this embodiment, the speed planning not only takes the road structure and the statistical traffic data as reference, but also takes into account the legal speed limit of the road where the vehicle is located. Combining the legal speed limit, road structure and statistical traffic data for speed planning can effectively improve the safety of the vehicle driving at the intersection.

[0232] In addition, the present application also provides a speed planning method, which includes two stages of speed planning. The first stage is the speed planning before the vehicle enters the intersection; the second stage is the speed planning when the vehicle is driving at the intersection.

[0233] like Fig.11 As shown, in the first stage of speed planning, it is first determined whether there are traffic participants on the road where the vehicle is located (step S1), including whether the traffic participants are on the driving trajectory of the vehicle and whether the traffic participants are not on the driving trajectory of the vehicle.

[0234] If yes, then according to the anti-collision strategy, including the following strategy or the parking strategy, the collision-free speed is calculated (step S21). Subsequently, the minimum value between the collision-free speed and the legal speed limit of the road is determined as the planned speed of the first stage (step S22).

[0235] If not, determine whether the lane where the vehicle is located is passable (step S31). If the lane is passable, set the fifth speed of the vehicle when entering the intersection to follow the speed data in the statistical traffic data of the lane (step S32). If the lane is impassable, set the fifth speed of the vehicle when entering the intersection to zero (step S33). Linearly interpolate the current speed of the vehicle and the fifth speed to obtain the discrete speed of the vehicle in the middle area between the current position and the intersection (step S34). Finally, determine the minimum value between the discrete speed and the legal speed limit of the road as the planned speed of the first stage (step S35).

[0236] The specific calculation process of the collision-free velocity can be found in the above Fig. 9 or Fig.10 The method for obtaining the legal speed limit of a road can refer to the above embodiment.

[0237] like Fig.12As shown, in the speed planning of the second stage, it is first determined whether there are traffic participants at the intersection (step S4), including whether the traffic participants are on the driving trajectory of the vehicle and whether the traffic participants are not on the driving trajectory of the vehicle.

[0238] If it exists, then according to the anti-collision strategy, including the following strategy or the parking strategy, the collision-free speed is calculated (step S51), the legal speed limit of the road where the vehicle is located is obtained (step S52), the first speed determined by the speed equation at each moment is obtained (step S53), and the second speed determined by the curvature of each position in the driving trajectory is obtained (step S54). Among them, there is no order of acquisition of the above four speeds, and they can also be acquired at the same time. Finally, the minimum value among the collision-free speed, the legal speed limit, the first speed and the second speed is determined as the planned speed of the second stage (step S55). In other words, under the premise of satisfying the legal speed limit constraint, the first speed constraint and the second speed constraint, drive at the intersection at the collision-free speed.

[0239] If it does not exist, then obtain the legal speed limit of the road where the vehicle is located (step S61), obtain the first speed determined by the speed equation at each moment (step S62), and obtain the second speed determined by the curvature of each position in the driving trajectory (step S63). Among them, there is no order of acquisition of the above three speeds, and they can also be acquired at the same time. Finally, determine the minimum value of the legal speed limit, the first speed and the second speed as the planned speed of the second stage (step S64). In other words, under the premise of meeting the legal speed limit constraint and the second speed constraint, drive at the intersection at the first speed.

[0240] The speed planning method provided in this application combines collision avoidance, road structure, traffic statistics, curvature and legal speed limit to plan the speed, which can effectively improve the safety of the vehicle at the intersection. On the one hand, it makes the planned speed more consistent with the road structure and dynamics requirements; on the other hand, it ensures the safety of the intersection and improves the adaptability of the intelligent driving function in the intersection driving scene.

[0241] Based on a speed planning method provided in any of the above embodiments, the present application also provides a speed planning device. Fig.13 1 is a block diagram showing a speed planning device of some embodiments of the present application, and the functions implemented by the speed planning device correspond to the steps performed by the above method. The device can be understood as the above server, or the processor of the server, or can be understood as a component independent of the above server or processor that implements the functions of the present application under the control of the server. As shown in the figure, the speed planning device 1300 may include a determination module 1310, an acquisition module 1320, a fitting module 1330 and a planning module 1340.

[0242] The determination module 1310 may be used to determine a trajectory point in the intersection according to the planned path; the trajectory point includes a starting point and an end point, and the vehicle travels from the starting point to the end point in the intersection;

[0243] The acquisition module 1320 may be used to acquire the track point data corresponding to the track point; the track point data includes the position data of the track point and the statistical vehicle flow data;

[0244] The fitting module 1330 may be used to fit a speed equation for traveling at the intersection according to the trajectory point data; the speed equation is an equation of speed with respect to time;

[0245] The planning module 1340 may be configured to determine the planned speed at each moment when traveling at the intersection according to the first speed determined by the speed equation.

[0246] In some embodiments, the statistical traffic flow data includes statistical traffic flow data of multiple time periods; the acquisition module 1320 is specifically used to:

[0247] Get the location data of the track points, and

[0248] Get the traffic statistics for the current time period.

[0249] In some embodiments, the statistical traffic data is obtained by the following steps:

[0250] Acquire multiple traffic flow data samples of the trajectory point,

[0251] The traffic flow data samples of the preset quantile are determined as statistical traffic flow data.

[0252] In some embodiments, the fitting module 1330 is specifically used to:

[0253] Fitting a trajectory equation according to the trajectory point data; the trajectory equation is an equation of position with respect to time, and is used to characterize the driving trajectory of the vehicle at the intersection;

[0254] The velocity equation is obtained by differentiating the trajectory equation.

[0255] In some embodiments, the statistical traffic data includes speed data and acceleration data of the traffic; and the trajectory equation is a quintic equation.

[0256] In some embodiments, the speed planning device 1300 further includes a curvature module for:

[0257] For each position in the driving trajectory, determining the maximum driving speed of the vehicle along the curvature of the position as a second speed;

[0258] The planning module 1340 is specifically used for:

[0259] The planned speed at each moment is determined according to the minimum value between the first speed and the second speed.

[0260] In some embodiments, the speed planning device 1300 further includes an anti-collision module. When there are other traffic participants besides the vehicle at the intersection, the anti-collision module is used to:

[0261] Adopting a corresponding anti-collision strategy according to the positional relationship between the traffic participant and the driving trajectory, and determining a target speed under the anti-collision strategy;

[0262] The planning module 1340 is specifically used for:

[0263] The planned speed at each moment is determined according to the minimum value between the first speed and the target speed.

[0264] In some embodiments, the traffic participant is on the driving trajectory, and the corresponding anti-collision strategy is a following strategy, and the anti-collision module is specifically used for:

[0265] Determining an expected following distance according to the current speed of the vehicle; wherein the current speed is positively correlated with the expected following distance;

[0266] Using a sensor carried by the vehicle to sense the actual distance between the vehicle and the traffic participant;

[0267] A third speed is determined as the target speed according to a distance difference between the expected following distance and the actual distance.

[0268] In some embodiments, the other traffic participants are not on the driving trajectory, and the anti-collision module is specifically used to:

[0269] According to the motion information of the vehicle and the motion information of the traffic participant, the motion prediction of the vehicle and the traffic participant is performed;

[0270] If it is determined that there is a risk of collision based on the motion prediction result, a parking strategy is adopted, and a fourth speed is determined as the target speed based on the distance between the current position of the vehicle and the predicted collision point.

[0271] In some embodiments, the speed planning device 1300 further includes a pre-intersection planning module. Before the vehicle enters the intersection, the pre-intersection planning module is used to:

[0272] Acquire the traffic status of the lane where the vehicle is located; wherein the lane is connected to the intersection; the traffic status is used to indicate whether the lane is passable or impassable;

[0273] Determining a fifth speed when the vehicle enters the intersection according to the traffic state;

[0274] The planned speed at each moment before entering the intersection is determined according to the current speed of the vehicle and the fifth speed.

[0275] In some embodiments, the pre-intersection planning module is specifically used to:

[0276] If the traffic state indicates that the lane is passable, determining the fifth speed as speed data in the statistical traffic data of the starting point;

[0277] If the traffic status indicates that the lane is impassable, the fifth speed is determined to be zero.

[0278] In some embodiments, the speed planning device 1300 further includes a speed limiting module, which is used to:

[0279] According to the priorities of the acquisition methods from high to low, adopt an acquisition method corresponding to the priority to acquire the legal speed limit of the road where the vehicle is located;

[0280] The planning module 1340 is specifically used for:

[0281] determining a planned speed at each moment when driving at the intersection according to a minimum value between the first speed and the legal speed limit;

[0282] Among them, in order of priority from high to low, the acquisition method includes:

[0283] Using sensors carried by the vehicle to obtain the legal speed limit of the road;

[0284] Obtain the legal speed limit for said road from a map;

[0285] The legal speed limit of the road is queried according to the grade and / or type information of the road.

[0286] The modules can be connected or communicated with each other via wired or wireless connections. The wired connection can include metal cables, optical cables, hybrid cables, etc., or any combination thereof. The wireless connection can include connections in the form of LAN, WAN, Bluetooth, ZigBee, or NFC, or any combination thereof. Two or more modules can be combined into a single module, and any one module can be divided into two or more units.

[0287] Based on a speed planning method described in any of the above embodiments, the present application also provides a vehicle. Fig.14The vehicle 1400 includes: a processor 1410, a storage medium 1420 and a bus 1430, wherein the storage medium 1420 stores machine-readable instructions executable by the processor 1410 (e.g., Fig.13 The speed planning device 1300 includes the determination module 1310, the acquisition module 1320, the fitting module 1330 and the planning module 1340 corresponding to the execution instructions, etc.). When the vehicle is running, the processor 1410 communicates with the storage medium 1420 via the bus 1430, and the processor 1410 executes the machine-readable instructions to perform the steps of a speed planning method as described in any of the above embodiments.

[0288] Based on a speed planning method described in any of the above embodiments, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above speed planning method are executed.

[0289] Specifically, the storage medium can be a general storage medium, such as a mobile disk, a hard disk, etc. When the computer program on the storage medium is run, it can execute the above-mentioned speed planning method, thereby solving the technical problem of low adaptability of the intelligent driving function to driving scenarios at intersections.

[0290] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the system and device described above can refer to the corresponding process in the method embodiment, and will not be repeated in this application. In the several embodiments provided in this application, it should be understood that the disclosed system, device and method can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation. For example, multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.

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

[0292] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0293] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard drives, ROM, RAM, magnetic disks, or optical disks.

[0294] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A speed planning method, characterized in that: Applied to the driving scene of the vehicle at an intersection; the method includes: Determine a track point in the intersection according to the planned path; the track point includes a starting point and an end point, and the vehicle travels from the starting point to the end point in the intersection; Acquire trajectory point data corresponding to the trajectory point; the trajectory point data includes position data of the trajectory point and statistical vehicle flow data; Fitting a speed equation for traveling at the intersection according to the trajectory point data; the speed equation is an equation of speed with respect to time; The planned speed at each moment when traveling at the intersection is determined according to the first speed determined by the speed equation.

2. The method according to claim 1, characterized in that The statistical traffic flow data includes statistical traffic flow data of multiple time periods; the obtaining of trajectory point data corresponding to the trajectory point includes: Get the location data of the track points, and Get the traffic statistics for the current time period.

3. The method according to claim 1, characterized in that The statistical traffic data is obtained by the following steps: Acquire multiple traffic flow data samples of the trajectory point, The traffic flow data samples of the preset quantile are determined as statistical traffic flow data.

4. The method according to claim 1, characterized in that The step of fitting a speed equation for traveling at the intersection according to the trajectory point data comprises: Fitting a trajectory equation according to the trajectory point data; the trajectory equation is an equation of position with respect to time, and is used to characterize the driving trajectory of the vehicle at the intersection; The velocity equation is obtained by differentiating the trajectory equation.

5. The method according to claim 4, characterized in that The statistical traffic data includes speed data and acceleration data of the traffic; the trajectory equation is a quintic equation.

6. The method according to claim 4, characterized in that The method further comprises: For each position in the driving trajectory, determining the maximum driving speed of the vehicle along the curvature of the position as a second speed; The step of determining the planned speed at each moment when traveling at the intersection according to the first speed determined by the speed equation includes: The planned speed at each moment is determined according to the minimum value between the first speed and the second speed.

7. The method according to claim 4, characterized in that In the case where there are other traffic participants besides the vehicle at the intersection, the method further includes: Adopting a corresponding anti-collision strategy according to the positional relationship between the traffic participant and the driving trajectory, and determining a target speed under the anti-collision strategy; The step of determining the planned speed at each moment when traveling at the intersection according to the first speed determined by the speed equation includes: The planned speed at each moment is determined according to the minimum value between the first speed and the target speed.

8. The method according to claim 7, characterized in that The traffic participant is on the driving trajectory, and the corresponding anti-collision strategy is a following strategy, and determining the target speed under the anti-collision strategy includes: Determining an expected following distance according to the current speed of the vehicle; wherein the current speed is positively correlated with the expected following distance; Using a sensor carried by the vehicle to sense the actual distance between the vehicle and the traffic participant; A third speed is determined as the target speed according to a distance difference between the expected following distance and the actual distance.

9. The method according to claim 7, characterized in that: The other traffic participants are not on the driving trajectory, and the corresponding anti-collision strategy is adopted, and the target speed under the anti-collision strategy is determined, including: According to the motion information of the vehicle and the motion information of the traffic participant, the motion prediction of the vehicle and the traffic participant is performed; If it is determined that there is a risk of collision based on the motion prediction result, a parking strategy is adopted, and a fourth speed is determined as the target speed based on the distance between the current position of the vehicle and the predicted collision point.

10. The method according to claim 1, characterized in that Before the vehicle enters the intersection, the method further includes: Acquire the traffic status of the lane where the vehicle is located; wherein the lane is connected to the intersection; the traffic status is used to indicate whether the lane is passable or impassable; Determining a fifth speed when the vehicle enters the intersection according to the traffic state; The planned speed at each moment before entering the intersection is determined according to the current speed of the vehicle and the fifth speed.

11. The method according to claim 10, characterized in that The determining, according to the traffic state, a fifth speed when the vehicle enters the intersection comprises: If the traffic state indicates that the lane is passable, determining the fifth speed as speed data in the statistical traffic data of the starting point; If the traffic status indicates that the lane is impassable, the fifth speed is determined to be zero.

12. The method according to claim 1, characterized in that The method further comprises: According to the priorities of the acquisition methods from high to low, adopt an acquisition method corresponding to the priority to acquire the legal speed limit of the road where the vehicle is located; The step of determining the planned speed at each moment when traveling at the intersection according to the first speed determined by the speed equation includes: determining a planned speed at each moment when driving at the intersection according to a minimum value between the first speed and the legal speed limit; Among them, in order of priority from high to low, the acquisition method includes: Using sensors carried by the vehicle to obtain the legal speed limit of the road; Obtain the legal speed limit for said road from a map; The legal speed limit of the road is queried according to the grade and / or type information of the road.

13. A speed planning device, characterized in that: Applicable to the driving scene of the vehicle at an intersection; the device includes: A determination module, configured to determine a trajectory point in the intersection according to a planned path; the trajectory point includes a starting point and an end point, and the vehicle travels from the starting point to the end point in the intersection; An acquisition module, used to acquire track point data corresponding to the track point; the track point data includes position data of the track point and statistical traffic data; A fitting module, used for fitting a speed equation for traveling at the intersection according to the trajectory point data; the speed equation is an equation of speed with respect to time; The planning module is used to determine the planned speed at each moment when driving at the intersection according to the first speed determined by the speed equation.

14. A vehicle, characterized in that: The vehicle includes: a processor, a storage medium and a bus, the storage medium stores machine-readable instructions executable by the processor, when the electronic device is running, the processor and the storage medium communicate through the bus, and the processor executes the machine-readable instructions to perform the steps of a time synchronization method as described in any one of claims 1 to 12.

15. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of a time synchronization method as claimed in any one of claims 1 to 12 are executed.