Method, system, electronic device and medium for generating lane change trajectory of intelligent driving
By obtaining lane centerline information and performing trajectory compensation processing, cubic polynomials are used to generate lane change trajectories, which solves the problem of high computing power requirements for lane change trajectory generation in autonomous driving, and achieves stable and smooth trajectory generation under low computing power. Meet the needs of intelligent driving.
Patent Information
- Application Number
- CN202311869621.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-29
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2043-12-29
AI Technical Summary
Existing autonomous driving lane change trajectory generation methods require high chip computing power, resulting in resource allocation challenges and difficulty in maintaining real-time and continuity of system operation in the overall autonomous driving architecture.
By obtaining the lane centerline information, determining the fitting coefficient, and performing trajectory compensation processing based on the lane change time, road width and vehicle current speed, a cubic polynomial is used to generate the lane change trajectory, achieving lane change trajectory generation under low computing power.
It achieves lane changing trajectory generation under low computing power requirements. The output trajectory is stable and smooth, without large noise, can meet the lane changing requirements of intelligent driving, and can be updated iteratively.
Smart Images

Figure CN117622147B
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of intelligent driving and relates to a trajectory generation method, and in particular to a method, system, electronic device and medium for generating a lane change trajectory for intelligent driving. Background Art
[0002] At present, in the autonomous driving industry, there are many methods for generating lane change trajectories, such as scattering points to construct curves, "fitting quintic polynomials", Lattice, and Bezier curve fitting after scattering points. In addition, the above methods also include some upstream decision-making ideas; the fitted lane change trajectory curve has the characteristics of continuity and stability, which facilitates the stable output of back-end control.
[0003] However, the trajectory calculated by the above algorithm has high requirements for chip computing power, so there are certain challenges in resource allocation in an overall autonomous driving architecture. Because in addition to the trajectory planning module, the perception module and control module also require high computing power to maintain the real-time and continuity of the system operation. Summary of the invention
[0004] The present application provides a method, system, electronic device and medium for generating a lane change trajectory for intelligent driving, which are used to solve the problem of how to generate a lane change trajectory that can be used for autonomous driving in a low-computing-power manner.
[0005] In a first aspect, the present application provides a method for generating an intelligent driving lane change trajectory, the method comprising: obtaining lane centerline information; the lane centerline information comprises coordinate information of each acquisition point of the lane centerline and correlation coefficients of a lane line function expression; determining a fitting coefficient of the lane centerline based on the lane centerline information; performing trajectory compensation processing on the fitting coefficient in combination with lane change time, road width and current vehicle speed to determine a compensated fitting coefficient; and determining a lane change trajectory based on the compensated fitting coefficient.
[0006] In an implementation of the first aspect, the step of obtaining lane centerline information includes at least one of the following steps: obtaining a cubic polynomial pre-fitted based on coordinate information of the lane centerline; obtaining coordinate information of scattered collection points on the lane centerline, and fitting a cubic polynomial based on the coordinate information of the scattered collection points.
[0007] In an implementation of the first aspect, the step of determining the fitting coefficient of the lane centerline based on the lane centerline information includes: determining the fitting coefficient of the lane centerline based on the cubic polynomial, the fitting coefficient including a constant term coefficient, a linear term coefficient, and a quadratic term coefficient.
[0008] In an implementation of the first aspect, the step of performing trajectory compensation processing on the fitting coefficient in combination with the lane changing time, the road width and the current speed of the vehicle to determine the compensated fitting coefficient includes: performing deviation compensation processing on the constant term coefficient in combination with the lane changing time and the road width to determine the first compensation coefficient; performing angle compensation processing on the linear term coefficient in combination with the lane changing time and the current speed of the vehicle to determine the second compensation coefficient; performing curvature compensation processing on the quadratic term coefficient in combination with the second compensation coefficient, the lane changing time and the current speed of the vehicle to determine the third compensation coefficient.
[0009] In an implementation of the first aspect, the step of determining the lane changing trajectory based on the compensation fitting coefficient includes: using the first compensation coefficient as a new constant term coefficient, using the second compensation coefficient as a new first-order term coefficient, and using the third compensation coefficient as a new second-order term coefficient; the expression for determining the lane changing trajectory is: Y=first compensation coefficient+second compensation coefficient*x+third compensation coefficient*x2+third-order term coefficient*x3; wherein Y represents the ordinate of the midpoint of the lane changing trajectory, and x represents the abscissa of the midpoint of the lane changing trajectory.
[0010] In an implementation of the first aspect, after the step of determining the lane change trajectory based on the compensation fitting coefficient, the method further includes: performing trajectory compensation processing on the first compensation coefficient, the second compensation coefficient and the third compensation coefficient in combination with the lane change time, the road width and the current speed of the vehicle to iteratively update the lane change trajectory.
[0011] In an implementation of the first aspect, the method further includes: presetting a correspondence between the vehicle speed and / or road curvature and the lane change time; and calibrating the lane change time based on the vehicle's current speed and / or road curvature in an actual driving scenario.
[0012] In a second aspect, the present application provides a system for generating a lane change trajectory for intelligent driving, the system comprising: a lane information acquisition module, configured to acquire lane centerline information; the lane centerline information comprises coordinate information of each acquisition point of the lane centerline and a correlation coefficient of a lane line function expression; a coefficient determination module, configured to determine a fitting coefficient of the lane centerline according to the lane centerline information; a coefficient compensation module, configured to perform trajectory compensation processing on the fitting coefficient in combination with the lane change time, road width and current speed of the vehicle, and determine the compensated fitting coefficient; a lane change trajectory determination module, configured to determine the lane change trajectory based on the compensated fitting coefficient.
[0013] In a third aspect, the present application provides an electronic device, comprising: a processor and a memory; the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the electronic device performs the described method.
[0014] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, which implements the described method when the computer program is executed by an electronic device.
[0015] As described above, the method, system, electronic device and medium for generating a lane change trajectory for intelligent driving described in the present application have the following beneficial effects:
[0016] This application realizes the generation of lane change trajectory under low computing power project requirements through compensation and iterative update of cubic polynomial coefficients; the algorithm does not contain algorithms with high computing power requirements such as point scattering, matrix operations, quadratic programming, and extreme value solving; the lane change trajectory output by this application is different from previous complex solutions such as cubic spline interpolation or curve splicing, and can be continuously iterated and updated; the lane change trajectory output by the algorithm of this application is stable and smooth, without large noise, and can also meet the needs of intelligent driving lane change. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 Shown is a schematic diagram of an application scenario of the method for generating a lane change trajectory for intelligent driving described in an embodiment of the present application.
[0018] Figure 2 Shown is a principle flow chart of the method for generating the intelligent driving lane change trajectory described in an embodiment of the present application.
[0019] Figure 3 Shown is a coefficient compensation flow chart of the method for generating the intelligent driving lane change trajectory described in an embodiment of the present application.
[0020] Figure 4 Shown is a first compensation coefficient change diagram of the method for generating an intelligent driving lane change trajectory described in an embodiment of the present application.
[0021] Figure 5 Shown is a second compensation coefficient change diagram of the method for generating an intelligent driving lane change trajectory described in an embodiment of the present application.
[0022] Figure 6 Shown is a third compensation coefficient change diagram of the method for generating an intelligent driving lane change trajectory described in an embodiment of the present application.
[0023] Figure 7 Displayed is a vehicle lane change trajectory diagram of the method for generating a smart driving lane change trajectory described in an embodiment of the present application.
[0024] Figure 8Shown is a structural principle diagram of the system for generating the intelligent driving lane change trajectory described in an embodiment of the present application.
[0025] Fig. 9 Shown is a schematic diagram of the structural connection of an electronic device described in an embodiment of the present application.
[0026] Component number description
[0027] 8 Intelligent Driving Lane Change Trajectory Generation System
[0028] 81 Lane information acquisition module
[0029] 82 Coefficient determination module
[0030] 83 Coefficient compensation module
[0031] 84 Lane change trajectory determination module
[0032] Steps S21 to S24
[0033] Steps S231 to S233 DETAILED DESCRIPTION
[0034] The following describes the embodiments of the present application through specific examples, and those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification. The present application can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present application. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.
[0035] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present application, and thus the drawings only show components related to the present application rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed at will, and the component layout may also be more complicated.
[0036] The following embodiments of the present application provide methods, systems, electronic devices, and media for generating intelligent driving lane change trajectories, including but not limited to applications in intelligent driving vehicle lane change scenarios. This application scenario will be described below as an example.
[0037] See also Figure 1 , which is a schematic diagram of an application scenario of the method for generating a lane change trajectory for intelligent driving according to an embodiment of the present application. Figure 1As shown, this embodiment shows a scenario of intelligent driving vehicle changing lanes, where the autonomous driving vehicle is driving in lane L1 and will change lanes from lane L1 to lane L2 across the lane centerline. In this scenario, the method for generating intelligent driving lane change trajectories described in this application is used to generate a lane change trajectory of the vehicle from lane L1 to lane L2.
[0038] The technical solutions in the embodiments of the present application will be described in detail below in conjunction with the drawings in the embodiments of the present application.
[0039] See also Figure 2 , which is a principle flow chart of the method for generating the intelligent driving lane change trajectory described in an embodiment of the present application.
[0040] like Figure 2 As shown, this embodiment provides a method for generating a lane change trajectory for intelligent driving, which specifically includes the following steps:
[0041] S21, obtaining lane centerline information; the lane centerline information includes coordinate information of each acquisition point of the lane centerline and correlation coefficients of lane line function expressions.
[0042] In one embodiment, the step of obtaining lane centerline information includes at least one of the following steps:
[0043] (1) Obtain the lane centerline by pre-fitting the cubic polynomial based on the coordinate information.
[0044] Specifically, if the lane centerline is pre-perceived and processed or the cubic polynomial Y=A is obtained by a data storage party 0 +A 1 *x+A 2 *x 2 +A 3 *x 3 , you can use it directly.
[0045] (2) Obtain coordinate information of scattered collection points on the lane centerline, and fit a cubic polynomial based on the coordinate information of the scattered collection points.
[0046] Specifically, if the coordinate information received is from the scattered sensor collection points on the lane centerline, a cubic polynomial fitting is required: Y = A 0 +A 1 *x+A 2 *x 2 +A 3 *x 3 .
[0047] S22, determining a fitting coefficient of the lane centerline according to the lane centerline information.
[0048] In one embodiment, the step of determining a lane centerline fitting coefficient according to the lane centerline information includes:
[0049] The fitting coefficient of the lane centerline is determined according to the cubic polynomial, and the fitting coefficient includes a constant term coefficient, a linear term coefficient, and a quadratic term coefficient.
[0050] Specifically, for the cubic polynomial Y=A 0 +A 1 *x+A 2 *x 2 +A 3 *x 3 , the determined fitting coefficients include the constant term coefficient A 0 , linear coefficient A 1 , quadratic coefficient A 2 and the cubic coefficient A 3 .
[0051] S23, performing trajectory compensation processing on the fitting coefficient in combination with the lane change time, the road width and the current speed of the vehicle to determine the compensated fitting coefficient.
[0052] See also Figure 3 , which is a coefficient compensation flow chart of the method for generating a lane change trajectory of intelligent driving according to an embodiment of the present application. Figure 3 As shown, step S23 specifically includes:
[0053] S231, performing deviation compensation processing on the constant term coefficient in combination with the lane change time and the road width to determine a first compensation coefficient.
[0054] Specifically, based on the Cartesian coordinate system (centered on the rear axle of the vehicle), the constant term coefficient A of the perception output cubic polynomial is 0 Based on the independent variables such as lane change time Ts and road width Lw, deviation compensation is performed to obtain Lc_A 0 (lane changeA0); the formula is as follows:
[0055]
[0056]
[0057] In actual applications, formula (1) is output at the beginning of lane change, and formula (2) is output when the vehicle crosses the lane line and moves from the lane to the target lane; where Lw is the lane width, Ts is the lane change time (which can be calibrated in actual applications), and Lc_A is the vehicle trajectory during the lane change process. 0 The coefficient changes as Figure 4 As shown, the horizontal axis is time and the vertical axis is the lane change trajectory value.
[0058] S232, performing angle compensation processing on the first-order coefficient in combination with the lane change time and the current speed of the vehicle to determine a second compensation coefficient.
[0059] Specifically, the first-order coefficient A of the cubic polynomial of the perception output 1 Based on the independent variables such as lane change time Ts and vehicle current speed V, angle compensation is performed to obtain a new coefficient Lc_A 1 , the formula is as follows:
[0060]
[0061] Where sign is the sign of the vehicle coordinate system transformation when the vehicle crosses the lane line and drives from the lane to the target lane (positive or negative 1), and Lc_A of the vehicle's driving trajectory during the lane change process 1 The coefficient changes as Figure 5 As shown, the horizontal axis is time and the vertical axis is the lane change trajectory value.
[0062] S233: Perform curvature compensation processing on the quadratic term coefficient in combination with the second compensation coefficient, the lane change time and the current speed of the vehicle to determine a third compensation coefficient.
[0063] Specifically, the coefficient A of the quadratic term of the perceptual output cubic polynomial is 2 Based on the angle compensation Lc_A calculated in step S232 1 The curvature compensation is performed on the independent variables such as the lane change time Ts and the current vehicle speed V to obtain a new coefficient Lc_A 2 ; The formula is as follows:
[0064]
[0065] Where sign is the sign of the vehicle coordinate system transformation when the vehicle crosses the lane line and drives from the lane to the target lane (positive or negative 1); Lc_A of the vehicle's driving trajectory during the lane change process 2 The coefficient changes as Figure 6 As shown, the horizontal axis is time and the vertical axis is the lane change trajectory value.
[0066] S24, determining a lane change trajectory based on the compensation fitting coefficient.
[0067] In one embodiment, step S24 specifically includes:
[0068] (1) The first compensation coefficient is used as a new constant term coefficient, the second compensation coefficient is used as a new first-order term coefficient, and the third compensation coefficient is used as a new second-order term coefficient.
[0069] (2) The expression for determining the lane changing trajectory is: Y=first compensation coefficient+second compensation coefficient*x+third compensation coefficient*x2+third term coefficient*x3; wherein Y represents the ordinate of the midpoint of the lane changing trajectory, and x represents the abscissa of the midpoint of the lane changing trajectory.
[0070] Specifically, according to the above steps, the relevant new coefficient Lc_A is obtained 0 , Lc_A 1 , Lc_A 2 Input it into the original cubic equation and the resulting equation is Y=Lc_A 0 +Lc_A 1 *x+Lc_A 2 *x 2 +A 3 *x 3 .
[0071] In one embodiment, after the step of determining the lane change trajectory based on the compensation fitting coefficient, the method further includes:
[0072] In combination with the lane change time, the road width and the current speed of the vehicle, trajectory compensation processing is performed on the first compensation coefficient, the second compensation coefficient and the third compensation coefficient to iteratively update the lane change trajectory.
[0073] Specifically, repeat steps S23 and S24 to iterate the data in the continuous time, and the lane change trajectory of the vehicle during the lane change process changes as follows: Figure 7 As shown, the horizontal axis is time and the vertical axis is the lane change trajectory value.
[0074] In practical applications, the lane line function expression of the lane change trajectory generation method of the present application takes the cubic spline curve as an example, and can also be derived into an N-order curve, and the lane change trajectory can be obtained using the lane change trajectory generation method of the present application; and, the coefficient compensation method of the N-order curve can also be different; it is possible to compensate N-1 or Nn.
[0075] In one embodiment, the method further comprises:
[0076] The corresponding relationship between the vehicle speed and / or the road curvature and the lane changing time is preset; and the lane changing time is calibrated in combination with the current speed of the vehicle and / or the road curvature in an actual driving scenario.
[0077] Specifically, for example, based on the vehicle speed, if the vehicle speed is 50km / h, the lane change time is set to 7s, and if the vehicle speed is 80km / h, the lane change time is set to 5s; similarly, based on the lane change condition, if the road curvature is smaller, the lane change time is set to be slightly shorter, and if the road curvature is larger, the lane change time can be set to be slightly longer. The specific scenario is subject to the actual situation; if the lane is changed under the condition scenario with a larger road curvature, such as a curved ramp with a curvature radius of 50m, considering safety factors, it is not recommended to change lanes at this time, so no lane change time calibration is performed. In actual applications, the correspondence between the vehicle speed and / or road curvature and the lane change time can be found by a one-dimensional table lookup or a two-dimensional table lookup to find the calibration value of the corresponding lane change time in the actual driving scenario.
[0078] The protection scope of the method for generating a lane change trajectory for intelligent driving described in the embodiment of the present application is not limited to the execution order of the steps listed in the present embodiment. All solutions implemented by adding, reducing or replacing steps in the prior art based on the principles of the present application are included in the protection scope of the present application.
[0079] An embodiment of the present application also provides a system for generating a smart driving lane change trajectory. The system for generating a smart driving lane change trajectory can implement the method for generating a smart driving lane change trajectory described in the present application. However, the implementation device of the method for generating a smart driving lane change trajectory described in the present application includes but is not limited to the structure of the system for generating a smart driving lane change trajectory listed in the present embodiment. All structural deformations and replacements of the prior art made according to the principles of the present application are included in the protection scope of the present application.
[0080] See also Figure 8 , which is a schematic diagram of the structure of the system for generating the lane change trajectory of the intelligent driving described in the embodiment of the present application. Figure 8 As shown, this embodiment provides a system 8 for generating a lane change trajectory for intelligent driving, which specifically includes: a lane information acquisition module 81, a coefficient determination module 82, a coefficient compensation module 83 and a lane change trajectory determination module 84.
[0081] The lane information acquisition module 81 is configured to acquire lane centerline information; the lane centerline information includes coordinate information of each acquisition point of the lane centerline and a correlation coefficient of a lane line function expression.
[0082] In one embodiment, the lane information acquisition module 81 is specifically configured to obtain a cubic polynomial pre-fitted based on the coordinate information of the lane centerline; or obtain the coordinate information of scattered collection points on the lane centerline, and fit a cubic polynomial based on the coordinate information of the scattered collection points.
[0083] The coefficient determination module 82 is configured to determine the fitting coefficient of the lane centerline according to the lane centerline information.
[0084] In one embodiment, the coefficient determination module 82 is specifically configured to determine the fitting coefficient of the lane centerline according to the cubic polynomial, and the fitting coefficient includes a constant term coefficient, a linear term coefficient, and a quadratic term coefficient.
[0085] The coefficient compensation module 83 is configured to perform trajectory compensation processing on the fitting coefficient in combination with the lane change time, the road width and the current speed of the vehicle to determine the compensated fitting coefficient.
[0086] In one embodiment, the coefficient compensation module 83 is specifically configured to perform deviation compensation processing on the constant term coefficient in combination with the lane change time and the road width to determine a first compensation coefficient; perform angle compensation processing on the linear term coefficient in combination with the lane change time and the current speed of the vehicle to determine a second compensation coefficient; perform curvature compensation processing on the quadratic term coefficient in combination with the second compensation coefficient, the lane change time and the current speed of the vehicle to determine a third compensation coefficient.
[0087] The lane change trajectory determination module 84 is configured to determine a lane change trajectory based on the compensated fitting coefficient.
[0088] In one embodiment, the lane changing trajectory determination module 84 is specifically configured to use the first compensation coefficient as a new constant term coefficient, the second compensation coefficient as a new first-order term coefficient, and the third compensation coefficient as a new second-order term coefficient; the expression for determining the lane changing trajectory is: Y=first compensation coefficient+second compensation coefficient*x+third compensation coefficient*x2+third-order term coefficient*x3; wherein Y represents the ordinate of the midpoint of the lane changing trajectory, and x represents the abscissa of the midpoint of the lane changing trajectory.
[0089] In one embodiment, the system further includes: an iterative update module, configured to perform trajectory compensation processing on the first compensation coefficient, the second compensation coefficient and the third compensation coefficient in combination with the lane change time, the road width and the current speed of the vehicle, so as to iteratively update the lane change trajectory.
[0090] In one embodiment, the system further includes: a lane change time calibration module, which is configured to pre-set the correspondence between the vehicle speed and / or road curvature and the lane change time; and calibrate the lane change time in combination with the vehicle's current speed and / or road curvature in an actual driving scenario.
[0091] In the several embodiments provided in the present application, it should be understood that the disclosed system or method can be implemented in other ways. For example, the system embodiments described above are only schematic. For example, the division of modules / units is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or units can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or modules or units, which can be electrical, mechanical or other forms.
[0092] The modules / units described as separate components may or may not be physically separated, and the components displayed as modules / units may or may not be physical modules, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules / units may be selected according to actual needs to achieve the purpose of the embodiments of the present application. For example, the functional modules / units in the various embodiments of the present application may be integrated into one processing module, or each module / unit may exist physically separately, or two or more modules / units may be integrated into one module / unit.
[0093] Those of ordinary skill in the art should further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0094] The present application provides an electronic device, which includes: a processor and a memory; the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the electronic device executes the method described.
[0095] See also Fig. 9 , which is a schematic diagram showing the structural connection of the electronic device described in the embodiment of the present application. Fig. 9As shown, the electronic device 9 of the present application includes: a processor 91, a memory 92, a communication interface 93 and / or a system bus 94. The memory 92 and the communication interface 93 are connected to the processor 91 through the system bus 94 and communicate with each other. The memory 92 is used to store computer programs, the communication interface 93 is used to communicate with other devices, and the processor 91 is used to run the computer program so that the electronic device 9 executes each step of the method for generating the intelligent driving lane change trajectory.
[0096] The above-mentioned processor 91 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
[0097] The memory 92 may include a random access memory (RAM), and may also include a non-volatile memory, such as at least one disk memory.
[0098] The system bus 94 mentioned above can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The system bus 94 can be divided into an address bus, a data bus, a control bus, etc. The communication interface is used to realize the communication between the database access device and other devices (such as a client, a read-write library, and a read-only library).
[0099] The embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by an electronic device, the method described above is implemented.
[0100] A person of ordinary skill in the art can understand that all or part of the steps in the method for implementing the above-mentioned embodiment can be completed by instructing a processor through a program, and the program can be stored in a computer-readable storage medium, and the storage medium is a non-transitory medium, such as a random access memory, a read-only memory, a flash memory, a hard disk, a solid-state hard disk, a magnetic tape, a floppy disk, an optical disc, and any combination thereof. The above-mentioned storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or a data center that includes one or more available media. The available medium can be a magnetic medium (for example, a floppy disk, a hard disk, a tape), an optical medium (for example, a digital video disc (DVD)), or a semiconductor medium (for example, a solid-state disk (SSD)), etc.
[0101] The descriptions of the processes or structures corresponding to the above-mentioned figures have different emphases. For parts that are not described in detail in a certain process or structure, please refer to the relevant descriptions of other processes or structures.
[0102] The above embodiments are merely illustrative of the principles and effects of the present application and are not intended to limit the present application. Anyone familiar with the technology may modify or change the above embodiments without violating the spirit and scope of the present application. Therefore, all equivalent modifications or changes made by a person of ordinary skill in the art without departing from the spirit and technical ideas disclosed in the present application shall still be covered by the claims of the present application.
Claims
1. A method for generating a lane change trajectory for intelligent driving, characterized in that: The method comprises: Acquire lane centerline information; the lane centerline information includes coordinate information of each collection point on the lane centerline and a correlation coefficient of a lane line function expression; and comprises at least one of the following steps: acquire a cubic polynomial pre-fitted based on the coordinate information of the lane centerline; acquire coordinate information of dispersed collection points on the lane centerline, and fit a cubic polynomial based on the coordinate information of the dispersed collection points; Determining a fitting coefficient of the lane centerline according to the lane centerline information; including: determining a fitting coefficient of the lane centerline according to the cubic polynomial, the fitting coefficient including a constant term coefficient, a linear term coefficient and a quadratic term coefficient; In combination with the lane change time, the road width and the current speed of the vehicle, the fitting coefficient is subjected to trajectory compensation processing to determine the compensation fitting coefficient; including: in combination with the lane change time and the road width, the constant term coefficient is subjected to deviation compensation processing to determine the first compensation coefficient; in combination with the lane change time and the current speed of the vehicle, the first-order term coefficient is subjected to angle compensation processing to determine the second compensation coefficient; in combination with the second compensation coefficient, the lane change time and the current speed of the vehicle, the second-order term coefficient is subjected to curvature compensation processing to determine the third compensation coefficient; A lane change trajectory is determined based on the compensation fitting coefficient.
2. The method according to claim 1, characterized in that: The step of determining the lane change trajectory based on the compensation fitting coefficient comprises: Using the first compensation coefficient as a new constant term coefficient, using the second compensation coefficient as a new first-order term coefficient, and using the third compensation coefficient as a new second-order term coefficient; The expression for determining the lane change trajectory is: Y = first compensation coefficient + second compensation coefficient * x + third compensation coefficient * x 2 + cubic coefficient*x 3 ; Wherein, Y represents the ordinate of the midpoint of the lane changing trajectory, and x represents the abscissa of the midpoint of the lane changing trajectory.
3. The method according to claim 2, characterized in that After the step of determining the lane change trajectory based on the compensation fitting coefficient, the method further includes: In combination with the lane change time, the road width and the current speed of the vehicle, trajectory compensation processing is performed on the first compensation coefficient, the second compensation coefficient and the third compensation coefficient to iteratively update the lane change trajectory.
4. The method according to claim 1, characterized in that: The method further comprises: Presetting a corresponding relationship between a vehicle speed and / or a road curvature and the lane change time; The lane change time is calibrated in combination with the current speed of the vehicle and / or the road curvature in an actual driving scenario.
5. A system for generating lane change trajectories for intelligent driving, characterized in that: The system comprises: The lane information acquisition module is configured to acquire lane centerline information; the lane centerline information includes coordinate information of each acquisition point on the lane centerline and a correlation coefficient of a lane line function expression; and includes at least one of the following: acquiring a cubic polynomial pre-fitted based on the coordinate information of the lane centerline; acquiring coordinate information of dispersed acquisition points on the lane centerline, and fitting a cubic polynomial based on the coordinate information of the dispersed acquisition points; A coefficient determination module is configured to determine a fitting coefficient of a lane centerline according to the lane centerline information; comprising: determining a fitting coefficient of a lane centerline according to the cubic polynomial, wherein the fitting coefficient comprises a constant term coefficient, a linear term coefficient and a quadratic term coefficient; The coefficient compensation module is configured to perform trajectory compensation processing on the fitting coefficient in combination with the lane change time, the road width and the current speed of the vehicle to determine the compensation fitting coefficient; including: performing deviation compensation processing on the constant term coefficient in combination with the lane change time and the road width to determine the first compensation coefficient; performing angle compensation processing on the first-order term coefficient in combination with the lane change time and the current speed of the vehicle to determine the second compensation coefficient; performing curvature compensation processing on the second-order term coefficient in combination with the second compensation coefficient, the lane change time and the current speed of the vehicle to determine the third compensation coefficient; The lane change trajectory determination module is configured to determine the lane change trajectory based on the compensation fitting coefficient.
6. An electronic device, characterized in that: The electronic device comprises: a processor and a memory; The memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the electronic device executes the method according to any one of claims 1 to 4.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by an electronic device, the method according to any one of claims 1 to 4 is implemented.
