Path planning method, device, storage medium and electronic device

By sampling and analyzing the objective function in the vehicle's autonomous driving path planning, and combining the deviation and smoothing functions, an efficient planning path is formed, which solves the problem of insufficient path smoothness and achieves both path optimization and smoothness.

CN113759887BActive Publication Date: 2024-09-24BEIJING JINGDONG QIANSHITECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010502719.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-06-04
Publication Date
2024-09-24
Estimated Expiration
2040-06-04

AI Technical Summary

Technical Problem

There is a problem in existing vehicle autonomous driving path planning that the path is not smooth enough, and it is difficult to take into account the minimization and smoothness of the path optimization error.

Method used

By obtaining the reference path of the target device, sampling and determining the high-order discrete objective function of each sampling point. The objective function includes a deviation function and a smoothing function. The objective function is analyzed to obtain lateral information and form a planned path, taking into account the minimum path optimization error. ization and smoothness.

Benefits of technology

It is achieved to improve the smoothness of the path on the basis of retaining the motion trend, taking into account the minimization of the path optimization error and the smoothness of the planned path.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113759887B
    Figure CN113759887B
Patent Text Reader

Abstract

The present invention discloses a path planning method, device, storage medium and electronic device. The method includes: obtaining a reference path of a target device and sampling the reference path; determining an objective function of the target device based on lateral information at each sampling point, wherein the objective function includes a deviation function and a smoothing function between the planned path and the reference path; obtaining lateral information of the target device at each sampling point in response to the minimum rule of the objective function; and forming a planned path based on the lateral information of each sampling point. Sampling is performed through the reference path of the target device to determine a high-order discrete objective function of each sampling point, wherein the objective function includes a deviation function and a smoothing function, and by analyzing the objective function, the lateral information corresponding to the minimum objective function is determined to form a planned path, which takes into account both the minimization of the path optimization error and the smoothness of the planned path.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention relate to the field of path planning technology, and in particular to a path planning method, device, storage medium and electronic device. Background Art

[0002] With the continuous development of vehicle research and development technology, unmanned autonomous driving has become an important direction of vehicle research and development.

[0003] There are many planning methods for the path planning of unmanned autonomous driving of vehicles. However, the path obtained in the current path planning has the problem that the path is not smooth enough. Summary of the invention

[0004] The present invention provides a path planning method, device, storage medium and electronic equipment to improve the efficiency of path planning.

[0005] In a first aspect, an embodiment of the present invention provides a path planning method, including:

[0006] Acquire a reference path of a target device, and sample the reference path;

[0007] Determining an objective function of the target device based on the lateral information at each sampling point, wherein the objective function includes a deviation function and a smoothing function between the planned path and the reference path;

[0008] In response to the minimum rule of the objective function, obtaining lateral information of the target device at each sampling point;

[0009] The planned path is formed based on the lateral information of each sampling point.

[0010] In a second aspect, an embodiment of the present invention further provides a path planning device, characterized in that it includes:

[0011] A reference path acquisition module, used to acquire a reference path of a target device;

[0012] An objective function determination module, configured to sample the reference path and determine an objective function of the target device based on lateral information at each sampling point, wherein the objective function includes a deviation function and a smoothing function between the planned path and the reference path;

[0013] A lateral information determination module, configured to obtain lateral information of the target device at each sampling point in response to a minimum rule of the objective function;

[0014] The planning path generation module is used to form a planning path based on the lateral information of each sampling point.

[0015] In a third aspect, an embodiment of the present invention further provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, a route planning method as provided in any embodiment of the present invention is implemented.

[0016] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a route planning method as provided in any embodiment of the present invention.

[0017] The technical solution provided by the embodiment of the present invention performs sampling through the reference path of the target device, determines the high-order discrete objective function of each sampling point, and includes a deviation function and a smoothing function. By analyzing the objective function, the lateral information corresponding to the minimum objective function is determined to form a planned path, which takes into account the minimization of the path optimization error and the smoothness of the planned path. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 A schematic diagram of a process flow of a path planning method provided in Embodiment 1 of the present invention;

[0019] Figure 2 A schematic diagram of a reference path and a planned path provided in the first embodiment of the present invention;

[0020] Figure 3 is a flow chart of a path planning method provided in Embodiment 2 of the present invention;

[0021] Figure 4 is a flow chart of a path planning method provided in Embodiment 3 of the present invention;

[0022] Figure 5A A schematic diagram of initial path points provided in Embodiment 3 of the present invention;

[0023] Figure 5B A schematic diagram of path points after interpolation processing of the initial path points provided in the third embodiment of the present invention;

[0024] Figure 6 is a schematic diagram of the structure of a path planning device provided by Embodiment 4 of the present invention;

[0025] Figure 7 This is a schematic diagram of the structure of an electronic device provided in Embodiment 5 of the present invention. DETAILED DESCRIPTION

[0026] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.

[0027] Embodiment 1

[0028] Figure 1 This is a flow chart of a path planning method provided in Embodiment 1 of the present invention. This embodiment is applicable to the case of determining a smooth planned path. The method can be executed by a path planning device provided in an embodiment of the present invention, and the device can be integrated in an electronic device such as a computer, a mobile phone, an unmanned vehicle, etc. Specifically, the following steps are included:

[0029] S110: Obtain a reference path of a target device.

[0030] S120: Sampling the reference path, and determining an objective function of the target device based on lateral information at each sampling point, wherein the objective function includes a deviation function and a smoothing function between the planned path and the reference path.

[0031] S130 . In response to the minimum rule of the objective function, obtain lateral information of the target device at each sampling point.

[0032] S140: forming a planned path based on the lateral information of each sampling point.

[0033] The target device may be an unmanned, automatically moving electronic device. For example, the target device may be, but is not limited to, a robot, an unmanned vehicle, etc., wherein the robot may be an operating robot such as a sweeping robot.

[0034] The reference path of the target device is a rough planning path of the target path moving from the starting point to the end point, which provides a reference for the movement trend of the planned path. The path planning in this embodiment is to determine a smooth planned path based on the reference path, and the movement trend of the planned path is the same or similar to the movement trend of the reference path. Among them, the reference path can be a rough planning determination by an electronic device based on the starting point and end point of the target device, or the starting point and end point of the target device can be sent to a preset server so that the preset server performs a rough planning determination based on the starting point and end point of the target device, and the preset server feeds back the result.

[0035] It should be noted that the reference path in this embodiment is in the Frenet coordinate system. In the Frenet coordinate system, the reference path is sampled along the guide line direction, wherein the guide line direction is the forward direction of the reference path. Optionally, the reference path is sampled along the guide line direction based on a fixed distance interval to determine each sampling point. Among them, the fixed distance interval can be determined according to user needs. If the user needs a high degree of path smoothness, a smaller fixed distance interval can be set. If the user needs a low degree of path smoothness, a larger fixed distance interval can be set. Optionally, the fixed distance interval can also be related to the size of the target device. The larger the size of the target device, the larger the fixed distance interval is set accordingly, and the smaller the size of the target device, the smaller the fixed distance interval is set accordingly.

[0036] In this embodiment, the objective function of the sampling point includes a deviation function and a smoothing function between the planned path and the reference path, and the objective function is determined based on the lateral information of the target device, wherein the lateral information is information of the target device in a direction perpendicular to the forward direction of the reference path, including lateral displacement, lateral velocity, lateral acceleration, lateral jerk, and lateral spasm. The lateral jerk is used to describe the speed of change of the lateral acceleration, which is the third-order derivative of the lateral displacement with respect to time, and the lateral spasm is used to describe the speed of change of the lateral jerk, which is the fourth-order derivative of the lateral displacement with respect to time.

[0037] Among them, the deviation function is used to represent the difference in lateral information between the planned path and the reference path. Optionally, the deviation function is determined based on the difference between the lateral displacement of the planned path and the lateral displacement of the reference path at each sampled sampling point. In order to ensure that the movement trend of the planned path is the same or similar to that of the reference path, the smaller the difference value of the deviation function, the better. The smoothing function is determined based on the lateral velocity, lateral acceleration, lateral jerk and lateral spasm of the current sampling point. In order to improve the smoothness of the planned path, the smaller the value of the smoothing function, the better.

[0038] Correspondingly, the objective function is the sum of the deviation function and the smoothing function. The deviation function between the planned path and the reference path may be the sum of the squares of the differences between the lateral displacement of the sampled sampling points on the planned path and the lateral displacement on the reference path, for example Among them, l i (s) is the lateral displacement of the i-th sampling point on the planned path, r i (s) is the lateral displacement of the i-th sampling point on the reference path, N is the sampling point number of the current sampling point, where each sampling point is set with a sampling point number corresponding to the sampling sequence, and w0 is the weight value. The smoothing function is the weighted sum of the squares of the parameters in the lateral velocity, lateral acceleration, lateral jerk, and lateral spasm, for example in, is the lateral velocity of the i-th sampling point in the planned path, is the lateral acceleration of the i-th sampling point in the planned path, is the lateral jerk of the i-th sampling point in the planned path, is the lateral spasm of the i-th sampling point in the planned path. w1, w2, w3, w4 are the weights of the lateral velocity, lateral acceleration, lateral jerk and lateral spasm respectively. The weights can be set according to user needs.

[0039] Correspondingly, the objective function is:

[0040]

[0041] In this embodiment, the objective function is a high-order discrete function, in which the minimization of the optimization error is ensured by the deviation function, and the smoothness of the planned path is provided by the linear superposition of the lateral displacement, lateral velocity, lateral acceleration, lateral jerk and lateral spasm corresponding to the lateral displacement in the smoothing function.

[0042] Based on the minimum rule of the objective function, the objective function is parsed to obtain the lateral information of each sampling point, and the planned path is obtained by combining the lateral information of each sampling point. Specifically, the position of the sampling point in the planned path can be obtained through the position of the sampling point in the direction of the guide line and the lateral displacement in the lateral information. The lateral velocity, lateral acceleration, lateral jerk and lateral spasm in the lateral information are used as the attribute information of the sampling point to provide reference information for determining the next sampling point, thereby improving the smoothness of the planned path.

[0043] It should be noted that during the analysis of the objective function, constraint information for analyzing the objective function is set, wherein the constraint information includes but is not limited to road boundary conditions, the initial state of the target device, kinematic constraint information and dynamic constraint information of the target device, and further, the constraint information also includes the range of each lateral information.

[0044] Exemplary, participating Figure 2 , Figure 2 This is a schematic diagram of a reference path and a planned path provided in the first embodiment of the present invention. It can be seen that the planned path obtained based on this embodiment improves the smoothness of the path while retaining the motion trend of the reference path.

[0045] In this embodiment, sampling is performed through the reference path of the target device to determine the high-order discrete objective function of each sampling point. The objective function includes a deviation function and a smoothing function. By analyzing the objective function, the minimum objective function corresponding to the lateral information is determined to form a planned path, which takes into account the minimization of path optimization error and the smoothness of the planned path.

[0046] Embodiment 2

[0047] Figure 3 : is a flow chart of a path planning method provided in Embodiment 2 of the present invention, which is optimized on the basis of the above embodiment. The method includes:

[0048] S210: Obtain a reference path of a target device.

[0049] S220: Sampling the reference path, and determining an objective function of the target device based on lateral information at each sampling point, wherein the objective function includes a deviation function and a smoothing function between the planned path and the reference path.

[0050] S230. Convert the objective function into a quadratic function of a first matrix and a second matrix, wherein the first matrix is ​​a matrix formed by the lateral information of the sampling points, and the second matrix is ​​a coefficient matrix of the lateral information of the sampling points.

[0051] S240: Based on the minimum rule of the objective function, analyze the quadratic function to obtain lateral information of the target device at each sampling point.

[0052] S250: forming a planned path based on the lateral information of each sampling point.

[0053] In this embodiment, the lateral information of each sampling point can be combined with the lateral information of the previous sampling point. For example,

[0054]

[0055]

[0056]

[0057]

[0058]

[0059] Wherein, C is a preset constant and ΔS is a sampling interval.

[0060] Each lateral information can be converted into a matrix form, taking the lateral displacement as an example:

[0061]

[0062] Among them, the matrix P is the matrix formed by the lateral information, and the matrix D is the coefficient matrix of the lateral information.

[0063] Accordingly, the above lateral information is introduced into the objective function, and the objective function is converted into a matrix form, that is, the first matrix and the second matrix A quadratic function of :

[0064]

[0065] in, P N The elements in the lateral information matrix of the Nth sampling point are included, c1 and c2 are constants, and C1 and C2 are constant matrices. Exemplarily, D j is the coefficient matrix corresponding to the j-th derivative of the lateral displacement with respect to time, w j is the weight of the j-th derivative of the lateral displacement with respect to time, where:

[0066]

[0067]

[0068]

[0069] D3 = [0 0 0 1 ΔS];

[0070] D4=[0 0 0 0 1].

[0071] Based on the minimum rule of the objective function, the quadratic function is parsed to obtain the lateral information of the target device at each sampling point. By converting the objective function into a quadratic function, the parsing process of the objective function is simplified, the parsing speed of the lateral information is increased, and the path planning efficiency is further improved.

[0072] On the basis of the above embodiment, based on the constraint information of the objective function and the minimum rule of the objective function, the quadratic function is parsed to obtain the lateral information of the target device at each sampling point.

[0073] The constraint information of the objective function includes at least one of a road boundary condition, an initial state of the target device, kinematic constraint information, and dynamic constraint information of the target device.

[0074] The road boundary conditions can be determined according to the road traveled by the target device in the map; the initial state of the target device can be obtained before the target device is started, and the kinematic constraint information of the target device can be expressed by the following formula:

[0075] Among them, l f is the distance from the center of mass of the target device to the front or back edge of the target device, l 路边界 is the distance from the center of mass of the target device to the road boundary, where l 路边界 It can be the distance from the center of mass of the target device to the left edge of the road, or the distance from the center of mass of the target device to the right edge of the road.

[0076] Optionally, the constraint information also includes range constraints for parameters such as lateral displacement, lateral velocity, lateral acceleration, lateral jerkiness and lateral spasm, wherein each parameter may be set with a different range constraint.

[0077] The technical solution of this embodiment converts the objective function into a quadratic function, and quickly obtains the lateral information of each sampling point by analyzing the quadratic function, which simplifies the analysis process of the objective function, improves the analysis speed of the lateral information, and further improves the path planning efficiency.

[0078] Embodiment 3

[0079] Figure 4 : is a flow chart of a path planning method provided in Embodiment 3 of the present invention, which is refined on the basis of the above embodiment. The method includes:

[0080] S310: According to the starting point and the end point of the target device, an initial path point of the parameter path is obtained by matching on a map.

[0081] S320: Perform interpolation processing on the initial path points to obtain the reference path.

[0082] S330: Sampling the reference path, and determining an objective function of the target device based on lateral information at each sampling point, wherein the objective function includes a deviation function and a smoothing function between the planned path and the reference path.

[0083] S340. Convert the objective function into a quadratic function of a first matrix and a second matrix, wherein the first matrix is ​​a matrix formed by the lateral information of the sampling points, and the second matrix is ​​a coefficient matrix of the lateral information of the sampling points.

[0084] S350 , based on the minimum rule of the objective function, analyzing the quadratic function to obtain the lateral information of the target device at each sampling point.

[0085] S360: forming a planned path based on the lateral information of each sampling point.

[0086] According to the starting point and the end point of the target device, at least one reference path can be matched on the map, and the at least one reference path can be screened according to the screening requirements to determine the reference path for path optimization. The screening requirements can be but are not limited to at least one of the shortest distance, the shortest time, and no congestion.

[0087] Specifically, the initial path points between the starting point and the end point are determined, and the reference path can be formed by connecting adjacent initial path points. The initial path points are rough sampling points along the direction from the starting point to the end point. The initial path points are interpolated to obtain refined sampling points, and the refined sampling points are connected to form a reference path. Figure 5A and Figure 5B ,in, Figure 5A A schematic diagram of initial path points provided in Embodiment 3 of the present invention, Figure 5B A schematic diagram of path points after interpolation processing of initial path points provided in Embodiment 3 of the present invention.

[0088] Optionally, after obtaining the initial path point, the initial path point of the parameter path may be updated for obstacle avoidance. It may be determined whether each initial path point is located in an obstacle area, wherein the obstacle area is an area that is inaccessible to the target device. If so, the initial path point located in the obstacle area is updated for obstacle avoidance, and accordingly, the distance between the updated initial path point and the obstacle is greater than 0, so as to avoid the situation where the formed reference path is unusable.

[0089] The technical solution of this embodiment generates a reference path according to the starting point and end point of the target device, roughly plans the path, and eliminates infeasible paths, so that the determined reference path meets user needs. Furthermore, the reference path is further optimized based on the objective function to obtain a smooth planned path that meets the movement trend of the reference path, thereby improving the smoothness of the planned path.

[0090] Embodiment 4

[0091] Figure 6 : is a schematic diagram of the structure of a path planning device provided by Embodiment 4 of the present invention, the device comprising:

[0092] A reference path acquisition module 10, used to acquire a reference path of a target device;

[0093] An objective function determination module 20, configured to sample the reference path and determine an objective function of the target device based on lateral information at each sampling point, wherein the objective function includes a deviation function and a smoothing function between the planned path and the reference path;

[0094] A lateral information determination module 30, for obtaining lateral information of the target device at each sampling point in response to a minimum rule of the objective function;

[0095] The planned path generation module 40 is used to form a planned path based on the lateral information of each sampling point.

[0096] Optionally, the lateral information is information in a direction perpendicular to the forward direction of the reference path, including lateral displacement, lateral velocity, lateral acceleration, lateral jerk and lateral spasm.

[0097] Optionally, the deviation function between the planned path and the reference path is determined according to the difference between the lateral displacement of the planned path and the lateral displacement of the reference path at each sampled sampling point;

[0098] The smoothing function is determined according to the lateral velocity, lateral acceleration, lateral jerk and lateral spasm of the current sampling point.

[0099] Optionally, the lateral information determination module 30 includes:

[0100] An objective function conversion unit, configured to convert the objective function into a quadratic function of a first matrix and a second matrix, wherein the first matrix is ​​a matrix formed by the lateral information of the sampling points, and the second matrix is ​​a coefficient matrix of the lateral information of the sampling points;

[0101] The lateral information parsing unit is used to parse the quadratic function based on the minimum rule of the target function to obtain the lateral information of the target device at each sampling point.

[0102] Optionally, the lateral information parsing unit is used to:

[0103] Based on the constraint information of the objective function and the minimum rule of the objective function, the quadratic function is parsed to obtain the lateral information of the target device at each sampling point;

[0104] The constraint information of the objective function includes at least one of road boundary conditions, an initial state of the target device, kinematic constraint information, and dynamic constraint information of the target device.

[0105] Optionally, the reference path acquisition module 10 includes:

[0106] An initial path point determination unit, used to match and obtain the initial path point of the parameter path on a map according to the starting point and the end point of the target device;

[0107] The reference path determining unit is used to perform interpolation processing on the initial path points to obtain the reference path.

[0108] Optionally, the reference path acquisition module 10 further includes:

[0109] The initial path point updating unit is used to perform obstacle avoidance update on the initial path points of the parameter path after the initial path points of the parameter path are matched on the map.

[0110] The above-mentioned product can execute the method provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0111] Embodiment 5

[0112] Figure 7 This is a schematic diagram of the structure of an electronic device provided in Embodiment 5 of the present invention. Figure 7 A block diagram of an electronic device 412 suitable for implementing embodiments of the present invention is shown. Figure 7 The electronic device 412 shown is only an example and should not limit the functions and scope of use of the embodiments of the present invention. The device 412 is typically an electronic device that performs image classification functions.

[0113] like Figure 7 As shown, the electronic device 412 is in the form of a general purpose computing device. The components of the electronic device 412 may include, but are not limited to: one or more processors 416, a storage device 428, and a bus 418 connecting different system components (including the storage device 428 and the processor 416).

[0114] Bus 418 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures. For example, these architectures include but are not limited to Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MCA) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.

[0115] The electronic device 412 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the electronic device 412, including volatile and non-volatile media, removable and non-removable media.

[0116] The storage device 428 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 430 and / or cache memory 432. The electronic device 412 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 434 may be used to read and write non-removable, non-volatile magnetic media ( Figure 7 not shown, usually called a "hard drive"). Although Figure 7 Not shown in the figure, a disk drive for reading and writing a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing a removable non-volatile optical disk (e.g., a read-only optical disk (Compact Disc-Read Only Memory, CD-ROM), a digital video disk (Digital Video Disc-Read Only Memory, DVD-ROM) or other optical media) may be provided. In these cases, each drive may be connected to the bus 418 via one or more data medium interfaces. The storage device 428 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present invention.

[0117] A program 436 having a set (at least one) of program modules 426 may be stored, for example, in a storage device 428, such program modules 426 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination thereof may include an implementation of a network environment. Program modules 426 generally perform the functions and / or methods of the embodiments described herein.

[0118] The electronic device 412 may also communicate with one or more external devices 414 (e.g., keyboard, pointing device, camera, display 424, etc.), and may also communicate with one or more devices that enable a user to interact with the electronic device 412, and / or communicate with any device that enables the electronic device 412 to communicate with one or more other computing devices (e.g., network card, modem, etc.). Such communication may be performed through an input / output (I / O) interface 422. In addition, the electronic device 412 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN) and / or a public network, such as the Internet) through a network adapter 420. As shown, the network adapter 420 communicates with other modules of the electronic device 412 through a bus 418. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 412, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, disk arrays (Redundant Arrays of Independent Disks, RAID) systems, tape drives, and data backup storage systems.

[0119] The processor 416 executes various functional applications and data processing by running the programs stored in the storage device 428, such as implementing the route planning method provided in the above embodiment of the present invention.

[0120] Embodiment 6

[0121] Embodiment 6 of the present invention provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the route planning method provided in the embodiment of the present invention is implemented.

[0122] Of course, the computer-readable storage medium provided by the embodiment of the present invention stores a computer program which is not limited to the method operation described above, but can also execute the route planning method provided by any embodiment of the present invention.

[0123] The computer storage medium of the embodiment of the present invention can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.

[0124] A computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries a computer-readable source code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0125] Source code embodied on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0126] Computer source code for performing the operations of the present invention may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The source code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0127] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims

1. A path planning method, characterized in that: include: Acquire a reference path of a target device, and sample the reference path; Determining an objective function of the target device based on the lateral information at each sampling point, wherein the objective function includes a deviation function and a smoothing function between the planned path and the reference path; In response to the minimum rule of the objective function, obtaining lateral information of the target device at each sampling point; Form a planned path based on the lateral information of each sampling point; The step of obtaining the lateral information of the target device at each sampling point in response to the minimum rule of the objective function includes: Converting the objective function into a quadratic function of a first matrix and a second matrix, wherein the first matrix is ​​a matrix formed by the lateral information of the sampling points, and the second matrix is ​​a coefficient matrix of the lateral information of the sampling points; Based on the minimum rule of the objective function, the quadratic function is parsed to obtain the lateral information of the target device at each sampling point.

2. The method according to claim 1, characterized in that The lateral information is information in a direction perpendicular to the advancing direction of the reference path, including lateral displacement, lateral velocity, lateral acceleration, lateral jerk, and lateral spasm.

3. The method according to claim 2, characterized in that The deviation function between the planned path and the reference path is determined according to the difference between the lateral displacement of the planned path and the lateral displacement of the reference path at each sampled sampling point; The smoothing function is determined according to the lateral velocity, lateral acceleration, lateral jerk and lateral spasm of the current sampling point.

4. The method according to claim 1, characterized in that: The minimum rule based on the objective function, parsing the quadratic function, and obtaining the lateral information of the target device at each sampling point, includes: Based on the constraint information of the objective function and the minimum rule of the objective function, the quadratic function is parsed to obtain the lateral information of the target device at each sampling point; The constraint information of the objective function includes at least one of road boundary conditions, an initial state of the target device, kinematic constraint information, and dynamic constraint information of the target device.

5. The method according to claim 1, characterized in that The obtaining of the reference path of the target device includes: According to the starting point and the end point of the target device, an initial path point of the parameter path is matched on the map; Interpolation processing is performed on the initial path points to obtain the reference path.

6. The method according to claim 5, characterized in that After the initial path point of the parameter path is obtained by matching on the map, the method further includes: The initial path point of the parameter path is updated for obstacle avoidance.

7. A path planning device, characterized in that: include: A reference path acquisition module, used to acquire a reference path of a target device; An objective function determination module, configured to sample the reference path and determine an objective function of the target device based on lateral information at each sampling point, wherein the objective function includes a deviation function and a smoothing function between the planned path and the reference path; A lateral information determination module, configured to obtain lateral information of the target device at each sampling point in response to a minimum rule of the objective function; A planning path generation module, used to form a planning path based on the lateral information of each sampling point; Wherein, the horizontal information determination module includes: An objective function conversion unit, configured to convert the objective function into a quadratic function of a first matrix and a second matrix, wherein the first matrix is ​​a matrix formed by the lateral information of the sampling points, and the second matrix is ​​a coefficient matrix of the lateral information of the sampling points; The lateral information parsing unit is used to parse the quadratic function based on the minimum rule of the target function to obtain the lateral information of the target device at each sampling point.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the path planning method as described in any one of claims 1-6 is implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the path planning method as described in any one of claims 1 to 6 is implemented.