Steering wheel zero offset self-learning method, system and device and computer medium

By recording and processing the steering wheel angle information in the stable state of the vehicle and calculating the target zero deviation value, the problem of steering wheel zero deviation recognition is solved, and the safety and stability of the vehicle are improved.

CN119078954AActive Publication Date: 2024-12-06IMOTION AUTOMOTIVE TECH (SUZHOU) CO LTD

Patent Information

Application Number
CN202411376928.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-29
Publication Date
2024-12-06
Estimated Expiration
2044-09-29

AI Technical Summary

Technical Problem

The prior art is difficult to accurately identify and solve the problem of zero-bias steering wheel, causing the vehicle to deviate from the expected trajectory and affect driving safety and stability.

Method used

By recording the steering wheel angle state value when the vehicle is in a stable and straight-moving state, generating the state average value, updating the angle statistics, calculating the deviation value, and combining the historical zero deviation value, calculating the target zero deviation value to control the vehicle.

Benefits of technology

Accurate identification and correction of the steering wheel zero deviation is achieved, and the safety and stability of vehicle driving are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119078954A_ABST
    Figure CN119078954A_ABST
Patent Text Reader

Abstract

The invention discloses a steering wheel zero-bias self-learning method, system and device and a computer medium, and relates to the technical field of vehicle driving, and the method comprises the steps: recording a state value of a steering wheel turning angle in response to a vehicle being in a stable and straight-going state; generating a state average value of the steering wheel angle according to the state value; updating corner statistical information based on the state average value, wherein the corner statistical information is used for recording distribution information of the corner average value in a set corner interval; based on the corner statistical information and the corner interval, obtaining a deviation value of the steering wheel corner; based on the deviation value and the historical zero offset value, a target zero offset value of the steering wheel is obtained, and the vehicle is managed and controlled based on the target zero offset value; wherein the distribution information comprises the number or duration of the corner average value in the corner interval; the historical zero offset value comprises the zero offset value of the steering wheel stored when the vehicle is powered off last time. The accuracy of the turning angle and the turning angle statistical information is ensured, the accuracy of the deviation value is improved, and the accurate identification of the zero offset of the steering wheel is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle driving technology, and more specifically, to a steering wheel zero-bias self-learning method, system, device and computer medium. Background Art

[0002] As the vehicle's driving time increases, the vehicle may experience steering wheel zero offset, which refers to the fixed offset when the steering wheel is not in operation. Steering wheel zero offset not only causes driving troubles for users, but may also cause the vehicle to deviate from the expected trajectory, affecting driving safety and stability. Therefore, it is necessary to identify the steering wheel zero offset in order to repair the vehicle or assist in driving.

[0003] In summary, how to accurately identify the steering wheel zero offset is a problem that needs to be solved urgently by those skilled in the art. Summary of the invention

[0004] The purpose of the present application is to provide a steering wheel zero bias self-learning method, which can solve the technical problem of how to accurately identify the steering wheel zero bias to a certain extent. The present application also provides a steering wheel zero bias self-learning system, an electronic device and a computer-readable storage medium.

[0005] In order to achieve the above objectives, this application provides the following technical solutions:

[0006] A steering wheel zero bias self-learning method, comprising:

[0007] In response to the vehicle being in a stable and straight-moving state, recording a state value of a steering wheel angle;

[0008] Generate a state average of the steering wheel angle according to the state value;

[0009] updating the turning angle statistical information based on the state average value, wherein the turning angle statistical information is used to record the distribution information of the turning angle average value in a set turning angle interval;

[0010] Based on the turning angle statistical information and the turning angle interval, obtaining a deviation value of the steering wheel angle;

[0011] Based on the deviation value and the historical zero bias value, a target zero bias value of the steering wheel is obtained, so as to control the vehicle based on the target zero bias value;

[0012] The distribution information includes the number or duration of the average turning angle value in the turning angle interval; the historical zero bias value includes the zero bias value of the steering wheel stored when the vehicle was last powered off.

[0013] Preferably, in response to the vehicle being in a stable and straight-moving state, recording the state value of the steering wheel angle includes:

[0014] Detecting whether the steering wheel satisfies a first stability condition, wherein the first stability condition includes whether the steering wheel angle is less than a set angle value within a continuous period, the next moment of the continuous period is the recording moment of the state value, and the set angle value includes an angle value defining a steering wheel failure;

[0015] In response to the steering wheel satisfying the first stability condition, detecting whether the vehicle satisfies a second stability condition, wherein the second stability condition includes turning on the center holding function, the vehicle speed being within a set range, the lane line radius being greater than a first set value, and the steering wheel hand torque being less than a second set value;

[0016] In response to the vehicle satisfying the second stable condition, detecting whether the vehicle satisfies a straight-moving condition;

[0017] In response to the vehicle satisfying the straight-driving condition, the state value of the steering wheel angle is recorded.

[0018] Preferably, the detecting whether the vehicle meets the straight driving condition includes:

[0019] According to the set collection interval, the distance between the center line of the vehicle and the center line of the lane and the angle between the center line of the vehicle and the center line of the lane are collected;

[0020] Generate the variance of the distance based on the most recently collected distance and a preset number of distances collected historically;

[0021] In response to the variance being less than a third set value, the number of distances collected being greater than or equal to a first number, and the angle being less than a fourth set value, determining that the vehicle meets the straight-ahead condition;

[0022] The positive or negative value of the distance is used to represent the position of the vehicle centerline relative to the lane centerline, and the value of the distance is used to represent the degree to which the vehicle centerline deviates from the lane centerline.

[0023] Preferably, the turning angle statistical information includes hit data of each turning angle average value hitting each turning angle interval; and obtaining the deviation value of the steering wheel angle based on the turning angle statistical information and the turning angle interval includes:

[0024] Generate a first sum value based on the amount of hit data;

[0025] Determine the weight of each corner interval based on the hit data of the corner interval and the first sum value;

[0026] The deviation value of the steering wheel angle is determined according to the weights of each turning angle interval and the midpoint value of each turning angle interval.

[0027] Preferably, obtaining a target zero bias value of the steering wheel based on the deviation value and the historical zero bias value comprises:

[0028] Based on the first sum and the first setting factor, a bias weight and a historical zero bias weight are obtained, wherein the historical zero bias weight is the difference between 1 and the bias weight;

[0029] Obtaining a target zero bias value of the steering wheel according to the deviation value, the deviation weight, the historical zero bias value, and the historical zero bias weight;

[0030] The first setting factor is determined according to the maximum number of average values ​​of the rotation angle recorded during a round of self-learning.

[0031] Preferably, the turning angle statistical information includes the duration of the turning angle average value in the corresponding turning angle interval; and obtaining the steering wheel angle deviation value based on the turning angle statistical information and the turning angle interval includes:

[0032] generating a second sum value based on the duration;

[0033] Determining a weight of each turning angle interval based on the duration of the turning angle interval and the second sum value;

[0034] The deviation value of the steering wheel angle is determined according to the weights of each turning angle interval and the midpoint value of each turning angle interval.

[0035] Preferably, obtaining a target zero bias value of the steering wheel based on the deviation value and the historical zero bias value comprises:

[0036] Based on the second sum and the second setting factor, a bias weight and a historical zero bias weight are obtained, wherein the historical zero bias weight is the difference between 1 and the bias weight;

[0037] Obtaining a target zero bias value of the steering wheel according to the deviation value, the deviation weight, the historical zero bias value, and the historical zero bias weight;

[0038] The second setting factor is determined according to the duration of a round of self-learning process.

[0039] A steering wheel zero-bias self-learning system, comprising:

[0040] A first recording module, configured to record a state value of a steering wheel angle in response to the vehicle being in a stable and straight-moving state;

[0041] A first generating module, used for generating a state average value of a steering wheel angle according to the state value;

[0042] A first updating module, used for updating the turning angle statistical information based on the state average value, wherein the turning angle statistical information is used for recording the distribution information of the turning angle average value in a set turning angle interval;

[0043] A second generating module, configured to obtain a deviation value of a steering wheel angle based on the angle statistical information and the angle interval;

[0044] A third generating module is used to obtain a target zero bias value of the steering wheel based on the deviation value and the historical zero bias value, so as to control the vehicle based on the target zero bias value;

[0045] The distribution information includes the number or duration of the average turning angle value in the turning angle interval; the historical zero bias value includes the zero bias value of the steering wheel stored when the vehicle was last powered off.

[0046] An electronic device, comprising:

[0047] Memory for storing computer programs;

[0048] A processor is used to implement the steps of any of the above-mentioned steering wheel zero-bias self-learning methods when executing the computer program.

[0049] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of any of the above-mentioned steering wheel zero-bias self-learning methods are implemented.

[0050] The present application provides a steering wheel zero bias self-learning method, which records the state value of the steering wheel angle in response to the vehicle being in a stable and straight-moving state; generates a state average value of the steering wheel angle according to the state value; updates angle statistical information based on the state average value, the angle statistical information being used to record distribution information of the angle average value in a set angle range; obtains a deviation value of the steering wheel angle based on the angle statistical information and the angle range; obtains a target zero bias value of the steering wheel based on the deviation value and the historical zero bias value, so as to control the vehicle based on the target zero bias value; wherein the distribution information includes the number or duration of the angle average value in the angle range; and the historical zero bias value includes the steering wheel zero bias value stored when the vehicle was last powered off. The present application records the state value of the steering wheel angle only when the vehicle is in a stable and straight-moving state, so that the state value can reflect the steering wheel zero bias information, thereby ensuring the accuracy of the state value; then, a state average value of the steering wheel angle is generated according to the state value, and the angle statistical information is updated based on the state average value to reduce the impact of angle fluctuations on the angle statistical information and improve the accuracy of the angle statistical information. Since the distribution information includes the number or duration of the angle average value in the angle interval, the distribution information can reflect the distribution weight of the angle when the vehicle is moving straight. Therefore, if the deviation value of the steering wheel angle is obtained based on the angle statistical information and the angle interval, it is equivalent to obtaining the deviation value according to the distribution weight of the angle when the vehicle is moving straight, which can avoid the deviation value being too large or too small, so that the deviation value can accurately reflect the actual steering wheel angle of the vehicle when it is continuously moving straight, thereby improving the accuracy of the deviation value; finally, the deviation value and the historical zero bias value are processed, which is equivalent to transitioning and adjusting the deviation value with reference to the historical zero bias value, so as to obtain a more accurate target zero bias value, thereby realizing accurate identification of the steering wheel zero bias. The steering wheel zero-bias self-learning system, electronic device and computer-readable storage medium provided in this application also solve corresponding technical problems. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0052] Figure 1 A flowchart of a steering wheel zero bias self-learning method provided in an embodiment of the present application;

[0053] Figure 2 A schematic diagram for calculating the steering wheel zero deviation according to the duration;

[0054] Figure 3 A schematic diagram of the structure of a steering wheel zero-bias self-learning system provided in an embodiment of the present application;

[0055] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0056] Figure 5 Another structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0057] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0058] See also Figure 1 , Figure 1 A flowchart of a steering wheel zero bias self-learning method provided in an embodiment of the present application.

[0059] A steering wheel zero bias self-learning method provided in an embodiment of the present application may include the following steps:

[0060] Step S101: In response to the vehicle being in a stable and straight-moving state, the state value of the steering wheel angle is recorded.

[0061] In practical applications, considering that the steering wheel zero offset is the deflection angle of the steering wheel when the vehicle is moving straight, it is possible to first detect whether the vehicle is in a stable and straight-moving state. If so, the state value of the vehicle's steering wheel angle is recorded, that is, the latest value of the steering wheel angle is recorded, so that the state value can be analyzed later to learn the steering wheel zero offset value; correspondingly, if the vehicle is not in a stable and straight-moving state, it is possible to wait until the vehicle re-enters a stable and straight-moving state before recording the state value of the steering wheel angle, so as to avoid collecting the vehicle's angle in an unstable straight-moving state to affect the subsequent steering wheel zero offset self-learning.

[0062] It should be noted that the vehicle being in a stable and straight-moving state means that the vehicle is driving stably and in a straight line. The detection method of the vehicle driving stably and in a straight line can be flexibly determined according to the application scenario. For example, in response to the vehicle being in a stable and straight-moving state, in the process of recording the current steering wheel angle, it can be detected whether the steering wheel meets the first stability condition. The first stability condition includes whether the steering wheel angle is less than the set angle value within the duration period. The next moment of the duration period is the recording moment of the state value. The set angle value includes the angle value defining the steering wheel failure. When the steering wheel angle exceeds the set angle value, the vehicle needs to be repaired and corrected. The value can be flexibly determined according to the application scenario. For example, the duration period can be 1.2s, etc., and the set angle value can be 3 degrees, 3.1 degrees, etc.; in response to the steering wheel meeting the first stability condition, it is detected whether the vehicle meets the second stability condition. The second stability condition includes turning on the center holding function, the vehicle speed is within the set range value, the lane line radius is greater than the first set value, and the steering wheel hand torque is less than the second set value. The center holding function can be controlled by the vehicle's ADAS (Advanced Driving Assistance System, advanced driving assistance system) is turned on and maintained, the setting range value, the first setting value, and the second setting value can be flexibly determined according to actual needs. For example, the setting range value can be 30-100kph, the first setting value can be 10000m, and the second setting value can be 0.5Nm, etc.; in response to the vehicle satisfying the second stable condition, it is detected whether the vehicle satisfies the straight-ahead condition; in response to the vehicle satisfying the straight-ahead condition, the state value of the steering wheel angle is recorded.

[0063] In a specific application scenario, in the process of detecting whether a vehicle meets the straight-moving condition, because the vehicle needs to be on a straight road when it moves straight, and the center line of the lane of the straight road is a straight line, the center line of the vehicle can be used as a reference to detect whether the vehicle meets the straight-moving condition. That is, the distance between the center line of the vehicle and the center line of the lane can be collected according to the set collection interval, such as collecting the distance every 0.5s, and the positive and negative values ​​of the distance are used to characterize the position of the center line of the vehicle relative to the center line of the lane, and the value of the distance is used to characterize the degree to which the center line of the vehicle deviates from the center line of the lane, such as the center line of the vehicle is negative on the left side of the center line of the lane, and the center line of the vehicle is positive on the right side of the center line of the lane, etc. In addition, the unit of the distance can be meters, etc.; the angle psi between the center line of the vehicle and the center line of the lane is collected, and the unit of the angle can be radians, etc.; based on the latest collected distance and the preset number of distances collected historically, the variance of the distance is generated, such as generating the variance of the first number of distances collected recently, assuming that the first number is 5, the latest collected distance value is y0, and the distance values ​​collected at the previous 4 moments are y1, y2, y3, y4, then the variance , y0Mean=(y0+y1+y2+y3+y4) / 5; in response to the variance being less than the third set value, the number of distance collections y0counter being greater than or equal to the first number, and the angle being less than the fourth set value, it is determined that the vehicle meets the straight driving condition. The third set value, the second number, and the fourth set value can be flexibly determined according to actual needs. For example, the third set value can be 0.0006, the second number can be 5, the fourth set value can be 0.02, etc.

[0064] It should be noted that the specific contents of the first stable condition, the second stable condition and the straight-moving condition can be flexibly adjusted according to the application scenario, and when any of the first stable condition, the second stable condition and the straight-moving condition is not satisfied, it can be determined that the vehicle is not in a stable and straight-moving state, etc. It should also be noted that a corresponding flag bit can be set for each condition to reflect whether the vehicle meets the corresponding condition. Taking the first stable condition as an example, when the steering wheel angle is less than the set angle value and the duration is greater than 1.2s, SWAIsFit=true can be set, otherwise SWAIsFit=fail can be set, etc., so as to use the flag bit to concisely and effectively characterize whether the corresponding condition is satisfied. In addition, when the collected distance value is less than the first number, the variance cannot be generated for the corresponding detection. At this time, the distance value can continue to be collected at the detection time or the collection time to supplement the number of distance values, so that the vehicle state detection can be performed after the number of distance values ​​is greater than or equal to the first number.

[0065] Step S102: Generate a state average value of the steering wheel angle according to the state value.

[0066] Step S103: updating the corner statistical information based on the state average value, the corner statistical information is used to record the distribution information of the corner average value in the set corner interval, the distribution information includes the number or duration of the corner average value in the corner interval.

[0067] In actual applications, the state value can only represent the steering wheel angle value at the current moment. Although the steering wheel angle changes within a certain range when the vehicle is traveling straight, the steering wheel angle will still fluctuate. In order to smooth the fluctuation of the steering wheel angle, the state average value of the steering wheel angle can be generated according to the state value. For example, the state values ​​of the second number of corners in the latest record can be averaged to obtain the state average value of the steering wheel angle, etc. Assuming the third number is 4, the average value of the four latest recorded corners can be calculated to obtain the current angle average value. It is not difficult to understand that when this scheme is just running, when the number of recorded corners swaCounter is not enough for the second number, the corresponding angle average value cannot be generated. However, as time goes on, the number of recorded corners will increase, and the corresponding angle average value can be generated at each subsequent corner recording moment. In other words, this application can generate multiple angle average values. On this basis, as the number of angle average values ​​obtained increases, the distribution information of the angle average values ​​becomes more and more obvious. In this process, an angle interval can be set. The angle interval is the angle interval obtained by dividing the maximum value interval of the steering wheel zero deviation. The angle statistical information is updated based on the state average value, and the angle statistical information is used to record the distribution information of the angle average value in the set angle interval. The distribution information may include the number or duration of the angle average values ​​in the angle interval, that is, the angle statistical information is used to record the distribution information of the historical average value and the state average value in the set angle interval value. For example, if the state average value is in the angle interval value 2, the distribution information of the newly added state average value of the angle interval value 2 can be obtained.

[0068] In specific application scenarios, before updating the angle statistics based on the state average value, the angle interval can be determined first. For example, the maximum value interval of the steering wheel zero deviation can be determined; the maximum value interval is equally divided to obtain the target number of angle intervals. Assuming that the maximum value interval is [-3°, 3°] and the target number is 10, the angle interval value can be state=1, indicating the angle interval value [-3°, -2.4°), state=2, indicating the angle interval value [-2.4°, -1.8°), and state=3, indicating the angle interval value [-1.8°, -1.2°), state=4, indicating the angle interval value [-1.2°, -0.6°), state=5, indicating the angle interval value [-0.6°, 0°), state=6, indicating the angle interval value [0°, 0.6°), state=7, indicating the angle interval value [0.6°, 1.2°), state=8, indicating the angle interval value [1.2°, 1.8°), state=9, indicating the angle interval value [1.8°, 2.4°), state=10, indicating the angle interval value [2.4°, 3°].

[0069] Step S104: based on the turning angle statistical information and the turning angle interval, obtain the steering wheel angle deviation value.

[0070] Step S105: Based on the deviation value and the historical zero offset value, a target zero offset value of the steering wheel is obtained to control the vehicle based on the target zero offset value; the historical zero offset value includes the zero offset value of the steering wheel stored when the vehicle was last powered off.

[0071] In actual applications, after determining the distribution information of the average angle value in the angle interval, there will be differences between the average angle values ​​hit by each angle interval. This difference can reflect the influence weight of the angle interval on the steering wheel angle, that is, the distribution information can reflect the influence weight of the angle interval on the steering wheel angle. Therefore, the deviation value of the steering wheel angle can be obtained based on the angle statistical information and the angle interval. For example, the angle interval can be weighted averaged based on the angle statistical information to comprehensively consider the distribution information of the average angle value in the angle interval to obtain the deviation value of the steering wheel angle. In addition, considering that during the process of self-learning of the steering wheel zero bias, the vehicle may be affected by external factors such as parking and terminating this round of self-learning, and the determined deviation value may not be the most accurate steering wheel zero bias. In order to obtain a more accurate steering wheel zero bias, the obtained steering wheel zero bias can be stored when the vehicle is powered on, and then the historical zero bias value stored when the vehicle was last powered off is read, and the target zero bias value of the steering wheel is obtained based on the deviation value and the historical zero bias value. For example, the deviation value and the historical zero bias value can be weighted averaged, and the deviation value can be transitioned and adjusted with reference to the historical zero bias value to obtain a target zero bias value that is closer to the actual steering wheel zero bias.

[0072] It should be noted that as the self-learning time increases, the steering wheel zero bias obtained is more and more consistent with the real steering wheel zero bias. Therefore, the duration of a single steering wheel zero bias self-learning or the number of iterations can be limited. For example, the duration of a single steering wheel zero bias self-learning must reach a set duration before the learned steering wheel zero bias is considered to be the real steering wheel zero bias. In this process, considering that this scheme needs to refer to the historical zero bias value for self-learning, this self-learning is equivalent to continuing self-learning on the basis of the last self-learning. Therefore, after the historical zero bias value increases from 0 to a constant value, it can be considered that a self-learning is completed. In other words, the time it takes for the historical zero bias value to increase from 0 to a constant value can be used as the duration of a single steering wheel zero bias self-learning.

[0073] In actual applications, the corner statistical information may include hit data of each angle average value hitting each angle interval, that is, it may include individual values ​​of the angle average value falling in each angle interval, and the distribution information at this time is also the individual value; accordingly, in the process of obtaining the deviation value of the steering wheel angle based on the angle statistical information and the angle interval, a first sum value can be generated based on the amount of hit data, that is, the first sum value of the individual values ​​is generated; based on the hit data of the corner interval and the first sum value, the weight of each corner interval is determined, that is, for each corner interval, the individual value of the corner interval is divided by the first sum value to obtain the weight of the corner interval; the midpoint value of each corner interval is determined; according to the weight of each corner interval and the midpoint value of each corner interval, the deviation value of the steering wheel angle is determined, that is, according to the weight value of the angle interval, all midpoint values ​​are weighted averaged to obtain the current deviation value of the steering wheel angle. Then, in the process of obtaining the target zero bias value of the steering wheel based on the deviation value and the historical zero bias value, the deviation weight and the historical zero bias weight can be obtained based on the first sum value and the first setting factor, wherein the historical zero bias weight is the difference between 1 and the deviation weight, that is, the first sum value is divided by the first setting factor to obtain the deviation weight, and 1 is subtracted from the deviation weight to obtain the historical zero bias weight; the target zero bias value of the steering wheel is obtained according to the deviation value, the deviation weight and the historical zero bias value and the historical zero bias weight, that is, the deviation value and the historical zero bias value are weighted averaged according to the deviation weight and the historical zero bias weight to obtain the zero bias value of the steering wheel; wherein the first setting factor is determined according to the maximum number value of the average turning angle recorded in a round of self-learning, for example, the first setting factor can be directly this maximum number value, etc.

[0074] For ease of understanding, taking the aforementioned target number of 10 corner intervals as an example, assuming that the average angle value is swaMean, the historical zero offset value is swaOffsetRecord, the target zero offset value is swaOffset, and the deviation value is swaOffsetNew, the process of calculating the current steering wheel zero offset based on the individual values ​​is as follows: count swaMean in different corner intervals respectively, count the individual values ​​of swaMean in each corner interval, and record them as Statescalar1~Statescalar10, calculate the first sum of the individual values ​​scalarSum=Statescalar1+Statescalar2+…+Statescalar10; calculate the weight stat for each corner interval eWeight1=Statescalar1 / scalarSum, stateWeight2=Statescalar2 / scalarSum…stateWeight10=Statescalar10 / scalarSum; calculate the deviation weight swaOffsetNewFactor=scalarSum / 5000 (5000 is an adjustable value), the value range of swaOffsetNewFactor is 0~1; calculate the deviation value of the steering wheel angle swa swaOffsetNew=stateWeight1*(-2.7)+stateWeight2*(-2.1)+stateWeight3*(-1.5)+ stateWeight4*(-0.9)+stateWeight5*(-0.3)+stateWeight6*0.3+stateWeight7*0.9+stateWeight8*1.5+stateWeight9*2.1+stateWeight10*2.7; calculate the target zero offset value swaOffset=swaOffsetRecord*(1-swaOffsetNewFactor)+swaOffsetNew*swaOffsetNewFactor.

[0075] In practical applications, the angle statistical information may include the duration of the angle average value in the corresponding angle interval. At this time, the distribution information is also the duration. The duration can be determined according to the time before and after the angle value used to generate the angle average value, or it can be obtained by multiplying the number of angle average values ​​by a fixed duration, etc. The fixed duration can be 0.02s, 0.03s, etc.; accordingly, based on the angle statistical information and the angle interval, in the process of obtaining the deviation value of the steering wheel angle, a second sum value can be generated based on the duration, that is, a second sum value of the duration is generated; based on the duration of the angle interval and the second sum value, the weight of each angle interval is determined, that is, for each angle interval, the duration of the angle interval is divided by the second sum value to obtain the weight of the angle interval; the midpoint value of each angle interval is determined; according to the weight of each angle interval and the midpoint value of each angle interval, the deviation value of the steering wheel angle is determined, that is, according to the angle interval weight, all midpoint values ​​are weighted averaged to obtain the deviation value of the steering wheel angle. Then, in the process of obtaining the target zero bias value of the steering wheel based on the deviation value and the historical zero bias value, the deviation weight and the historical zero bias weight can be obtained based on the second sum and the second setting factor, wherein the historical zero bias weight is the difference between 1 and the deviation weight, that is, the second sum can be divided by the second setting factor to obtain the deviation weight, and the historical zero bias weight can be subtracted from 1; the target zero bias value of the steering wheel is obtained according to the deviation value, the deviation weight and the historical zero bias value and the historical zero bias weight, that is, according to the deviation weight and the historical zero bias weight, the deviation value and the historical zero bias value are weighted averaged to obtain the target zero bias value of the steering wheel; wherein the second setting factor is determined according to the duration of a round of self-learning process, for example, the second setting factor can be this duration value, etc.

[0076] For ease of understanding, taking the aforementioned target number of 10 corner intervals as an example, assuming that the average corner value is swaMean, the historical zero offset value is swaOffsetRecord, the target zero offset value is swaOffset, and the deviation value is swaOffsetNew, the process of calculating the current steering wheel zero offset according to the duration is as follows: swaMean is timed in different corner intervals respectively, and the duration of swaMean in each corner interval is counted and recorded as StateTimer1~StateTimer10; the second sum of the duration is calculated as TimerSum=StateTimer1+StateTimer2+…+StateTimer10; the weight of each corner interval is calculated as stateWeight1=StateTimer1 / TimerSum, stateWeight2=StateTimer2 / TimerSum…stateWeight10=StateTimer10 / TimerSum; swa OffsetNewFactor=TimerSum / 100 (100 is an adjustable value), swaOffsetNewFactor ranges from 0 to 1; calculate the deviation value of the steering wheel angle swa swaOffsetNew=stateWeight1*(-2.7)+stateWeight2*(-2.1)+stateWeight3*(-1.5)+stateWeight4*(-0.9)+stateWeight5*(-0.3)+stateWeight6*0.3+stateWeight7*0.9+stateWeight8*1.5+stateWeight9*2.1+stateWeight10*2.7; calculate the target zero offset swaOffset=swaOffsetRecord*(1-swaOffsetNewFactor)+swaOffsetNew*swaOffsetNewFactor. The entire data flow process is as follows Figure 2 shown.

[0077] It should be noted that after the deviation value and the historical zero deviation value are weighted averaged to obtain the target zero deviation value of the steering wheel, the target zero deviation value can be stored in response to the vehicle being powered off. At this time, the newly stored target zero deviation value becomes the new historical zero deviation value, so that the historical zero deviation value can be updated.

[0078] The present application provides a steering wheel zero bias self-learning method, which records the state value of the steering wheel angle in response to the vehicle being in a stable and straight-moving state; generates a state average value of the steering wheel angle according to the state value; updates angle statistical information based on the state average value, the angle statistical information being used to record distribution information of the angle average value in a set angle range; obtains a deviation value of the steering wheel angle based on the angle statistical information and the angle range; obtains a target zero bias value of the steering wheel based on the deviation value and the historical zero bias value, so as to control the vehicle based on the target zero bias value; wherein the distribution information includes the number or duration of the angle average value in the angle range; and the historical zero bias value includes the steering wheel zero bias value stored when the vehicle was last powered off. The present application records the state value of the steering wheel angle only when the vehicle is in a stable and straight-moving state, so that the state value can reflect the steering wheel zero bias information, thereby ensuring the accuracy of the state value; then, a state average value of the steering wheel angle is generated according to the state value, and the angle statistical information is updated based on the state average value to reduce the impact of angle fluctuations on the angle statistical information and improve the accuracy of the angle statistical information. Since the distribution information includes the number or duration of the angle average value in the angle interval, the distribution information can reflect the distribution weight of the angle when the vehicle is moving straight. Therefore, if the deviation value of the steering wheel angle is obtained based on the angle statistical information and the angle interval, it is equivalent to obtaining the deviation value according to the distribution weight of the angle when the vehicle is moving straight, which can avoid the deviation value being too large or too small, so that the deviation value can accurately reflect the actual steering wheel angle of the vehicle when it is continuously moving straight, thereby improving the accuracy of the deviation value; finally, the deviation value and the historical zero bias value are processed, which is equivalent to transitioning and adjusting the deviation value with reference to the historical zero bias value, so as to obtain a more accurate target zero bias value, thereby realizing accurate identification of the steering wheel zero bias.

[0079] See also Figure 3 , Figure 3 A schematic structural diagram of a steering wheel zero-bias self-learning system provided in an embodiment of the present application.

[0080] A steering wheel zero-bias self-learning system provided in an embodiment of the present application may include:

[0081] A first recording module 101 is used for recording a state value of a steering wheel angle in response to the vehicle being in a stable and straight-moving state;

[0082] A first generating module 102, used to generate a state average value of a steering wheel angle according to the state value;

[0083] A first updating module 103, used for updating the turning angle statistical information based on the state average value, where the turning angle statistical information is used for recording the distribution information of the turning angle average value in a set turning angle interval;

[0084] A second generating module 104 is used to obtain a deviation value of a steering wheel angle based on the angle statistical information and the angle interval;

[0085] The third generating module 105 is used to obtain a target zero bias value of the steering wheel based on the deviation value and the historical zero bias value, so as to control the vehicle based on the target zero bias value;

[0086] The distribution information includes the number or duration of the average turning angle value in the turning angle interval; the historical zero bias value includes the zero bias value of the steering wheel stored when the vehicle was last powered off.

[0087] In a steering wheel zero-bias self-learning system provided in an embodiment of the present application, a first recording module may include:

[0088] A first detection unit, used to detect whether the steering wheel satisfies a first stability condition, the first stability condition including whether the steering wheel angle is less than a set angle value within a continuous period, the next moment of the continuous period is the recording moment of the state value, and the set angle value includes an angle value defining a steering wheel failure;

[0089] A second detection unit is used to detect whether the vehicle meets a second stability condition in response to the steering wheel meeting the first stability condition, where the second stability condition includes turning on the center holding function, the vehicle speed being within a set range, the lane line radius being greater than a first set value, and the steering wheel hand torque being less than a second set value;

[0090] a third detection unit, configured to detect whether the vehicle satisfies a straight-moving condition in response to the vehicle satisfying a second stable condition;

[0091] The first recording unit is used to record the state value of the steering wheel angle in response to the vehicle meeting the straight driving condition.

[0092] A steering wheel zero bias self-learning system is provided in an embodiment of the present application, and the third detection unit can be used to: collect the distance between the vehicle center line and the lane center line and the angle between the vehicle center line and the lane center line according to a set collection interval; generate a variance of the distance based on the latest collected distance and a preset number of distances collected historically; in response to the variance being less than a third set value, the number of distances collected being greater than or equal to the first number, and the angle being less than a fourth set value, determine that the vehicle meets the straight driving condition; wherein the positive or negative value of the distance is used to characterize the position of the vehicle center line relative to the lane center line, and the numerical value of the distance is used to characterize the degree to which the vehicle center line deviates from the lane center line.

[0093] The embodiment of the present application provides a steering wheel zero bias self-learning system, wherein the turning angle statistical information includes the hit data of each turning angle average value hitting each turning angle interval; the second generating module may include:

[0094] A first processing unit, configured to generate a first sum value based on the amount of hit data;

[0095] A second processing unit, configured to determine a weight of each corner interval based on the hit data of the corner interval and the first sum value;

[0096] The first generating unit is used to determine the deviation value of the steering wheel angle according to the weight of each turning angle interval and the midpoint value of each turning angle interval.

[0097] In a steering wheel zero bias self-learning system provided in an embodiment of the present application, the third generation module may include:

[0098] A third processing unit is used to obtain a bias weight and a historical zero bias weight based on the first sum and the first setting factor, wherein the historical zero bias weight is a difference between 1 and the bias weight;

[0099] The second generating unit is used to obtain a target zero bias value of the steering wheel according to the bias value, the bias weight, the historical zero bias value, and the historical zero bias weight;

[0100] The first setting factor is determined according to the maximum number of the average values ​​of the rotation angles recorded during a round of self-learning.

[0101] In a steering wheel zero bias self-learning system provided in an embodiment of the present application, the turning angle statistical information includes the duration of the turning angle average value in the corresponding turning angle interval; the second generating module may include:

[0102] A fourth processing unit, configured to generate a second sum value based on the duration;

[0103] a fifth processing unit, configured to determine a weight of each corner interval based on a duration of the corner interval and the second sum;

[0104] The third generating unit is used to determine the deviation value of the steering wheel angle according to the weight of each turning angle interval and the midpoint value of each turning angle interval.

[0105] In a steering wheel zero bias self-learning system provided in an embodiment of the present application, the third generation module may include:

[0106] a sixth processing unit, configured to obtain a bias weight and a historical zero bias weight based on the second sum and the second setting factor, wherein the historical zero bias weight is a difference between 1 and the bias weight;

[0107] A fourth generating unit, configured to obtain a target zero bias value of the steering wheel according to the bias value, the bias weight, the historical zero bias value, and the historical zero bias weight;

[0108] The second setting factor is determined according to the duration of a round of self-learning process.

[0109] The present application also provides an electronic device and a computer-readable storage medium, both of which have the corresponding effects of the steering wheel zero-bias self-learning method provided in the embodiment of the present application. Figure 4 , Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.

[0110] An electronic device provided in an embodiment of the present application includes a memory 201 and a processor 202. The memory 201 stores a computer program. When the processor 202 executes the computer program, the steps of the steering wheel zero bias self-learning method provided in any of the above embodiments are implemented.

[0111] See also Figure 5 , another electronic device provided in the embodiment of the present application may also include: an input port 203 connected to the processor 202, for transmitting commands input from the outside to the processor 202; a display unit 204 connected to the processor 202, for displaying the processing results of the processor 202 to the outside; a communication module 205 connected to the processor 202, for realizing communication between the electronic device and the outside. The display unit 204 can be a display panel, a laser scanning display, etc.; the communication method adopted by the communication module 205 includes but is not limited to mobile high-definition link technology (Mobile High-Definition Link, MHL), Universal Serial Bus (Universal Serial Bus, USB), High-Definition Multimedia Interface (High-DefinitionMultimedia Interface, HDMI), wireless connection: wireless fidelity technology (WIreless Fidelity, WiFi), Bluetooth communication technology, low-power Bluetooth communication technology, and communication technology based on IEEE802.11s.

[0112] An embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the steps of the steering wheel zero bias self-learning method provided in any of the above embodiments are implemented.

[0113] The computer-readable storage medium involved in this application includes random access memory (RAM), memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disks, removable disks, CD-ROMs (Compact Disc Read-Only Memory), or any other form of storage medium known in the technical field.

[0114] For the description of the relevant parts of the steering wheel zero bias self-learning system, electronic device and computer-readable storage medium provided in the embodiments of the present application, please refer to the detailed description of the corresponding parts in the steering wheel zero bias self-learning method provided in the embodiments of the present application, which will not be repeated here. In addition, the parts of the above technical solutions provided in the embodiments of the present application that are consistent with the implementation principles of the corresponding technical solutions in the prior art are not described in detail to avoid excessive elaboration.

[0115] It should also be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article 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, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0116] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A steering wheel zero bias self-learning method, characterized in that: include: In response to the vehicle being in a stable and straight-moving state, recording a state value of a steering wheel angle; Generate a state average value of the steering wheel angle according to the state value; updating the turning angle statistical information based on the state average value, wherein the turning angle statistical information is used to record the distribution information of the turning angle average value in a set turning angle interval; Based on the turning angle statistical information and the turning angle interval, obtaining a deviation value of the steering wheel angle; Based on the deviation value and the historical zero bias value, a target zero bias value of the steering wheel is obtained, so as to control the vehicle based on the target zero bias value; The distribution information includes the number or duration of the average turning angle value in the turning angle interval; the historical zero bias value includes the zero bias value of the steering wheel stored when the vehicle was last powered off.

2. The method according to claim 1, characterized in that In response to the vehicle being in a stable and straight-moving state, recording the state value of the steering wheel angle includes: Detecting whether the steering wheel satisfies a first stability condition, wherein the first stability condition includes whether the steering wheel angle is less than a set angle value within a continuous period, the next moment of the continuous period is the recording moment of the state value, and the set angle value includes an angle value defining a steering wheel failure; In response to the steering wheel satisfying the first stability condition, detecting whether the vehicle satisfies a second stability condition, wherein the second stability condition includes turning on the center holding function, the vehicle speed being within a set range, the lane line radius being greater than a first set value, and the steering wheel hand torque being less than a second set value; In response to the vehicle satisfying the second stable condition, detecting whether the vehicle satisfies a straight-moving condition; In response to the vehicle satisfying the straight-driving condition, the state value of the steering wheel angle is recorded.

3. The method according to claim 2, characterized in that The detecting whether the vehicle meets the straight driving condition includes: According to the set collection interval, the distance between the center line of the vehicle and the center line of the lane and the angle between the center line of the vehicle and the center line of the lane are collected; Generate the variance of the distance based on the most recently collected distance and a preset number of distances collected historically; In response to the variance being less than a third set value, the number of distances collected being greater than or equal to a first number, and the angle being less than a fourth set value, determining that the vehicle meets the straight-ahead condition; The positive or negative value of the distance is used to represent the position of the vehicle centerline relative to the lane centerline, and the value of the distance is used to represent the degree to which the vehicle centerline deviates from the lane centerline.

4. The method according to claim 1, characterized in that: The turning angle statistical information includes hit data of each turning angle average value hitting each turning angle interval; the deviation value of the steering wheel angle is obtained based on the turning angle statistical information and the turning angle interval, including: Generate a first sum value based on the amount of hit data; Determine the weight of each corner interval based on the hit data of the corner interval and the first sum value; The deviation value of the steering wheel angle is determined according to the weights of each turning angle interval and the midpoint value of each turning angle interval.

5. The method according to claim 4, characterized in that The step of obtaining a target zero bias value of the steering wheel based on the deviation value and the historical zero bias value comprises: Based on the first sum and the first setting factor, a bias weight and a historical zero bias weight are obtained, wherein the historical zero bias weight is the difference between 1 and the bias weight; Obtaining a target zero bias value of the steering wheel according to the deviation value, the deviation weight, the historical zero bias value, and the historical zero bias weight; The first setting factor is determined according to the maximum number of the average values ​​of the rotation angles recorded during a round of self-learning.

6. The method according to claim 1, characterized in that The turning angle statistical information includes the duration of the turning angle average value in the corresponding turning angle interval; The obtaining a deviation value of a steering wheel angle based on the angle statistical information and the angle interval includes: generating a second sum value based on the duration; Determining a weight of each turning angle interval based on the duration of the turning angle interval and the second sum value; The deviation value of the steering wheel angle is determined according to the weights of each turning angle interval and the midpoint value of each turning angle interval.

7. The method according to claim 6, characterized in that The step of obtaining a target zero bias value of the steering wheel based on the deviation value and the historical zero bias value comprises: Based on the second sum and the second setting factor, a bias weight and a historical zero bias weight are obtained, wherein the historical zero bias weight is the difference between 1 and the bias weight; Obtaining a target zero bias value of the steering wheel according to the deviation value, the deviation weight, the historical zero bias value, and the historical zero bias weight; The second setting factor is determined according to the duration of a round of self-learning process.

8. A steering wheel zero bias self-learning system, characterized in that: include: A first recording module, configured to record a state value of a steering wheel angle in response to the vehicle being in a stable and straight-moving state; A first generating module, used for generating a state average value of a steering wheel angle according to the state value; A first updating module, used for updating the turning angle statistical information based on the state average value, wherein the turning angle statistical information is used for recording the distribution information of the turning angle average value in a set turning angle interval; A second generating module, configured to obtain a deviation value of a steering wheel angle based on the angle statistical information and the angle interval; A third generating module is used to obtain a target zero bias value of the steering wheel based on the deviation value and the historical zero bias value, so as to control the vehicle based on the target zero bias value; The distribution information includes the number or duration of the average turning angle value in the turning angle interval; the historical zero bias value includes the zero bias value of the steering wheel stored when the vehicle was last powered off.

9. An electronic device, characterized in that: include: Memory for storing computer programs; A processor, used to implement the steps of the steering wheel zero bias self-learning method as claimed in any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the steering wheel zero-bias self-learning method as claimed in any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Vehicle, and method and system for automatically calibrating zero offset of steering wheel of vehicle

    CN109649490A

  • Method and device for eliminating steady-state lateral deviation and storage medium

    CN109795477A

  • Steering wheel zero deflection angle updating method and device, computer equipment and storage medium

    CN117901947A

  • Steering system turning angle neutral position compensation control method and device, vehicle and storage medium

    CN118701163A

  • Detecting device for neutral point of steering wheel angle of vehicle

    JP1998132550A

Cited By

  • Zero self-learning method of vehicle steering system software and control equipment

    CN121291591A

  • A zero self-learning method and control device for vehicle steering system software

    CN121291591B