Lateral control method for vehicle driving, processor and vehicle
By obtaining data on the steering angle of the steering motor and the front wheel, and combining the preset steering ratio, the median rotation angle of the steering wheel is adjusted in real time, the problem of poor lateral control stability is solved and the stability of the vehicle is improved when driving in a straight line.
Patent Information
- Application Number
- CN202410984354.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-22
- Publication Date
- 2024-11-08
AI Technical Summary
The existing lateral control method has poor stability in vehicle driving. Due to the data acquisition accuracy and operating environment, it makes it difficult for the vehicle to maintain a stable middle position when tracking a straight trajectory, affecting the vehicle's ability to drive along a straight line.
By obtaining the rotation angle of the steering motor and the front wheel steering angle, combining the preset steering ratio, the median rotation angle of the steering wheel is determined in real time, and the target rotation angle of the steering motor is determined according to the target front wheel steering angle and the median rotation angle, thereby controlling The steering motor works to achieve lateral control of the vehicle.
The impact of data error in front wheel steering angle on vehicle lateral control is reduced, the stability of lateral control is improved, and the vehicle has better stability under road conditions with less friction and uneven grip.
Smart Images

Figure CN118907220A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of lateral control, and in particular to a lateral control method, a processor and a vehicle for vehicle driving. Background Art
[0002] Most vehicles use hydraulic steering systems. Due to the leakage of hydraulic oil, the corresponding relationship between the steering wheel position and the front wheel position changes over time. In other words, the middle position of the steering wheel that makes the front wheel steering angle 0 changes over time. When performing lateral control in a straight-line trajectory tracking, the vehicle cannot be controlled to travel in a straight line by pre-setting the middle position. Therefore, during the lateral control process, it is necessary to determine the middle position of the steering wheel in real time so that the vehicle can travel in a straight line. However, the existing lateral control methods are usually affected by the accuracy of data acquisition or the operating environment, resulting in poor stability of lateral control. Summary of the invention
[0003] The purpose of the embodiments of the present application is to provide a lateral control method, a processor and a vehicle for vehicle driving, so as to solve the problem of poor stability of the existing lateral control method.
[0004] In order to achieve the above-mentioned object, a first aspect of an embodiment of the present application provides a lateral control method for vehicle driving, wherein the vehicle includes a steering wheel, a steering front wheel, and a steering motor corresponding to the steering wheel, and the lateral control method includes:
[0005] Acquiring a rotation angle of the steering motor within a first preset time period;
[0006] Determine a front wheel steering angle and a target front wheel steering angle of the steered front wheel within a first preset time period;
[0007] determining a neutral rotation angle of the steering motor when the steering wheel is in a neutral position according to the rotation angle, the front wheel steering angle, and a preset steering ratio between the steering wheel and the steering front wheel;
[0008] determining a target rotation angle of the steering motor according to a target front wheel steering angle, a mid-position rotation angle, and a preset steering ratio;
[0009] The steering motor is controlled to work according to the target rotation angle to achieve lateral control of vehicle driving.
[0010] In an embodiment of the present application, the median rotation angle of the steering motor when the steering wheel is in the middle position is determined according to the rotation angle, the front wheel steering angle, and the preset steering ratio between the steering wheel and the steering front wheel, including: determining the steering angle of the steering wheel according to the product of the front wheel steering angle and the preset steering ratio; subtracting the steering angle of the steering wheel from the rotation angle to obtain the median rotation angle.
[0011] In an embodiment of the present application, determining the front wheel steering angle of the steering front wheel includes: acquiring the wheelbase and linear speed of the vehicle, as well as the first heading angle of the vehicle in the previous sampling period and the second heading angle of the current sampling period; determining the heading angle difference based on the second heading angle and the first heading angle; based on a predetermined vehicle kinematic model, determining the rear axle center turning radius of the vehicle according to the linear speed and the heading angle difference; determining the front wheel steering angle according to the rear axle center turning radius and the wheelbase.
[0012] In an embodiment of the present application, the lateral control method also includes: determining a maximum heading angle difference based on a preset maximum front wheel steering angle; determining whether the heading angle difference is greater than the maximum heading angle difference; and when the heading angle difference is greater than the maximum heading angle difference, updating the second heading angle according to the first heading angle and the front wheel steering angle of the previous sampling period.
[0013] In an embodiment of the present application, determining the target front-wheel steering angle includes: acquiring the position, speed, heading angle, actual motion trajectory and target motion trajectory of the vehicle; determining the initial front-wheel steering angle according to the position, speed, heading angle and target motion trajectory through a pure tracking control algorithm; determining the front-wheel steering angle compensation amount according to the lateral error between the actual motion trajectory and the target motion trajectory through proportional integral differential control; adding the initial front-wheel steering angle and the front-wheel steering angle compensation amount to obtain the target front-wheel steering angle.
[0014] In an embodiment of the present application, the lateral control method also includes: re-determining the median rotation angle based on the rotation angle, the front wheel steering angle and the preset steering ratio at preset time intervals within a second preset time period to obtain multiple median rotation angles; filtering the multiple median rotation angles to determine multiple filtered median rotation angles; determining an average value of the multiple filtered median rotation angles, and determining the average value as the processed median rotation angle.
[0015] In an embodiment of the present application, the lateral control method also includes: obtaining the historical rotation angle of the steering motor within a target time period, the target time period being from the previous sampling period to the current sampling period; determining the corresponding front wheel steering angle change value based on the historical rotation angle; adding the front wheel steering angle of the previous sampling period and the front wheel steering angle change value to determine the front wheel steering angle prediction value; and correcting the front wheel steering angle prediction value based on the front wheel steering angle through a Kalman filtering algorithm to obtain a corrected front wheel steering angle.
[0016] In an embodiment of the present application, the target rotation angle of the steering motor is determined based on the target front wheel steering angle, the median rotation angle and the preset steering ratio, including: determining the initial rotation angle of the steering motor based on the product of the target front wheel steering angle and the preset steering ratio; adding the initial rotation angle to the median rotation angle to obtain the target rotation angle.
[0017] A second aspect of an embodiment of the present application provides a processor configured to execute the above-mentioned lateral control method for vehicle driving.
[0018] A third aspect of an embodiment of the present application provides a vehicle, comprising: a steering wheel; a steering front wheel; a steering motor corresponding to the steering wheel; and a processor.
[0019] The above technical solution obtains the rotation angle of the steering motor within the first preset time period, and simultaneously determines the front wheel steering angle and the target front wheel steering angle of the steering front wheel within the first preset time period, and then determines the median rotation angle of the steering motor when the steering wheel is in the middle position according to the rotation angle, the front wheel steering angle, and the preset steering ratio between the steering wheel and the steering front wheel, and then determines the target rotation angle of the steering motor according to the target front wheel steering angle, the median rotation angle, and the preset steering ratio, and finally controls the steering motor to work according to the target rotation angle to complete the lateral control of the vehicle driving. The present application determines the median rotation angle of the steering motor when the steering wheel is in the middle position according to the rotation angle, the front wheel steering angle, and the preset steering ratio between the steering wheel and the steering front wheel, and then determines the target rotation angle of the steering motor based on the median rotation angle, and controls the steering motor to work according to the target rotation angle, so as to reduce the impact of the data error of the front wheel steering angle on the lateral control of the vehicle and improve the stability of the lateral control.
[0020] Other features and advantages of the embodiments of the present application will be described in detail in the subsequent specific implementation section. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] The accompanying drawings are used to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the following specific implementations, they are used to explain the embodiments of the present application, but do not constitute a limitation on the embodiments of the present application. In the accompanying drawings:
[0022] Figure 1 A schematic diagram of a flow chart of a lateral control method for vehicle driving according to an embodiment of the present application is schematically shown;
[0023] Figure 2 A schematic diagram of a vehicle kinematics model according to an embodiment of the present application is schematically shown;
[0024] Figure 3 A schematic diagram of a simplified model of a steering system of a vehicle according to an embodiment of the present application is schematically shown. DETAILED DESCRIPTION
[0025] In order to make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the specific implementation methods described herein are only used to illustrate and explain the embodiments of the present application, and are not used to limit the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0026] It should be noted that if the embodiments of the present application involve directional indications (such as up, down, left, right, front, back...), the directional indications are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.
[0027] In addition, if there are descriptions involving "first", "second", etc. in the embodiments of the present application, the descriptions of "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or suggesting their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by this application.
[0028] Figure 1 The following schematically shows a flow chart of a lateral control method for vehicle driving according to an embodiment of the present application. Figure 1 As shown, an embodiment of the present application provides a lateral control method for vehicle driving, wherein the vehicle includes a steering wheel, a steering front wheel, and a steering motor corresponding to the steering wheel. The lateral control method is applied to a processor as an example for description. The lateral control method may include the following steps:
[0029] Step S101: obtaining the rotation angle of the steering motor within a first preset time period.
[0030] Step S102: determining the front wheel steering angle of the steered front wheel and the target front wheel steering angle within a first preset time period.
[0031] Step S103: Determine the neutral rotation angle of the steering motor when the steering wheel is in the neutral position according to the rotation angle, the front wheel steering angle, and the preset steering ratio between the steering wheel and the steering front wheels.
[0032] Step S104: determining a target rotation angle of the steering motor according to the target front wheel steering angle, the mid-position rotation angle and a preset steering ratio.
[0033] Step S105: Control the steering motor to operate according to the target rotation angle to achieve lateral control of vehicle driving.
[0034] The lateral control method for vehicle driving provided in the embodiment of the present application can be used for vehicles provided with an Ackerman chassis, such as excavators, loaders or agricultural machinery provided with an Ackerman chassis. The vehicle includes a steering wheel, a steering front wheel and a steering motor corresponding to the steering wheel. The rotation angle of the steering motor refers to the angle of rotation on the motor shaft of the steering motor. The front wheel steering angle refers to the angle between the steering front wheel and the long axis of the vehicle. The target front wheel steering angle refers to the angle between the steering front wheel to which the steering front wheel is required to be controlled and the long axis of the vehicle. The steering motor is arranged on the steering column. When the steering wheel is turned, the steering force is transmitted to the steering motor through the steering column, so that the steering motor can directly respond to the steering wheel rotation command, thereby driving the front wheels to change direction.
[0035] Although the median position of the vehicle's hydraulic steering system will change over time, a large amount of practical experience has shown that when the steering angle of the steering wheel is small, the change in the median position of the steering wheel is also relatively small and slow. However, if the vehicle is driving in a large curvature, the change in the median position of the steering wheel is more obvious and rapid. In the current mainstream straight-line tracking operation scenario, it can be considered that there is a stable median position in a short period of time. Therefore, an embodiment of the present application proposes a method for determining a stable median position in a straight-line tracking operation scenario, and performing automatic driving lateral control of the vehicle based on the calculation result of the stable median position.
[0036] In an embodiment of the present application, the processor can obtain the rotation angle of the steering motor within the first preset time period through the position encoder of the steering motor, and simultaneously determine the front wheel steering angle of the steering front wheel within the first preset time period and the target front wheel steering angle at the current time point. The first preset time period is a time period from the historical time point to the current time point, and the duration can be adjusted according to actual needs. Since the corresponding relationship between the steering angle of the steering wheel and the rotation angle of the steering motor changes with time, the processor can obtain the preset steering ratio between the steering wheel and the steering front wheel, and determine the median rotation angle of the steering motor when the steering wheel is in the middle position in real time according to the rotation angle, the front wheel steering angle and the preset steering ratio between the steering wheel and the steering front wheel. Among them, the preset steering ratio can be determined after calibration according to the characteristics of the vehicle steering system in advance. After determining the median rotation angle of the steering motor at the current time point, the processor can determine the target rotation angle of the steering motor according to the target front wheel steering angle, the median rotation angle and the preset steering ratio, and send the corresponding speed command to the steering motor according to the target rotation angle to control the steering motor to rotate to the target rotation angle, thereby making the vehicle move according to the target motion trajectory to achieve lateral control of vehicle driving.
[0037] The above technical solution obtains the rotation angle of the steering motor within the first preset time period, and simultaneously determines the front wheel steering angle and the target front wheel steering angle of the steering front wheel within the first preset time period, and then determines the median rotation angle of the steering motor when the steering wheel is in the middle position according to the rotation angle, the front wheel steering angle, and the preset steering ratio between the steering wheel and the steering front wheel, and then determines the target rotation angle of the steering motor according to the target front wheel steering angle, the median rotation angle, and the preset steering ratio, and finally controls the steering motor to work according to the target rotation angle to complete the lateral control of the vehicle driving. The present application determines the median rotation angle of the steering motor when the steering wheel is in the middle position according to the rotation angle, the front wheel steering angle, and the preset steering ratio between the steering wheel and the steering front wheel, and then determines the target rotation angle of the steering motor based on the median rotation angle, and controls the steering motor to work according to the target rotation angle, so as to reduce the impact of the data error of the front wheel steering angle on the lateral control of the vehicle and improve the stability of the lateral control.
[0038] Figure 2 A schematic diagram of a vehicle kinematics model according to an embodiment of the present application is schematically shown. Figure 2 As shown, in an embodiment of the present application, determining the front wheel steering angle of the steering front wheel includes: acquiring the wheelbase and linear speed of the vehicle, as well as the first heading angle of the vehicle in the previous sampling period and the second heading angle of the current sampling period; determining the heading angle difference according to the second heading angle and the first heading angle; based on a predetermined vehicle kinematic model, determining the rear axle center turning radius of the vehicle according to the linear speed and the heading angle difference; determining the front wheel steering angle according to the rear axle center turning radius and the wheelbase.
[0039] Specifically, the vehicle is provided with a navigation receiver. The navigation receiver is a device that utilizes the fusion of the Global Navigation Satellite System (GNSS) positioning and the inertial measurement unit to obtain the current position and attitude data. The processor can obtain the data sent by the navigation receiver. The data sent by the navigation receiver is discrete data with a fixed sampling period, including the heading angle, speed and other data of the vehicle. Among them, the sampling period can be adjusted according to actual conditions. Therefore, through the navigation receiver, the processor can obtain the linear velocity v of the vehicle, as well as the first heading angle heading1 of the vehicle in the previous sampling period and the second heading angle heading2 of the current sampling period, and then determine the heading angle difference θ between the second heading angle heading2 and the first heading angle heading1. Then, based on the vehicle kinematic model, the processor can determine the rear axle center turning radius of the vehicle according to the linear velocity and the heading angle difference.
[0040] The rear axle center turning radius satisfies formula (1):
[0041]
[0042] Among them, v is the linear velocity, dt is the sampling period, R is the rear axle center turning radius, and θ is the heading angle difference.
[0043] In addition, the processor can obtain the wheelbase of the vehicle. Subsequently, the processor can further determine the front wheel steering angle δ according to the rear axle center turning radius R and the wheelbase. The front wheel steering angle δ satisfies formula (2):
[0044]
[0045] Among them, R is the rear axle center turning radius, wheelbase is the wheelbase, and δ is the front wheel steering angle.
[0046] In this way, the processor can determine the front wheel steering angle, so as to facilitate the subsequent determination of the median rotation angle of the steering motor by combining the rotation angle, the front wheel steering angle and the preset steering ratio.
[0047] In an embodiment of the present application, the lateral control method also includes: determining a maximum heading angle difference based on a preset maximum front wheel steering angle; determining whether the heading angle difference is greater than the maximum heading angle difference; and when the heading angle difference is greater than the maximum heading angle difference, updating the second heading angle according to the first heading angle and the front wheel steering angle of the previous sampling period.
[0048] The processor can correct the second heading angle obtained in the current sampling period. Specifically, the processor can obtain the preset maximum front wheel steering angle. The preset maximum front wheel steering angle can be less than or equal to 35 degrees and adjusted according to the actual situation. Then, based on the preset maximum front wheel steering angle, the processor can determine the corresponding maximum rear axle center turning radius according to the aforementioned formula (2), and then determine the maximum heading angle difference according to the aforementioned formula (1) and the maximum rear axle center turning radius. Further, the processor can determine whether the heading angle difference θ between the second heading angle heading2 and the first heading angle heading1 is greater than the maximum heading angle difference. If the heading angle difference θ is greater than the maximum heading angle difference, the processor can determine that the second heading angle heading2 is abnormal and needs to correct the second heading angle heading2. Since the front wheel steering angle of the previous sampling period will cause the change of the heading angle of the current sampling period, the processor can update the second heading angle according to the first heading angle heading1 and the front wheel steering angle determined in the previous sampling period. Specifically, the processor can add the first heading angle heading1 and the heading angle change amount caused by the front wheel steering angle in the previous sampling period to update the second heading angle heading2 of the current sampling period as the updated second heading angle. In this way, the accuracy of the front wheel steering angle determined based on the second heading angle heading2 can be improved by correcting the second heading angle heading2 of the current sampling period.
[0049] In an embodiment of the present application, the lateral control method also includes: obtaining the historical rotation angle of the steering motor within a target time period, the target time period being from the previous sampling period to the current sampling period; determining the corresponding front wheel steering angle change value based on the historical rotation angle; adding the front wheel steering angle of the previous sampling period and the front wheel steering angle change value to determine the front wheel steering angle prediction value; and correcting the front wheel steering angle prediction value based on the front wheel steering angle through a Kalman filtering algorithm to obtain a corrected front wheel steering angle.
[0050] The heading angle of the vehicle is greatly affected by the driving environment, and the navigation receiver has a certain error, so the front wheel steering angle determined based on the acquired heading angle has a deviation. In order to improve the accuracy of the front wheel steering angle, the processor can correct the front wheel steering angle. Specifically, the processor can obtain the historical rotation angle of the steering motor in the target time period from the previous sampling period to the current sampling period. It can be understood that there is a corresponding functional relationship between the steering angle of the steering wheel and the change of the front wheel steering angle, and the functional relationship can be approximated by a linear belt follow-up dead zone model. There is a corresponding relationship between the change in the rotation angle of the steering motor and the steering angle of the steering wheel, and the change in the rotation angle of the steering motor will cause the front wheel steering angle to change. Then, according to the functional relationship between the steering angle of the steering wheel and the change in the front wheel steering angle, the processor can determine the corresponding front wheel steering angle change value according to the historical rotation angle. After adding the front wheel steering angle of the previous sampling period and the front wheel steering angle change value, the front wheel steering angle prediction value can be determined. In this way, after obtaining the front wheel steering angle prediction value and the front wheel steering angle, the processor can correct the front wheel steering angle prediction value according to the front wheel steering angle through the Kalman filter algorithm. After the front wheel steering angle and the front wheel steering angle prediction value are fused, the corrected front wheel steering angle is obtained to complete the correction process of the front wheel steering angle of the steering front wheel.
[0051] In an embodiment of the present application, determining the target front-wheel steering angle includes: acquiring the position, speed, heading angle, actual motion trajectory and target motion trajectory of the vehicle; determining the initial front-wheel steering angle according to the position, speed, heading angle and target motion trajectory through a pure tracking control algorithm; determining the front-wheel steering angle compensation amount according to the lateral error between the actual motion trajectory and the target motion trajectory through proportional integral differential control; adding the initial front-wheel steering angle and the front-wheel steering angle compensation amount to obtain the target front-wheel steering angle.
[0052] Specifically, through the navigation receiver, the processor can obtain the vehicle's position, speed, heading angle, actual motion trajectory and target motion trajectory. In this way, through the pure tracking control algorithm, the processor can determine the initial front wheel steering angle based on the position, speed, heading angle and target motion trajectory. This process can be implemented with reference to the prior art and will not be repeated here. In addition, after determining the lateral error between the actual motion trajectory of the vehicle and the target motion trajectory, the processor can use proportional integral differential control to determine the front wheel steering angle compensation amount based on the lateral error. It should be noted that when determining the front wheel steering angle compensation amount, only the integral control in the proportional integral differential control can be used. After adding the initial front wheel steering angle and the front wheel steering angle compensation amount, the processor can determine the target front wheel steering angle steer_theta.
[0053] Figure 3 A schematic diagram of a simplified model of a vehicle steering system according to an embodiment of the present application is schematically shown. Figure 3 As shown, in an embodiment of the present application, the median rotation angle of the steering motor when the steering wheel is in the middle position is determined according to the rotation angle, the front wheel steering angle, and the preset steering ratio between the steering wheel and the steering front wheel, including: determining the steering angle of the steering wheel according to the product of the front wheel steering angle and the preset steering ratio; subtracting the steering angle of the steering wheel from the rotation angle to obtain the median rotation angle.
[0054] Since the corresponding relationship between the steering angle of the steering wheel and the rotation angle of the steering motor changes over time, the processor can determine the median rotation angle A of the steering motor when the steering wheel is in the middle position in real time according to the rotation angle B, the front wheel steering angle δ and the preset steering ratio steer_ratio. Specifically, the preset steering ratio steer_ratio is the steering ratio between the steering wheel and the steering front wheel. Therefore, according to the product of the front wheel steering angle δ and the preset steering ratio steer_ratio, the processor can determine the steering angle α of the steering wheel, that is, the angle of the steering wheel relative to the middle position. And it can be understood that the steering motor is set on the steering column and rotates directly in response to the steering angle of the steering wheel. At this time, it can be considered that the rotation angle of the steering motor is equal to the steering angle of the steering wheel. Then, the processor can subtract the steering angle α of the steering wheel from the rotation angle B of the steering motor to obtain the median rotation angle A of the steering motor.
[0055] In an embodiment of the present application, the lateral control method also includes: re-determining the median rotation angle based on the rotation angle, the front wheel steering angle and the preset steering ratio at preset time intervals within a second preset time period to obtain multiple median rotation angles; filtering the multiple median rotation angles to determine multiple filtered median rotation angles; determining an average value of the multiple filtered median rotation angles, and determining the average value as the processed median rotation angle.
[0056] Since a single data may have errors, and considering the nonlinearity of the steering system, the existence of dead zones and steering gaps, the processor can process the median rotation angle based on the principle that the median remains unchanged within a shorter preset time period. Specifically, the processor can re-determine the median rotation angle according to the aforementioned median rotation angle determination method every preset time period within the second preset time period, based on the rotation angle, the front wheel steering angle and the preset steering ratio, to obtain multiple median rotation angles. Among them, the second preset time period is a shorter time period, which can be adjusted according to actual needs, for example, it can be set to 10 seconds. The preset duration can also be set and adjusted according to actual needs. Then, the processor can filter the multiple median rotation angles to determine multiple filtered median rotation angles. In one example, outliers in multiple median rotation angles can be eliminated based on the 3sigma principle to obtain multiple median rotation angles after eliminating outliers, and further sort the multiple median rotation angles after eliminating outliers. After completing the sorting, the processor can eliminate the median rotation angles that are in the first preset ratio and the median rotation angles that are in the second preset ratio, thereby obtaining multiple filtered median rotation angles. Both the first preset ratio and the second preset ratio can be set according to the accuracy requirements of data processing. The first preset ratio and the second preset ratio can be equal or unequal. Finally, the processor can determine the average value of the multiple filtered median rotation angles, and determine the average value as the processed median rotation angle. In this way, the accuracy of the determined median rotation angle can be improved.
[0057] In an embodiment of the present application, the target rotation angle of the steering motor is determined based on the target front wheel steering angle, the median rotation angle and the preset steering ratio, including: determining the initial rotation angle of the steering motor based on the product of the target front wheel steering angle and the preset steering ratio; adding the initial rotation angle to the median rotation angle to obtain the target rotation angle.
[0058] The processor can determine the target rotation angle of the steering motor according to the target front wheel steering angle steer_theta, the median rotation angle A and the preset steering ratio steer_ratio. Specifically, after multiplying the target front wheel steering angle steer_theta and the preset steering ratio steer_ratio, the target steering angle of the steering wheel can be determined. Since the steering motor is arranged on the steering column and rotates directly in response to the steering angle of the steering wheel, it can be considered that the rotation angle of the steering motor is equal to the steering angle of the steering wheel. Then, it can be considered that the target steering angle of the steering wheel is equal to the initial rotation angle of the steering motor. In other words, the initial rotation angle of the steering motor can be determined. In this way, after adding the initial rotation angle to the median rotation angle, the processor can determine the target rotation angle of the current steering motor.
[0059] It should be noted that when the vehicle is equipped with a high-precision front-wheel steering angle detection device, the processor can also perform feedback control based on the front-wheel steering angle obtained by the front-wheel steering angle detection device, without having to control the steering motor to achieve steering by determining the median rotation angle and then determining the target rotation angle.
[0060] In summary, compared with the prior art, the technical solution provided by this application has the following advantages:
[0061] The present application reduces the error in the calculation process of the front wheel steering angle through data filtering without obtaining the front wheel steering angle and without adding additional hardware costs such as angle sensors and proportional valves, and determines the steady-state center position of the steering wheel in a short period of time based on the processed front wheel steering angle, and then determines the target rotation angle of the steering motor based on the steady-state center position. Compared with traditional lateral control methods, this can make the vehicle have better stability under road conditions with low friction and uneven grip.
[0062] An embodiment of the present application also provides a processor configured to execute the above-mentioned lateral control method for vehicle driving.
[0063] Specifically, in an embodiment of the present application, the processor can be configured to: obtain the rotation angle of the steering motor within a first preset time period; determine the front wheel steering angle and the target front wheel steering angle of the steering front wheel within the first preset time period; determine the median rotation angle of the steering motor when the steering wheel is in the median position based on the rotation angle, the front wheel steering angle and the preset steering ratio between the steering wheel and the steering front wheel; determine the target rotation angle of the steering motor based on the target front wheel steering angle, the median rotation angle and the preset steering ratio; and control the steering motor to operate according to the target rotation angle to complete lateral control of the vehicle driving.
[0064] In one embodiment, the processor is further configured to: determine the steering angle of the steering wheel according to the product of the front wheel steering angle and a preset steering ratio; and subtract the steering angle of the steering wheel from the rotation angle to obtain a neutral rotation angle.
[0065] In one embodiment, the processor is further configured to: obtain the wheelbase and linear speed of the vehicle, as well as the first heading angle of the vehicle in the previous sampling period and the second heading angle of the vehicle in the current sampling period; determine the heading angle difference based on the second heading angle and the first heading angle; determine the rear axle center turning radius of the vehicle based on the linear speed and the heading angle difference based on a predetermined vehicle kinematic model; determine the front wheel steering angle based on the rear axle center turning radius and the wheelbase.
[0066] In one embodiment, the processor is further configured to: determine the maximum heading angle difference based on a preset maximum front wheel steering angle; determine whether the heading angle difference is greater than the maximum heading angle difference; and if the heading angle difference is greater than the maximum heading angle difference, update the second heading angle based on the first heading angle and the front wheel steering angle of the previous sampling period.
[0067] In one embodiment, the processor is further configured to: obtain the vehicle's position, speed, heading angle, actual motion trajectory and target motion trajectory; determine the initial front wheel steering angle based on the position, speed, heading angle and target motion trajectory through a pure tracking control algorithm; determine the front wheel steering angle compensation amount based on the lateral error between the actual motion trajectory and the target motion trajectory through proportional integral differential control; add the initial front wheel steering angle and the front wheel steering angle compensation amount to obtain the target front wheel steering angle.
[0068] In one embodiment, the processor is further configured to: re-determine the median rotation angle based on the rotation angle, the front wheel steering angle and the preset steering ratio at preset time intervals within a second preset time period to obtain multiple median rotation angles; filter the multiple median rotation angles to determine multiple filtered median rotation angles; determine the average value of the multiple filtered median rotation angles, and determine the average value as the processed median rotation angle.
[0069] In one embodiment, the processor is further configured to: obtain the historical rotation angle of the steering motor within a target time period, the target time period being from the previous sampling period to the current sampling period; determine the corresponding front wheel steering angle change value based on the historical rotation angle; add the front wheel steering angle of the previous sampling period and the front wheel steering angle change value to determine the front wheel steering angle prediction value; and correct the front wheel steering angle prediction value based on the front wheel steering angle through a Kalman filtering algorithm to obtain a corrected front wheel steering angle.
[0070] In one embodiment, the processor is further configured to: determine an initial rotation angle of the steering motor according to a product of a target front wheel steering angle and a preset steering ratio; and add the initial rotation angle to a mid-position rotation angle to obtain a target rotation angle.
[0071] The above technical solution obtains the rotation angle of the steering motor within the first preset time period, and simultaneously determines the front wheel steering angle and the target front wheel steering angle of the steering front wheel within the first preset time period, and then determines the median rotation angle of the steering motor when the steering wheel is in the middle position according to the rotation angle, the front wheel steering angle, and the preset steering ratio between the steering wheel and the steering front wheel, and then determines the target rotation angle of the steering motor according to the target front wheel steering angle, the median rotation angle, and the preset steering ratio, and finally controls the steering motor to work according to the target rotation angle to complete the lateral control of the vehicle driving. The present application determines the median rotation angle of the steering motor when the steering wheel is in the middle position according to the rotation angle, the front wheel steering angle, and the preset steering ratio between the steering wheel and the steering front wheel, and then determines the target rotation angle of the steering motor based on the median rotation angle, and controls the steering motor to work according to the target rotation angle, so as to reduce the impact of the data error of the front wheel steering angle on the lateral control of the vehicle and improve the stability of the lateral control.
[0072] An embodiment of the present application also provides a vehicle, including: a steering wheel; a steering front wheel; a steering motor corresponding to the steering wheel; and a processor.
[0073] An embodiment of the present application also provides a machine-readable storage medium, on which instructions are stored, and the instructions are used to enable a machine to execute the above-mentioned lateral control method for vehicle driving.
[0074] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0075] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0076] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0077] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0078] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0079] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0080] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0081] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0082] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.
Claims
1. A lateral control method for vehicle driving, It is characterized in that The vehicle includes a steering wheel, a steering front wheel, and a steering motor corresponding to the steering wheel, and the lateral control method includes: Acquiring a rotation angle of the steering motor within a first preset time period; determining a front wheel steering angle and a target front wheel steering angle of the steered front wheel within the first preset time period; Determining a neutral rotation angle of the steering motor when the steering wheel is in a neutral position according to the rotation angle, the front wheel steering angle, and a preset steering ratio between the steering wheel and the steering front wheel; Determining a target rotation angle of the steering motor according to the target front wheel steering angle, the mid-position rotation angle, and the preset steering ratio; The steering motor is controlled to operate according to the target rotation angle to achieve lateral control of the vehicle driving.
2. The lateral control method according to claim 1, It is characterized in that The determining, according to the rotation angle, the front wheel steering angle, and a preset steering ratio between the steering wheel and the steering front wheel, a neutral rotation angle of the steering motor when the steering wheel is in a neutral position comprises: determining a steering angle of the steering wheel according to a product of the front wheel steering angle and the preset steering ratio; The steering angle of the steering wheel is subtracted from the rotation angle to obtain the neutral rotation angle.
3. The lateral control method according to claim 1, It is characterized in that Determining the front wheel steering angle of the steered front wheel comprises: Acquire the wheelbase and linear speed of the vehicle, as well as the first heading angle of the vehicle in the previous sampling period and the second heading angle of the vehicle in the current sampling period; Determine a heading angle difference according to the second heading angle and the first heading angle; Based on a predetermined vehicle kinematics model, determining a rear axle center turning radius of the vehicle according to the linear speed and the heading angle difference; The front wheel steering angle is determined according to the rear axle center turning radius and the wheelbase.
4. The lateral control method according to claim 3, It is characterized in that The lateral control method further comprises: Determining a maximum heading angle difference based on a preset maximum front wheel steering angle; Determining whether the heading angle difference is greater than the maximum heading angle difference; When the heading angle difference is greater than the maximum heading angle difference, the second heading angle is updated according to the first heading angle and the front wheel steering angle in the previous sampling period.
5. The lateral control method according to claim 1, It is characterized in that The determination of the target front wheel steering angle includes: Obtaining the position, speed, heading angle, actual motion trajectory and target motion trajectory of the vehicle; Determining an initial front wheel steering angle according to the position, the speed, the heading angle and the target motion trajectory through a pure tracking control algorithm; Determining a front wheel steering angle compensation amount according to a lateral error between the actual motion trajectory and the target motion trajectory through proportional integral differential control; The initial front wheel steering angle is added to the front wheel steering angle compensation amount to obtain the target front wheel steering angle.
6. The lateral control method according to claim 1, It is characterized in that The lateral control method further comprises: Within a second preset time period, at preset time intervals, the median rotation angle is re-determined according to the rotation angle, the front wheel steering angle and the preset steering ratio to obtain a plurality of median rotation angles; Filtering the plurality of median rotation angles to determine a plurality of filtered median rotation angles; An average of the plurality of filtered median rotation angles is determined, and the average is determined as the processed median rotation angle.
7. The lateral control method according to claim 1, It is characterized in that The lateral control method further comprises: Acquire the historical rotation angle of the steering motor within a target time period, where the target time period is from the last sampling period to the current sampling period; Determine a corresponding front wheel steering angle change value according to the historical rotation angle; Adding the front wheel steering angle of the previous sampling period and the front wheel steering angle change value to determine a front wheel steering angle prediction value; The front wheel steering angle prediction value is corrected according to the front wheel steering angle by a Kalman filter algorithm to obtain a corrected front wheel steering angle.
8. The lateral control method according to claim 1, It is characterized in that The step of determining the target rotation angle of the steering motor according to the target front wheel steering angle, the mid-position rotation angle, and the preset steering ratio includes: determining an initial rotation angle of the steering motor according to a product of the target front wheel steering angle and the preset steering ratio; The initial rotation angle is added to the median rotation angle to obtain the target rotation angle.
9. A processor, It is characterized in that The method is configured to execute the lateral control method for vehicle driving according to any one of claims 1 to 8.
10. A vehicle, It is characterized in that include: steering wheel; Steering front wheels; A steering motor corresponding to the steering wheel; as well as A processor according to claim 9.
Citation Information
Cited By
Vehicle control method and device, computer storage medium and program product
CN120716822A
Lateral control method for vehicle driving, and processor and vehicle
WO2026020737A1
