Method, device and electronic device for determining vehicle preview point
By constructing an elliptical trajectory path and combining the vehicle's expected trajectory path and current driving speed, the vehicle's preview point is determined, which solves the problem of low accuracy in selecting preview points in autonomous driving and improves autonomous driving performance.
Patent Information
- Application Number
- CN202210439673.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-25
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2042-04-25
AI Technical Summary
The method for determining vehicle preview points in existing autonomous driving technology considers only a single factor, resulting in low accuracy in selecting preview points, which in turn affects autonomous driving performance.
By obtaining the target trajectory points in the expected trajectory path of the target vehicle, its attribute information is determined, including expected curvature information and expected orientation information, and an elliptical trajectory path is constructed based on the current driving speed to determine the preview point.
It improves the accuracy of preview point selection, improves the automatic driving performance, and solves the problems of low accuracy of preview point selection and poor automatic driving performance.
Smart Images

Figure CN114670873B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of autonomous driving technology, and in particular to a method and device for determining a preview point of a vehicle, and an electronic device. Background Art
[0002] In the field of autonomous driving technology, the control of the vehicle is the last link of the system and also the most important link. The control effect of the vehicle directly affects the normal operation of the entire autonomous driving system. The lateral control of the autonomous driving control module mostly adopts the preview method, that is, determining the preview point of the vehicle. However, the method for determining the preview point of the vehicle in the prior art considers relatively single factors when determining the preview point, resulting in low accuracy in the selection of the preview point, which in turn causes poor autonomous driving performance.
[0003] With regard to the problems of low accuracy in selecting the preview point and poor automatic driving performance in the method for determining the preview point of the vehicle in the above-mentioned related technologies, no effective solution has been proposed so far. Summary of the invention
[0004] The embodiments of the present invention provide a method, device and electronic device for determining a preview point of a vehicle, so as to at least solve the technical problems of low preview point selection accuracy and poor automatic driving performance existing in the method for determining a preview point of a vehicle in the related art.
[0005] According to one aspect of an embodiment of the present invention, a method for determining a preview point of a vehicle is provided, comprising: obtaining a target trajectory point in an expected trajectory path of a target vehicle; determining attribute information of the target trajectory point, wherein the attribute information at least includes expected curvature information and expected orientation information; obtaining a current driving speed of the target vehicle; determining an elliptical trajectory path of the target vehicle based on the attribute information and the current driving speed; and determining a preview point of the target vehicle based on the elliptical trajectory path and the expected trajectory path.
[0006] Optionally, the above-mentioned acquisition of the target trajectory point in the expected trajectory path of the target vehicle includes: acquiring the above-mentioned expected trajectory path of the above-mentioned target vehicle, wherein the above-mentioned expected trajectory path includes multiple discrete path points; acquiring a circular trajectory path with the current vehicle coordinates of the above-mentioned target vehicle as the center; and taking the above-mentioned discrete path points in the above-mentioned expected trajectory path that are tangent to the above-mentioned circular trajectory path as the above-mentioned target trajectory points.
[0007] Optionally, the elliptical trajectory path of the target vehicle is determined according to the attribute information and the current driving speed, including: determining an elliptical coordinate system according to the expected orientation information; calculating the major axis value of the elliptical trajectory path based on the current driving speed; calculating the minor axis value of the elliptical trajectory path based on the expected curvature information; determining the elliptical trajectory path according to the elliptical coordinate system, the major axis value and the minor axis value.
[0008] Optionally, the elliptical coordinate system is determined based on the expected orientation information, including: obtaining the current orientation information of the target vehicle; adjusting the current vehicle coordinates of the target vehicle based on the expected orientation information and the current orientation information; and the elliptical coordinate system is determined based on the adjusted current vehicle coordinates.
[0009] Optionally, before calculating the major axis value of the elliptical trajectory path based on the current driving speed, the method further includes: mapping the target trajectory point to the elliptical coordinate system.
[0010] Optionally, the step of determining the preview point of the target vehicle based on the elliptical trajectory path and the expected trajectory path includes: taking the intersection of the elliptical trajectory path and the expected trajectory path as the preview point of the target vehicle.
[0011] Optionally, if there are multiple intersection points between the elliptical trajectory path and the expected trajectory path, the method further includes: determining whether the intersection points are located in the forward driving direction of the target vehicle; if the intersection points are located in the forward driving direction of the target vehicle, using the intersection points as the preview points.
[0012] According to another aspect of an embodiment of the present invention, a device for determining a preview point of a vehicle is also provided, comprising: a first acquisition module, used to acquire a target trajectory point in an expected trajectory path of a target vehicle; a first determination module, used to determine attribute information of the target trajectory point, wherein the attribute information at least includes expected curvature information and expected orientation information; a second acquisition module, used to acquire a current driving speed of the target vehicle; a second determination module, used to determine an elliptical trajectory path of the target vehicle based on the attribute information and the current driving speed; and a third determination module, used to determine the preview point of the target vehicle based on the elliptical trajectory path and the expected trajectory path.
[0013] According to another aspect of an embodiment of the present invention, a non-volatile storage medium is further provided, wherein the non-volatile storage medium stores a plurality of instructions, wherein the instructions are suitable for being loaded by a processor and executing any one of the above-mentioned methods for determining a preview point of a vehicle.
[0014] According to another aspect of an embodiment of the present invention, there is further provided an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute any one of the above-mentioned methods for determining a preview point of a vehicle.
[0015] According to another aspect of an embodiment of the present invention, a vehicle is further provided. The vehicle includes the electronic device as described above.
[0016] In an embodiment of the present invention, by acquiring a target trajectory point in an expected trajectory path of a target vehicle; determining attribute information of the target trajectory point, wherein the attribute information at least includes expected curvature information and expected orientation information; acquiring a current driving speed of the target vehicle; determining an elliptical trajectory path of the target vehicle based on the attribute information and the current driving speed; and determining a preview point of the target vehicle based on the elliptical trajectory path and the expected trajectory path, the purpose of simultaneously considering vehicle speed, path curvature, and path orientation factors to construct an elliptical trajectory path and determine the preview point is achieved, thereby achieving the technical effect of improving the accuracy of preview point selection and thereby improving the vehicle's autonomous driving performance, thereby solving the technical problems of low preview point selection accuracy and poor autonomous driving performance in the method for determining the preview point of a vehicle in the related art. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0018] Figure 1 is a flow chart of a method for determining a preview point of a vehicle according to an embodiment of the present invention;
[0019] Figure 2 is a schematic diagram of an optional preview point determination according to an embodiment of the present invention;
[0020] Figure 3 is a flow chart of an optional method for determining a preview point of a vehicle according to an embodiment of the present invention;
[0021] Figure 4 is a schematic structural diagram of a device for determining a preview point of a vehicle according to an embodiment of the present invention;
[0022] Figure 5 It is a schematic diagram of an electronic device for implementing the method for determining a preview point of a vehicle according to an embodiment of the present invention. DETAILED DESCRIPTION
[0023] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0024] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0025] In the field of autonomous driving technology, the control of the self-vehicle is the last link of the system and also the most important link. The control effect of the self-vehicle directly affects the normal operation of the entire autonomous driving system. In the lateral control of the autonomous driving control, there are two main design ideas: one is to calculate the self-vehicle mapping to the target point in the expected path. The target point is the closest point of the self-vehicle to the expected path. After obtaining the target point, the lateral position deviation and heading angle deviation between the self-vehicle and the target point are calculated, and the above deviations are reduced in the next step; the other is to calculate the preview point of the self-vehicle, that is, calculate the preview distance Ld, select the point in the expected path at a distance Ld in front of the self-vehicle as the target point, calculate the lateral position deviation and heading angle deviation between the self-vehicle and the target point, and reduce the above deviations in the next step. At present, the lateral control of the autonomous driving control module mostly adopts the preview method, but the method for determining the vehicle preview point in the prior art considers a relatively single factor when determining the preview point, which leads to low accuracy in the selection of the preview point, and thus poor autonomous driving performance.
[0026] Based on the above problems, an embodiment of the present invention provides an embodiment of a method for determining a preview point of a vehicle. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0027] Figure 1 is a flow chart of a method for determining a vehicle preview point according to an embodiment of the present invention. Figure 1 As shown, the method comprises the following steps:
[0028] Step S102, obtaining a target trajectory point in the expected trajectory path of the target vehicle;
[0029] Step S104, determining the attribute information of the target trajectory point, wherein the attribute information at least includes: expected curvature information and expected orientation information;
[0030] Step S106, obtaining the current speed of the target vehicle;
[0031] Step S108, determining the elliptical trajectory path of the target vehicle according to the attribute information and the current driving speed;
[0032] Step S110, determining a preview point of the target vehicle based on the elliptical trajectory path and the expected trajectory path.
[0033] Optionally, the target trajectory point is the nearest point of the expected trajectory, and the target trajectory point is determined based on the expected trajectory path of the target vehicle and the current self-vehicle coordinates, wherein the current self-vehicle coordinates are determined based on the current geographic coordinates of the target vehicle, that is, the current position of the target vehicle in the geographic coordinates is taken as the origin, and the x-axis of the self-vehicle coordinates and the x-axis of the current geographic coordinate system are relative to a certain angle as the direction to construct the self-vehicle coordinates. At this time, the current self-vehicle coordinates are parallel to the current geographic coordinates.
[0034] Optionally, the expected orientation information is used to determine the elliptical coordinate system of the elliptical trajectory path; the expected curvature information is used to determine the major axis value of the elliptical trajectory path; and the current driving speed is used to determine the minor axis value of the elliptical trajectory path.
[0035] Optionally, the preview point may be, but is not limited to, the intersection of the elliptical trajectory path and the expected trajectory path. It is worth noting that, in the case where there are multiple intersections between the elliptical trajectory path and the expected trajectory path, the intersection located in the forward driving direction of the target vehicle may be, but is not limited to, be used as the preview point of the target vehicle.
[0036] It should be noted that, in the embodiment of the present invention, when determining the preview point of the target vehicle, the current driving speed, path curvature, and path orientation factors of the vehicle are comprehensively considered to construct an elliptical trajectory path of the target vehicle, and the preview point of the target vehicle is determined based on the elliptical trajectory path and the expected trajectory path, so as to achieve the purpose of accurately determining the preview point during the vehicle driving process, thereby effectively improving the automatic driving performance of the target vehicle and improving the user experience.
[0037] In an embodiment of the present invention, by acquiring a target trajectory point in an expected trajectory path of a target vehicle; determining attribute information of the target trajectory point, wherein the attribute information at least includes expected curvature information and expected orientation information; acquiring a current driving speed of the target vehicle; determining an elliptical trajectory path of the target vehicle based on the attribute information and the current driving speed; and determining a preview point of the target vehicle based on the elliptical trajectory path and the expected trajectory path, the purpose of simultaneously considering vehicle speed, path curvature, and path orientation factors to construct an elliptical trajectory path and determine the preview point is achieved, thereby achieving the technical effect of improving the accuracy of preview point selection and thereby improving the vehicle's autonomous driving performance, thereby solving the technical problems of low preview point selection accuracy and poor autonomous driving performance in the method for determining the preview point of a vehicle in the related art.
[0038] It should be noted that the scheme for determining the preview point of some vehicles in the prior art is specifically to determine the preview point based on the target trajectory point (such as the nearest point of the expected trajectory) involved in this application. The method for determining the preview point of the vehicle involved in the embodiment of the present invention comprehensively considers the orientation information, curvature information and current driving speed of the target vehicle to determine the elliptical trajectory path, and uses the intersection of the above-mentioned elliptical trajectory path and the above-mentioned expected trajectory path as the preview point of the above-mentioned target vehicle. That is, the above-mentioned preview point is determined on the basis of not deviating from the expected trajectory path, while considering the three key factors of the orientation information, curvature information and current driving speed of the target vehicle. The factors considered are more comprehensive, and the accuracy of the preview point selection is higher.
[0039] In an optional embodiment, the step of obtaining the target trajectory point in the expected trajectory path of the target vehicle includes:
[0040] Acquire the expected trajectory path of the target vehicle, wherein the expected trajectory path includes a plurality of discrete path points;
[0041] Obtain a circular trajectory path with the current self-vehicle coordinates of the target vehicle as the center;
[0042] The discrete path points in the expected trajectory path that are tangent to the circular trajectory path are used as the target trajectory points.
[0043] Optionally, the expected trajectory path includes multiple discrete path points, and each of the discrete path points may include but is not limited to the following parameter information: expected heading angle, expected speed, expected acceleration, expected curvature information, and expected geographic coordinates, etc.
[0044] Optionally, the circular trajectory path is a circular trajectory path with a variable radius.
[0045] Optionally, it is possible but not limited to make a circular trajectory path with a variable radius (such as a gradually increasing radius) with the above-mentioned current vehicle coordinates as the center, and the discrete path points corresponding to the tangency of the circular trajectory path and the expected trajectory path are used as the above-mentioned target trajectory points (i.e., the nearest points of the expected trajectory).
[0046] In an optional embodiment, the step of determining the elliptical trajectory path of the target vehicle according to the attribute information and the current driving speed includes:
[0047] Determine and obtain an elliptical coordinate system according to the above expected orientation information;
[0048] The major axis value of the elliptical trajectory path is calculated based on the current driving speed;
[0049] The short axis value of the elliptical trajectory path is calculated based on the expected curvature information;
[0050] The elliptical trajectory path is determined based on the elliptical coordinate system, the major axis value and the minor axis value.
[0051] Optionally, the current vehicle coordinates are adjusted according to the expected orientation information, that is, the current coordinate system is rotated by an angle α to determine the above-mentioned elliptical coordinate system (the above-mentioned elliptical coordinate system obtained at this time is not parallel to the current geographic coordinates, that is, there is a certain angle between the above-mentioned elliptical coordinate system and the current geographic coordinates), the target trajectory point is mapped to the above-mentioned elliptical coordinate system, and on this basis, the major axis value and the minor axis value of the above-mentioned elliptical trajectory path are calculated to finally obtain the above-mentioned elliptical trajectory path.
[0052] Optionally, the long axis value a of the elliptical trajectory path is calculated using the current driving speed v. The specific calculation formula is:
[0053]
[0054] Among them, v min is the minimum speed of the target vehicle; v max is the maximum speed of the target vehicle, a min is the preset minimum major axis value, a max is the preset maximum long axis value. When the current speed v of the target vehicle is less than the minimum speed v minWhen the minimum major axis value a is min As the major axis value a of the elliptical trajectory path; when the current driving speed v of the target vehicle is greater than or equal to the maximum driving speed v max When the maximum major axis value v max As the major axis value a of the above elliptical trajectory path.
[0055] Optionally, the minor axis value b of the elliptical trajectory path is calculated based on the expected curvature κ, and the specific calculation formula is:
[0056]
[0057] Among them, κ min is the minimum expected curvature value, κ max is the maximum expected curvature value, b min is the preset minimum minor axis value, b max is the preset maximum short axis value. When the expected curvature κ of the target trajectory point (i.e. the nearest point of the expected trajectory) is less than the above minimum expected curvature value κ min When the minimum minor axis value b is set min As the minor axis value b of the above elliptical trajectory path; when the expected curvature κ of the target trajectory point (i.e. the nearest point of the expected trajectory) is greater than or equal to the above minimum expected curvature value κ max When the maximum short axis value b is set max As the minor axis value b of the above elliptical trajectory path.
[0058] It should be noted that the current driving speed of the target vehicle affects the preview distance, that is, the preview distance is directly proportional to the current driving speed. Therefore, the major axis value of the above elliptical trajectory path is calculated by the above current driving speed.
[0059] In an optional embodiment, determining the elliptical coordinate system according to the expected orientation information includes:
[0060] Obtaining current orientation information of the target vehicle;
[0061] Adjusting the current vehicle coordinates of the target vehicle according to the expected orientation information and the current orientation information;
[0062] The elliptical coordinate system is determined based on the adjusted current vehicle coordinates.
[0063] Optionally, the current orientation information is used to affect the rotation direction of the elliptical trajectory path and adjust the current vehicle coordinates of the target vehicle, that is, to rotate the current coordinate system by an angle α to obtain the elliptical coordinate system. It should be noted that the elliptical coordinate system obtained by rotation is not parallel to the current geographic coordinates, that is, there is a certain angle between the elliptical coordinate system and the current geographic coordinates.
[0064] Optionally, after determining to obtain the above-mentioned elliptical coordinate system, the above-mentioned target trajectory point is mapped to the above-mentioned elliptical coordinate system, that is, the attribute information of the above-mentioned target trajectory point is mapped to the above-mentioned elliptical coordinate system, and on this basis, the major axis value and the minor axis value of the above-mentioned elliptical trajectory path are calculated, and finally the above-mentioned elliptical trajectory path is obtained, that is, the position where the origin of the above-mentioned elliptical coordinate system is located is taken as the center of the ellipse, and the elliptical trajectory path of the target vehicle is determined in combination with the above-mentioned major axis value and minor axis value. It can be seen that the above-mentioned elliptical trajectory path obtained by the embodiment of the present invention comprehensively considers the current driving speed, path curvature, and path orientation factors of the target vehicle. The preview point of the above-mentioned target vehicle is determined on the basis of the amount of the elliptical trajectory path, which is closer to the actual driving condition of the target vehicle and has higher accuracy.
[0065] In an optional embodiment, before calculating the major axis value of the elliptical trajectory path based on the current driving speed, the method further includes:
[0066] The above target trajectory points are mapped to the above elliptical coordinate system.
[0067] It can be understood that mapping the above-mentioned attribute information of the above-mentioned target trajectory point (such as the above-mentioned nearest point of the expected trajectory) to the above-mentioned elliptical coordinate system is equivalent to mapping the attribute information of the above-mentioned target trajectory point to the above-mentioned elliptical coordinate system, and the above-mentioned attribute information at least includes: expected curvature information and expected orientation information.
[0068] In an optional embodiment, the step of determining the preview point of the target vehicle based on the elliptical trajectory path and the expected trajectory path includes:
[0069] The intersection point of the elliptical trajectory path and the expected trajectory path is used as the preview point of the target vehicle.
[0070] Optionally, after determining the elliptical trajectory path, determine the intersection point of the elliptical trajectory path and the expected trajectory path (such as Figure 2 As shown), the intersection point is used as the preview point of the target vehicle.
[0071] It should be noted that the scheme for determining the preview point of some vehicles in the prior art is specifically to determine the preview point based on the target trajectory point (such as the nearest point of the expected trajectory) involved in this application. This application comprehensively considers the orientation information, curvature information and current driving speed of the target vehicle to determine the elliptical trajectory path, and uses the intersection of the above elliptical trajectory path and the above expected trajectory path as the preview point of the above target vehicle. That is, the above preview point is determined on the basis of not deviating from the expected trajectory path, while considering the three key factors of the orientation information, curvature information and current driving speed of the target vehicle. The consideration of factors is more comprehensive, and the accuracy of the preview point selection is higher.
[0072] In an optional embodiment, if there are multiple intersection points between the elliptical trajectory path and the expected trajectory path, the method further includes:
[0073] Determining whether the intersection is located in the forward driving direction of the target vehicle;
[0074] If the intersection is located in the forward driving direction of the target vehicle, the intersection is used as the preview point.
[0075] It can be understood that there are multiple intersection points between the above-mentioned elliptical trajectory path and the above-mentioned expected trajectory path, that is, when there are intersection points both in front and behind the current driving direction of the target vehicle, the intersection point located in the forward driving direction of the above-mentioned target vehicle (that is, in front of the current driving direction of the target vehicle) is used as the above-mentioned preview point.
[0076] As an optional embodiment, Figure 3 FIG. 1 is a flow chart of an optional method for determining a vehicle preview point according to an embodiment of the present invention. Figure 3As shown, the method includes: obtaining expected trajectory path information corresponding to the target vehicle, wherein the expected trajectory path information may include but is not limited to: expected orientation angles, expected speeds, expected accelerations, expected curvature information and expected geographic coordinates, etc. corresponding to multiple discrete path points in the expected trajectory path of the target vehicle; obtaining the self-vehicle state information of the target vehicle, wherein the self-vehicle state information may include but is not limited to: current orientation information, current driving speed, current acceleration and current geographic coordinates, etc. of the target vehicle; when both the expected trajectory path information and the self-vehicle state information are successfully obtained, a circle with a radius gradually increasing with the current self-vehicle coordinates as the center is formed. Circular trajectory path, the discrete path point corresponding to the circular trajectory path being tangent to the expected trajectory path is determined as the nearest point of the expected trajectory; the current vehicle coordinates are adjusted based on the expected heading angle of the nearest point of the expected trajectory, and an elliptical coordinate system is determined; the nearest point of the expected trajectory is mapped to the elliptical coordinate system; based on the expected curvature of the nearest point of the expected trajectory and the current speed of the target vehicle, the short semi-axis and the long semi-axis of the elliptical trajectory path are respectively calculated, and based on the elliptical coordinate system, the short semi-axis and the long semi-axis, the elliptical trajectory path is determined; the intersection of the elliptical trajectory path and the expected trajectory path is used as the preview point, and the entire preview point acquisition process is completed.
[0077] It should be noted that if the expected trajectory path information or the vehicle status information corresponding to the target vehicle fails to be obtained, it indicates that the preview point of the target vehicle cannot be obtained, and the preview point acquisition process can be directly terminated at this time.
[0078] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence, because according to the present invention, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
[0079] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0080] In this embodiment, a device for determining a vehicle preview point is also provided, and the device is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the terms "unit" and "device" can be a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0081] According to an embodiment of the present invention, there is also provided an embodiment of a device for implementing the above-mentioned method for determining a preview point of a vehicle. Figure 4 is a schematic diagram of a structure of a device for determining a preview point of a vehicle according to an embodiment of the present invention. Figure 4 As shown, the above-mentioned device for determining the preview point of the vehicle includes: a first acquisition module 400, a first determination module 402, a second acquisition module 404, a second determination module 406, and a third determination module 408, wherein:
[0082] The first acquisition module 400 is used to acquire a target trajectory point in an expected trajectory path of a target vehicle;
[0083] The first determining module 402 is connected to the first acquiring module 400 and is used to determine the attribute information of the target trajectory point, wherein the attribute information at least includes: expected curvature information and expected orientation information;
[0084] The second acquisition module 404 is connected to the first determination module 402 and is used to obtain the current driving speed of the target vehicle;
[0085] The second determining module 406 is connected to the second obtaining module 404 and is used to determine the elliptical trajectory path of the target vehicle according to the attribute information and the current driving speed;
[0086] The third determination module 408 is connected to the second determination module 406 and is used to determine the preview point of the target vehicle based on the elliptical trajectory path and the expected trajectory path.
[0087] In an embodiment of the present invention, the first acquisition module 400 is provided to acquire the target trajectory point in the expected trajectory path of the target vehicle; the first determination module 402 is connected to the first acquisition module 400 to determine the attribute information of the target trajectory point, wherein the attribute information at least includes: expected curvature information and expected orientation information; the second acquisition module 404 is connected to the first determination module 402 to acquire the current driving speed of the target vehicle; the second determination module 406 is connected to the second acquisition module 404 to determine the elliptical trajectory path of the target vehicle according to the attribute information and the current driving speed; the third determination module 408 is connected to the second determination module 406 to determine the preview point of the target vehicle based on the elliptical trajectory path and the expected trajectory path, thereby achieving the purpose of simultaneously considering the vehicle speed, path curvature, and path orientation factors to construct the elliptical trajectory path and determine the preview point, thereby achieving the technical effect of improving the accuracy of the preview point selection, and then improving the automatic driving performance of the vehicle, thereby solving the technical problems of low accuracy of the preview point selection and poor automatic driving performance in the method for determining the preview point of the vehicle in the related art.
[0088] It should be noted that the vehicle preview point determination device involved in the embodiment of the present invention can comprehensively consider the orientation information, curvature information and current driving speed of the target vehicle to determine the elliptical trajectory path, and use the intersection of the above elliptical trajectory path and the above expected trajectory path as the preview point of the above target vehicle. That is, the above preview point is determined by considering the three key factors of the orientation information, curvature information and current driving speed of the target vehicle without deviating from the expected trajectory path, and the factors are more comprehensive, and the accuracy of the preview point selection is higher.
[0089] It should be noted that the above modules can be implemented by software or hardware. For example, for the latter, it can be implemented in the following ways: the above modules can be located in the same processor; or the above modules can be located in different processors in any combination.
[0090] It should be noted that the first acquisition module 400, the first determination module 402, the second acquisition module 404, the second determination module 406, and the third determination module 408 correspond to steps S102 to S110 in the embodiment, and the examples and application scenarios implemented by the modules and the corresponding steps are the same, but are not limited to the contents disclosed in the above embodiments. It should be noted that the modules as part of the device can be run in a computer terminal.
[0091] It should be noted that the optional or preferred implementation of this embodiment can refer to the relevant description in the embodiment, which will not be repeated here.
[0092] The above-mentioned vehicle preview point determination device may also include a processor and a memory. The above-mentioned first acquisition module 400, first determination module 402, second acquisition module 404, second determination module 406, third determination module 408, etc. are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to implement corresponding functions.
[0093] The processor includes a kernel, which retrieves the corresponding program unit from the memory. The kernel may be one or more. The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. The memory includes at least one memory chip.
[0094] According to an embodiment of the present application, an embodiment of a non-volatile storage medium is also provided. Optionally, in this embodiment, the non-volatile storage medium includes a stored program, wherein when the program is executed, the device where the non-volatile storage medium is located is controlled to execute any of the above-mentioned methods for determining a vehicle preview point.
[0095] Optionally, in this embodiment, the non-volatile storage medium may be located in any computer terminal in a computer terminal group in a computer network, or in any mobile terminal in a mobile terminal group, and the non-volatile storage medium includes a stored program.
[0096] Optionally, when the program is running, the device where the non-volatile storage medium is located is controlled to perform the following functions: obtain a target trajectory point in the expected trajectory path of the target vehicle; determine attribute information of the target trajectory point, wherein the attribute information at least includes expected curvature information and expected orientation information; obtain the current driving speed of the target vehicle; determine the elliptical trajectory path of the target vehicle based on the attribute information and the current driving speed; and determine the preview point of the target vehicle based on the elliptical trajectory path and the expected trajectory path.
[0097] Optionally, when the program is running, the device where the non-volatile storage medium is located is controlled to perform the following functions: obtain the above-mentioned expected trajectory path of the above-mentioned target vehicle, wherein the above-mentioned expected trajectory path includes multiple discrete path points; obtain a circular trajectory path with the current vehicle coordinates of the above-mentioned target vehicle as the center of the circle; and use the above-mentioned discrete path points in the above-mentioned expected trajectory path that are tangent to the above-mentioned circular trajectory path as the above-mentioned target trajectory points.
[0098] Optionally, when the program is running, the device where the non-volatile storage medium is located is controlled to perform the following functions: determine an elliptical coordinate system based on the above-mentioned expected orientation information; calculate the major axis value of the above-mentioned elliptical trajectory path based on the above-mentioned current driving speed; calculate the minor axis value of the above-mentioned elliptical trajectory path based on the above-mentioned expected curvature information; determine the above-mentioned elliptical trajectory path based on the above-mentioned elliptical coordinate system, the above-mentioned major axis value and the above-mentioned minor axis value.
[0099] Optionally, when the program is running, the device where the non-volatile storage medium is located is controlled to perform the following functions: obtain the current orientation information of the target vehicle; adjust the current vehicle coordinates of the target vehicle according to the expected orientation information and the current orientation information; and determine the elliptical coordinate system based on the adjusted current vehicle coordinates.
[0100] Optionally, when the program is running, the device where the non-volatile storage medium is located is controlled to perform the following function: mapping the above-mentioned target trajectory points to the above-mentioned elliptical coordinate system.
[0101] Optionally, when the program is running, the device where the non-volatile storage medium is located is controlled to perform the following function: the intersection of the above-mentioned elliptical trajectory path and the above-mentioned expected trajectory path is used as the above-mentioned preview point of the above-mentioned target vehicle.
[0102] Optionally, when the program is running, the device where the non-volatile storage medium is located is controlled to perform the following functions: determine whether the above-mentioned intersection is located in the forward driving direction of the above-mentioned target vehicle; if the above-mentioned intersection is located in the forward driving direction of the above-mentioned target vehicle, then use the above-mentioned intersection as the above-mentioned preview point.
[0103] According to an embodiment of the present application, an embodiment of a processor is also provided. Optionally, in this embodiment, the processor is used to run a program, wherein when the program is run, any of the above methods for determining a preview point of a vehicle is executed.
[0104] According to an embodiment of the present application, an embodiment of a computer program product is also provided. When executed on a data processing device, the program is suitable for executing the steps of initializing any one of the above-mentioned vehicle preview point determination methods.
[0105] Optionally, the above-mentioned computer program product, when executed on a data processing device, is suitable for executing a program that initializes the following method steps: obtaining a target trajectory point in the expected trajectory path of the target vehicle; determining attribute information of the above-mentioned target trajectory point, wherein the above-mentioned attribute information at least includes: expected curvature information and expected orientation information; obtaining the current driving speed of the above-mentioned target vehicle; determining the elliptical trajectory path of the above-mentioned target vehicle based on the above-mentioned attribute information and the above-mentioned current driving speed; and determining the preview point of the above-mentioned target vehicle based on the above-mentioned elliptical trajectory path and the above-mentioned expected trajectory path.
[0106] Optionally, the above-mentioned computer program product is also suitable for executing a program initialized with the following method steps: obtaining the above-mentioned expected trajectory path of the above-mentioned target vehicle, wherein the above-mentioned expected trajectory path includes multiple discrete path points; obtaining a circular trajectory path with the current vehicle coordinates of the above-mentioned target vehicle as the center; and taking the above-mentioned discrete path points in the above-mentioned expected trajectory path that are tangent to the above-mentioned circular trajectory path as the above-mentioned target trajectory points.
[0107] Optionally, the above-mentioned computer program product is also suitable for executing an initialized program having the following method steps: determining an elliptical coordinate system based on the above-mentioned expected orientation information; calculating the major axis value of the above-mentioned elliptical trajectory path based on the above-mentioned current driving speed; calculating the minor axis value of the above-mentioned elliptical trajectory path based on the above-mentioned expected curvature information; determining the above-mentioned elliptical trajectory path based on the above-mentioned elliptical coordinate system, the above-mentioned major axis value and the above-mentioned minor axis value.
[0108] Optionally, the above-mentioned computer program product is also suitable for executing an initialization program having the following method steps: obtaining the current orientation information of the above-mentioned target vehicle; adjusting the current vehicle coordinates of the above-mentioned target vehicle according to the above-mentioned expected orientation information and the above-mentioned current orientation information; and determining the above-mentioned elliptical coordinate system based on the adjusted current vehicle coordinates.
[0109] Optionally, the computer program product is further suitable for executing a program initialized with the following method steps: mapping the target trajectory points to the elliptical coordinate system.
[0110] Optionally, the computer program product is also suitable for executing a program initialized with the following method steps: taking the intersection of the elliptical trajectory path and the expected trajectory path as the preview point of the target vehicle.
[0111] Optionally, the computer program product is also suitable for executing a program initialized with the following method steps: determining whether the intersection is located in the forward driving direction of the target vehicle; if the intersection is located in the forward driving direction of the target vehicle, using the intersection as the preview point.
[0112] According to an embodiment of the present application, an embodiment of an electronic device is also provided, such as Figure 5As shown, the electronic device 10 includes a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, the following steps are implemented: obtaining a target trajectory point in the expected trajectory path of the target vehicle; determining the attribute information of the target trajectory point, wherein the attribute information at least includes expected curvature information and expected orientation information; obtaining the current driving speed of the target vehicle; determining the elliptical trajectory path of the target vehicle based on the attribute information and the current driving speed; determining the preview point of the target vehicle based on the elliptical trajectory path and the expected trajectory path. The device in this article can be a server, a PC, a PAD, a mobile phone, etc.
[0113] Optionally, the processor is also used to execute the following program: obtaining the expected trajectory path of the target vehicle, wherein the expected trajectory path includes multiple discrete path points; obtaining a circular trajectory path with the current vehicle coordinates of the target vehicle as the center; and taking the discrete path points in the expected trajectory path that are tangent to the circular trajectory path as the target trajectory points.
[0114] Optionally, the processor is also used to execute the following procedures: determine an elliptical coordinate system based on the expected orientation information; calculate the major axis value of the elliptical trajectory path based on the current driving speed; calculate the minor axis value of the elliptical trajectory path based on the expected curvature information; determine the elliptical trajectory path based on the elliptical coordinate system, the major axis value and the minor axis value.
[0115] Optionally, the processor is also used to execute the following procedures: obtaining the current orientation information of the target vehicle; adjusting the current vehicle coordinates of the target vehicle according to the expected orientation information and the current orientation information; and determining the elliptical coordinate system according to the adjusted current vehicle coordinates.
[0116] Optionally, the processor is further used to execute the following program: mapping the target trajectory points to the elliptical coordinate system.
[0117] Optionally, the processor is further used to execute the following program: taking the intersection of the elliptical trajectory path and the expected trajectory path as the preview point of the target vehicle.
[0118] Optionally, the processor is also used to execute the following program: determine whether the intersection is located in the forward driving direction of the target vehicle; if the intersection is located in the forward driving direction of the target vehicle, use the intersection as the preview point.
[0119] According to an embodiment of the present application, a vehicle is further provided, and the vehicle includes the electronic device 10 as described above.
[0120] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0121] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0122] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0123] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0124] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0125] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0126] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0127] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0128] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0129] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0130] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.
Claims
1. A method for determining a preview point of a vehicle, characterized in that: include: Obtaining a target trajectory point in an expected trajectory path of a target vehicle; Determining attribute information of the target trajectory point, wherein the attribute information at least includes: expected curvature information and expected orientation information; Obtaining the current speed of the target vehicle; Determine the elliptical trajectory path of the target vehicle according to the attribute information and the current driving speed; Determine a preview point of the target vehicle based on the elliptical trajectory path and the expected trajectory path; Among them, the determining of the elliptical trajectory path of the target vehicle according to the attribute information and the current driving speed includes: determining an elliptical coordinate system according to the expected orientation information; calculating the major axis value of the elliptical trajectory path based on the current driving speed; calculating the minor axis value of the elliptical trajectory path based on the expected curvature information; determining the elliptical trajectory path according to the elliptical coordinate system, the major axis value and the minor axis value.
2. The method according to claim 1, characterized in that: The step of obtaining a target trajectory point in an expected trajectory path of the target vehicle includes: Acquire the expected trajectory path of the target vehicle, wherein the expected trajectory path includes a plurality of discrete path points; Obtaining a circular trajectory path with the current vehicle coordinates of the target vehicle as the center; The discrete path points in the expected trajectory path that are tangent to the circular trajectory path are used as the target trajectory points.
3. The method according to claim 1, characterized in that The determining of an elliptical coordinate system according to the expected orientation information includes: Obtaining current orientation information of the target vehicle; Adjusting the current vehicle coordinates of the target vehicle according to the expected orientation information and the current orientation information; The elliptical coordinate system is determined according to the adjusted current vehicle coordinates.
4. The method according to claim 1, characterized in that: Before calculating the major axis value of the elliptical trajectory path based on the current driving speed, the method further includes: The target trajectory points are mapped to the elliptical coordinate system.
5. The method according to claim 1, characterized in that The step of determining the preview point of the target vehicle based on the elliptical trajectory path and the expected trajectory path includes: The intersection point of the elliptical trajectory path and the expected trajectory path is used as the preview point of the target vehicle.
6. The method according to claim 5, characterized in that If there are multiple intersection points between the elliptical trajectory path and the expected trajectory path, the method further includes: Determining whether the intersection point is located in the forward driving direction of the target vehicle; If the intersection point is located in the forward driving direction of the target vehicle, the intersection point is used as the preview point.
7. A device for determining a preview point of a vehicle, characterized in that: include: A first acquisition module is used to acquire a target trajectory point in an expected trajectory path of a target vehicle; A first determination module is used to determine the attribute information of the target trajectory point, wherein the attribute information at least includes: expected curvature information and expected orientation information; A second acquisition module is used to acquire the current driving speed of the target vehicle; A second determination module is used to determine the elliptical trajectory path of the target vehicle according to the attribute information and the current driving speed; A third determination module is used to determine a preview point of the target vehicle based on the elliptical trajectory path and the expected trajectory path; Among them, the second determination module is also used to: determine the elliptical coordinate system according to the expected orientation information; calculate the major axis value of the elliptical trajectory path based on the current driving speed; calculate the minor axis value of the elliptical trajectory path based on the expected curvature information; determine the elliptical trajectory path according to the elliptical coordinate system, the major axis value and the minor axis value.
8. A non-volatile storage medium, characterized in that: The non-volatile storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the method for determining a preview point of a vehicle as described in any one of claims 1 to 6.
9. An electronic device, comprising a memory and a processor, characterized in that: The memory stores a computer program, and the processor is configured to run the computer program to execute the method for determining a preview point of a vehicle according to any one of claims 1 to 6.
10. A vehicle, characterized in that: The vehicle comprises the electronic device as claimed in claim 9.
