Steering wheel angle self-learning method and system
By introducing self-learning methods and systems into steering wheel angle control, and using vehicle parameter judgment and filter coefficient adjustment, the deviation problem in steering wheel angle control is solved, fast and accurate steering wheel angle acquisition is achieved, and the vehicle's driving accuracy in the lane is improved. sex and driver safety.
Patent Information
- Application Number
- CN202310337243.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-31
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2043-03-31
AI Technical Summary
There is a deviation in the steering wheel angle control in the existing technology, which causes the vehicle to deviate when driving in the lane. Especially when the vehicle is just started, the error accumulates slowly, affecting the driver's sense of security.
Through a steering wheel angle self-learning method and system, the vehicle parameters are used to determine whether it is in a straight-line driving state, the real-time steering wheel angle deviation is calculated and the accurate actual steering wheel angle is obtained through filter coefficient adjustment, including a vehicle data collection unit, a self-learning start unit and The processing unit updates the corner deviation value in real time to reduce errors.
It can quickly and accurately obtain the deviation and actual angle of the steering wheel, filter the error through the filter coefficient, ensure the accuracy and stability of the steering wheel angle control, adapt to different vehicle speed conditions, and improve the accuracy of the vehicle driving in the lane.
Smart Images

Figure CN118722666A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of automobile assisted driving, and in particular to a steering wheel angle self-learning method and system for assisted driving. Background Art
[0002] ADAS assisted driving technology can use the front camera to identify the road in front of the vehicle and output lane line information to the control unit. The control unit controls the vehicle to drive in the middle of the road based on the received lane line information. This function is the lane centering function. The current steering wheel control is generally divided into two types, one is torque control and the other is angle control. In the steering wheel torque control, the final output torque is also obtained from the steering wheel target angle, so in the lane lateral control function, the actual steering wheel angle signal is very important.
[0003] However, in actual vehicles, due to a series of reasons such as steering wheel installation angle deviation or wear, the signal often deviates. If the control is based solely on PD control, the vehicle will drive to one side in the lane, and the driver will easily feel uneasy. If the integral term is added to the PID control, the accumulation of the error takes time, so if the integral term is not enough at the beginning, the vehicle control will still have deviations. As a result, at the initial moment when the function is turned on, the vehicle is still driving with a deviation to one side, and the deviation changes over time. Therefore, the existing technology has deficiencies in steering wheel angle control, and it is necessary to accurately and quickly obtain the actual angle signal of the steering wheel. Summary of the invention
[0004] The purpose of the present invention is to overcome the deficiencies of the prior art and to provide a steering wheel angle self-learning method and system for accurately and quickly obtaining the steering wheel deviation and the corresponding control angle.
[0005] In order to achieve the above object, the technical solution adopted by the present invention is:
[0006] A steering wheel angle self-learning method, comprising:
[0007] Step 1: Determine whether to enter the self-learning step based on vehicle parameters;
[0008] Step 2: After entering the self-learning step, the difference between the real-time collected steering wheel angle and the memorized steering wheel angle deviation is multiplied by the filter coefficient and recorded as the filter value;
[0009] Step 3: The sum of the filtered value and the memorized steering wheel angle deviation is used as the real-time steering angle deviation value;
[0010] Step 4: Add the current real-time collected steering wheel angle and the real-time steering angle deviation value as the actual angle value of the steering wheel.
[0011] In step 1, it is determined whether the vehicle is in a straight-line driving state based on the vehicle parameters. If the vehicle is in a straight-line driving state, the self-learning step is entered.
[0012] The vehicle parameters for determining whether to enter the self-learning step include: the vehicle's yaw angular velocity, the angular velocity of the steering wheel, the vehicle speed, the steering wheel angle, and the torque applied to the steering wheel by the driver. Based on the vehicle's yaw angular velocity, the angular velocity of the steering wheel, the vehicle speed, the steering wheel angle, and the torque applied to the steering wheel by the driver, it is determined whether the vehicle is in a straight-line driving state.
[0013] When the absolute value of the vehicle's yaw angular velocity is less than the yaw angular velocity threshold, the absolute value of the steering wheel's angular velocity is less than the angular velocity threshold, the vehicle speed is greater than the vehicle speed threshold, the steering wheel angle is less than the steering wheel angle threshold, and the torque applied to the steering wheel by the driver is less than the torque threshold, it is determined that the vehicle is in a straight-line driving state and enters the angle self-learning step.
[0014] In step 2, the filter coefficient is a real number less than 1.
[0015] The filter coefficient is positively correlated with the vehicle speed, and the faster the vehicle speed, the larger the corresponding filter coefficient.
[0016] In step 3, the real-time steering angle deviation value is compared with the memorized steering wheel angle deviation. If they are different, the real-time steering angle deviation value is updated to the memorized steering wheel angle deviation.
[0017] A steering wheel angle self-learning system, comprising:
[0018] A vehicle data collection unit, used to collect vehicle parameters;
[0019] A self-learning starting unit receives the vehicle parameters sent by the vehicle data acquisition unit and determines whether the angle self-learning conditions are met based on the vehicle parameters;
[0020] The processing unit is respectively connected to the vehicle data acquisition unit and the self-learning start unit. After judging to enter the self-learning, the difference between the real-time acquired steering wheel angle and the memorized steering wheel angle deviation is multiplied by the filter coefficient and recorded as the filter value; then the sum of the filter value and the memorized steering wheel angle deviation is used as the real-time angle deviation value; and the current real-time acquired steering wheel angle and the real-time angle deviation value are added as the actual angle value of the steering wheel.
[0021] The output end of the processing unit is connected to the actuator, and is used to send the actual angle value of the steering wheel obtained through self-learning to the actuator, so that the actuator performs control operations based on the actual angle.
[0022] The advantages of the present invention are: it is possible to accurately and quickly obtain the steering wheel deviation and the corresponding actual steering wheel angle; the error caused by fluctuations is filtered out by a filter coefficient, so that the obtained steering wheel angle is more accurate; the filter coefficient is adjusted based on the vehicle speed, further ensuring the accuracy of the self-learning of the angle; the memorized angle error is updated in real time, ensuring that the actual angle value calculated based on the actual angle error is more accurate. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] The following is a brief description of the contents expressed in the drawings of the present invention and the symbols in the drawings:
[0024] Figure 1 Flow chart of the self-learning method of the present invention. DETAILED DESCRIPTION
[0025] The specific implementation of the present invention will be further explained in detail below by describing the optimal embodiment with reference to the accompanying drawings.
[0026] like Figure 1 As shown, when the vehicle is started, it is judged in real time whether the vehicle meets the self-learning conditions.
[0027] When the vehicle status meets the following conditions:
[0028] (1) The absolute value of the vehicle's yaw rate is less than a threshold;
[0029] (2) The absolute value of the angular velocity of the steering wheel is less than a threshold;
[0030] (3) The vehicle speed is greater than a threshold;
[0031] (4) The steering wheel angle is less than a threshold;
[0032] (5) The torque applied by the driver to the steering wheel is less than a threshold.
[0033] When all the above conditions are met, it indicates that the vehicle is in a straight-line driving state. At this time, the straight-line driving state meets the basic requirements for entering the self-learning step and enters the self-learning step;
[0034] After entering the self-learning step, the steering wheel angle at this time is filtered, which is the steering wheel angle error when the vehicle is driving in a straight line. The specific method is to make a difference between the real-time steering wheel angle at this time and the steering wheel angle deviation remembered by the system, and then multiply the difference by a coefficient (less than 1), and then add it to the current steering wheel angle deviation (actual-memory deviation) * filter coefficient + memory deviation, that is, the difference obtained by making a difference multiplied by the filter coefficient, and then summed with the steering wheel angle deviation in memory to finally get the actual value of the deviation). In this way, the fluctuation of the angle sensor can be eliminated, and the final value will be infinitely close to the actual value of the steering wheel angle deviation. The coefficient multiplied by the deviation can be considered as the filter coefficient, which is positively correlated with the vehicle speed. If the vehicle speed is fast and the steering wheel angle changes less, the filter coefficient selects a larger filter coefficient, so that the entire steering wheel angle self-learning time will be shortened. On the contrary, when the vehicle speed is slow, the steering wheel angle change will be large, and the filter coefficient selects a smaller filter coefficient, and the entire self-learning time will be longer, otherwise it is easy to cause inaccurate learning results. The steering wheel angle that is finally input to the control is the result of subtracting the deviation from the angle value of the angle sensor. The following will explain the self-learning principle in detail:
[0035] A steering wheel angle self-learning method comprises the following steps:
[0036] Step 1: Determine whether to enter the self-learning step based on vehicle parameters; in this step, it is necessary to determine whether the vehicle is in a straight-line driving state. Only when the vehicle is in a straight-line driving state will the self-learning step be started to self-learn the steering wheel angle; determine whether the vehicle is in a straight-line driving state based on vehicle parameters. If it is in a straight-line driving state, enter the self-learning step. Here, self-learning is started only when the vehicle is in a straight-line driving state. Only when the vehicle is in a straight-line driving state, the steering wheel angle should be 0 if there is no deviation. The steering wheel angle at this time is the deviation angle)
[0037] The vehicle parameters for judging whether to enter the self-learning step include: the vehicle's yaw rate, the angular velocity of the steering wheel, the vehicle speed, the steering wheel angle, and the torque applied to the steering wheel by the driver. Based on the vehicle's yaw rate, the angular velocity of the steering wheel, the vehicle speed, the steering wheel angle, and the torque applied to the steering wheel by the driver, it is judged whether the vehicle is in a straight-line driving state. When the absolute value of the vehicle's yaw rate is less than the yaw rate threshold, the absolute value of the angular velocity of the steering wheel is less than the angular velocity threshold, the vehicle speed is greater than the vehicle speed threshold, the steering wheel angle is less than the steering wheel angle threshold, and the torque applied to the steering wheel by the driver is less than the torque threshold, it is judged that the vehicle is in a straight-line driving state at this time, and the angle self-learning step is entered at this time.
[0038] Step 2: After entering the self-learning step, the difference between the real-time collected steering wheel angle and the memorized steering wheel angle deviation is multiplied by the filter coefficient and recorded as the filter value;
[0039] Step 3: The sum of the filtered value and the memorized steering wheel angle deviation is used as the real-time steering angle deviation value;
[0040] Step 4: Add the current real-time collected steering wheel angle and the real-time steering angle deviation value as the actual steering wheel angle value. When the vehicle is driving in a straight line, the steering wheel angle is the deviation angle. The result calculated in this patent is the filtering of this angle, but this filtering is relatively slow, and the result should be accurate.
[0041] In order to make real-time adjustments and meet the self-learning accuracy of the steering angle, after starting the self-learning step, steps 1-4 are executed periodically, and in step 4 or 3, the calculated real-time steering angle deviation value is compared with the memorized steering wheel angle deviation. If they are different, the real-time steering angle deviation value is updated to the memorized steering wheel angle deviation. In this way, the memorized steering wheel turning deviation used each time steps 1-4 are executed will be infinitely close to the true value, so that self-learning can automatically approach the true value and the calculated steering angle will be more accurate.
[0042] In step 2, the filter coefficient is a real number less than 1. The filter coefficient is actually a correction function, which mainly corrects the deviation to ensure that the actual deviation value is more accurate, thereby achieving the accuracy of the calculation of the steering wheel angle. The filter coefficient is positively correlated with the vehicle speed. The faster the speed, the larger the corresponding filter coefficient. The corresponding relationship between the speed and the filter coefficient is pre-calibrated to form a comparison table or fit into a speed-filter coefficient relationship curve according to an interpolation method such as the least squares method, and then stored and called after entering.
[0043] In order to run the above self-learning method, the present application also provides a steering wheel angle self-learning system, comprising:
[0044] The vehicle data acquisition unit is used to collect vehicle parameters, including: the vehicle's yaw rate, the steering wheel's angular velocity, the vehicle speed, the steering wheel angle, and the torque applied by the driver to the steering wheel;
[0045] A self-learning starting unit receives vehicle parameters sent from a vehicle data acquisition unit and determines whether angle self-learning conditions are met based on the vehicle parameters; when the absolute value of the vehicle's yaw angular velocity is less than a yaw angular velocity threshold, the absolute value of the steering wheel's angular velocity is less than an angular velocity threshold, the vehicle speed is greater than a vehicle speed threshold, the steering wheel angle is less than a steering wheel angle threshold, and the torque applied by the driver to the steering wheel is less than a torque threshold, it is determined that the vehicle is in a straight-line driving state, and the angle self-learning step is entered.
[0046] The processing unit is connected to the vehicle data acquisition unit and the self-learning start unit respectively. After judging to enter self-learning, the difference between the real-time collected steering wheel angle and the memorized steering wheel angle deviation is multiplied by the filter coefficient and recorded as the filter value; then the sum of the filter value and the memorized steering wheel angle deviation is used as the real-time angle deviation value; and the current real-time collected steering wheel angle and the real-time angle deviation value are added as the actual angle value of the steering wheel. The processing unit can generally be integrated into some controllers in the car, such as the vehicle controller VCU and some auxiliary driving controllers, or a new dedicated controller can also be added. The output end of the processing unit is connected to the actuator, which is used to send the actual angle value of the steering wheel obtained by self-learning to the actuator, and the actuator performs control operations based on the actual angle. The actuator is an actuator for vehicle controller based on the angle.
[0047] Obviously, the specific implementation of the present invention is not limited to the above-mentioned methods. As long as various non-substantial improvements are made using the method concept and technical solution of the present invention, they are all within the protection scope of the present invention.
Claims
1. A steering wheel angle self-learning method, characterized in that: include, Step 1: Determine whether to enter the self-learning step based on vehicle parameters; Step 2: After entering the self-learning step, the difference between the real-time collected steering wheel angle and the memorized steering wheel angle deviation is multiplied by the filter coefficient and recorded as the filter value; Step 3: The sum of the filtered value and the memorized steering wheel angle deviation is used as the real-time steering angle deviation value; Step 4: Add the current real-time collected steering wheel angle and the real-time steering angle deviation value as the actual angle value of the steering wheel.
2. A steering wheel angle self-learning method as claimed in claim 1, characterized in that: In step 1, it is determined whether the vehicle is in a straight-line driving state based on the vehicle parameters. If the vehicle is in a straight-line driving state, the self-learning step is entered.
3. A steering wheel angle self-learning method as claimed in claim 2, characterized in that: The vehicle parameters for determining whether to enter the self-learning step include: the vehicle's yaw angular velocity, the angular velocity of the steering wheel, the vehicle speed, the steering wheel angle, and the torque applied to the steering wheel by the driver. Based on the vehicle's yaw angular velocity, the angular velocity of the steering wheel, the vehicle speed, the steering wheel angle, and the torque applied to the steering wheel by the driver, it is determined whether the vehicle is in a straight-line driving state.
4. A steering wheel angle self-learning method as claimed in claim 3, characterized in that: When the absolute value of the vehicle's yaw angular velocity is less than the yaw angular velocity threshold, the absolute value of the steering wheel's angular velocity is less than the angular velocity threshold, the vehicle speed is greater than the vehicle speed threshold, the steering wheel angle is less than the steering wheel angle threshold, and the torque applied to the steering wheel by the driver is less than the torque threshold, it is determined that the vehicle is in a straight-line driving state and enters the angle self-learning step.
5. A steering wheel angle self-learning method as claimed in any one of claims 1 to 4, characterized in that: In step 2, the filter coefficient is a real number less than 1.
6. A steering wheel angle self-learning method as claimed in claim 5, characterized in that: The filter coefficient is positively correlated with the vehicle speed, and the faster the vehicle speed, the larger the corresponding filter coefficient.
7. A steering wheel angle self-learning method according to any one of claims 1 to 4, characterized in that: In step 3, the real-time steering angle deviation value is compared with the memorized steering wheel angle deviation. If they are different, the real-time steering angle deviation value is updated to the memorized steering wheel angle deviation.
8. A steering wheel angle self-learning system, characterized in that: include: A vehicle data collection unit, used to collect vehicle parameters; A self-learning starting unit, which receives the vehicle parameters sent by the vehicle data acquisition unit and determines whether the angle self-learning conditions are met based on the vehicle parameters; The processing unit is respectively connected to the vehicle data acquisition unit and the self-learning start unit. After judging to enter the self-learning, the difference between the real-time acquired steering wheel angle and the memorized steering wheel angle deviation is multiplied by the filter coefficient and recorded as the filter value; then the sum of the filter value and the memorized steering wheel angle deviation is used as the real-time angle deviation value; and the current real-time acquired steering wheel angle and the real-time angle deviation value are added as the actual angle value of the steering wheel.
9. A steering wheel angle self-learning system as claimed in claim 8, characterized in that: The output end of the processing unit is connected to the actuator, and is used to send the actual angle value of the steering wheel obtained through self-learning to the actuator, so that the actuator performs control operations based on the actual angle.
Citation Information
Patent Citations
Vehicle, and method and system for automatically calibrating zero offset of steering wheel of vehicle
CN109649490A
Vehicle positioning method, vehicle positioning device and terminal equipment
CN109855617A
Steering wheel zero deviation angle measuring method and vehicle
CN112744293A
Steering wheel angle bias correction for autonomous vehicles using angle control
CN113120079A
Method for correcting deviation of advancing direction and related equipment
CN114545924A
