Unmanned vehicle multi-target parking trajectory planning method, device, equipment and medium
By constructing a multi-objective trajectory planning problem model and using a trade-off matrix to determine the preference function, the problem of difficulty in satisfying decision-maker preferences and multi-objective optimization in the existing technology is solved, and safe, reliable and multi-objective optimization of the unmanned vehicle parking trajectory is achieved.
Patent Information
- Application Number
- CN202411034811.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-31
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2044-07-31
Smart Images

Figure CN118584963B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of multi-target trajectory planning for unmanned vehicles, and in particular to a method, device, equipment and medium for multi-target parking trajectory planning for unmanned vehicles. Background Art
[0002] Unmanned vehicles, which can improve traffic efficiency, reduce energy consumption, and improve driving safety, are gradually entering the public's field of vision. Autonomous parking of unmanned vehicles is one of the common driving scenarios of unmanned vehicles. The parking operation of unmanned vehicles mainly relies on four major modules: self-positioning, environmental perception, decision-making planning, and motion control. Among them, planning a safe, reliable, and easy-to-track parking trajectory for unmanned vehicles from a given starting point to the parking area is the key to completing the parking task of unmanned vehicles.
[0003] At present, various effective path planning methods for autonomous vehicles have emerged one after another and have been applied to parking scenarios for unmanned vehicles. Among them, numerical optimization methods that can effectively handle various vehicle and driving environment constraints are increasingly recognized by researchers. However, in the existing path planning research based on numerical optimization, most of the work obtains the path of the autonomous vehicle by optimizing a single performance indicator as the objective function, which is difficult to meet the needs of decision makers. At the same time, decision makers may also have the need to express different preferences for different optimization objectives. The existing multi-objective parking trajectory planning methods for unmanned vehicles, such as the weighted sum method, are difficult to meet the above needs well.
[0004] Therefore, there is an urgent need for a multi-objective parking trajectory planning method for unmanned vehicles that can achieve multi-objective optimization while satisfying the decision maker's optimization target preferences. Summary of the invention
[0005] The purpose of this application is to provide a method, device, equipment and medium for planning multi-objective parking trajectories for unmanned vehicles, which can obtain unmanned vehicle parking trajectories that achieve multi-objective optimization while satisfying the decision maker's optimization target preferences.
[0006] To achieve the above objectives, this application provides the following solutions.
[0007] In a first aspect, the present application provides a method for multi-target parking trajectory planning of an unmanned vehicle, comprising the following steps.
[0008] Establish the kinematic model of the unmanned vehicle.
[0009] Based on the unmanned vehicle kinematic model, a multi-objective trajectory planning problem model is established; the multi-objective trajectory planning problem model includes multi-objective functions and constraints; the multi-objective function includes several objective functions; the constraints include unmanned vehicle state control quantity constraints, unmanned vehicle boundary constraints and unmanned vehicle obstacle avoidance constraints; the unmanned vehicle boundary constraints are constraints on the starting point and parking state of the unmanned vehicle; the unmanned vehicle boundary constraints and the unmanned vehicle obstacle avoidance constraints are determined by the unmanned vehicle kinematic model.
[0010] For each central objective function in the multi-objective functions, the multi-objective trajectory planning problem model is solved with the central objective function as the optimization objective to obtain the optimal solution corresponding to the central objective function, and the calculated values of all surrounding objective functions corresponding to the central objective function are determined according to the optimal solution corresponding to the central objective function, and a trade-off matrix is determined according to the optimal solutions corresponding to all central objective functions and the calculated values of all surrounding objective functions; the central objective function is any objective function in the multi-objective functions; the surrounding objective functions are objective functions in the multi-objective functions except the central objective function.
[0011] A preference function corresponding to each objective function is determined based on the decision maker preference input instruction and the trade-off matrix.
[0012] A physical planning problem model for multi-objective parking trajectory planning is constructed based on the preference functions and constraints corresponding to all the objective functions.
[0013] The physical planning problem model of multi-objective parking trajectory planning is solved to obtain the parking trajectory of the unmanned vehicle.
[0014] In a second aspect, the present application provides a multi-target parking trajectory planning device for an unmanned vehicle, comprising the following modules.
[0015] Kinematic model building module, used to build the kinematic model of the unmanned vehicle.
[0016] A multi-objective trajectory planning problem model establishment module is used to: establish a multi-objective trajectory planning problem model based on the unmanned vehicle kinematic model; the multi-objective trajectory planning problem model includes a multi-objective function and constraints; the multi-objective function includes several objective functions; the constraints include unmanned vehicle state control quantity constraints, unmanned vehicle boundary constraints and unmanned vehicle obstacle avoidance constraints; the unmanned vehicle boundary constraints are constraints on the unmanned vehicle starting point and parking state; the unmanned vehicle boundary constraints and the unmanned vehicle obstacle avoidance constraints are determined by the unmanned vehicle kinematic model.
[0017] A trade-off matrix determination module is used to: for each central objective function in the multi-objective functions, solve the multi-objective trajectory planning problem model with the central objective function as the optimization objective to obtain the optimal solution corresponding to the central objective function, determine the calculated values of all surrounding objective functions corresponding to the central objective function according to the optimal solution corresponding to the central objective function, and determine the trade-off matrix according to the optimal solutions corresponding to all central objective functions and the calculated values of all surrounding objective functions; the central objective function is any objective function in the multi-objective functions; the surrounding objective functions are objective functions in the multi-objective functions except the central objective function.
[0018] The preference function determination module is used to determine the preference function corresponding to each objective function based on the decision maker's preference input instruction and the trade-off matrix.
[0019] The physical planning problem model building module is used to build a physical planning problem model for multi-objective parking trajectory planning according to the preference functions and constraint conditions corresponding to all the objective functions.
[0020] The solution module is used to solve the physical planning problem model of multi-objective parking trajectory planning to obtain the parking trajectory of the unmanned vehicle.
[0021] In a third aspect, the present application provides a computer device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the above-mentioned unmanned vehicle multi-target parking trajectory planning method.
[0022] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the above-mentioned unmanned vehicle multi-target parking trajectory planning method.
[0023] According to the specific embodiments provided by the present application, the present application discloses the following technical effects: the present application provides a method, device, equipment and medium for multi-objective parking trajectory planning of an unmanned vehicle, and constructs a multi-objective trajectory planning problem model through multi-objective functions and constraints, which solves the problem that the existing method obtains the path of the autonomous driving vehicle by optimizing a single performance indicator as the objective function, which is difficult to meet the needs of decision makers, and realizes the needs of multi-objective optimization; the preference function corresponding to each objective function is determined through the decision maker's preference input instructions and the trade-off matrix, and a physical planning problem model for multi-objective parking trajectory planning is constructed according to the preference functions and constraints corresponding to the objective functions, and the unmanned vehicle parking trajectory is solved, which solves the problem that the existing method cannot meet the needs of expressing different preferences for different optimization objectives, and obtains an unmanned vehicle parking trajectory that can well express the needs of decision makers. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0025] Figure 1 This is an application environment diagram of a multi-target parking trajectory planning method for an unmanned vehicle in one embodiment of the present application.
[0026] Figure 2 A flowchart of a method for planning multi-target parking trajectories for an unmanned vehicle is provided in accordance with an embodiment of the present application.
[0027] Figure 3 A schematic diagram of a specific implementation process of a method for multi-target parking trajectory planning for an unmanned vehicle provided in one embodiment of the present application.
[0028] Figure 4 A schematic diagram of kinematic modeling of an unmanned vehicle provided in one embodiment of the present application.
[0029] Figure 5 A schematic diagram of an unmanned vehicle parking scenario provided in one embodiment of the present application.
[0030] Figure 6 A schematic diagram of a physical planning preference function partition provided in an embodiment of the present application.
[0031] Figure 7 A schematic diagram of the functional modules of a multi-target parking trajectory planning device for an unmanned vehicle provided in one embodiment of the present application.
[0032] Figure 8 A schematic diagram of the structure of a computer device provided in one embodiment of the present application.
[0033] Description of symbols: terminal—102, server—104. DETAILED DESCRIPTION
[0034] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0035] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below with reference to the accompanying drawings and specific implementation methods.
[0036] The unmanned vehicle multi-target parking trajectory planning method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be set up separately, integrated on the server 104, or placed on the cloud or other servers. The terminal 102 can send the multi-objective function and constraint conditions to the server 104. After the server 104 receives the multi-objective function and constraint conditions, for the multi-objective function and constraint conditions, the server 104 establishes a kinematic model of the unmanned vehicle, and based on the kinematic model of the unmanned vehicle, establishes a multi-objective trajectory planning problem model, determines the trade-off matrix according to the optimal solution corresponding to all central objective functions and the calculated values of all surrounding objective functions, determines the preference function corresponding to each objective function based on the decision maker preference input instruction and the trade-off matrix, constructs a physical planning problem model of multi-objective parking trajectory planning according to the preference functions and constraints corresponding to all the objective functions, solves the physical planning problem model of multi-objective parking trajectory planning, and obtains the parking trajectory of the unmanned vehicle. The server 104 can feedback the obtained parking trajectory of the unmanned vehicle to the terminal 102. In addition, in some embodiments, the unmanned vehicle multi-target parking trajectory planning method can also be implemented independently by the server 104 or the terminal 102. For example, the terminal 102 can directly perform the unmanned vehicle multi-target parking trajectory planning based on the multi-objective functions and constraints, or the server 104 can obtain the multi-objective functions and constraints from the data storage system, and perform the unmanned vehicle multi-target parking trajectory planning based on the multi-objective functions and constraints.
[0037] The terminal 102 may be, but is not limited to, various desktop computers, laptop computers, smart phones, and tablet computers. The server 104 may be implemented as an independent server or a server cluster consisting of multiple servers, or may be a cloud server.
[0038] In an exemplary embodiment, Figure 2 and Figure 3 As shown, a method for multi-target parking trajectory planning of an unmanned vehicle is provided. The method is executed by a computer device, and specifically can be executed by a computer device such as a terminal or a server alone, or can be executed by a terminal and a server together. In the embodiment of the present application, the method is applied to Figure 1 The server 104 in the example is used for explanation, and the steps include the following steps 201 to 206.
[0039] Step 201: Establish a kinematic model of the unmanned vehicle.
[0040] Step 202: Based on the unmanned vehicle kinematic model, a multi-objective trajectory planning problem model is established; the multi-objective trajectory planning problem model includes a multi-objective function and constraints; the multi-objective function includes several objective functions; the constraints include unmanned vehicle state control quantity constraints, unmanned vehicle boundary constraints and unmanned vehicle obstacle avoidance constraints; the unmanned vehicle boundary constraints are constraints on the starting point and parking state of the unmanned vehicle; the unmanned vehicle boundary constraints and the unmanned vehicle obstacle avoidance constraints are determined by the unmanned vehicle kinematic model.
[0041] Step 203: For each central objective function in the multi-objective functions, the multi-objective trajectory planning problem model is solved with the central objective function as the optimization objective to obtain the optimal solution corresponding to the central objective function, and the calculated values of all surrounding objective functions corresponding to the central objective function are determined according to the optimal solution corresponding to the central objective function, and a trade-off matrix is determined according to the optimal solutions corresponding to all central objective functions and the calculated values of all surrounding objective functions; the central objective function is any objective function in the multi-objective functions; and the surrounding objective functions are objective functions in the multi-objective functions other than the central objective function.
[0042] Step 204: Determine a preference function corresponding to each objective function based on the decision maker preference input instruction and the trade-off matrix.
[0043] Step 205: construct a physical planning problem model for multi-objective parking trajectory planning according to the preference functions and constraints corresponding to all the objective functions.
[0044] Step 206: Solve the physical planning problem model of multi-objective parking trajectory planning to obtain the parking trajectory of the unmanned vehicle.
[0045] Implement the above steps 201 to 206, and construct a multi-objective trajectory planning problem model through multi-objective functions and constraints, which solves the problem that the existing method obtains the path of the autonomous driving car by optimizing a single performance indicator as the objective function, which is difficult to meet the needs of decision makers, and realizes the needs of multi-objective optimization; determine the preference function corresponding to each objective function through the decision maker's preference input instruction and the trade-off matrix, and construct a physical planning problem model for multi-objective parking trajectory planning according to the preference function and constraint conditions corresponding to the objective function, and solve the parking trajectory of the unmanned vehicle, which solves the problem that the existing method cannot meet the needs of expressing different preferences for different optimization objectives, and obtains the parking trajectory of the unmanned vehicle that can well express the needs of the decision maker. The present application can solve the multi-objective parking trajectory planning problem of the unmanned vehicle, can effectively solve the parking trajectory planning problem of the unmanned vehicle, optimize multiple performance indicators, and well express the different preferences of the decision maker for different optimization indicators, obtain a compromise solution that meets the preferences of the decision maker, and can obtain a safe, reliable, easy to track, and simultaneous optimization of multiple performance indicators. And the parking trajectory of the unmanned vehicle that well expresses the needs of the decision maker.
[0046] The unmanned vehicle is simplified into a bicycle, and it is assumed that only the front wheel is steered and the front and rear wheels do not have lateral offset. Based on the above settings, the expression of the unmanned vehicle kinematic model in the global coordinate system is shown in formula (1).
[0047] (1).
[0048] Specifically, Figure 4 As shown, select the center point between the rear wheels of the unmanned vehicle Represents the position of the unmanned vehicle; is the speed direction of the unmanned vehicle and the rectangular coordinate system The angle between the axes; is the angle between the front wheel direction and the speed direction of the unmanned vehicle, that is, the steering angle of the front wheel of the unmanned vehicle; is the horizontal coordinate of the center point of the rear wheel of the unmanned vehicle, is the horizontal coordinate of the center point of the rear wheel of the unmanned vehicle, and Constitute the position of the unmanned vehicle ; is the heading angle of the unmanned vehicle; is the distance between the front and rear wheels; and are the speed and acceleration of the unmanned vehicle respectively; Represents the angular acceleration of the steering angle of the front wheels of the unmanned vehicle; represents differential; t Indicates time.
[0049] Based on the kinematic model of the unmanned vehicle established in step 201, the coordinates of the four corners of the unmanned vehicle can be calculated as shown in the following formula (2).
[0050] (2).
[0051] in, The four vertices of the unmanned vehicle. Location Figure 4 As shown; , , , They represent the horizontal coordinates of the four vertices of the unmanned vehicle. , , , Respectively represent the ordinates of the four vertices of the unmanned vehicle; and They are the rear overhang and front overhang of the unmanned vehicle respectively; is the vehicle width.
[0052] Next, determine the constraints. The expressions of each constraint are as follows.
[0053] 1) The unmanned vehicle state control quantity constraint is used for the unmanned vehicle state / control restriction. The calculation formula of the unmanned vehicle state control quantity constraint is shown in the following formula (3).
[0054] (3).
[0055] in, They are The speed, acceleration, angular acceleration of the front wheel steering angle and heading angle of the unmanned vehicle at all times; are the minimum and maximum speeds of the unmanned vehicle respectively; are the minimum and maximum values of the unmanned vehicle’s acceleration respectively; are the minimum and maximum angular acceleration of the front wheel steering angle of the unmanned vehicle respectively; is the derivative of the instantaneous curvature; are the minimum and maximum values of the derivative of the instantaneous curvature, respectively.
[0056] Specifically, since the operation of an unmanned vehicle needs to meet the requirements of its physical structure, its state / control should be restricted when planning its trajectory and integrated into the optimization framework.
[0057] 2) The boundary constraints of the unmanned vehicle are the boundary conditions of the starting point and the parking space. The calculation formulas of the boundary constraints of the unmanned vehicle are shown in the following equations (4) and (5).
[0058] (4).
[0059] (5).
[0060] in, and denote the initial time and the terminal time respectively; , , , Respectively represent the ordinates of the four vertices of the unmanned vehicle; Respectively represent the horizontal coordinate of the unmanned vehicle position at the initial moment, the vertical coordinate of the unmanned vehicle position, the heading angle, the speed, the front wheel steering angle, the acceleration and the setting value of the angular acceleration of the front wheel steering angle; Respectively represent the abscissa of the unmanned vehicle position at the initial moment, the ordinate of the unmanned vehicle position, the heading angle, the speed, the front wheel steering angle, the acceleration and the angular acceleration of the front wheel steering angle; They represent the four vertex coordinates of the unmanned vehicle at the terminal moment. Indicates the speed and acceleration of the unmanned vehicle at the terminal moment; The upper boundary of the parking area.
[0061] When planning the parking trajectory, the unmanned vehicle obtains the current state / control information through the self-positioning module as the boundary condition of the unmanned vehicle's starting point. In addition, the unmanned vehicle obtains parking area information through the environment perception module. In order for the unmanned vehicle to park in the parking area, its four vertices should be smaller than the upper boundary of the parking area. (If the upper boundary is consistent with the established rectangular coordinate system If the axes coincide, ), and its velocity and acceleration are both 0.
[0062] 3) The unmanned vehicle obtains information about the road environment through the environment perception module, such as Figure 5 As shown, the four vertices of the driverless car should not exceed the upper boundary of the road. In addition, the lower boundary of the road can be represented by a function based on a step function, and at the same horizontal axis position, the vertical axis positions of the four vertices of the unmanned vehicle are not less than the function. The expression of the obstacle avoidance constraint of the unmanned vehicle is shown in the following formula (6).
[0063] (6).
[0064] in, and Respectively represent the lower and upper boundaries of the parking area; z= , , or ; , , , Represent the horizontal coordinates of the four vertices of the unmanned vehicle; is a step function; and are the length and width of the parking area respectively; The width of the road for unmanned vehicles.
[0065] Next, it is necessary to determine the objective function to be optimized. Specifically, this application selects task completion time, path length, and passenger comfort as optimization objectives, which can be selected according to actual needs during use. That is, the multi-objective function includes a first objective function with the goal of minimizing task completion time, a second objective function with the goal of minimizing path length, and a third objective function with the goal of maximizing passenger comfort. Each objective function is shown below.
[0066] (1) The first objective function, which aims to minimize the task completion time, is shown in Equation (7).
[0067] (7).
[0068] (2) The second objective function, which aims to minimize the path length, is shown in equation (8).
[0069] (8).
[0070] (3) The third objective function, which aims to maximize passenger comfort, is shown in Equation (9).
[0071] (9).
[0072] in, represents the first objective function, Indicates the terminal moment, i.e. the task completion time; represents the second objective function; represents the third objective function.
[0073] Based on the kinematic model of the unmanned vehicle, the above multi-objective functions and constraints are integrated into a unified optimization framework to obtain the multi-objective trajectory planning problem model of the unmanned vehicle. The expression of the multi-objective trajectory planning problem model is shown in formula (10).
[0074] (10).
[0075] Step 203 is used to optimize each objective separately and establish a trade-off matrix, that is, to perform single-objective optimization on the selected optimization objective, and calculate the values of all objective functions based on the obtained solution, and then establish a trade-off matrix between the selected optimization objectives as shown in the following formula (11).
[0076] (11).
[0077] In the formula, Is to optimize the For example, the first objective function is the central objective function, the second objective function and the third objective function are the surrounding objective functions, and the first column is the optimal solution obtained when the first objective function is solved alone. , The optimal solutions are Substitute the calculated values of the first objective function, the second objective function, and the third objective function; the optimal solution obtained when solving the second objective function alone is , The optimal solutions are Substitute the calculated values of the first objective function, the second objective function, and the third objective function; the optimal solution obtained when solving the third objective function alone is , The optimal solutions are Substitute the calculated values obtained by the first objective function, the second objective function, and the third objective function.
[0078] The decision maker sets the parameters required for the physical planning model, namely, preferences, according to the decision maker preference input instructions and the trade-off matrix established in step 203. The decision maker preference input instructions are the five boundary values required for each objective function to construct a preference function.
[0079] Specifically, Figure 6 As shown, in step S5, the decision maker sets the five boundary values required to construct the preference function for each objective function based on the trade-off matrix between the optimization objectives established in step S4, namely ,in According to the five boundary values set by the decision maker, the preference function can be divided into six intervals: ideal area, expected area, acceptable area, unexpected area, very unexpected area, and unacceptable area. The preference function of each interval is constructed by polynomial fitting. For each objective function, the preference functions of all intervals corresponding to the objective function are fitted to obtain the preference function corresponding to each objective function.
[0080] No. The process of constructing the preference function of an objective function includes the following steps.
[0081] (1) Give the decision maker the The preference setting of the objective function is , and set The preference function value at Among them, Preference setting of objective function The specific process is as follows: The maximum and minimum values of the elements in the row are taken as The boundary value of the preferred value range of the objective function, for example, when When it is 1, The solutions corresponding to the objective function include , take the maximum and minimum values of the three solutions as the boundary values of the preferred value range, and determine the The value range corresponding to the objective function is The value range corresponding to the objective function is determined .
[0082] (2) Seek The difference in the value of the preference function at , , ;in is the convexity parameter, generally greater than 1; is the number of soft preferences.
[0083] (3) Seek The preference function value is , .
[0084] (4) Seek The difference between , .
[0085] (5) Seek The intercept at the preferred function value is , .
[0086] (6) Seek The slope of the preference function value at , , , , .in .
[0087] (7) The preference function of the ideal zone (zone 1) is set to ,make , then the preference functions of the expected area, acceptable area, undesirable area, and very undesirable area (areas 2-5) are ,in It can be obtained by the following equation.
[0088] (12).
[0089] in .if If not positive, it increases .
[0090] There is no function graph in the unacceptable zone (zone 6), so it is not represented by a function.
[0091] A piecewise function is obtained by fitting the preference functions corresponding to each preference area. This piecewise function is the first The preference function of the objective function ,when hour, ,when hour, .
[0092] After constructing the preference function of each optimization objective in step 204, The function integrates all the established preference functions into an optimization objective and applies it to the multi-objective trajectory planning problem model of the unmanned vehicle established in step 202 to obtain the physical planning problem model of the multi-objective parking trajectory planning. The expression of the physical planning problem model of the multi-objective parking trajectory planning is shown in the following formula (13).
[0093] (13).
[0094] in, J Represents a multi-objective function; Indicates The preference function corresponding to the objective function.
[0095] Step 206 specifically includes: using a gradient-based numerical optimization algorithm to solve the physical planning problem model of multi-objective parking trajectory planning to obtain the parking trajectory of the unmanned vehicle.
[0096] Specifically, a gradient-based numerical optimization algorithm is used to solve the physical planning problem model of multi-objective parking trajectory planning for unmanned vehicles, and obtain an unmanned vehicle parking trajectory that is safe, reliable, easy to track, and simultaneously optimizes multiple performance indicators, and well expresses the needs of decision makers.
[0097] The present application also provides an application scenario, which applies the above-mentioned unmanned vehicle multi-target parking trajectory planning method. Specifically: The unmanned vehicle multi-target parking trajectory planning method provided in this embodiment can be applied in the unmanned vehicle safety test scenario. The unmanned vehicle safety test scenario includes a constraint setting link, an unmanned vehicle multi-target trajectory planning link and a performance test link; setting the objective function and the constraint condition from the constraint setting link to enter the unmanned vehicle multi-target trajectory planning link, obtain the corresponding unmanned vehicle parking trajectory, and enter the downstream performance test link. The unmanned vehicle multi-target parking trajectory planning method provided in this embodiment belongs to the unmanned vehicle multi-target trajectory planning link. Specifically in the unmanned vehicle multi-target trajectory planning link process, an unmanned vehicle kinematic model can be established, and based on the unmanned vehicle kinematic model, a multi-target trajectory planning problem model is established, and a trade-off matrix is determined according to the optimal solution corresponding to all central objective functions and the calculated values of all surrounding objective functions, and the preference function corresponding to each of the objective functions is determined based on the decision maker preference input instruction and the trade-off matrix. According to the preference functions and constraints corresponding to all the objective functions, a physical planning problem model of multi-target parking trajectory planning is constructed, and the physical planning problem model of multi-target parking trajectory planning is solved to obtain the parking trajectory of the unmanned vehicle.
[0098] Based on the same inventive concept, the embodiment of the present application also provides an unmanned vehicle multi-target parking trajectory planning device for implementing the unmanned vehicle multi-target parking trajectory planning method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more unmanned vehicle multi-target parking trajectory planning device embodiments provided below can refer to the limitations of the unmanned vehicle multi-target parking trajectory planning method above, and will not be repeated here.
[0099] In an exemplary embodiment, Figure 7 As shown, a multi-target parking trajectory planning device for an unmanned vehicle is provided, including the following modules.
[0100] The kinematic model building module T1 is used to build the kinematic model of the unmanned vehicle.
[0101] The multi-objective trajectory planning problem model establishment module T2 is used to: establish a multi-objective trajectory planning problem model based on the unmanned vehicle kinematic model; the multi-objective trajectory planning problem model includes multi-objective functions and constraints; the multi-objective function includes several objective functions; the constraints include unmanned vehicle state control quantity constraints, unmanned vehicle boundary constraints and unmanned vehicle obstacle avoidance constraints; the unmanned vehicle boundary constraints are constraints on the starting point and parking state of the unmanned vehicle; the unmanned vehicle boundary constraints and the unmanned vehicle obstacle avoidance constraints are determined by the unmanned vehicle kinematic model.
[0102] The trade-off matrix determination module T3 is used to: for each central objective function in the multi-objective functions, solve the multi-objective trajectory planning problem model with the central objective function as the optimization target to obtain the optimal solution corresponding to the central objective function, determine the calculated values of all surrounding objective functions corresponding to the central objective function according to the optimal solution corresponding to the central objective function, and determine the trade-off matrix according to the optimal solutions corresponding to all central objective functions and the calculated values of all surrounding objective functions; the central objective function is any objective function in the multi-objective functions; the surrounding objective functions are objective functions in the multi-objective functions except the central objective function.
[0103] The preference function determination module T4 is used to determine the preference function corresponding to each objective function based on the decision maker's preference input instruction and the trade-off matrix.
[0104] The physical planning problem model building module T5 is used to build a physical planning problem model for multi-objective parking trajectory planning according to the preference functions and constraint conditions corresponding to all the objective functions.
[0105] The solving module T6 is used to solve the physical planning problem model of multi-objective parking trajectory planning to obtain the parking trajectory of the unmanned vehicle.
[0106] In an exemplary embodiment, a computer device is provided. The computer device may be a server or a terminal. The internal structure diagram thereof may be as follows: Figure 8 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store unmanned vehicle multi-target parking trajectory planning data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for planning a multi-target parking trajectory for an unmanned vehicle is implemented.
[0107] Those skilled in the art will understand that Figure 8The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0108] In an exemplary embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.
[0109] In an exemplary embodiment, a computer-readable storage medium is provided, storing a computer program, and when the computer program is executed by a processor, the steps in the above method embodiments are implemented.
[0110] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0111] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM may be in various forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM).
[0112] The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. The non-relational database may include a distributed database based on blockchain, etc., but is not limited thereto. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but is not limited thereto.
[0113] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0114] This article uses specific examples to illustrate the principles and implementation methods of this application. The description of the above embodiments is only used to help understand the method and core ideas of this application. At the same time, for those skilled in the art, according to the ideas of this application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting this application.
Claims
1. A multi-target parking trajectory planning method for unmanned vehicles, It is characterized in that The unmanned vehicle multi-target parking trajectory planning method comprises: Establish the kinematic model of the unmanned vehicle; Based on the unmanned vehicle kinematic model, a multi-objective trajectory planning problem model is established; the multi-objective trajectory planning problem model includes a multi-objective function and constraints; the multi-objective function includes several objective functions; the constraints include unmanned vehicle state control quantity constraints, unmanned vehicle boundary constraints and unmanned vehicle obstacle avoidance constraints; the unmanned vehicle boundary constraints are constraints on the starting point and parking state of the unmanned vehicle; the unmanned vehicle boundary constraints and the unmanned vehicle obstacle avoidance constraints are determined by the unmanned vehicle kinematic model; The calculation formula of the unmanned vehicle boundary constraint is as follows: ; ; in, and denote the initial time and the terminal time respectively; , , , Respectively represent the ordinates of the four vertices of the unmanned vehicle; Respectively represent the horizontal coordinate of the unmanned vehicle position at the initial moment, the vertical coordinate of the unmanned vehicle position, the heading angle, the speed, the front wheel steering angle, the acceleration and the setting value of the angular acceleration of the front wheel steering angle; Respectively represent the abscissa of the unmanned vehicle position at the initial moment, the ordinate of the unmanned vehicle position, the heading angle, the speed, the front wheel steering angle, the acceleration and the angular acceleration of the front wheel steering angle; They represent the four vertex coordinates of the unmanned vehicle at the terminal moment. Indicates the speed and acceleration of the unmanned vehicle at the terminal moment; is the upper boundary of the parking area; For each central objective function in the multi-objective function, the multi-objective trajectory planning problem model is solved with the central objective function as the optimization objective to obtain the optimal solution corresponding to the central objective function, the calculated values of all surrounding objective functions corresponding to the central objective function are determined according to the optimal solution corresponding to the central objective function, and the trade-off matrix is determined according to the optimal solutions corresponding to all central objective functions and the calculated values of all surrounding objective functions; the central objective function is any objective function in the multi-objective function; the surrounding objective function is an objective function in the multi-objective function except the central objective function; Determine a preference function corresponding to each objective function based on the decision maker preference input instruction and the trade-off matrix; Constructing a physical planning problem model for multi-objective parking trajectory planning based on the preference functions and constraints corresponding to all the objective functions; The physical planning problem model of multi-objective parking trajectory planning is solved to obtain the parking trajectory of the unmanned vehicle.
2. The multi-target parking trajectory planning method for an unmanned vehicle according to claim 1, It is characterized in that The expression of the unmanned vehicle kinematic model is as follows: ; in, is the horizontal coordinate of the center point of the rear wheel of the unmanned vehicle, is the horizontal coordinate of the center point of the rear wheel of the unmanned vehicle; is the heading angle of the unmanned vehicle; is the distance between the front and rear wheels; and are the speed and acceleration of the unmanned vehicle respectively; and Represent the front wheel steering angle and angular acceleration of the front wheel steering angle of the unmanned vehicle respectively; Indicates time.
3. The unmanned vehicle multi-target parking trajectory planning method according to claim 1, It is characterized in that The calculation formula of the unmanned vehicle state control quantity constraint is as follows: ; in, They are The speed, acceleration, angular acceleration of the front wheel steering angle and heading angle of the unmanned vehicle at all times; are the minimum and maximum speeds of the unmanned vehicle, respectively; are the minimum and maximum values of the unmanned vehicle’s acceleration respectively; are the minimum and maximum angular acceleration of the front wheel steering angle of the unmanned vehicle respectively; is the derivative of the instantaneous curvature; are the minimum and maximum values of the derivative of the instantaneous curvature, respectively.
4. The unmanned vehicle multi-target parking trajectory planning method according to claim 1, It is characterized in that The expression of the unmanned vehicle obstacle avoidance constraint is as follows: ; in, and Respectively represent the lower and upper boundaries of the parking area; z= , , , ; , , , Represent the horizontal coordinates of the four vertices of the unmanned vehicle; is a step function; and are the length and width of the parking area respectively; The width of the road for unmanned vehicles.
5. The unmanned vehicle multi-target parking trajectory planning method according to claim 1, It is characterized in that The expression of the physical planning problem model of multi-objective parking trajectory planning is as follows: ; in, J Represents a multi-objective function; Indicates The preference function corresponding to the objective function; is the horizontal coordinate of the center point of the rear wheel of the unmanned vehicle, is the horizontal coordinate of the center point of the rear wheel of the unmanned vehicle; is the heading angle of the unmanned vehicle; is the distance between the front and rear wheels; and are the speed and acceleration of the unmanned vehicle respectively; and Represent the front wheel steering angle and angular acceleration of the front wheel steering angle of the unmanned vehicle respectively; Indicates the moment; They are The speed, acceleration, angular acceleration of the front wheel steering angle and heading angle of the unmanned vehicle at all times; are the minimum and maximum speeds of the unmanned vehicle, respectively; are the minimum and maximum values of the unmanned vehicle’s acceleration respectively; are the minimum and maximum angular acceleration of the front wheel steering angle of the unmanned vehicle respectively; is the derivative of the instantaneous curvature; are the minimum and maximum values of the derivative of the instantaneous curvature, respectively; and denote the initial time and the terminal time respectively; , , , Respectively represent the ordinates of the four vertices of the unmanned vehicle; Respectively represent the horizontal coordinate of the unmanned vehicle position at the initial moment, the vertical coordinate of the unmanned vehicle position, the heading angle, the speed, the front wheel steering angle, the acceleration and the setting value of the angular acceleration of the front wheel steering angle; Respectively represent the abscissa of the unmanned vehicle position at the initial moment, the ordinate of the unmanned vehicle position, the heading angle, the speed, the front wheel steering angle, the acceleration and the angular acceleration of the front wheel steering angle; They represent the four vertex coordinates of the unmanned vehicle at the terminal moment. Indicates the speed and acceleration of the unmanned vehicle at the terminal moment; is the upper boundary of the parking area; and Respectively represent the lower and upper boundaries of the parking area; z= , , , ; , , , Represent the horizontal coordinates of the four vertices of the unmanned vehicle; is a step function; and are the length and width of the parking area respectively; The width of the road for unmanned vehicles.
6. The unmanned vehicle multi-target parking trajectory planning method according to claim 1, It is characterized in that The physical planning problem model of multi-objective parking trajectory planning is solved to obtain the parking trajectory of the unmanned vehicle, including: The gradient-based numerical optimization algorithm is used to solve the physical planning problem model of multi-objective parking trajectory planning and obtain the parking trajectory of the unmanned vehicle.
7. An unmanned vehicle multi-target parking trajectory planning device based on the unmanned vehicle multi-target parking trajectory planning method according to any one of claims 1 to 6, It is characterized in that The unmanned vehicle multi-target parking trajectory planning device comprises: Kinematic model building module, used to: build the kinematic model of the unmanned vehicle; A multi-objective trajectory planning problem model building module is used to: build a multi-objective trajectory planning problem model based on the unmanned vehicle kinematic model; the multi-objective trajectory planning problem model includes a multi-objective function and constraints; the multi-objective function includes several objective functions; the constraints include unmanned vehicle state control quantity constraints, unmanned vehicle boundary constraints and unmanned vehicle obstacle avoidance constraints; the unmanned vehicle boundary constraints are constraints on the unmanned vehicle starting point and parking state; the unmanned vehicle boundary constraints and the unmanned vehicle obstacle avoidance constraints are determined by the unmanned vehicle kinematic model; A trade-off matrix determination module is used to: for each central objective function in the multi-objective functions, solve the multi-objective trajectory planning problem model with the central objective function as the optimization target to obtain the optimal solution corresponding to the central objective function, determine the calculated values of all surrounding objective functions corresponding to the central objective function according to the optimal solution corresponding to the central objective function, and determine the trade-off matrix according to the optimal solutions corresponding to all central objective functions and the calculated values of all surrounding objective functions; the central objective function is any objective function in the multi-objective functions; the surrounding objective functions are objective functions in the multi-objective functions other than the central objective function; A preference function determination module is used to: determine the preference function corresponding to each objective function based on the decision maker's preference input instruction and the trade-off matrix; A physical planning problem model building module is used to: build a physical planning problem model of multi-objective parking trajectory planning according to the preference functions and constraints corresponding to all the objective functions; The solution module is used to solve the physical planning problem model of multi-objective parking trajectory planning to obtain the parking trajectory of the unmanned vehicle.
8. A computer device, include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the unmanned vehicle multi-target parking trajectory planning method according to any one of claims 1 to 6.
9. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the unmanned vehicle multi-target parking trajectory planning method described in any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Automatic driving track planning method and system based on linear iteration quadratic regulator
CN117873063A
Path planning method and device, electronic equipment and storage medium
CN117875525A
