Lateral control method, device, vehicle and storage medium for autonomous driving vehicle
By obtaining the actual speed and lane line information of the autonomous vehicle, calculating the preview distance and curvature, and controlling the vehicle's lateral action combined with the yaw rate, the problem of insufficient lateral control stability in the existing technology is solved and the vehicle's driving stability is improved. Security and computing power compatibility.
Patent Information
- Application Number
- CN202210969583.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-12
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2042-08-12
AI Technical Summary
Existing autonomous vehicles require a large amount of real data to support when establishing a preview point selection model, which takes a long time and consumes a lot of computing power, resulting in insufficient lateral control stability of the vehicle and difficulty in adapting to complex road conditions.
By obtaining the actual speed and lane line information of the autonomous vehicle, determine the preview time and minimum preview distance, calculate the preview distance and curvature, calculate the steering angle based on the actual yaw rate, and control the vehicle to perform lateral actions, using interpolation and filtering The processing generates the final desired corner and outputs it to the CAN network.
It realizes lateral control based on vehicle speed and road conditions, improves the lateral motion stability and driving safety of autonomous vehicles, reduces the demand for computing power, and enhances the system's versatility and responsiveness.
Smart Images

Figure CN115366876B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of autonomous driving technology, and in particular to a lateral control method, device, vehicle and storage medium for an autonomous driving vehicle. Background Art
[0002] The automotive industry is developing rapidly, and intelligent driving functions are becoming more mature. The mainstream driver model control method in the field of autonomous driving is to calculate a desired vehicle trajectory, and then output the angle through the control module to follow the desired trajectory. A qualified driver model needs to ensure that the error between the actual trajectory and the desired trajectory is less than the value allowed for safe driving.
[0003] When the calculated expected trajectory is reasonable, the smaller the error and the greater the stability of the car following the expected trajectory, the better the selected control system. Therefore, the selection of preview points is of great significance for following the expected trajectory. Generally speaking, experienced drivers will increase the preview distance when the car is driving straight, and shorten the preview distance when the car passes through a curve or in complex conditions, because the closer the preview is, the faster the driver can react, but the stability of the car body will be reduced accordingly, while the farther the preview is, the smoother the driver's reaction is and the more stable the car body is. Therefore, for the driver model automatic control system, if the preview point is selected relatively close, the car will frequently respond to the nearby parameters and the car body will shake. If the preview point is selected relatively far, the car cannot respond to the change of parameters immediately, and the following effect is poor.
[0004] In related technologies, the output of preview points can be achieved by adopting mixed Gaussian models and hidden Markov models. However, the training of the model requires high computing power and a large amount of real data. In particular, the more road conditions there are, the longer the machine learning will take. Once a road condition not covered in the model appears, it is very easy for the output preview points to be difficult to adapt to the current road conditions, thereby causing traffic accidents. This needs to be improved. Summary of the invention
[0005] The present application provides a lateral control method, device, vehicle and storage medium for an autonomous driving vehicle to solve the technical problem in the related art that in order to ensure the stability of the lateral control of the vehicle, a large amount of real data support is required when establishing a preview point selection model, which is time-consuming and requires a large amount of computing power.
[0006] A first aspect of the present application provides a lateral control method for an autonomous driving vehicle, comprising the following steps: obtaining the actual vehicle speed of the autonomous driving vehicle and the lane line information of the current driving lane; determining a preview time and a minimum preview distance based on the actual vehicle speed and the lane line information, and calculating the preview distance and the curvature at the preview point based on the preview time and the minimum preview distance; and calculating the steering angle of the autonomous driving vehicle based on the curvature and a preset coefficient, calculating an expected turning angle in combination with the actual yaw angular rate, and controlling the autonomous driving vehicle to perform lateral actions based on the expected turning angle.
[0007] According to the above-mentioned technical means, the embodiments of the present application can acquire the preview point based on the actual speed of the autonomous driving vehicle and the current lane line information, thereby realizing the lateral control of the autonomous driving vehicle. It can take into account both the vehicle speed and the road conditions, has wide versatility, and good compatibility with computing power. It can effectively improve the stability of the lateral movement of the autonomous driving vehicle, thereby improving the driving safety of the autonomous driving vehicle.
[0008] Optionally, in one embodiment of the present application, after calculating the expected turning angle in combination with the actual yaw angular rate, it also includes: interpolating and filtering the expected turning angle to obtain a processed expected turning angle; using a preset functional safety limitation strategy to generate a final expected turning angle based on the processed expected turning angle, and outputting it to the vehicle CAN (Controller Area Network) network.
[0009] According to the above-mentioned technical means, the embodiment of the present application can process the expected turning angle, thereby ensuring that the output result can effectively control the lateral movement of the autonomous driving vehicle and ensure the lateral control stability of the autonomous driving vehicle.
[0010] Optionally, in one embodiment of the present application, the calculation formula of the expected rotation angle is:
[0011] ,
[0012] in, is the desired turning angle, is the curvature of the desired trajectory at the preview point, K is the stability factor determined according to the vehicle speed, v is the vehicle speed, i is the steering gear ratio of the vehicle, L is the wheelbase of the vehicle, is the median deviation value of the steering wheel angle, is the feedback value calculated based on the vehicle's yaw rate.
[0013] According to the above-mentioned technical means, the embodiments of the present application can realize the calculation of the expected turning angle based on the parameters, current state, expected trajectory and other parameters of the autonomous driving vehicle.
[0014] Optionally, in one embodiment of the present application, determining the preview time and the minimum preview distance based on the actual vehicle speed and the lane line information includes: detecting the actual curve state of the autonomous driving vehicle based on the lane line information; matching the corresponding weights based on the actual curve state, and calculating the preview point curvature and the upper cycle curvature of the target trajectory and the weighted curvature of the weights.
[0015] According to the above-mentioned technical means, the embodiment of the present application can perform corresponding parameter corrections for curves, thereby ensuring the stability of the autonomous driving vehicle when driving on curves.
[0016] Optionally, in one embodiment of the present application, determining the preview time and the minimum preview distance based on the actual vehicle speed and the lane line further includes: querying a preset relationship table based on the preview point curvature of the target trajectory, the upper cycle curvature and the weighted curvature of the weight to obtain the preview time and the minimum preview distance.
[0017] According to the above technical means, the embodiment of the present application can obtain the preview time and the minimum preview distance based on the preset relationship table, thereby facilitating the determination of the preview point.
[0018] A second aspect of the present application provides a lateral control device for an autonomous driving vehicle, comprising: an acquisition module for acquiring the actual vehicle speed of the autonomous driving vehicle and lane line information of the current driving lane; a calculation module for determining a preview time and a minimum preview distance based on the actual vehicle speed and the lane line information, and calculating the preview distance and the curvature at the preview point based on the preview time and the minimum preview distance; and a control module for calculating the steering angle of the autonomous driving vehicle based on the curvature and a preset coefficient, and calculating the expected turning angle in combination with the actual yaw angular rate, and controlling the autonomous driving vehicle to perform lateral actions according to the expected turning angle.
[0019] Optionally, in one embodiment of the present application, it also includes: a processing module for interpolating and filtering the expected turning angle to obtain a processed expected turning angle; a generation module for generating a final expected turning angle based on the processed expected turning angle using a preset functional safety limitation strategy, and outputting it to the vehicle CAN network.
[0020] Optionally, in one embodiment of the present application, the calculation formula of the expected rotation angle is:
[0021] ,
[0022] in, is the desired turning angle, is the curvature of the desired trajectory at the preview point, K is the stability factor determined according to the vehicle speed, v is the vehicle speed, i is the steering gear ratio of the vehicle, L is the wheelbase of the vehicle, is the median deviation value of the steering wheel angle, is the feedback value calculated based on the vehicle's yaw rate.
[0023] Optionally, in one embodiment of the present application, the calculation module includes: a detection unit, used to detect the actual curve state of the autonomous driving vehicle according to the lane line information; a calculation unit, used to match the corresponding weights based on the actual curve state, and calculate the preview point curvature and the upper cycle curvature of the target trajectory and the weighted curvature of the weights.
[0024] Optionally, in one embodiment of the present application, the calculation module further includes: a query unit, configured to query a preset relationship table according to the preview point curvature and the previous cycle curvature of the target trajectory and the weighted curvature of the weight to obtain the preview time and the minimum preview distance.
[0025] The 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 lateral control method of the autonomous driving vehicle as described in the above embodiment.
[0026] The fourth aspect embodiment of the present application provides a computer-readable storage medium, which stores a computer program, and when the program is executed by a processor, it implements the above-mentioned lateral control method of the autonomous driving vehicle.
[0027] Beneficial effects of the embodiments of the present application:
[0028] (1) The embodiment of the present application can output the preview point based on the vehicle speed and lane line information, taking into account both the vehicle speed and the road condition, has high versatility, and good compatibility with computing power, thereby ensuring the stability of the lateral movement of the autonomous driving vehicle;
[0029] (2) The embodiments of the present application can perform data processing and correction on curves, thereby ensuring the stability of the lateral movement of the autonomous driving vehicle on curves, thereby improving the driving safety of the autonomous driving vehicle.
[0030] 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
[0031] 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:
[0032] Figure 1 A flowchart of a lateral control method for an autonomous driving vehicle provided according to an embodiment of the present application;
[0033] Figure 2 A schematic diagram of the principle of a lateral control method for an autonomous driving vehicle according to an embodiment of the present application;
[0034] Figure 3 is a flow chart of a lateral control method for an autonomous driving vehicle according to an embodiment of the present application;
[0035] Figure 4 A schematic diagram of the structure of a lateral control device for an autonomous driving vehicle provided according to an embodiment of the present application;
[0036] Figure 5 It is a schematic diagram of the structure of a vehicle provided according to an embodiment of the present application.
[0037] Among them, 10 is a lateral control device of an autonomous driving vehicle; 100 is an acquisition module, 200 is a calculation module, and 300 is a control module. DETAILED DESCRIPTION
[0038] 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.
[0039] The following describes the lateral control method, device, vehicle and storage medium of the automatic driving vehicle of the embodiment of the present application with reference to the accompanying drawings. In view of the technical problem that in the related technology mentioned in the background technology center, in order to ensure the stability of the lateral control of the vehicle, a large amount of real data support is required when establishing the preview point selection model, which is time-consuming and consumes a lot of computing power, the present application provides a lateral control method of an automatic driving vehicle, in which the embodiment of the present application can determine the preview time and the minimum preview distance based on the actual speed of the automatic driving vehicle and the lane line information of the current driving lane, and then calculate the preview distance and the curvature at the preview point, obtain the steering angle of the automatic driving vehicle, and calculate the expected turning angle in combination with the actual yaw rate, control the automatic driving vehicle to perform lateral action, can take into account the vehicle speed and road conditions, has high versatility, and has good compatibility with computing power, thereby ensuring the stability of the lateral action of the automatic driving vehicle, ensuring the driving safety of the automatic driving vehicle, and thus improving the driving experience of the user. As a result, the technical problem that in the related technology, in order to ensure the stability of the lateral control of the vehicle, a large amount of real data support is required when establishing the preview point selection model, which is time-consuming and consumes a lot of computing power is solved.
[0040] Specifically, Figure 1 A schematic flow chart of a lateral control method for an autonomous driving vehicle provided in an embodiment of the present application.
[0041] like Figure 1 As shown, the lateral control method of the autonomous driving vehicle includes the following steps:
[0042] In step S101, the actual speed of the autonomous driving vehicle and the lane line information of the current driving lane are obtained.
[0043] During the actual implementation process, the embodiments of the present application can obtain lane line information, vehicle speed, yaw rate, steering wheel angle median deviation, global coordinates and heading of the vehicle, etc., wherein the lane line information may include the curvature, lateral deviation, yaw rate, heading and other information of the desired trajectory, which may be the target trajectory expected to be followed. This trajectory needs to be converted into the vehicle coordinate system, that is, the front of the vehicle can be the positive direction of the x-axis, and the left side can be the positive direction of the y-axis.
[0044] In step S102, the preview time and the minimum preview distance are determined according to the actual vehicle speed and the lane line information, and the preview distance and the curvature at the preview point are calculated according to the preview time and the minimum preview distance.
[0045] As a possible implementation method, the embodiment of the present application can determine the preview time and the minimum preview distance based on the actual vehicle speed information and lane line information, and then adjust the sampling frequency according to the vehicle speed signal, and then calculate the preview distance and the curvature at the preview point.
[0046] Optionally, in one embodiment of the present application, the preview time and the minimum preview distance are determined according to the actual vehicle speed and lane line information, including: detecting the actual curve state of the autonomous driving vehicle according to the lane line information; matching the corresponding weights based on the actual curve state, and calculating the preview point curvature of the target trajectory and the weighted curvature of the upper cycle curvature and weight.
[0047] It is understandable that the technical means of driver model control of autonomous driving can be to calculate a desired vehicle trajectory, and by following the desired trajectory, make the error between the actual trajectory and the desired trajectory smaller than the value allowed for safe driving.
[0048] In some embodiments, based on the curvature information in the lane line information, it is possible to detect whether the preview point of the target trajectory of the autonomous driving vehicle is within the curve, and then match the corresponding weight according to the actual curve state, calculate the preview point curvature of the target trajectory and the weighted curvature of the previous cycle curvature and weight, so as to obtain the preview time and minimum preview distance of the target trajectory in the curve state.
[0049] Optionally, in one embodiment of the present application, the preview time and the minimum preview distance are determined according to the actual vehicle speed and lane line information, and the method further includes: querying a preset relationship table according to the preview point curvature of the target trajectory and the weighted curvature of the previous cycle and the weight to obtain the preview time and the minimum preview distance.
[0050] Specifically, the embodiment of the present application can obtain the preview point curvature and the upper cycle curvature and the weighted curvature of the target trajectory based on querying the preset relationship table, and then obtain the preview time and the minimum preview distance, wherein the preview distance can be greater than or equal to the minimum preview distance and less than the maximum preview distance.
[0051] It should be noted that the preset relationship table can be queried through big data or set accordingly by those skilled in the art according to actual conditions, and no specific limitation is made here.
[0052] In step S103, the steering angle of the autonomous driving vehicle is calculated based on the curvature and the preset coefficient, and the expected turning angle is calculated in combination with the actual yaw angular rate, and the autonomous driving vehicle is controlled to perform lateral actions according to the expected turning angle.
[0053] During the actual implementation process, the embodiment of the present application can obtain the steering angle based on the preview curvature multiplied by the coefficient, and add the feedback angle calculated according to the yaw angular rate to obtain the expected turning angle, and then control the autonomous driving vehicle to perform lateral movements according to the expected turning angle. It can take into account both vehicle speed and road conditions, has high versatility, and good compatibility with computing power, thereby ensuring the stability of the lateral movement of the autonomous driving vehicle, ensuring the driving safety of the autonomous driving vehicle, and thus improving the user's driving experience.
[0054] Optionally, in one embodiment of the present application, after calculating the expected turning angle in combination with the actual yaw angular rate, it also includes: interpolating and filtering the expected turning angle to obtain a processed expected turning angle; using a preset functional safety limitation strategy to generate a final expected turning angle based on the processed expected turning angle, and outputting it to the vehicle CAN network.
[0055] As a possible implementation method, the embodiment of the present application can interpolate and filter the expected turning angle, and use a preset functional safety limitation strategy to perform functional safety limitations on the angle and speed to generate the final expected turning angle, and finally output it to the CAN bus, thereby ensuring that the output result can effectively control the lateral movement of the autonomous driving vehicle and ensure the lateral control stability of the autonomous driving vehicle.
[0056] Optionally, in one embodiment of the present application, the calculation formula of the expected rotation angle is:
[0057] ,
[0058] in, is the desired turning angle, is the curvature of the desired trajectory at the preview point, K is the stability factor determined according to the vehicle speed, v is the vehicle speed, i is the steering gear ratio of the vehicle, L is the wheelbase of the vehicle, is the median deviation value of the steering wheel angle, is the feedback value calculated based on the vehicle's yaw rate.
[0059] It can be understood that the trajectory of the vehicle from the current position to the preview point in uniform circular motion can be called the expected trajectory. The time it takes for the vehicle to reach the preview point is very short. The process of this motion can be simplified and decomposed into uniform motion in the X-axis direction, initial velocity 0 in the Y-axis direction, and acceleration Uniformly accelerated motion.
[0060] Further according to:
[0061] ,
[0062] ,
[0063] Find:
[0064] ,
[0065] Based on:
[0066] ,
[0067] ,
[0068] We can find:
[0069] ,
[0070] in, For the preview point and the front of the autonomous driving vehicle d Where y Direction deviation value, d is the preview distance, v For vehicles x Speed in direction, ay is the lateral acceleration of the autonomous vehicle, R is the radius of the desired trajectory, is the curvature of the desired trajectory, where the curvature of the desired trajectory and the curvature at the preview point are considered equal.
[0071] Then according to the formula:
[0072] ,
[0073] It can be calculated , that is, the steering wheel angle that the vehicle needs to turn to reach the preview point.
[0074] in, is the feedforward angle, is the curvature of the desired trajectory at the preview point, K is the stability factor determined according to the vehicle speed, v is the vehicle speed, i is the steering gear ratio of the autonomous vehicle, L is the wheelbase of the autonomous vehicle.
[0075] In addition, as the autonomous vehicle runs, there is a deviation in the center position of the steering gear, which needs to be compensated by an angle, namely During the vehicle movement, the feedback angle needs to be calculated according to the yaw rate ω Therefore, the expected steering wheel angle required for the autonomous driving vehicle to reach the preview point from the starting point can be:
[0076] .
[0077] Combination Figure 2 and Figure 3 As shown, a lateral control method for an autonomous driving vehicle according to an embodiment of the present application is described in detail using an embodiment.
[0078] like Figure 2 As shown, 1 is the point corresponding to the target trajectory at the preview distance d, that is, the preview point, 2 is the target trajectory, and 3 is the preview distance d, 4 is the expected trajectory, 5 is the autonomous driving vehicle, 6 is the preview point and the front of the autonomous driving vehicle d Where y Direction deviation value.
[0079] In the actual implementation process, the embodiment of the present application can obtain lane line information, vehicle speed, yaw rate, steering wheel angle median deviation, global coordinates and heading of the autonomous driving vehicle, and convert the lane line to the autonomous driving vehicle coordinate system. The center of the rear axle of the autonomous driving vehicle is the origin, the front is the positive direction of the X axis, and the left is the positive direction of the Y axis. The equation of the target trajectory is:
[0080] .
[0081] Furthermore, the embodiment of the present application can determine the preview time and the minimum preview distance according to the lane line information and the vehicle speed information, and determine the preview distance according to the preview time and the vehicle speed. d .
[0082] The method for confirming the curvature of the preview point can be as follows: Figure 3 As shown:
[0083] S301: The embodiment of the present application can obtain information such as lane lines, vehicle speed, and maximum preview distance.
[0084] S302: In the embodiment of the present application, the curvature of the preview point of the target trajectory and the curvature of the current point can be calculated according to the lane line, and it can be determined whether the vehicle is in a state of entering or exiting a curve when entering the preview point.
[0085] S303 and S304: The embodiment of the present application can calculate the weighted curvature at the preview point of the target trajectory. For example, when the vehicle enters a curve, the curvature weight of the preview point in this cycle can be 0.2, and the curvature weight of the previous cycle is 0.8. When the vehicle exits the curve, the curvature weight of the preview point in this cycle is 0.05, and the curvature weight of the previous cycle is 0.95.
[0086] S305: In the embodiment of the present application, the preview time T and the minimum preview distance Mindis can be obtained by looking up a table according to the calculated weighted curvature of the preview point of the target trajectory.
[0087] S306: The present embodiment can calculate the preview distance d1=V*T+ConstMindis , where ConstMindis can be set to 10-15m.
[0088] S307: The present embodiment can calculate the preview distance d2 ,in, d2 It is the larger value of V*T and Mindis.
[0089] S308: This embodiment of the application may choose d1 , d2The minimum value in Maxdis is used as the preview distance d , where the value of Maxdis can be 100m to prevent the preview distance from being too large and causing calculation errors. At low speeds, the preview distance is usually equal to d1 The role of ConstMindis is to ensure that the preview point is in front of the front of the autonomous driving vehicle. When the autonomous driving vehicle is about to enter a curve with a large curvature, the preview distance is usually equal to the minimum preview distance Mindis according to the curvature table. A short preview distance can allow the autonomous driving to have a better passing effect on the curve with a large curvature.
[0090] S309: The embodiment of the present application can be based on the preview distance d Calculate the expected preview curvature .
[0091] Since the time it takes for the vehicle to reach the preview point is very short, the motion process can be simplified and decomposed into uniform motion in the X-axis direction, initial velocity of 0 in the Y-axis direction, and acceleration of Uniformly accelerated motion.
[0092] Further according to:
[0093] ,
[0094] ,
[0095] Find:
[0096] ,
[0097] Based on:
[0098] ,
[0099] ,
[0100] We can find:
[0101] ,
[0102] in, For the preview point and the front of the autonomous driving vehicle d Where y Direction deviation value, d is the preview distance, v For vehicles x Speed in direction, ay is the lateral acceleration of the autonomous vehicle, R is the radius of the desired trajectory, is the curvature of the desired trajectory, where the curvature of the desired trajectory and the curvature at the preview point are considered equal.
[0103] Then according to the formula:
[0104] ,
[0105] It can be calculated , that is, the steering wheel angle that the vehicle needs to turn to reach the preview point.
[0106] in, is the feedforward angle, is the curvature of the desired trajectory at the preview point, K is the stability factor determined according to the vehicle speed, v is the vehicle speed, i is the steering gear ratio of the autonomous vehicle, L is the wheelbase of the autonomous vehicle.
[0107] In addition, as the autonomous vehicle runs, there is a deviation in the center position of the steering gear, which needs to be compensated by an angle, namely During the vehicle movement, the feedback angle needs to be calculated according to the yaw rate ω Therefore, the expected steering wheel angle required for the autonomous driving vehicle to reach the preview point from the starting point can be:
[0108] .
[0109] According to the lateral control method of the autonomous driving vehicle proposed in the embodiment of the present application, the preview time and the minimum preview distance can be determined based on the actual speed of the autonomous driving vehicle and the lane line information of the current driving lane, and then the preview distance and the curvature at the preview point are calculated to obtain the steering angle of the autonomous driving vehicle, and the expected turning angle is calculated in combination with the actual yaw rate to control the autonomous driving vehicle to perform lateral actions. The vehicle speed and road conditions can be taken into account, and the method has high versatility and good compatibility with computing power, thereby ensuring the stability of the lateral action of the autonomous driving vehicle, ensuring the driving safety of the autonomous driving vehicle, and thus improving the driving experience of the user. Therefore, the technical problem in the related technology that in order to ensure the stability of the lateral control of the vehicle, a large amount of real data support is required when establishing a preview point selection model, which is time-consuming and consumes a lot of computing power is solved.
[0110] Next, the lateral control device for an autonomous driving vehicle proposed in accordance with an embodiment of the present application will be described with reference to the accompanying drawings.
[0111] Figure 4 It is a block diagram of a lateral control device of an autonomous driving vehicle according to an embodiment of the present application.
[0112] like Figure 4 As shown, the lateral control device 10 of the autonomous driving vehicle includes: an acquisition module 100, a calculation module 200 and a control module 300.
[0113] Specifically, the acquisition module 100 is used to obtain the actual speed of the autonomous driving vehicle and the lane line information of the current driving lane.
[0114] The calculation module 200 is used to determine the preview time and the minimum preview distance according to the actual vehicle speed and the lane line information, and calculate the preview distance and the curvature at the preview point according to the preview time and the minimum preview distance.
[0115] The control module 300 is used to calculate the steering angle of the autonomous driving vehicle based on the curvature and the preset coefficient, calculate the desired turning angle in combination with the actual yaw angular rate, and control the autonomous driving vehicle to perform lateral actions according to the desired turning angle.
[0116] Optionally, in one embodiment of the present application, the lateral control device 10 of the autonomous driving vehicle further includes: a processing module and a generating module.
[0117] The processing module is used to perform interpolation and filtering on the expected turning angle to obtain the processed expected turning angle.
[0118] The generation module is used to generate a final expected turning angle based on the processed expected turning angle by using a preset functional safety limitation strategy, and output it to the vehicle CAN network.
[0119] Optionally, in one embodiment of the present application, the calculation formula of the expected rotation angle is:
[0120] ,
[0121] in, is the desired turning angle, is the curvature of the desired trajectory at the preview point, K is the stability factor determined according to the vehicle speed, v is the vehicle speed, i is the steering gear ratio of the vehicle, L is the wheelbase of the vehicle, is the median deviation value of the steering wheel angle, is the feedback value calculated based on the vehicle's yaw rate.
[0122] Optionally, in one embodiment of the present application, the calculation module 200 includes: a detection unit and a calculation unit.
[0123] Among them, the detection unit is used to detect the actual curve state of the autonomous driving vehicle based on the lane line information.
[0124] The calculation unit is used to calculate the weighted curvature of the preview point and the previous cycle curvature of the target trajectory and the weight based on the actual curve state matching corresponding weights.
[0125] Optionally, in one embodiment of the present application, the calculation module 200 further includes: a query unit.
[0126] The query unit is used to query the preset relationship table according to the preview point curvature of the target trajectory, the previous cycle curvature and the weighted curvature of the weight to obtain the preview time and the minimum preview distance.
[0127] It should be noted that the aforementioned explanation of the embodiment of the lateral control method of the autonomous driving vehicle is also applicable to the lateral control device of the autonomous driving vehicle of this embodiment, and will not be repeated here.
[0128] According to the lateral control device of the autonomous driving vehicle proposed in the embodiment of the present application, the preview time and the minimum preview distance can be determined based on the actual speed of the autonomous driving vehicle and the lane line information of the current driving lane, and then the preview distance and the curvature at the preview point can be calculated to obtain the steering angle of the autonomous driving vehicle, and the expected turning angle can be calculated in combination with the actual yaw rate to control the autonomous driving vehicle to perform lateral actions. The device can take into account both the vehicle speed and the road conditions, has high versatility, and good compatibility with computing power, thereby ensuring the stability of the lateral action of the autonomous driving vehicle, ensuring the driving safety of the autonomous driving vehicle, and thus improving the driving experience of the user. As a result, the technical problem in the related art that in order to ensure the stability of the lateral control of the vehicle, a large amount of real data support is required when establishing a preview point selection model, which is time-consuming and consumes a lot of computing power is solved.
[0129] Figure 5 A schematic diagram of the structure of a vehicle provided in an embodiment of the present application. The vehicle may include:
[0130] A memory 501 , a processor 502 , and a computer program stored in the memory 501 and executable on the processor 502 .
[0131] When the processor 502 executes the program, the lateral control method of the autonomous driving vehicle provided in the above embodiment is implemented.
[0132] Furthermore, the vehicle also includes:
[0133] The communication interface 503 is used for communication between the memory 501 and the processor 502 .
[0134] The memory 501 is used to store computer programs that can be executed on the processor 502 .
[0135] The memory 501 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.
[0136] If the memory 501, the processor 502 and the communication interface 503 are implemented independently, the communication interface 503, the memory 501 and the processor 502 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 5 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.
[0137] Optionally, in a specific implementation, if the memory 501, the processor 502 and the communication interface 503 are integrated on a chip, the memory 501, the processor 502 and the communication interface 503 can communicate with each other through an internal interface.
[0138] The processor 502 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.
[0139] This embodiment also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the above-mentioned lateral control method of the autonomous driving vehicle.
[0140] 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.
[0141] 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.
[0142] 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.
[0143] 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 purposes 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 (non-exhaustive list) of computer-readable media include the following: an electrical connection with one or N wirings (electronic device), 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), an optical fiber 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.
[0144] 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 embodiment, 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.
[0145] 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.
[0146] 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.
[0147] 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 lateral control method for an autonomous driving vehicle, characterized in that: The following steps are involved: Obtain the actual speed of the autonomous driving vehicle and the lane line information of the current lane; Determine a preview time and a minimum preview distance according to the actual vehicle speed and the lane line information, and calculate a preview distance and a curvature at a preview point according to the preview time and the minimum preview distance; as well as The steering angle of the autonomous driving vehicle is calculated based on the curvature and the preset coefficient, and the expected turning angle is calculated in combination with the actual yaw angular rate, and the autonomous driving vehicle is controlled to perform lateral actions according to the expected turning angle.
2. The method according to claim 1, characterized in that: After calculating the expected turning angle in combination with the actual yaw angular rate, the method further includes: Performing interpolation and filtering processing on the expected turning angle to obtain a processed expected turning angle; A final expected turning angle is generated based on the processed expected turning angle using a preset functional safety restriction strategy and outputted to a vehicle CAN network.
3. The method according to claim 1, characterized in that The calculation formula of the expected turning angle is: , in, is the desired turning angle, is the curvature of the desired trajectory at the preview point, K is the stability factor determined according to the vehicle speed, v is the vehicle speed, i is the steering gear ratio of the vehicle, L is the wheelbase of the vehicle, is the median deviation value of the steering wheel angle, is the feedback value calculated based on the vehicle's yaw rate.
4. The method according to claim 1, characterized in that: Determining the preview time and the minimum preview distance according to the actual vehicle speed and the lane line information includes: Detecting an actual curve state of the autonomous driving vehicle according to the lane line information; Based on the actual curve state matching corresponding weights, the preview point curvature and the upper cycle curvature of the target trajectory and the weighted curvature of the weights are calculated.
5. The method according to claim 4, characterized in that The step of determining the preview time and minimum preview distance according to the actual vehicle speed and the lane line information further includes: The preset relationship table is queried according to the preview point curvature of the target trajectory, the upper cycle curvature and the weighted curvature of the weight to obtain the preview time and the minimum preview distance.
6. A lateral control device for an autonomous driving vehicle, characterized in that: include: An acquisition module is used to obtain the actual speed of the autonomous driving vehicle and the lane line information of the current driving lane; A calculation module, used to determine a preview time and a minimum preview distance according to the actual vehicle speed and the lane line information, and calculate a preview distance and a curvature at a preview point according to the preview time and the minimum preview distance; as well as A control module is used to calculate the steering angle of the autonomous driving vehicle based on the curvature and a preset coefficient, calculate the expected turning angle in combination with the actual yaw angular rate, and control the autonomous driving vehicle to perform lateral actions according to the expected turning angle.
7. The device according to claim 6, characterized in that Also includes: A processing module, used for performing interpolation and filtering processing on the expected turning angle to obtain a processed expected turning angle; A generation module is used to generate a final expected turning angle based on the processed expected turning angle by using a preset functional safety restriction strategy, and output the final expected turning angle to a vehicle CAN network.
8. The device according to claim 6, characterized in that The calculation formula of the expected turning angle is: , in, is the desired turning angle, is the curvature of the desired trajectory at the preview point, K is the stability factor determined according to the vehicle speed, v is the vehicle speed, i is the steering gear ratio of the vehicle, L is the wheelbase of the vehicle, is the median deviation value of the steering wheel angle, is the feedback value calculated based on the vehicle's yaw rate.
9. 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 lateral control method for an autonomous driving vehicle as described in any one of claims 1 to 5.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: The program is executed by a processor to implement the lateral control method of an autonomous driving vehicle as described in any one of claims 1 to 5.
