Passing area determination method and device, electronic equipment and storage medium
By applying artificial potential field technology to autonomous vehicles, and combining the weight coefficients of the target object and the driver's style, the vehicle's travel area is determined, which solves the problems of accuracy and efficiency in travel area determination in existing technologies, and realizes a travel area planning system with high safety and real-time performance.
Patent Information
- Application Number
- CN202410945826.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-15
- Publication Date
- 2024-11-12
AI Technical Summary
In existing technologies, the process of determining the driving area in autonomous driving mode is fragmented and relies on the subjective evaluation of developers, resulting in inconsistent user experiences and a lack of accuracy and efficiency.
By determining the target object in the direction of vehicle travel, and using the range of the artificial potential field, the weight coefficient of the target object, and the relative speed and acceleration, the vehicle's passage area is determined. The boundary of the area is then adjusted in conjunction with the driver's driving style to achieve smooth passage of the vehicle within the range of the artificial potential field.
It improves the safety and real-time performance of the navigable area in autonomous driving mode, enhances the accuracy of the navigable area of the road, and provides a better user experience.
Smart Images

Figure CN118942267A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of autonomous driving, and specifically to a method, device, electronic device and storage medium for determining a passage area. Background Art
[0002] As a hot topic in today's automotive industry, the field of autonomous driving has attracted much attention from consumers and manufacturers. Regarding the traffic areas of vehicles in autonomous driving mode, researchers have proposed many different decision-making and planning solutions.
[0003] In the existing technical routes and solutions, the decision-making and planning processes are relatively separated and rely more on the subjective evaluation indicators of developers, so the user experience of different groups varies. Therefore, how to accurately and efficiently determine the passage area of the autonomous driving mode and bring users a better user experience has become a problem that needs to be solved. Summary of the invention
[0004] The present application provides a method, device, electronic device and storage medium for determining a passage area, which can more accurately and efficiently solve the problem of determining the passage area for autonomous driving. The technical solution of the present application is as follows:
[0005] According to the first aspect of the present application, a method for determining a passage area is provided, which is applied to a vehicle. The method includes: determining a target object in the direction of vehicle travel, the target object is within the range of the artificial potential field of the vehicle, and the travel trajectory of the target object has the risk of moving to the vehicle's travel route; the range of the artificial potential field of the vehicle is proportional to the speed of the vehicle; determining the artificial potential field weight coefficient of the target object, and determining the artificial potential field of the target object based on the artificial potential field weight coefficient of the target object, and the relative speed and relative acceleration between the vehicle and the target object; determining the artificial potential fields of multiple positions within the range of the artificial potential field of the vehicle according to the artificial potential field of the target object, and determining the passage area of the vehicle according to the artificial potential fields of the multiple positions.
[0006] According to the above technical means, in the method for determining the passage area provided by the present application, the range of the artificial potential field of the target object and the vehicle in the direction of vehicle travel is determined; the artificial potential field of the target object is determined based on the artificial potential field weight coefficient of the target object, and the relative speed and relative acceleration between the vehicle and the target object; the artificial potential field of multiple positions within the artificial potential field range of the vehicle is determined according to the artificial potential field of the target object, and the passage area of the vehicle is determined according to the artificial potential fields at multiple positions. Based on this, the vehicle has the characteristics of high safety and strong real-time performance when determining the passage area, and has a stronger accuracy in determining the passable area of the road.
[0007] In one possible implementation, the above-mentioned "determining the target object in the vehicle's driving direction" includes: obtaining the position information of each object at multiple times among multiple objects within the artificial potential field of the vehicle; for each object, calculating the historical trajectory matching degree of the object based on the position information of the object at multiple times; the historical trajectory matching degree is used to reflect the probability of the object moving to the vehicle's driving route; based on the historical trajectory matching degrees of multiple objects, determining the target object, the historical trajectory matching degree of the target object is less than a preset threshold.
[0008] According to the above technical means, in the method for determining the passage area provided by the present application, the position information of each object at multiple times among multiple objects within the artificial potential field of the vehicle is obtained; for each object, the historical trajectory matching degree of the object is calculated according to the position information of the object at multiple times; based on the historical trajectory matching degrees of multiple objects, the target object is determined, and the historical trajectory matching degree of the target object is less than a preset threshold. Based on this, the target object whose driving trajectory is at risk of moving to the driving route of the vehicle can be accurately determined.
[0009] In a possible implementation, the artificial potential field weight coefficient of the target object includes: a basic coefficient and an online learning coefficient; the basic coefficient is determined according to the driving style of the driver of the vehicle, and the online learning coefficient is determined according to the historical trajectory matching degree of the target object.
[0010] According to the above technical means, in the method for determining the traffic area provided by the present application, the basic coefficient is determined according to the driving style of the driver of the vehicle, the online learning coefficient is determined according to the historical trajectory matching degree of the target object, and the artificial potential field weight coefficient of the target object is determined based on the basic coefficient and the online learning coefficient. Based on this, the artificial potential field weight coefficient of the target object can be accurately determined according to the matching degree between the driver's driving style and the historical trajectory of the target object.
[0011] In a possible implementation, the artificial potential field of the target object satisfies a preset formula; the preset formula is:
[0012]
[0013] Where x represents the longitudinal direction of the artificial potential field of the target object, y represents the lateral direction of the artificial potential field of the target object, and v x represents the longitudinal relative velocity between the vehicle and the target object, v y represents the lateral relative velocity between the vehicle and the target object, a x represents the longitudinal relative acceleration between the vehicle and the target object, a y represents the lateral relative acceleration between the vehicle and the target object, k hx Represents the weight coefficient of the artificial potential field in the longitudinal direction of the target object, k hyRepresents the weight coefficient of the artificial potential field in the lateral direction of the target object.
[0014] According to the above technical means, in the method for determining the passage area provided by the present application, the artificial potential field of the target object is determined based on a preset formula. Based on this, the artificial potential field of the target object can be accurately determined.
[0015] In one possible implementation, the above-mentioned "determining the vehicle's passage area based on artificial potential fields at multiple positions" includes: determining the type of the vehicle's travel area based on artificial potential fields at multiple positions, the types including free passage area, recommended passage area, and restricted passage area; according to the driving style of the vehicle's driver, expanding or contracting the boundary line between the free area and the recommended area to obtain the vehicle's passage area.
[0016] According to the above technical means, in the method for determining the passage area provided by the present application, the type of the area to be driven by the vehicle is determined according to the artificial potential fields at multiple positions, and the types include free passage area, recommended passage area, and restricted passage area; and according to the driving style of the driver of the vehicle, the boundary line of the free area and the recommended area is expanded or contracted to obtain the passage area of the vehicle. Based on this, the type of the passage area of the vehicle can be accurately determined according to the artificial potential fields at multiple positions and the driving style of the driver of the vehicle.
[0017] In a possible implementation, the method further includes: determining a first passage route of the vehicle within the range of the artificial potential field based on the artificial potential fields at multiple positions; and performing polarization processing on the first passage route to obtain a target passage route of the vehicle in the passage area.
[0018] According to the above-mentioned technical means, in the method for determining the pass area provided in the present application, based on the artificial potential fields at multiple positions, the first pass route of the vehicle within the range of the artificial potential field is determined, and the first pass route is polarized to obtain the target pass route of the vehicle in the pass area, so that the vehicle can travel more smoothly in the pass area.
[0019] According to the second aspect provided by the present application, a device for determining a passage area is provided, the device comprising: a determination unit, for determining a target object in the direction of vehicle travel, the target object is within the range of the artificial potential field of the vehicle, and the driving trajectory of the target object has the risk of moving to the vehicle's driving route; the range of the artificial potential field of the vehicle is proportional to the speed of the vehicle. The determination unit is also used to determine the artificial potential field weight coefficient of the target object, and determine the artificial potential field of the target object based on the artificial potential field weight coefficient of the target object, and the relative speed and relative acceleration between the vehicle and the target object; according to the artificial potential field of the target object, determine the artificial potential fields at multiple positions within the artificial potential field range of the vehicle, and determine the passage area of the vehicle according to the artificial potential fields at multiple positions.
[0020] In a possible implementation, the determination unit is specifically used to obtain the position information of each object at multiple times among multiple objects located within the artificial potential field of the vehicle; for each object, the historical trajectory matching degree of the object is calculated according to the position information of the object at multiple times; the historical trajectory matching degree is used to reflect the probability of the object moving to the vehicle's driving route; based on the historical trajectory matching degrees of the multiple objects, the target object is determined, and the historical trajectory matching degree of the target object is less than a preset threshold.
[0021] In one possible implementation, the determination unit is specifically used to determine the type of the area to be driven by the vehicle based on the artificial potential fields at multiple positions, and the types include free passage area, recommended passage area, and restricted passage area; according to the driving style of the vehicle driver, the boundary line of the free area and the recommended area is expanded or contracted to obtain the vehicle's passage area.
[0022] In a possible implementation, the determination unit is further specifically used to determine a first passage route of the vehicle within the artificial potential field range based on the artificial potential fields at multiple positions; and polarize the first passage route to obtain a target passage route of the vehicle in the passage area.
[0023] According to the third aspect provided by the application, an electronic device is provided, which may include: a processor and a memory for storing processor executable instructions; wherein the processor is configured to execute the instructions to implement any one of the optional methods for determining a passage area in the first aspect above.
[0024] According to the fourth aspect provided by the application, a computer storage medium is provided, on which instructions are stored. When the instructions in the computer storage medium are executed by a processor of a computing device, the computing device is enabled to execute any one of the optional methods for determining a passage area in the first aspect described above.
[0025] According to a fifth aspect provided by the present application, a computer program product is provided, which includes computer instructions. When the computer instructions are executed on a computing device, the computing device executes the method for determining a passage area as described in any optional implementation of the first aspect.
[0026] Therefore, the above technical features of the present application have the following beneficial effects:
[0027] (1) By determining the artificial potential field range of the target object and the vehicle in the direction of vehicle travel; determining the artificial potential field of the target object based on the artificial potential field weight coefficient of the target object, and the relative speed and relative acceleration between the vehicle and the target object; determining the artificial potential fields of multiple positions within the artificial potential field range of the vehicle based on the artificial potential field of the target object, and determining the vehicle's pass area based on the artificial potential fields at multiple positions. Based on this, the vehicle has the characteristics of high safety and strong real-time performance when determining the pass area, and has a stronger accuracy in determining the passable area of the road.
[0028] (2) By obtaining the position information of each object at multiple times among multiple objects within the artificial potential field of the vehicle; for each object, the historical trajectory matching degree of the object is calculated according to the position information of the object at multiple times; based on the historical trajectory matching degrees of the multiple objects, the target object is determined, and the historical trajectory matching degree of the target object is less than a preset threshold. Based on this, the target object whose driving trajectory is at risk of moving to the driving route of the vehicle can be accurately determined.
[0029] (3) A basic coefficient is determined according to the driving style of the driver of the vehicle, an online learning coefficient is determined according to the historical trajectory matching degree of the target object, and an artificial potential field weight coefficient of the target object is determined based on the basic coefficient and the online learning coefficient. Based on this, the artificial potential field weight coefficient of the target object can be accurately determined according to the matching degree between the driver's driving style and the historical trajectory of the target object.
[0030] (4) Based on a preset formula, the artificial potential field of the target object is determined. Based on this, the artificial potential field of the target object can be accurately determined.
[0031] (5) According to the artificial potential fields at multiple locations, the type of the area to be driven by the vehicle is determined, including a free passage area, a recommended passage area, and a restricted passage area; and according to the driving style of the driver of the vehicle, the boundary line of the free area and the recommended area is expanded or contracted to obtain the passage area of the vehicle. Based on this, the type of the passage area of the vehicle can be accurately determined according to the artificial potential fields at multiple locations and the driving style of the driver of the vehicle.
[0032] (6) Based on the artificial potential fields at multiple positions, a first passage route of the vehicle within the range of the artificial potential field is determined, and polarization processing is performed on the first passage route to obtain a target passage route of the vehicle in the passage area, so that the vehicle travels more smoothly in the passage area.
[0033] It should be noted that the technical effects brought about by any implementation method in the second to fifth aspects can refer to the technical effects brought about by the corresponding implementation method in the first aspect, and will not be repeated here.
[0034] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 is a flowchart of a method for determining a pass area according to an exemplary embodiment;
[0036] Figure 2 is a schematic diagram of a model of an artificial potential field according to an exemplary embodiment;
[0037] Figure 3 is a schematic diagram showing a driving direction of a vehicle in an artificial potential field according to an exemplary embodiment;
[0038] Figure 4 is a schematic diagram of a traffic area according to an exemplary embodiment;
[0039] Figure 5 is a flowchart of another method for determining a passage area according to an exemplary embodiment;
[0040] Figure 6 is a schematic structural diagram of a device for determining a passage area according to an exemplary embodiment;
[0041] Figure 7 The diagram is a schematic structural diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0042] The following will describe the implementation methods of the present application with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification. The present application can also be implemented or applied through other different specific implementation methods, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present application. It should be understood that the preferred embodiments are only for illustrating the present application, not for limiting the scope of protection of the present application.
[0043] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present application, and thus the drawings only show components related to the present application rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed at will, and the component layout may also be more complicated.
[0044] In the description of the embodiments, "at least one" and "a plurality of" refer to two or more. The words "first" and "second" do not limit the quantity and execution order, and the words "first" and "second" do not necessarily mean different.
[0045] The data involved in this application may be data authorized by the user or fully authorized by all parties.
[0046] With the development of artificial intelligence technology and the continuous progress of the vehicle industry, the vehicle's autonomous driving technology is becoming more and more mature. Autonomous driving, also known as unmanned driving, refers to a technology that does not require a driver to drive the vehicle, but instead uses the collaborative cooperation of artificial intelligence, visual computing, radar, monitoring devices, and global positioning systems to allow the controller to automatically and safely operate the vehicle to drive the car on the road.
[0047] The development of autonomous driving technology is inseparable from the support of various advanced scientific and technological means. The development of sensing and networking technology can better provide rich, fast and accurate environmental information for the vehicle control system. The rapid development of a series of advanced technologies such as big data analysis technology and artificial intelligence has provided a more intelligent and efficient means for vehicle control. Because the car integrates these advanced technologies, its performance has been greatly improved. As a hot direction in today's automotive industry, the field of autonomous driving has attracted much attention from consumers and manufacturers. Researchers have proposed many different decision-making and planning schemes. In the existing technical routes and schemes, the decision-making and planning processes are relatively fragmented and rely more on the subjective evaluation indicators of developers, so the user experience of different groups is uneven.
[0048] Based on this, the present application provides a method for determining a passage area, which method determines a target object in the direction of vehicle travel, the target object is located within the range of the vehicle's artificial potential field, and the driving trajectory of the target object is at risk of moving to the vehicle's driving route; the range of the vehicle's artificial potential field is proportional to the speed of the vehicle; the artificial potential field weight coefficient of the target object is determined, and based on the artificial potential field weight coefficient of the target object, and the relative speed and relative acceleration between the vehicle and the target object, the artificial potential field of the target object is determined; based on the artificial potential field of the target object, the artificial potential fields at multiple positions within the range of the artificial potential field of the vehicle are determined, and based on the artificial potential fields at multiple positions, the passage area of the vehicle is determined.
[0049] Figure 1 1 is a flow chart of a method for determining a passable area according to an exemplary embodiment. In some embodiments, the method for determining a passable area can be applied to a vehicle or a device or electronic device for determining a passable area in a vehicle. In the following, the embodiment of the present application takes the method for determining a passable area applied to a vehicle as an example to illustrate the method for determining a passable area.
[0050] like Figure 1 As shown, the method for determining the passage area provided in the embodiment of the present application includes the following S101-S103:
[0051] S101: Determine a target object in the driving direction of the vehicle.
[0052] The target object is located within the artificial potential field of the vehicle, and the target object's driving trajectory has the risk of moving to the vehicle's driving route. For example, the target object may include pedestrians, vehicles, and obstacles. The range of the vehicle's artificial potential field is proportional to the vehicle's speed.
[0053] In a possible implementation, the vehicle obtains the position information of each object at multiple times among multiple objects within the artificial potential field of the vehicle. For each object, the historical trajectory matching degree of the object is calculated based on the position information of the object at multiple times, and the historical trajectory matching degree is used to reflect the probability of the object moving to the vehicle's driving route. Based on the historical trajectory matching degrees of multiple objects, the target object is determined, and the historical trajectory matching degree of the target object is less than a preset threshold.
[0054] In one example, targets outside the roadside or edge lane lines are filtered and selected, and targets whose historical trajectory matching degree is less than a preset threshold within a preset time period (such as 1 second) before the current time are selected, and the historical trajectory matching degree satisfies Formula 1:
[0055]
[0056] Among them, δ represents the historical trajectory matching degree of the target, k represents time, i represents the target trajectory at the current time, and l represents the target trajectory in the preset time period before the current time.
[0057] In one embodiment, when δ<0.8, the target is at risk of moving to the vehicle's driving route, and the target is an abnormal target, serving as a target object of the artificial potential field.
[0058] Figure 2 is a schematic diagram of a model of an artificial potential field according to an exemplary embodiment. Wherein, x represents the longitudinal direction, y represents the transverse direction, and v xhost represents the vehicle's velocity in the longitudinal direction, v yhost Indicates the vehicle's lateral speed.
[0059] In one example, a corresponding relationship is established between the speed of the vehicle and the range of the artificial potential field, and the longitudinal and lateral potential field sensing distances are determined using the vehicle speed as an independent variable. The range of the artificial potential field is determined based on the longitudinal and lateral potential field sensing distances. The vehicle speed is proportional to the potential field sensing distance, satisfying Formula 2:
[0060] Long max =f(V yhost )
[0061] Lat max =f(V xhost ) Formula 2
[0062] Among them, Long max Indicates the maximum sensing distance of the vehicle longitudinal potential field, Lat max Indicates the maximum sensing distance of the vehicle's lateral potential field.
[0063] S102: Determine a weight coefficient of an artificial potential field of the target object, and determine the artificial potential field of the target object based on the weight coefficient of the artificial potential field of the target object, and the relative speed and relative acceleration between the vehicle and the target object.
[0064] In a possible implementation, the artificial potential field weight coefficient of the target object includes: a basic coefficient and an online learning coefficient. The basic coefficient is determined according to the driving style of the driver of the vehicle, and the online learning coefficient is determined according to the historical trajectory matching degree of the target object.
[0065] In one example, within the artificial potential field range of the vehicle, the artificial potential field weight coefficient is determined according to the different types of the screened targets according to the degree of danger or the degree of protection, and the artificial potential field weight coefficient satisfies Formula 3:
[0066] k h =k b +k δ Formula 3
[0067] Among them, k h represents the weight coefficient of the artificial potential field, k b Represents the basic coefficient and satisfies k b =k law +k drv , k law is the weight coefficient of the vehicle itself, k drv The driving style set by the driver according to his / her own driving habits; δ represents the online learning coefficient and satisfies k δ =1-δ.
[0068] In one example, the artificial potential field of the target object satisfies a preset formula. The preset formula is Formula 4:
[0069]
[0070] Where x represents the longitudinal direction of the artificial potential field of the target object, y represents the lateral direction of the artificial potential field of the target object, and v x represents the longitudinal relative velocity between the vehicle and the target object, v y represents the lateral relative velocity between the vehicle and the target object, a x represents the longitudinal relative acceleration between the vehicle and the target object, a y represents the lateral relative acceleration between the vehicle and the target object, k hxRepresents the weight coefficient of the artificial potential field in the longitudinal direction of the target object, k hy Represents the weight coefficient of the artificial potential field in the lateral direction of the target object.
[0071] In this application, the range of the artificial potential field of the target object is determined by the length, width and speed of the target object, as shown in Formula 5:
[0072]
[0073] Among them, x length Indicates the length of the target object, y width Indicates the width of the target object.
[0074] S103. Determine artificial potential fields at multiple positions within the artificial potential field range of the vehicle according to the artificial potential field of the target object, and determine a passage area of the vehicle according to the artificial potential fields at the multiple positions.
[0075] In a possible implementation, the type of the area to be driven by the vehicle is determined based on the artificial potential fields at multiple locations, including a free area, a recommended area, and a restricted area. According to the driving style of the driver of the vehicle, the boundary lines of the free area and the recommended area are expanded or contracted to obtain the vehicle's driving area.
[0076] In one example, according to the artificial potential fields at multiple positions, the artificial potential fields at multiple positions within the artificial potential field range of the vehicle are calculated to determine the type of the area to be driven by the vehicle, as shown in Formula 6:
[0077]
[0078] Among them, Z 1 Indicates the free passage area, Z 2 Indicates the recommended travel area, Z 3 Indicates restricted access area, F 1 、F 2 is the preset threshold. The preset threshold is the threshold obtained through a large number of simulation trainings, for example, F 1 It can be 0.5, F 2 It can be -0.3.
[0079] Furthermore, the traffic area can be expanded or contracted based on the driver's driving style.
[0080] For example, the driver's driving style can be an aggressive style or a conservative style. According to the artificial potential field of the vehicle, the free passage area Z 1 、Recommended Passage Area Z 2 , Restricted access area Z 3 The intersection of the three areas is connected. When the driver's driving style is aggressive, the boundary line of the pass area is moved to Z.1 , Z 2 When the driver's driving style is conservative, the boundary line of the traffic area is moved to Z. 2 , Z 3 The area is shrunk.
[0081] In one embodiment, Figure 3 The figure shows a schematic diagram of the driving direction of a vehicle in an artificial potential field. G is the target position of the vehicle, A1 and A2 are obstacles. When the vehicle reaches the current position, obstacles A1 and A2 are abstracted as objects that have repulsive force on the vehicle. The repulsive force generated by obstacle A1 on the vehicle is F1, and the repulsive force generated by obstacle A2 on the vehicle is F2. The target position G of the vehicle is abstracted as an object that has gravitational force on the vehicle, and the gravitational force generated by the object on the vehicle is F3. By vector superposition of repulsive force F1, repulsive force F2, and gravitational force F3, the driving direction F of the vehicle at the current position is obtained.
[0082] In a possible implementation, based on the artificial potential fields at multiple locations, a first passage route of the vehicle within the artificial potential field is determined, and polarization processing is performed on the first passage route to obtain a target passage route of the vehicle within the passage area.
[0083] In one example, any point of the vehicle within the range of the artificial potential field is subject to a continuous and derivable repulsive force or attractive force, and the resulting passage trajectory is mostly a changing curve, which is inconsistent with the actual driving situation. Therefore, it is necessary to polarize the passage trajectory to ensure that the magnitude and direction of the resultant force at any point are within a certain range, thereby deriving the passage trajectory of the vehicle within the range of the artificial potential field in real time, and the polarization of the resultant force satisfies Formula 7:
[0084]
[0085] in, represents the polarization force, represents the artificial potential force of the vehicle at any point, j∈N o It represents the polarization range at any point. The larger the polarization range, the smaller the rate of change in this area.
[0086] based on Figure 1According to the technical solution, in the method for determining the passage area provided by the present application, the range of the artificial potential field of the target object and the vehicle in the direction of vehicle travel is determined. The artificial potential field of the target object is determined based on the artificial potential field weight coefficient of the target object, and the relative speed and relative acceleration between the vehicle and the target object. According to the artificial potential field of the target object, the artificial potential fields at multiple positions within the range of the artificial potential field of the vehicle are determined, and the passage area of the vehicle is determined based on the artificial potential fields at multiple positions. Based on this, the vehicle has the characteristics of high safety and strong real-time performance when determining the passage area, and has a stronger accuracy in determining the passable area of the road.
[0087] In one embodiment, the drivable direction is determined in the intersection scene, and the end point set of the drivable area of the current intersection is determined according to the perception information or the end point of the turning trajectory of the preceding vehicle (x iend ,y iend ), where x iend Indicates the end point of the drivable area in the longitudinal direction, y iend Indicates the end point of the traversable area in the lateral direction. When the end point is on the left side of the vehicle position (y iend >y start ), where y start Indicates the starting point of the traversable area in the lateral direction, with a maximum radius R max The arc connects the start and end points to plan the left turn passable area. When the end point is on the right side of the vehicle (y iend <y start ), with a minimum radius R min The arc connects the right-turn passable area at the planned starting and ending points. When there is a separate U-turn lane, the U-turn passable area is planned based on the vehicle's minimum turning radius. Otherwise, the U-turn passable area is planned based on the vehicle's current position extending forward to the zebra crossing as the starting point.
[0088] In one embodiment, Figure 4 The figure shows a schematic diagram of a traffic area. The destination of the vehicle generates attraction on the vehicle, and the target object within the artificial potential field of the vehicle generates repulsion on the vehicle. The traffic area of the vehicle is determined according to the resultant force received by each position of the vehicle within the artificial potential field.
[0089] In one example, when the vehicle is mainly affected by the gravitational force from the target position of the vehicle, it is determined that the vehicle's passage area is a free passage area, and there is no collision risk for the vehicle in the passage area, and the passage speed needs to be increased.
[0090] When the gravitational force of the target position on the vehicle and the repulsive force of the target object on the vehicle in the area are basically balanced, the vehicle's passage area is determined to be a recommended passage area. At this time, the vehicle is in an efficient and safe passage area.
[0091] When the vehicle is mainly subjected to the repulsive force from the target object, the vehicle's passage area is determined to be a restricted passage area. At this time, the vehicle needs to slow down and brake or take emergency measures.
[0092] In one embodiment, Figure 5 As shown, it is a flowchart of another method for determining a pass area provided by the present application, and the method for determining a pass area is shown in S501-S509:
[0093] S501: Acquire road information and target information on the road.
[0094] Among them, the road information includes all target information that can be perceived in the vehicle coordinate system, lane line position, type, fitted lane line coefficient, curb position, and traffic light indication at the intersection. The target information includes the target position information, target speed information, target acceleration information, target length information, target width information, and target type information in the vehicle coordinate system.
[0095] S502: Calculate the matching degree of the historical trajectory of the target object, or the driver plans the drivable area by himself.
[0096] S503: If the target historical trajectory matching degree is less than a preset threshold, the target is an abnormal target.
[0097] S504: Determine the range of the artificial potential field of the vehicle according to the vehicle speed.
[0098] S505: Calculate the artificial potential field weight coefficient of the target object within the artificial potential field of the vehicle.
[0099] S506: Calculate the artificial potential field of the target object based on the artificial potential field weight coefficient of the target object.
[0100] S507: Determine the vehicle's passage area according to the artificial potential field of the target object.
[0101] S508: Smoothing the connection between the vehicle's passage area according to user habits.
[0102] S509: Polarize the resultant force in the vehicle's pass area to generate a passable road for the vehicle.
[0103] Among them, the specific implementation method and technical effects of S501-S509 can refer to the description of the above embodiments and will not be repeated here.
[0104] As described above, the present application can divide the functional modules of the device for determining the passage area according to the above method example. Among them, the above integrated modules can be implemented in the form of hardware or in the form of software functional modules. In addition, it should be noted that the division of modules in the present application is schematic and is only a logical function division. There may be other division methods in actual implementation. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module.
[0105] When each function is assigned to each functional module, Figure 6 A schematic structural diagram of a passage area determination device 60 is shown. The passage area determination device 60 can be used to execute the passage area determination method in the above embodiment. Figure 6 The illustrated passage area determination device 60 may include: a determination unit 601 .
[0106] The determination unit 601 is used to determine the target object in the driving direction of the vehicle. The target object is located within the range of the artificial potential field of the vehicle, and the driving trajectory of the target object has the risk of moving to the driving route of the vehicle; the range of the artificial potential field of the vehicle is proportional to the speed of the vehicle.
[0107] The determination unit 601 is further used to determine a weight coefficient of the artificial potential field of the target object, and determine the artificial potential field of the target object based on the weight coefficient of the artificial potential field of the target object, and the relative speed and relative acceleration between the vehicle and the target object;
[0108] The determination unit 601 is further configured to determine the artificial potential fields at multiple positions within the artificial potential field range of the vehicle according to the artificial potential field of the target object, and determine the passage area of the vehicle according to the artificial potential fields at multiple positions.
[0109] In a possible implementation, the determination unit 601 is specifically used to obtain the position information of each object at multiple moments among multiple objects located within the artificial potential field of the vehicle; for each object, the historical trajectory matching degree of the object is calculated according to the position information of the object at multiple moments; the historical trajectory matching degree is used to reflect the probability of the object moving to the vehicle's driving route; based on the historical trajectory matching degrees of the multiple objects, the target object is determined, and the historical trajectory matching degree of the target object is less than a preset threshold.
[0110] In one possible implementation, the determination unit 601 is specifically used to determine the type of the area to be driven by the vehicle based on the artificial potential fields at multiple positions, and the types include a free passage area, a recommended passage area, and a restricted passage area; according to the driving style of the vehicle driver, the boundary line of the free area and the recommended area is expanded or contracted to obtain the vehicle's passage area.
[0111] In a possible implementation, the determination unit 601 is further specifically used to determine a first passage route of the vehicle within the range of the artificial potential field based on the artificial potential fields at multiple positions; and polarize the first passage route to obtain a target passage route of the vehicle in the passage area.
[0112] The present application also provides an electronic device. Figure 7 The schematic diagram of the structure of an electronic device provided by the present application is shown. The electronic device may include at least one processor 71, a communication bus 72, a memory 73 and at least one communication interface 74.
[0113] The processor 71 may be a central processing unit (CPU), a microprocessing unit, an ASIC, or one or more integrated circuits for controlling the execution of the program of the technical solution of the present application.
[0114] The communication bus 72 may include a pathway for transmitting information between the above-mentioned components.
[0115] The communication interface 74 uses any transceiver-like device for communicating with other devices or communication networks, such as servers, Ethernet, radio access networks (RAN), wireless local area networks (WLAN), etc.
[0116] The memory 73 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory may exist independently and be connected to the processing unit through a bus. The memory may also be integrated with the processing unit.
[0117] The memory 73 is used to store the application code for executing the solution of the present application, and the execution is controlled by the processor 71. The processor 71 is used to execute the application code stored in the memory 73, so as to realize the functions in the method of the present application.
[0118] In a specific implementation, as an embodiment, the processor 71 may include one or more CPUs, such as Figure 7 CPU0 and CPU1 in.
[0119] In a specific implementation, as an embodiment, the terminal may include multiple processors, such as Figure 7 71 and processor 75 in the embodiment of the present invention. Each of these processors may be a single-CPU processor or a multi-CPU processor. The processor herein may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).
[0120] In a specific implementation, as an embodiment, the electronic device may further include an input device 76 and an output device 77. The input device 76 communicates with the output device 77 and may receive user input in a variety of ways. For example, the input device 76 may be a mouse, a keyboard, a touch screen device, or a sensor device. The output device 77 communicates with the processor 71 and may display information in a variety of ways. For example, the output device 77 may be a liquid crystal display (LCD), a light emitting diode (LED) display device, or the like.
[0121] Those skilled in the art will understand that Figure 7 The structure shown in the figure does not constitute a limitation on the electronic device, and may include more or less components than shown in the figure, or combine certain components, or adopt a different component arrangement.
[0122] The present application also provides a computer storage medium including instructions, and the computer storage medium stores instructions, and when the instructions in the computer storage medium are executed by the processor of the computer device, the computer can execute the method for determining the pass area provided in the above-mentioned embodiment. For example, the computer storage medium can be a memory 73 including instructions, and the above instructions can be executed by the processor 71 of the terminal to complete the above method. For another example, the computer storage medium can be a memory 73 including instructions, and the above instructions can be executed by the processor 71 of the server to complete the above method. Optionally, the computer storage medium can be a non-temporary computer storage medium, for example, the non-temporary computer storage medium can be a ROM, RAM, CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
[0123] The present application also provides a computer program product, which includes computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the above Figure 1 , Figure 5 A method for determining a passage area as shown in any of the accompanying drawings.
[0124] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.
[0125] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. A method for determining a traffic area, characterized in that: Applied to a vehicle, the method comprises: Determine a target object in the driving direction of the vehicle, the target object is within the range of the artificial potential field of the vehicle, and the driving trajectory of the target object has a risk of moving to the driving route of the vehicle; the range of the artificial potential field of the vehicle is proportional to the speed of the vehicle; Determining a weight coefficient of an artificial potential field of the target object, and determining the artificial potential field of the target object based on the weight coefficient of the artificial potential field of the target object and a relative speed and a relative acceleration between the vehicle and the target object; According to the artificial potential field of the target object, the artificial potential fields at multiple positions within the artificial potential field range of the vehicle are determined, and according to the artificial potential fields at the multiple positions, the passage area of the vehicle is determined.
2. The method according to claim 1, characterized in that Determining the target object in the driving direction of the vehicle includes: Acquire position information at multiple moments of each of a plurality of objects within the artificial potential field of the vehicle; For each object, the historical trajectory matching degree of the object is calculated according to the position information of the object at multiple times; the historical trajectory matching degree is used to reflect the probability of the object moving to the driving route of the vehicle; The target object is determined based on the historical trajectory matching degrees of the multiple objects, and the historical trajectory matching degree of the target object is less than a preset threshold.
3. The method according to claim 2, characterized in that The artificial potential field weight coefficient of the target object includes: a basic coefficient and an online learning coefficient; the basic coefficient is determined according to the driving style of the driver of the vehicle, and the online learning coefficient is determined according to the historical trajectory matching degree of the target object.
4. The method according to any one of claims 1 to 3, characterized in that: The artificial potential field of the target object satisfies a preset formula; the preset formula is: Wherein, x represents the longitudinal direction of the artificial potential field of the target object, y represents the lateral direction of the artificial potential field of the target object, and v x represents the longitudinal relative velocity between the vehicle and the target object, v y represents the lateral relative speed between the vehicle and the target object, a x represents the longitudinal relative acceleration between the vehicle and the target object, a y represents the lateral relative acceleration between the vehicle and the target object, k hx represents the weight coefficient of the artificial potential field in the longitudinal direction of the target object, k hy Represents the weight coefficient of the artificial potential field in the lateral direction of the target object.
5. The method according to claim 1, characterized in that Determining the passage area of the vehicle according to the artificial potential fields at the multiple positions includes: Determining the type of the area to be driven by the vehicle according to the artificial potential fields at the plurality of positions, wherein the type includes a free passage area, a recommended passage area, and a restricted passage area; According to the driving style of the driver of the vehicle, the boundary line between the free area and the recommended area is expanded or contracted to obtain the passage area of the vehicle.
6. The method according to claim 1, characterized in that The method further comprises: Based on the artificial potential fields at the multiple locations, determining a first passage route for the vehicle within the range of the artificial potential field; Polarization processing is performed on the first passage route to obtain a target passage route for the vehicle in the passage area.
7. A device for determining a traffic area, characterized in that: The device comprises: a determination unit, configured to determine a target object in the driving direction of the vehicle, the target object being located within the range of the artificial potential field of the vehicle, and the driving trajectory of the target object being at risk of moving to the driving route of the vehicle; the range of the artificial potential field of the vehicle being proportional to the speed of the vehicle; The determination unit is further used to determine a weight coefficient of the artificial potential field of the target object, and determine the artificial potential field of the target object based on the weight coefficient of the artificial potential field of the target object, and the relative speed and relative acceleration between the vehicle and the target object; The determination unit is further used to determine the artificial potential fields at multiple positions within the artificial potential field range of the vehicle according to the artificial potential field of the target object, and determine the passage area of the vehicle according to the artificial potential fields at the multiple positions.
8. An electronic device, characterized in that: The electronic device comprises: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the method for determining the traffic area according to any one of claims 1 to 6.
9. A computer storage medium having instructions stored thereon, characterized in that: When the instructions in the computer storage medium are executed by a processor of a computing device, the computing device is enabled to execute the method for determining a traffic area according to any one of claims 1 to 6.
10. A computer program product comprising instructions, characterized in that When the instructions are executed on a computing device, the computing device is caused to execute the method for determining a traffic area according to any one of claims 1 to 6.
