Method and device for automatic lane changing of vehicle
By predicting the trajectory information of surrounding targets and generating a trajectory projection space, the vehicle automatic lane changing method solves the problem of only considering the current moment in decision-making in the existing technology, improves the intelligence level of the vehicle and the reliability of automatic lane changing, and achieves more Accurate lane change intentions.
Patent Information
- Application Number
- CN202211046162.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-30
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2042-08-30
AI Technical Summary
In the existing technology, the vehicle's automatic lane-changing decision only considers the current moment and fails to consider the global action decision-making, which reduces the intelligence level of the vehicle and the reliability of automatic lane-changing, and cannot accurately approximate the lane-changing intention of the human driver.
Collect information from a variety of sensors to predict the predicted trajectory information of surrounding targets, and project its position onto the expected driving path of the drivable lane to generate a trajectory projection space, generate a decision state transition matrix, and search for the optimal decision of the vehicle at any moment. action to control the vehicle to automatically change lanes.
It improves the intelligence level of the vehicle and the reliability of automatic lane changing, more accurately approximates the lane changing intention of the human driver, and improves the implementability of automatic lane changing of the vehicle and the user driving experience.
Smart Images

Figure CN115447578B
Abstract
Description
Technical Field
[0001] The present application relates to the field of autonomous driving technology, and in particular to a method and device for automatic lane changing of a vehicle. Background Art
[0002] In the related technology, based on the collected road information within a predetermined distance range in front of the vehicle, the traffic speeds in the current lane of the vehicle and the adjacent lane of the vehicle are solved respectively, and the decision on whether to change lanes is made based on the scores of different factors calculated by all the solved traffic speeds.
[0003] However, the related technology only considers the decision-making actions of the vehicle at the current moment, and fails to consider the overall action decisions of the vehicle, which reduces the intelligence level of the vehicle, fails to accurately follow the lane changing intentions of human drivers, and reduces the reliability of the vehicle's automatic lane changing, which urgently needs to be solved. Summary of the invention
[0004] The present application provides a method and device for automatic lane changing of a vehicle to solve the technical problem that the related technology only considers the decision-making action of the vehicle at the current moment, fails to consider the overall action decision of the vehicle, reduces the intelligence level of the vehicle, fails to accurately follow the lane changing intention of the human driver, and reduces the reliability of the automatic lane changing of the vehicle.
[0005] The first aspect of the present application provides a method for automatic lane changing of a vehicle, comprising the following steps: predicting predicted trajectory information of at least one surrounding target based on information collected by multiple sensors of the vehicle; generating a trajectory projection space by projecting the predicted trajectory information of the at least one surrounding target onto an expected driving path of at least one drivable lane of the vehicle according to the position of each surrounding target at different times; generating a decision state transfer matrix by using the trajectory projection space, searching for the optimal decision action of the vehicle at any time, and controlling the automatic lane changing of the vehicle according to the optimal decision action.
[0006] According to the above-mentioned technical means, the embodiment of the present application samples the decision state through the information collected by various sensors of the vehicle and generates the optimal decision action. It can search for the optimal decision action of the vehicle at any time and control the vehicle to change lanes automatically, and then consider the overall action decision of the vehicle, thereby improving the intelligence level of the vehicle and more accurately following the lane changing intention of the human driver.
[0007] Optionally, in one embodiment of the present application, the generation of a decision state transfer matrix using the trajectory projection space includes: slicing the trajectory projection space in time according to a preset time interval to generate a plurality of sampling slices; using the plurality of sampling slices to generate a decision state at a corresponding moment, and calculating a corresponding decision state transfer matrix.
[0008] According to the above technical means, the embodiment of the present application can project slices of the trajectory at a certain time, and generate the decision state at the corresponding moment by sampling the slices, so as to calculate the transfer matrix, thereby improving the feasibility and reliability of automatic lane changing of the vehicle.
[0009] Optionally, in one embodiment of the present application, searching for the optimal decision action of the vehicle includes: searching for the optimal decision action sequence using the decision state transfer matrix corresponding to each decision state, and determining the optimal decision action at any moment.
[0010] According to the above-mentioned technical means, the embodiments of the present application can search and determine the optimal decision action at any time, thereby improving the feasibility and reliability of automatic lane changing of the vehicle and improving the user's driving experience.
[0011] Optionally, in one embodiment of the present application, the calculation of the corresponding decision state transfer matrix includes: calculating the transfer cost of each action based on the decision state at the corresponding moment; and obtaining the decision state transfer matrix of the vehicle corresponding to different initial states according to the transfer cost of each action.
[0012] According to the above technical means, the embodiment of the present application can calculate the corresponding decision state transfer matrix, thereby improving the accuracy of the vehicle's automatic lane changing and improving the user's driving safety.
[0013] Optionally, in one embodiment of the present application, the calculation formula of the transfer cost is:
[0014] cost=(safety*w1+efficient*w2+nav*w3+comfort*w4+action)*γ,
[0015] Among them, safety represents the safety factor, efficient represents the traffic efficiency factor, nav represents the navigation factor, comfort represents the comfort factor, action represents changing lanes or staying in the current lane, w1, w2, w3, w4, represent the weights of different factors, and γ represents the time coefficient.
[0016] A second aspect of the present application provides a device for automatic lane changing of a vehicle, comprising: a prediction module, for predicting predicted trajectory information of at least one surrounding target based on information collected by multiple sensors of the vehicle; a generation module, for generating a trajectory projection space based on the predicted trajectory information of the at least one surrounding target, projecting the position of each surrounding target at different times onto the expected driving path of at least one drivable lane of the vehicle; and a control module, for generating a decision state transfer matrix using the trajectory projection space, searching for the optimal decision action of the vehicle at any time, and controlling the automatic lane changing of the vehicle according to the optimal decision action.
[0017] Optionally, in one embodiment of the present application, the control module includes: a generation unit, used to slice the trajectory projection space in time according to a preset time interval to generate a plurality of sampling slices; a calculation unit, used to generate a decision state at a corresponding moment using the plurality of sampling slices, and calculate a corresponding decision state transfer matrix.
[0018] Optionally, in one embodiment of the present application, searching for the optimal decision action of the vehicle includes searching for an optimal decision action sequence using a decision state transfer matrix corresponding to each decision state to determine the optimal decision action at any moment.
[0019] Optionally, in one embodiment of the present application, the calculation unit is further used to calculate the transfer cost of each action based on the decision state at the corresponding moment, and obtain the decision state transfer matrix of the vehicle corresponding to different initial states according to the transfer cost of each action.
[0020] Optionally, in one embodiment of the present application, the calculation formula of the transfer cost is:
[0021] cost=(safety*w1+efficient*w2+nav*w3+comfort*w4+action)*γ,
[0022] Among them, safety represents the safety factor, efficient represents the traffic efficiency factor, nav represents the navigation factor, comfort represents the comfort factor, action represents changing lanes or staying in the current lane, w1, w2, w3, w4, represent the weights of different factors, and γ represents the time coefficient.
[0023] A third aspect of the present application provides a vehicle, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the method for automatic lane changing of the vehicle as described in the above embodiment.
[0024] A fourth aspect of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, which, when executed by a processor, implements the above method for automatic lane changing of a vehicle.
[0025] Beneficial effects of this application:
[0026] (1) The embodiment of the present application can project slices of the trajectory at a certain time, and generate the decision state at the corresponding time by sampling the slices, so as to calculate the transfer matrix, thereby improving the feasibility and reliability of the vehicle's automatic lane change.
[0027] (2) The embodiments of the present application can search and determine the optimal decision action at any time, thereby improving the feasibility and reliability of automatic lane changing of the vehicle and enhancing the user's driving experience.
[0028] (3) The embodiments of the present application collect information from various sensors of the vehicle to sample the decision state and generate the optimal decision action. The optimal decision action of the vehicle at any time can be searched out and the vehicle can be controlled to change lanes automatically. The overall action decision of the vehicle can be considered, thereby improving the intelligence level of the vehicle and more accurately matching the lane changing intention of human drivers.
[0029] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0031] Figure 1 A flowchart of a method for automatic lane changing of a vehicle provided according to an embodiment of the present application;
[0032] Figure 2 A schematic diagram of a scene of automatic lane change of a vehicle according to a specific embodiment of the present application;
[0033] Figure 3 A schematic diagram of a target trajectory projection space and sampling slices for a specific embodiment of the present application;
[0034] Figure 4 A schematic diagram of a decision-making state at a certain moment of a specific embodiment of the present application;
[0035] Figure 5 A flowchart of a method for automatic lane changing of a vehicle according to a specific embodiment of the present application;
[0036] Figure 6 It is a structural schematic diagram of a device for automatic lane changing of a vehicle according to an embodiment of the present application;
[0037] Figure 7 It is a schematic diagram of the structure of a vehicle provided according to an embodiment of the present application.
[0038] Among them, 10 is a device for automatic lane changing of a vehicle; 100 is a prediction module, 200 is a generation module and 300 is a control module; 701 is a memory, 702 is a processor and 703 is a communication interface. DETAILED DESCRIPTION
[0039] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.
[0040] The following describes the method and device for automatic lane changing of a vehicle in an embodiment of the present application with reference to the accompanying drawings. In view of the problem that the related technology mentioned in the background technology center only considers the decision action of the vehicle at the current moment, fails to consider the action decision of the vehicle as a whole, reduces the intelligence level of the vehicle, fails to accurately approach the lane changing intention of the human driver, and reduces the reliability of the automatic lane changing of the vehicle, the present application provides a method for automatic lane changing of a vehicle, in which the predicted trajectory information of at least one surrounding target can be predicted based on the information collected by multiple sensors of the vehicle, so as to project the predicted trajectory information of at least one drivable lane of the vehicle according to the position of each surrounding target at different times, generate a trajectory projection space, and then generate a decision state transfer matrix, search out the optimal decision action of the vehicle at any time, and control the automatic lane changing of the vehicle according to the optimal decision action, so as to consider the action decision of the vehicle as a whole, improve the intelligence level of the vehicle, and more accurately approach the lane changing intention of the human driver. Thus, the technical problem that the related technology only considers the decision action of the vehicle at the current moment, fails to consider the action decision of the vehicle as a whole, reduces the intelligence level of the vehicle, fails to accurately approach the lane changing intention of the human driver, and reduces the reliability of the automatic lane changing of the vehicle is solved.
[0041] Specifically, Figure 1 A schematic flow chart of a method for automatic lane changing of a vehicle provided in an embodiment of the present application.
[0042] like Figure 1 As shown, the method for automatic lane changing of a vehicle comprises the following steps:
[0043] In step S101 , based on information collected by various sensors of the vehicle, predicted trajectory information of at least one surrounding target is predicted.
[0044] It can be understood that the embodiments of the present application can be based on information collected by various sensors of the vehicle. For example, the embodiments of the present application can predict the predicted trajectory information of targets around the vehicle through information collected by mass-produced corner radars, cameras and other sensors to ensure that the vehicle can safely perform lane change operations. At the same time, the expected driving path of the vehicle generated by path planning can be obtained through various sensors. When there are N drivable lanes, there are N corresponding expected driving paths for the vehicle, thereby improving the feasibility of automatic lane changing of the vehicle.
[0045] For example, Figure 2 As shown, the embodiment of the present application can obtain the predicted trajectory information of the surrounding targets, and can obtain the predicted trajectory of the surrounding environment vehicles and other targets through the camera and the corner radar. For example, the predicted trajectory of the vehicle targets with IDs 1, 3, 7, and 8 in the figure is P 1 ,P 3 ,P 7 ,P 8 , the predicted trajectory can be composed of several discrete position points P(t) at time t, where each position point also includes the speed v(t) at time t.
[0046] For example, Figure 2 As shown, the embodiment of the present application can obtain the expected driving path information of the vehicle. When there are three drivable lanes, there are three corresponding expected driving paths of the vehicle. 1 , L 2 , L 3 , thereby improving the feasibility and reliability of the vehicle's automatic lane changing and enhancing the user's driving experience.
[0047] In step S102, based on the predicted trajectory information of at least one surrounding target, a trajectory projection space is generated according to the position of each surrounding target at different times projected onto the expected driving path of at least one drivable lane of the vehicle.
[0048] It can be understood that the embodiments of the present application can utilize the predicted trajectory information of the surrounding targets to project the positions of each surrounding target at different times t onto the expected driving path of the corresponding drivable lane of the vehicle, and generate a trajectory projection space, thereby improving the intelligence level of the vehicle and effectively meeting the safety requirements of automatic lane changing of the vehicle.
[0049] For example, Figure 3 As shown, the embodiment of the present application can project the predicted trajectory of the surrounding targets. It can project the target predicted trajectory obtained by A1 onto the expected driving path of the corresponding drivable lane of the vehicle, and obtain the trajectory projection space, so as to obtain a three-dimensional trajectory projection bar graph, in which the horizontal axis plane is the target vehicle position at time t, and the vertical axis is the time t axis, which effectively improves the reliability and safety of the vehicle's automatic lane changing.
[0050] In step S103, the decision state transfer matrix is generated using the trajectory projection space, the optimal decision action of the vehicle at any time is searched, and the vehicle is controlled to automatically change lanes according to the optimal decision action.
[0051] It can be understood that the embodiment of the present application can use the trajectory projection space in the following steps to generate a decision state transfer matrix, so that the decision state transfer matrix can be used to search for the optimal decision action of the vehicle at any time, and the vehicle can be controlled to automatically change lanes according to the optimal decision action, thereby improving the accuracy and reliability of the vehicle's automatic lane changing path trajectory, and improving the calculation efficiency, so that the method of automatic lane changing of the vehicle is closer to the intention of human driving.
[0052] Optionally, in one embodiment of the present application, a decision state transfer matrix is generated using the trajectory projection space, including: slicing the trajectory projection space in time according to a preset time interval to generate a plurality of sampling slices; using the plurality of sampling slices to generate a decision state at a corresponding moment, and calculating a corresponding decision state transfer matrix.
[0053] In the actual implementation process, Figure 3 As shown, the embodiment of the present application can slice the space in time according to the trajectory projection space obtained in the above steps according to the time interval Δt (in order to take into account the calculation efficiency, Δt is generally taken as 0.5s or 1s), and generate a number of sampling slices, where t 1 The sampling slice obtained at the moment is the gray part, and the distribution of the target position at this moment can be obtained, so that multiple sampling slices can be used to generate the decision state corresponding to the moment t, and the corresponding decision state transfer matrix in the following steps can be calculated, so as to improve the accuracy of the vehicle's automatic lane changing and improve the user's driving safety.
[0054] Optionally, in one embodiment of the present application, calculating the corresponding decision state transfer matrix includes: calculating the transfer cost of each action based on the decision state at the corresponding moment; and obtaining the decision state transfer matrix of the vehicle corresponding to different initial states according to the transfer cost of each action.
[0055] As a possible way to achieve this, Figure 4 As shown, the embodiment of the present application can obtain the sampling slice at time t through the above steps, for example, with t 1 Taking the sampling slice at time as an example, 7 states can be obtained. When the vehicle is in state A1, the available actions are following the vehicle and changing lanes to the left, and the corresponding state transfers are A1→A1, A1→B1, A1→B2, A1→B3, A1→B4.
[0056] In one embodiment of the present application, the calculation formula of the transfer cost of each action is:
[0057] cost=(safety*w1+efficient*w2+nav*w3+comfort*w4+action)*γ,
[0058] Among them, safety represents the safety factor, efficient represents the traffic efficiency factor, nav represents the navigation factor, comfort represents the comfort factor, action represents changing lanes or staying in the current lane, w1, w2, w3, w4 represent the weights of different factors, and γ represents the time coefficient.
[0059] Among them, safety can be calculated by the distance between the front and rear vehicles in each state, the relative speed and other factors. Efficient is positively correlated with the cumulative driving length in each state. Nav depends on whether the vehicle needs to actively change lanes to get on or off the ramp. Comfort is related to the comfort brought by the state transition, which is obtained by the difference in average vehicle speed before and after the state switching and the driving length of the state transition. Action represents whether to change lanes or stay in the current lane. Different actions have different costs. The weights can be adjusted according to the actual situation. Adjusting these weights can reflect the expectations of human drivers as much as possible. γ is the time coefficient. As time t increases, γ gradually decreases, reflecting that considering the accuracy of the prediction, the weight of future decisions is also gradually decreasing.
[0060] In some embodiments, the present application can obtain t according to the different state transition costs obtained by calculation. 1 At this moment, Table 1 is the decision state transfer matrix of the vehicle corresponding to different initial states. The specific Table 1 is as follows, namely:
[0061] Table 1
[0062]
[0063] Among them, when the corresponding state transition action is lane changing, the cost is no longer calculated for the next 5-7s (calibrated value) sampling slices, because the lane change will last for 5-7s before transferring to the next state.
[0064] Optionally, in one embodiment of the present application, searching for the optimal decision action of the vehicle includes: searching for the optimal decision action sequence using the decision state transfer matrix corresponding to each decision state, and determining the optimal decision action at any moment.
[0065] In the actual implementation process, the embodiment of the present application can regard the cost of the state transfer matrix as the cost value of the path formed by the decision state transfer, and can find a path with the shortest cost value, connecting the initial state of the vehicle to the decision termination time t end Considering the computational efficiency and prediction accuracy, the termination time is usually t end Take 10s-20s and select dynamic programming as the shortest path search algorithm.
[0066] Among them, DP (Dynamic Programming) is a branch of operations research, which is an optimization process for solving decision-making. It can solve the optimal solution of the sub-problems in the main problem and solve the optimal solution of the entire problem through recursive loops.
[0067] For example, define f(ix) tn t n The shortest cost distance from the state node ix at the moment, now to find f(C1) tn For example, then:
[0068] f(C1) tn =min(f(B1) t(n-1) +cost(B1C1),f(B2) t(n-1) +cost(B2C1),...)
[0069] Next, we can use the same method to find f(B1) t(n-1) ,f(B2) t(n-1) ,….
[0070] Therefore, the optimal solution of the recursive definition can be obtained, namely:
[0071] f(ix) tn =min(f(jx) t(n-1) +cost(jxix))
[0072] Among them, ix represents the current state node, jx represents the previous state node, and cost(jxix) represents the cost from the previous state node to the current state node.
[0073] Solve f(ix) from the first node to the last node using a recursive formula tn , we can get the final solution.
[0074] Finally, the decision action for the current moment can be generated based on the obtained optimal decision action sequence, sent to planning and control, and the vehicle can be controlled to change lanes automatically according to the optimal decision action, thereby improving the accuracy and reliability of the vehicle's automatic lane changing path trajectory and improving the computational efficiency, making the vehicle's automatic lane changing method closer to human driving intentions.
[0075] like Figure 5 As shown, the working principle of the embodiment of the present application is described in detail below with a specific embodiment.
[0076] Step S501: Is there an available driving path?
[0077] That is, the embodiment of the present application can determine whether there is an available driving path. When there is an available driving path, step S502 is executed, otherwise, automatic lane change cannot be performed.
[0078] Step S502: target prediction trajectory processing.
[0079] That is, the embodiment of the present application can utilize the various sensors carried by the vehicle to obtain the predicted trajectory information of surrounding vehicles and other targets.
[0080] Step S503: Processing the vehicle's driving path.
[0081] That is, the embodiment of the present application can utilize a variety of sensors carried by the vehicle to obtain the expected driving path of the vehicle generated by path planning.
[0082] Step S504: Target prediction trajectory projection.
[0083] That is, the embodiment of the present application can utilize the acquired predicted trajectory information of surrounding targets and project it onto the corresponding expected driving path of the vehicle according to the positions of the targets at different times, thereby generating a trajectory projection space.
[0084] Step S505: Decision space slicing.
[0085] That is, the embodiment of the present application can slice the space temporally according to the generated trajectory projection space at time intervals to generate a plurality of sampling slices.
[0086] Step S506: Calculate the decision state transition cost.
[0087] That is, the embodiment of the present application can calculate the transfer cost of each action based on the decision state at the corresponding moment.
[0088] Step S507: Generate a decision state transfer matrix.
[0089] That is, the embodiment of the present application can use the generated sampling slices to generate a number of decision states and their decision state transfer matrices at corresponding moments.
[0090] Step S508: Search for the optimal decision action sequence.
[0091] That is, the embodiments of the present application can use the generated decision state transfer matrix to search for the optimal decision action sequence.
[0092] Step S509: Generate current decision action.
[0093] That is, the embodiment of the present application can control the vehicle to automatically change lanes according to the optimal decision action, effectively improving the reliability and safety of the vehicle's automatic lane changing.
[0094] According to the method of automatic lane changing of a vehicle proposed in the embodiment of the present application, the predicted trajectory information of at least one surrounding target can be predicted based on the information collected by various sensors of the vehicle, so as to generate a trajectory projection space according to the position of each surrounding target at different times, project it onto the expected driving path of at least one drivable lane of the vehicle, and then generate a decision state transfer matrix, search out the optimal decision action of the vehicle at any time, and control the automatic lane changing of the vehicle according to the optimal decision action, so as to consider the overall action decision of the vehicle, improve the intelligence level of the vehicle, and more accurately approach the lane changing intention of the human driver. Therefore, the technical problem that the related technology only considers the decision action of the vehicle at the current moment, fails to consider the overall action decision of the vehicle, reduces the intelligence level of the vehicle, fails to accurately approach the lane changing intention of the human driver, and reduces the reliability of the automatic lane changing of the vehicle is solved.
[0095] Next, the automatic lane changing device for a vehicle according to an embodiment of the present application will be described with reference to the accompanying drawings.
[0096] Figure 6 It is a block diagram of a device for automatic lane changing of a vehicle according to an embodiment of the present application.
[0097] like Figure 6 As shown, the vehicle automatic lane changing device 10 includes: a prediction module 100, a generation module 200 and a control module 300.
[0098] Specifically, the prediction module 100 is used to predict the predicted trajectory information of at least one surrounding target based on the information collected by various sensors of the vehicle.
[0099] The generation module 200 is used to generate a trajectory projection space based on the predicted trajectory information of at least one surrounding target and project the position of each surrounding target at different times onto the expected driving path of at least one drivable lane of the vehicle.
[0100] The control module 300 is used to generate a decision state transfer matrix using the trajectory projection space, search for the optimal decision action of the vehicle at any time, and control the vehicle to automatically change lanes according to the optimal decision action.
[0101] Optionally, in one embodiment of the present application, the control module 300 includes: a generating unit and a calculating unit.
[0102] The generating unit is used to slice the trajectory projection space in time according to a preset time interval to generate a plurality of sampling slices.
[0103] The calculation unit is used to generate the decision state at the corresponding moment by using multiple sampling slices and calculate the corresponding decision state transfer matrix.
[0104] Optionally, in one embodiment of the present application, searching for the optimal decision action of the vehicle includes searching for the optimal decision action sequence using the decision state transfer matrix corresponding to each decision state to determine the optimal decision action at any moment.
[0105] Optionally, in one embodiment of the present application, the calculation unit is further used to calculate the transfer cost of each action based on the decision state at the corresponding moment, and obtain the decision state transfer matrix of the vehicle corresponding to different initial states according to the transfer cost of each action.
[0106] Optionally, in one embodiment of the present application, the calculation formula of the transfer cost is:
[0107] cost=(safety*w1+efficient*w2+nav*w3+comfort*w4+action)*γ,
[0108] Among them, safety represents the safety factor, efficient represents the traffic efficiency factor, nav represents the navigation factor, comfort represents the comfort factor, action represents changing lanes or staying in the current lane, w1, w2, w3, w4, represent the weights of different factors, and γ represents the time coefficient.
[0109] It should be noted that the above explanation of the embodiment of the method for automatic lane changing of a vehicle is also applicable to the device for automatic lane changing of a vehicle of this embodiment, and will not be repeated here.
[0110] According to the device for automatic lane changing of a vehicle proposed in the embodiment of the present application, the predicted trajectory information of at least one surrounding target can be predicted based on the information collected by various sensors of the vehicle, so as to generate a trajectory projection space according to the position of each surrounding target at different times and project it onto the expected driving path of at least one drivable lane of the vehicle, and then generate a decision state transfer matrix, search out the optimal decision action of the vehicle at any time, and control the automatic lane changing of the vehicle according to the optimal decision action, so as to consider the overall action decision of the vehicle, improve the intelligence level of the vehicle, and more accurately approach the lane changing intention of the human driver. Therefore, the technical problem that the related technology only considers the decision action of the vehicle at the current moment, fails to consider the overall action decision of the vehicle, reduces the intelligence level of the vehicle, fails to accurately approach the lane changing intention of the human driver, and reduces the reliability of the automatic lane changing of the vehicle is solved.
[0111] Figure 7 A schematic diagram of the structure of a vehicle provided in an embodiment of the present application. The vehicle may include:
[0112] A memory 701 , a processor 702 , and a computer program stored in the memory 701 and executable on the processor 702 .
[0113] When the processor 702 executes the program, the method for automatic lane changing of the vehicle provided in the above embodiment is implemented.
[0114] Furthermore, the vehicle also includes:
[0115] The communication interface 703 is used for communication between the memory 701 and the processor 702 .
[0116] The memory 701 is used to store computer programs that can be executed on the processor 702 .
[0117] The memory 701 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0118] If the memory 701, the processor 702 and the communication interface 703 are implemented independently, the communication interface 703, the memory 701 and the processor 702 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 7 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0119] Optionally, in a specific implementation, if the memory 701, the processor 702 and the communication interface 703 are integrated on a chip, the memory 701, the processor 702 and the communication interface 703 can communicate with each other through an internal interface.
[0120] The processor 702 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.
[0121] This embodiment also provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the above-mentioned method for automatic lane changing of a vehicle is implemented.
[0122] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or N embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0123] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0124] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or N executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.
[0125] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or N wirings (electronic devices), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways as necessary and then storing it in a computer memory.
[0126] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiment, the N steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0127] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.
[0128] In addition, each functional unit in each embodiment of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
[0129] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present application. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. A method for automatic lane changing of a vehicle, characterized in that: The following steps are involved: Predicting trajectory information of at least one surrounding target based on information collected by multiple sensors of the vehicle; Based on the predicted trajectory information of the at least one surrounding target, projecting the positions of each surrounding target at different times onto the expected driving path of at least one drivable lane of the vehicle to generate a trajectory projection space; as well as Generate a decision state transfer matrix using the trajectory projection space, search for the optimal decision action of the vehicle at any time, and control the vehicle to automatically change lanes according to the optimal decision action; The step of generating a decision state transfer matrix by using the trajectory projection space includes: Slicing the trajectory projection space in time according to a preset time interval to generate a plurality of sampling slices; Generate a decision state at a corresponding moment using the plurality of sampling slices, and calculate a corresponding decision state transfer matrix; The decision state transfer matrix corresponding to the calculation includes: Based on the decision state at the corresponding moment, calculating the transfer cost of each action; Obtaining a decision state transfer matrix of the vehicle corresponding to different initial states according to the transfer cost of each action; The calculation formula of the transfer cost is: cost=(safety*w1+efficient*w2+nav*w3+comfort*w4+action)*γ, Among them, safety represents the safety factor, efficient represents the traffic efficiency factor, nav represents the navigation factor, comfort represents the comfort factor, action represents changing lanes or staying in the current lane, w1, w2, w3, w4, represent the weights of different factors, and γ represents the time coefficient.
2. The method according to claim 1, characterized in that The searching for the optimal decision action of the vehicle includes: The optimal decision action sequence is searched using the decision state transfer matrix corresponding to each decision state to determine the optimal decision action at any moment.
3. A vehicle automatic lane changing device, characterized in that: The automatic lane-changing device for a vehicle is used to implement the method according to any one of claims 1 to 2, and the automatic lane-changing device for a vehicle comprises: A prediction module, used to predict the predicted trajectory information of at least one surrounding target based on the information collected by various sensors of the vehicle; A generating module, configured to generate a trajectory projection space based on the predicted trajectory information of the at least one surrounding target and projecting the positions of each surrounding target at different times onto the expected driving path of at least one drivable lane of the vehicle; and The control module is used to generate a decision state transfer matrix using the trajectory projection space, search for the optimal decision action of the vehicle at any time, and control the vehicle to automatically change lanes according to the optimal decision action.
4. The device according to claim 3, characterized in that The control module comprises: A generating unit, configured to slice the trajectory projection space in time according to a preset time interval to generate a plurality of sampling slices; A calculation unit is used to generate a decision state at a corresponding moment using the multiple sampling slices and calculate a corresponding decision state transfer matrix.
5. The device according to claim 4, characterized in that The searching for the optimal decision action of the vehicle includes searching for the optimal decision action sequence using the decision state transfer matrix corresponding to each decision state to determine the optimal decision action at any moment.
6. A vehicle, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the method for automatic lane changing of a vehicle as described in any one of claims 1 to 2.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that: The program is executed by a processor to implement the method for automatic lane changing of a vehicle as described in any one of claims 1-2.
