Steering wheel angle measurement method, controller, vehicle and readable storage medium

By combining angle following and cursor algorithms in automobile steering wheel angle measurement, the problem of inaccurate steering wheel angle measurement caused by clock signal errors is solved, achieving higher measurement accuracy and signal stability, and supporting the normal functions of automobile advanced safety systems.

CN117985109BActive Publication Date: 2024-10-29BYD CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211352296.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-31
Publication Date
2024-10-29
Estimated Expiration
2042-10-31

Smart Images

  • Figure CN117985109B_ABST
    Figure CN117985109B_ABST
Patent Text Reader

Abstract

The present disclosure relates to the field of automobile technology, and provides a steering wheel angle measurement method, a controller, a vehicle, and a readable storage medium. The measurement method includes: obtaining a first angle signal collected by an angle sensor; obtaining a first absolute angle according to the first angle signal and a vernier algorithm; performing angle tracking on the first angle signal to obtain an incremental angle, and obtaining a following angle according to the first absolute angle and the incremental angle; and obtaining a measured steering wheel angle according to the following angle. In this way, when the original signal jumps at the same time or at different times, the measured steering wheel angle does not jump, thereby improving the accuracy of the measured steering wheel angle.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of automobile technology, and in particular, to a steering wheel angle measurement method, a controller, a vehicle and a readable storage medium. Background Art

[0002] The car steering wheel angle sensor is an electronic component that measures the steering wheel steering angle and provides the necessary steering wheel angle signal for the car's active safety system. For example, the electronic stability system can achieve advanced functions such as anti-skid and anti-sway with the steering wheel angle signal; the electric power steering system (Electric Power Steering, EPS) can achieve the damping control function of steering wheel vibration and the active return control function of bringing the steering wheel to zero position with the accurate steering wheel angle signal; the adaptive headlight system can automatically adjust the lighting angle with the steering wheel angle signal to avoid the appearance of lighting areas on slopes and curves.

[0003] In the related art, the two original signals are generally subjected to cursor operation to obtain the steering wheel angle. However, due to the influence of the clock signals of the two sensor chips that collect the two original signals, if a signal time upsampling error occurs, when the two original signals jump at the same time or at different times, the measured steering wheel angle may also jump accordingly, resulting in an inaccurate steering wheel angle. Summary of the invention

[0004] The purpose of the present disclosure is to provide a steering wheel angle measurement method, a controller, a vehicle and a readable storage medium to solve the problems in the related art.

[0005] In order to achieve the above object, according to a first aspect of an embodiment of the present disclosure, a steering wheel angle measurement method is provided, comprising:

[0006] Acquire a first angle signal collected by a rotation angle sensor;

[0007] Obtaining a first absolute angle according to the first angle signal and a vernier algorithm;

[0008] Performing angle following on the first angle signal to obtain an incremental angle, and obtaining a following angle according to the first absolute angle and the incremental angle;

[0009] According to the following angle, the measured turning angle of the steering wheel is obtained.

[0010] Optionally, the incremental angle includes a first incremental angle, a second incremental angle, and a third incremental angle, the following angle includes a first following angle, a second following angle, and a third following angle, the first following angle is the sum of the first absolute angle and the first incremental angle, the second following angle is the difference between the first absolute angle and the second incremental angle, and the third following angle is the sum of the first absolute angle and the third incremental angle, and obtaining the measured steering wheel angle according to the following angles includes:

[0011] Performing a first calibration on the first following angle, the second following angle, and the third following angle to obtain a first calibration result;

[0012] When the first verification result satisfies a first preset rule, the actually measured steering angle of the steering wheel is obtained according to the first following angle and the second following angle.

[0013] Optionally, performing a first verification on the first following angle, the second following angle, and the third following angle to obtain a first verification result includes:

[0014] Determine an absolute value of a difference between the first following angle and the second following angle to obtain a first absolute value;

[0015] Determine an absolute value of a difference between the first following angle and the third following angle to obtain a second absolute value;

[0016] determining an absolute value of a difference between the second following angle and the third following angle to obtain a third absolute value;

[0017] The first absolute value, the second absolute value, and the third absolute value are compared with a preset first limit value, a second limit value, and a third limit value, respectively, to obtain a first verification result.

[0018] Optionally, when the first verification result satisfies a first preset rule, obtaining a measured steering wheel angle according to the first following angle and the second following angle includes:

[0019] When the first absolute value is smaller than the first limit value, the second absolute value is smaller than the second limit value, and the third absolute value is smaller than the third limit value, an average of the first following angle and the second following angle is determined to obtain a measured steering wheel angle.

[0020] Optionally, the method further comprises:

[0021] Acquire a second angle signal collected by the rotation angle sensor;

[0022] Obtaining a second absolute angle according to the second angle signal and a vernier algorithm;

[0023] The step of obtaining the measured steering angle of the steering wheel according to the following angle further comprises:

[0024] Performing a second calibration on the following angle and the second absolute angle to obtain a second calibration result;

[0025] When the second verification result satisfies a second preset rule, an average of the first following angle and the second following angle is determined to obtain a measured steering angle of the steering wheel.

[0026] Optionally, the method further comprises:

[0027] When the first verification result does not satisfy the first preset rule or the second verification result does not satisfy the second preset rule, the cursor credibility and steering wheel speed of the second absolute angle are obtained, and the measured steering wheel angle is obtained based on the cursor credibility, steering wheel speed and the second absolute angle.

[0028] Optionally, the verification period of the first verification is 1 ms, and the verification period of the second verification is 30 s.

[0029] Optionally, performing a second verification on the following angle and the second absolute angle to obtain a second verification result includes:

[0030] determining an absolute value of a difference between the first following angle and the second absolute angle to obtain a fourth absolute value;

[0031] determining an absolute value of a difference between the second following angle and the second absolute angle to obtain a fifth absolute value;

[0032] determining an absolute value of a difference between the third following angle and the second absolute angle to obtain a sixth absolute value;

[0033] The fourth absolute value, the fifth absolute value, and the sixth absolute value are compared with the preset fourth limit value, the fifth limit value, and the sixth limit value, respectively, to obtain a second verification result.

[0034] Optionally, obtaining the measured steering wheel angle according to the cursor credibility, the steering wheel speed and the second absolute angle includes:

[0035] Comparing the vernier credibility with the credibility limit, and comparing the steering wheel speed with the speed limit;

[0036] When the cursor credibility is less than the credibility limit and the steering wheel speed is less than the speed limit, the first absolute angle is updated according to the second absolute angle, and the second angle signal is used as the new first angle signal, and the method of performing angle tracking on the first angle signal to obtain an incremental angle is returned to execute, and the following angle is obtained according to the first absolute angle and the incremental angle, and the second absolute angle is used as the measured angle of the steering wheel.

[0037] According to a second aspect of an embodiment of the present disclosure, there is provided a controller, including:

[0038] a memory having a computer program stored thereon;

[0039] A processor is used to execute the computer program in the memory to implement the steps of the steering wheel angle measurement method provided in the first aspect of the present disclosure.

[0040] According to a third aspect of an embodiment of the present disclosure, a vehicle is provided, comprising the above-mentioned controller.

[0041] According to a fourth aspect of an embodiment of the present disclosure, a non-temporary computer-readable storage medium is provided, on which a computer program is stored. When the program is executed by a processor, the steps of the steering wheel angle measurement method provided in the first aspect of the present disclosure are implemented.

[0042] Through the above technical solution, the first angle signal collected by the angle sensor is subjected to a cursor operation to obtain a first absolute angle, the first angle signal is followed to obtain an incremental angle, and a following angle is obtained based on the first absolute angle and the incremental angle, and then the measured steering wheel angle is obtained from the following angle. The incremental angle obtained by the angle following algorithm is introduced and combined with the first absolute angle obtained by the cursor algorithm to jointly calculate the measured steering wheel angle, so that when the original signal jumps at the same time or at different times, the measured steering wheel angle does not jump, thereby improving the accuracy of the measured steering wheel angle.

[0043] Other features and advantages of the present disclosure will be described in detail in the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] The accompanying drawings are used to provide a further understanding of the present disclosure and constitute a part of the specification. Together with the following specific embodiments, they are used to explain the present disclosure but do not constitute a limitation of the present disclosure. In the accompanying drawings:

[0045] Figure 1 is a structural schematic diagram of a steering system according to an exemplary embodiment;

[0046] Figure 2is a flow chart of a steering wheel angle measurement method according to an exemplary embodiment;

[0047] Figure 3 According to an exemplary embodiment, Figure 2 Flow chart of the sub-steps of step S4 in;

[0048] Figure 4 According to an exemplary embodiment, Figure 3 Flow chart of the sub-steps of step S41 in FIG.

[0049] Figure 5 is a flow chart of another steering wheel angle measurement method according to an exemplary embodiment;

[0050] Figure 6 According to an exemplary embodiment, Figure 5 A flowchart of the sub-steps of step S10 in FIG.

[0051] Figure 7 According to an exemplary embodiment, Figure 6 A flowchart of the sub-steps of step S103 in FIG.

[0052] Figure 8 The figure is a block diagram of a device for measuring a steering wheel angle according to an exemplary embodiment.

[0053] Description of Reference Numerals

[0054] 301-steering wheel; 302-input shaft; 303-torsion bar; 304-output shaft; 310-first rotor; 320-second rotor; 330-first angle device; 340-second angle device; 350-third angle device; 400-steering wheel angle measuring device; 401-first acquisition module; 402-first cursor module; 403-following module; 404-measured angle module. DETAILED DESCRIPTION

[0055] The specific implementation of the present disclosure is described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation described herein is only used to illustrate and explain the present disclosure, and is not used to limit the present disclosure.

[0056] In the description below, words such as “first” and “second” are only used for the purpose of distinguishing the description and should not be understood as indicating or implying relative importance or order.

[0057] Before introducing the specific implementation of the present invention, first, the application scenario of the present invention is described. Figure 1As shown, the electric power steering system can be coupled with a steering shaft, and the electric power steering system includes a steering wheel 301, an input shaft 302, a torsion bar 303 and an output shaft 304. When the driver rotates the steering wheel 301, the rotational force of the steering wheel 301 is transmitted through the input shaft 302, the torsion bar 303 and the output shaft 304 in sequence to change the direction of the wheel to the desired direction (not shown in the figure). The torsion bar 303 is arranged between the input shaft 302 and the output shaft 304.

[0058] The Electronic Control Unit (ECU) is used to calculate and output the actual steering wheel angle based on the signal collected by the steering angle sensor.

[0059] The rotation angle sensor includes: a first rotor 310 connected to the input shaft 302, a second rotor 320 connected to the output shaft 304, a first angle device 330 and a second angle device 340 for measuring the steering angle of the second rotor 320, and a third angle device 350 for measuring the steering angle of the first rotor 310.

[0060] The first angle device 330 and the second angle device 340 provide data obtained by measuring the rotation angle of the second rotor 320 to the electronic control unit, and the first angle device 330 and the second angle device 340 may be disposed between the first rotor 310 and the second rotor 320. The first angle device 330 and the second angle device 340 may be non-contact electromagnetic induction sensors.

[0061] The third angle device 350 provides data obtained by measuring the steering angle of the first rotor 310 to the electronic control unit, and the third angle device 350 may be disposed in parallel with the first rotor 310. The third angle device 350 may be a Hall IC sensor.

[0062] A possible implementation of the steering wheel angle measurement method is given below. The execution subject of the method may be, for example, the above-mentioned electronic control unit. Figure 2 , Figure 2 1 is a flow chart of a steering wheel angle measurement method according to an exemplary embodiment. The steering wheel angle measurement method may include steps S1 to S4:

[0063] Step S1, obtaining a first angle signal collected by a rotation angle sensor.

[0064] The first angle signal may be an angle signal collected by the first angle device 330, the second angle device 340 and the third angle device 350 in the angle sensor at a certain moment. Specifically, the angle signal collected by the first angle device is regarded as the first sub-angle signal, the angle signal collected by the second angle device is regarded as the second sub-angle signal, and the angle signal collected by the third angle device is set as the third sub-angle signal. The first angle signal represents the collection of the first sub-angle signal, the second sub-angle signal and the third sub-angle signal at a certain moment. The angle sensor may be a torque angle sensor.

[0065] Step S2, obtaining a first absolute angle according to the first angle signal and a vernier algorithm.

[0066] The first absolute angle can be obtained by operating the first angle signal using a cursor algorithm. Specifically, the first sub-angle signal, the second sub-angle signal and the third sub-angle signal at a certain moment can be operated using a cursor algorithm to obtain the first absolute angle.

[0067] Step S3, performing angle following on the first angle signal to obtain an incremental angle, and obtaining a following angle according to the first absolute angle and the incremental angle.

[0068] The incremental angle represents the amount of change in the angle of the first angle signal, and the incremental angle may include a first incremental angle, a second incremental angle, and a third incremental angle. The step of performing angle following on the first angle signal to obtain the incremental angle may be understood as performing angle following on the first sub-angle signal, the second sub-angle signal, and the third sub-angle signal, respectively, to obtain a first incremental angle representing the change in angle of the first sub-angle signal, a second incremental angle representing the change in angle of the second sub-angle signal, and a third incremental angle representing the change in angle of the third sub-angle signal.

[0069] The following angle represents the angle after the first angle signal changes, and the following angle may include a first following angle, a second following angle, and a third following angle. The step of obtaining the following angle according to the first absolute angle and the incremental angle may be understood as: obtaining the first following angle according to the first absolute angle and the first incremental angle; obtaining the second following angle according to the first absolute angle and the second incremental angle; and obtaining the third following angle according to the first absolute angle and the third incremental angle.

[0070] A following cycle is set, and the first angle signal is followed according to the following cycle. There is a following cycle from the first moment to the second moment. If the first moment corresponds to the first angle signal, then the change from the first moment to the second moment is the incremental angle 1, and the following angle corresponding to the second moment = the first absolute angle + the incremental angle 1; there is a following cycle from the second moment to the third moment, and the change from the second moment to the third moment is the incremental angle 2, and the following angle corresponding to the third moment = the first absolute angle + the incremental angle 1 + the incremental angle 2, and so on.

[0071] Step S4, obtaining the measured steering angle of the steering wheel according to the following angle.

[0072] The step of obtaining the measured steering angle of the steering wheel according to the following angle can be understood as performing a self-check on the following angle, and when the self-check passes, using the following angle to calculate the measured steering angle of the steering wheel.

[0073] Through the above technical solution, the first angle signal collected by the angle sensor is subjected to a cursor operation to obtain a first absolute angle, the first angle signal is followed to obtain an incremental angle, and a following angle is obtained based on the first absolute angle and the incremental angle, and then the measured steering wheel angle is obtained from the following angle. The incremental angle obtained by the angle following algorithm is introduced and combined with the first absolute angle obtained by the cursor algorithm to jointly calculate the measured steering wheel angle, so that when the original signal jumps at the same time or at different times, the measured steering wheel angle does not jump, thereby improving the accuracy of the measured steering wheel angle.

[0074] After obtaining the measured steering wheel angle, the measured angle can be output to the motor, inertia compensation, active return and other modules to ensure the operation of the overall EPS function.

[0075] In a possible implementation, the incremental angle includes a first incremental angle, a second incremental angle, and a third incremental angle, the following angle includes a first following angle, a second following angle, and a third following angle, the first following angle is the sum of the first absolute angle and the first incremental angle, the second following angle is the difference between the first absolute angle and the second incremental angle, and the third following angle is the sum of the first absolute angle and the third incremental angle.

[0076] According to the following angle, the measured steering wheel angle is obtained, which can include Figure 3 Sub-steps S41 to S42 shown:

[0077] Sub-step S41, performing a first verification on the first following angle, the second following angle and the third following angle to obtain a first verification result.

[0078] The first check may be a self-check of the following angle, that is, a mutual check between the first following angle, the second following angle, and the third following angle. Specifically, the first check may include a check between the first following angle and the second following angle, a check between the first following angle and the third following angle, and a check between the second following angle and the third following angle.

[0079] Sub-step S42, when the first verification result satisfies the first preset rule, obtaining the actual steering angle of the steering wheel according to the first following angle and the second following angle.

[0080] The first preset rule may be set for checking between the first following angle and the second following angle, checking between the first following angle and the third following angle, and checking between the second following angle and the third following angle, respectively.

[0081] That is, the first following angle, the second following angle and the third following angle are mutually verified to obtain a first verification result, and only when the first verification result satisfies the first preset rule, the actual measured steering wheel angle is calculated based on the first following angle and the second following angle. With the self-verification process of the following angle and the first preset rule set as the verification standard, the accuracy of the actual measured steering wheel angle calculated based on the first following angle and the second following angle that meet the verification standard of the first preset rule will be improved.

[0082] In a possible implementation manner, the first following angle, the second following angle, and the third following angle are first verified to obtain a first verification result, which may include: Figure 4 Sub-steps S411 to S414 shown:

[0083] Sub-step S411, determining an absolute value of a difference between a first following angle and a second following angle to obtain a first absolute value;

[0084] Sub-step S412, determining an absolute value of a difference between the first following angle and the third following angle to obtain a second absolute value;

[0085] Sub-step S413, determining an absolute value of a difference between the second following angle and the third following angle to obtain a third absolute value;

[0086] Sub-step S414, comparing the first absolute value, the second absolute value, and the third absolute value with the preset first limit value, the second limit value, and the third limit value, respectively, to obtain a first verification result.

[0087] In a possible implementation, when the first verification result satisfies the first preset rule, obtaining the measured steering angle of the steering wheel according to the first following angle and the second following angle may include:

[0088] When the first absolute value is less than the first limit value, the second absolute value is less than the second limit value, and the third absolute value is less than the third limit value, the average of the first following angle and the second following angle is determined to obtain the measured steering wheel angle.

[0089] In other embodiments of the present disclosure, Figure 5 As shown, the steering wheel angle measurement method may also include steps S5 to S10:

[0090] Step S5, obtaining a first angle signal collected by the rotation angle sensor.

[0091] Step S6, obtaining the first absolute angle according to the first angle signal and the vernier algorithm.

[0092] Step S7, performing angle following on the first angle signal to obtain an incremental angle, and obtaining a following angle according to the first absolute angle and the incremental angle.

[0093] In this embodiment, the specific description of steps S5 to S7 may refer to steps S1 to S3 in the above embodiment, which will not be repeated here.

[0094] Step S8, obtaining a second angle signal collected by the rotation angle sensor.

[0095] The second angle signal may be an angle signal collected by the first angle device 330, the second angle device 340 and the third angle device 350 in the rotation angle sensor at another moment after a certain moment. Specifically, the angle signal collected by the first angle device 330 is regarded as the first sub-angle signal, the angle signal collected by the second angle device 340 is regarded as the second sub-angle signal, and the angle signal collected by the third angle device 350 is set as the third sub-angle signal. The second angle signal represents the collection of the first sub-angle signal, the second sub-angle signal and the third sub-angle signal at another moment.

[0096] Step S9, obtaining a second absolute angle according to the second angle signal and the vernier algorithm.

[0097] The second absolute angle can be obtained by operating the second angle signal using a cursor algorithm. Specifically, the second absolute angle can be obtained by operating the first sub-angle signal, the second sub-angle signal and the third sub-angle signal at another moment using a cursor algorithm.

[0098] Step S10, obtaining the measured steering wheel angle according to the following angle.

[0099] See also Figure 6 , step S10 may specifically further include sub-steps S101 to S102:

[0100] Sub-step S101, performing a second calibration on the following angle and the second absolute angle to obtain a second calibration result.

[0101] The second check may be a check between the following angle and the second absolute angle, that is, a check between the first following angle, the second following angle, and the third following angle and the second following angle, respectively. Specifically, the second check may include a check between the first following angle and the second absolute angle, a check between the second following angle and the second absolute angle, and a check between the third following angle and the second absolute angle.

[0102] Sub-step S102, when the second verification result satisfies the second preset rule, determining the average of the first following angle and the second following angle to obtain the measured steering wheel angle.

[0103] The second preset rule may be set for checking between the first following angle and the second absolute angle, checking between the second following angle and the second absolute angle, and checking between the third following angle and the third absolute angle, respectively.

[0104] That is to say, the first following angle, the second following angle, and the third following angle are mutually verified, and the first preset rule is set as the verification standard, the first following angle, the second following angle, and the third following angle are respectively verified with the second absolute angle, and the second preset rule is set as the verification standard, then according to the first following angle and the second following angle that meet the verification standards of the first preset rule and the second preset rule, the accuracy of the calculated steering wheel measured angle will be further improved.

[0105] In a possible implementation, step S10 may further include:

[0106] Sub-step S103, when the first verification result does not meet the first preset rule or the second verification result does not meet the second preset rule, obtain the cursor credibility and steering wheel speed of the second absolute angle, and obtain the measured steering wheel angle based on the cursor credibility, steering wheel speed and the second absolute angle.

[0107] In the process of calculating the absolute angle using the vernier algorithm, the output result is not only the absolute angle, but also the credibility of the absolute angle, that is, the vernier credibility. The steering wheel speed is the ratio of the steering wheel angle to time.

[0108] The measured steering wheel angle is obtained based on the cursor credibility, steering wheel speed and the second absolute angle. It can be understood that the cursor credibility and the steering wheel angle are used as judgment conditions. When the judgment conditions are met, the measured steering wheel angle is obtained based on the second absolute angle.

[0109] That is to say, when the first verification result does not meet the first preset rule or the second verification result does not meet the second verification rule, the cursor credibility judgment of the steering wheel speed and the second absolute angle is performed again. When the judgment conditions are met, the accurate measured steering wheel angle is obtained again based on the second absolute angle.

[0110] In a possible implementation manner, the verification period of the first verification is 1 ms, and the verification period of the second verification is 30 s.

[0111] The verification period of the first verification may be consistent with the following period of the following algorithm. The verification period of the second verification may be the time difference between another moment and a certain moment in the above implementation.

[0112] In a possible implementation, performing a second verification on the following angle and the second absolute angle to obtain a second verification result may include:

[0113] determining an absolute value of a difference between the first following angle and the second absolute angle to obtain a fourth absolute value;

[0114] determining an absolute value of a second following angle and a second absolute angle difference to obtain a fifth absolute value;

[0115] determining an absolute value of a difference between the third following angle and the second absolute angle to obtain a sixth absolute value;

[0116] The fourth absolute value, the fifth absolute value, and the sixth absolute value are compared with the preset fourth limit value, the fifth limit value, and the sixth limit value, respectively, to obtain a second verification result.

[0117] When the second verification result satisfies the second preset rule, it can be understood that the fourth absolute value is less than the fourth limit value, the fifth absolute value is less than the fifth limit value, and the sixth absolute value is less than the sixth limit value.

[0118] When the first verification result does not satisfy the first preset rule or the second verification result does not satisfy the second preset rule, it can be understood that when the first absolute value is greater than or equal to the first limit, or the second absolute value is greater than or equal to the second limit, or the third absolute value is greater than or equal to the third limit, or the fourth absolute value is greater than or equal to the fourth limit, or the fifth absolute value is greater than or equal to the fifth limit, or the sixth absolute value is greater than or equal to the sixth limit.

[0119] In a possible implementation, the measured steering wheel angle is obtained according to the vernier credibility, the steering wheel speed and the second absolute angle, such as Figure 7 As shown, step S103 may include sub-steps S1031 to S1032:

[0120] Step S1031, comparing the vernier credibility with the credibility limit, and comparing the steering wheel speed with the speed limit;

[0121] Step S1032, when the cursor credibility is less than the credibility limit and the steering wheel speed is less than the speed limit, the first absolute angle is updated according to the second absolute angle, and the second angle signal is used as the new first angle signal, and the method returns to execute angle tracking of the first angle signal to obtain an incremental angle, and obtains the following angle based on the first absolute angle and the incremental angle, and uses the second absolute angle as the measured steering wheel angle.

[0122] The credibility limit is a threshold that indicates the credibility of the absolute angle. When the vernier credibility is lower than the credibility threshold, the absolute angle can be considered credible, otherwise the absolute angle is unreliable. The speed limit is a threshold that indicates the speed. When the steering wheel speed is lower than the speed limit, the steering wheel speed can be considered low, otherwise the steering wheel speed is high. The speed limit can be set to 20° / s.

[0123] When the cursor credibility is less than the credibility limit and the steering wheel speed is less than the speed limit, it indicates that the second absolute angle is credible and the steering wheel speed is low. On this basis, the value of the second absolute angle replaces the original first absolute angle to obtain a new first absolute angle. The second angle signal is used as the new first angle signal, and the process returns to step S7, using the second absolute angle as the measured steering wheel angle.

[0124] It should be noted that, when returning to step S7, the second absolute angle is used as the measured steering angle of the steering wheel, and the incremental angle at this moment is 0.

[0125] When the cursor credibility is greater than or equal to the credibility limit, or the steering wheel reading is greater than or equal to the speed limit, it indicates that the second absolute angle is unreliable or the steering wheel speed is high. In this case, the measured angle output at the previous moment can be reused. If the fault tolerance time is exceeded, the measured angle will be directly set to zero, and the measured angle output at the previous moment will not be assigned as the measured angle at this moment, and the fault flag will be output.

[0126] In other words, the real-time steering wheel angle is obtained based on the absolute angle calculated by the cursor algorithm, avoiding large or small angle errors caused by synchronous or asynchronous jumps of the original signal; fault tolerance is performed by adopting two verification methods to improve the effectiveness of the actual angle calculation; the cursor has high credibility at low speeds, and the reliable absolute angle value at low speeds is used for update. The accurate output of the steering wheel angle is improved, ensuring the normal realization of the vehicle's self-centering function and the realization of the respective control functions of chassis electronic control systems such as ESP.

[0127] To implement the above method embodiments, this embodiment provides a steering wheel angle measurement device, such as Figure 8 As shown, Figure 8 4 is a block diagram of a steering wheel angle measurement device shown in an exemplary embodiment. The steering wheel angle measurement device 400 may include a first acquisition module 401 , a first cursor module 402 , a following module 403 and a measured angle module 404 .

[0128] The first acquisition module 401 is used to acquire a first angle signal acquired by a rotation angle sensor;

[0129] A first cursor module 402, configured to obtain a first absolute angle according to a first angle signal and a cursor algorithm;

[0130] A following module 403 is used to perform angle following on the first angle signal to obtain an incremental angle, and obtain a following angle according to the first absolute angle and the incremental angle;

[0131] The measured turning angle module 404 is used to obtain the measured turning angle of the steering wheel according to the following angle.

[0132] Optionally, the incremental angle includes a first incremental angle, a second incremental angle and a third incremental angle, the following angle includes a first following angle, a second following angle and a third following angle, the first following angle is the sum of the first absolute angle and the first incremental angle, the second following angle is the difference between the first absolute angle and the second incremental angle, the third following angle is the sum of the first absolute angle and the third incremental angle, and the measured turning angle module 404 includes a first verification unit and a first measuring unit.

[0133] A first verification unit, used for performing a first verification on the first following angle, the second following angle and the third following angle to obtain a first verification result;

[0134] The first measuring unit is configured to obtain a measured steering angle of the steering wheel according to the first following angle and the second following angle when the first verification result satisfies a first preset rule.

[0135] Optionally, the first verification unit is specifically used for:

[0136] Determine the absolute value of the difference between the first following angle and the second following angle to obtain a first absolute value;

[0137] Determine an absolute value of a difference between the first following angle and the third following angle to obtain a second absolute value;

[0138] Determine an absolute value of a difference between the second following angle and the third following angle to obtain a third absolute value;

[0139] The first absolute value, the second absolute value, and the third absolute value are compared with the preset first limit value, the second limit value, and the third limit value, respectively, to obtain a first verification result.

[0140] Optionally, the first measuring unit is specifically used to:

[0141] When the first absolute value is less than the first limit value, the second absolute value is less than the second limit value, and the third absolute value is less than the third limit value, the average of the first following angle and the second following angle is determined to obtain the measured steering wheel angle.

[0142] Optionally, the steering wheel angle measuring device 400 further includes a second acquisition module and a second cursor module.

[0143] A second acquisition module, used to acquire a second angle signal acquired by the rotation angle sensor;

[0144] A second cursor module, used for obtaining a second absolute angle according to a second angle signal and a cursor algorithm;

[0145] The measured turning angle module 404 may further include a second verification unit and a second measuring unit:

[0146] A second verification unit, used for performing a second verification on the following angle and the second absolute angle to obtain a second verification result;

[0147] The second measuring unit is used to determine the average of the first following angle and the second following angle to obtain the measured turning angle of the steering wheel when the second verification result satisfies the second preset rule.

[0148] Optionally, the second measurement unit is also used to obtain the cursor credibility and steering wheel speed of the second absolute angle when the first verification result does not meet the first preset rule or the second verification result does not meet the second preset rule, and obtain the measured steering wheel angle based on the cursor credibility, steering wheel speed and the second absolute angle.

[0149] Optionally, the verification period of the first verification is 1 ms, and the verification period of the second verification is 30 s.

[0150] Optionally, the second verification unit is specifically configured to:

[0151] determining an absolute value of a difference between the first following angle and the second absolute angle to obtain a fourth absolute value;

[0152] determining an absolute value of a second following angle and a second absolute angle difference to obtain a fifth absolute value;

[0153] determining an absolute value of a difference between the third following angle and the second absolute angle to obtain a sixth absolute value;

[0154] The fourth absolute value, the fifth absolute value, and the sixth absolute value are compared with the preset fourth limit value, the fifth limit value, and the sixth limit value, respectively, to obtain a second verification result.

[0155] Optionally, the second measuring unit is specifically used to:

[0156] Compare the vernier credibility with the credibility limit, and compare the steering wheel speed with the speed limit;

[0157] When the cursor credibility is less than the credibility limit and the steering wheel speed is less than the speed limit, the first absolute angle is updated according to the second absolute angle, and the second angle signal is used as the new first angle signal, and the method returns to execute angle tracking of the first angle signal to obtain an incremental angle, and obtains the following angle based on the first absolute angle and the incremental angle, and uses the second absolute angle as the measured steering wheel angle.

[0158] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0159] An embodiment of the present disclosure further provides a controller, which includes a processor and a memory, wherein the memory is used to store a computer program, and the processor is used to execute the computer program to perform the steps of any of the above-mentioned steering wheel angle measurement methods.

[0160] In another exemplary embodiment, a vehicle is also provided. The vehicle includes the above-mentioned controller.

[0161] In another exemplary embodiment, a computer-readable storage medium including program instructions is further provided. When the program instructions are executed by a processor, the steps of the control method of the above-mentioned steering wheel angle measurement method are implemented.

[0162] The preferred embodiments of the present disclosure are described in detail above in conjunction with the accompanying drawings; however, the present disclosure is not limited to the specific details in the above embodiments. Within the technical concept of the present disclosure, a variety of simple modifications can be made to the technical solution of the present disclosure, and these simple modifications are all within the protection scope of the present disclosure.

[0163] It should also be noted that the various specific technical features described in the above specific embodiments can be combined in any suitable manner without contradiction. In order to avoid unnecessary repetition, the present disclosure will not further describe various possible combinations.

[0164] In addition, various embodiments of the present disclosure may be arbitrarily combined, and as long as they do not violate the concept of the present disclosure, they should also be regarded as the contents disclosed by the present disclosure.

Claims

1. A method for measuring a steering wheel angle, characterized in that: include: Acquire a first angle signal collected by a rotation angle sensor; Obtaining a first absolute angle according to the first angle signal and a vernier algorithm; Performing angle following on the first angle signal to obtain an incremental angle, and obtaining a following angle according to the first absolute angle and the incremental angle, wherein the incremental angle includes a first incremental angle, a second incremental angle, and a third incremental angle, the following angle includes a first following angle, a second following angle, and a third following angle, the first following angle is the sum of the first absolute angle and the first incremental angle, the second following angle is the difference between the first absolute angle and the second incremental angle, and the third following angle is the sum of the first absolute angle and the third incremental angle; Acquire a second angle signal collected by the rotation angle sensor; Obtaining a second absolute angle according to the second angle signal and a vernier algorithm; According to the following angle, obtaining the measured turning angle of the steering wheel; The step of obtaining the measured steering angle of the steering wheel according to the following angle includes: Performing a first calibration on the first following angle, the second following angle, and the third following angle to obtain a first calibration result; When the first verification result satisfies a first preset rule, obtaining a measured steering wheel angle according to the first following angle and the second following angle; Performing a second calibration on the following angle and the second absolute angle to obtain a second calibration result; When the second verification result satisfies a second preset rule, an average of the first following angle and the second following angle is determined to obtain a measured steering angle of the steering wheel.

2. The method according to claim 1, characterized in that: The first following angle, the second following angle, and the third following angle are subjected to a first verification to obtain a first verification result, including: Determine an absolute value of a difference between the first following angle and the second following angle to obtain a first absolute value; Determine an absolute value of a difference between the first following angle and the third following angle to obtain a second absolute value; determining an absolute value of a difference between the second following angle and the third following angle to obtain a third absolute value; The first absolute value, the second absolute value, and the third absolute value are compared with a preset first limit value, a second limit value, and a third limit value, respectively, to obtain a first verification result.

3. The method according to claim 2, characterized in that When the first verification result satisfies a first preset rule, obtaining a measured steering wheel angle according to the first following angle and the second following angle includes: When the first absolute value is smaller than the first limit value, the second absolute value is smaller than the second limit value, and the third absolute value is smaller than the third limit value, an average of the first following angle and the second following angle is determined to obtain a measured steering wheel angle.

4. The method according to claim 2, characterized in that: The method further comprises: When the first verification result does not satisfy the first preset rule or the second verification result does not satisfy the second preset rule, the cursor credibility and steering wheel speed of the second absolute angle are obtained, and the measured steering wheel angle is obtained based on the cursor credibility, steering wheel speed and the second absolute angle.

5. The method according to claim 2, characterized in that: The verification period of the first verification is 1 ms, and the verification period of the second verification is 30 s.

6. The method according to claim 2, characterized in that The performing a second verification on the following angle and the second absolute angle to obtain a second verification result includes: determining an absolute value of a difference between the first following angle and the second absolute angle to obtain a fourth absolute value; determining an absolute value of a difference between the second following angle and the second absolute angle to obtain a fifth absolute value; determining an absolute value of a difference between the third following angle and the second absolute angle to obtain a sixth absolute value; The fourth absolute value, the fifth absolute value, and the sixth absolute value are compared with the preset fourth limit value, the fifth limit value, and the sixth limit value, respectively, to obtain a second verification result.

7. The method according to claim 4, characterized in that The step of obtaining the measured steering wheel angle according to the cursor credibility, the steering wheel speed and the second absolute angle includes: Comparing the vernier credibility with the credibility limit, and comparing the steering wheel speed with the speed limit; When the cursor credibility is less than the credibility limit and the steering wheel speed is less than the speed limit, the first absolute angle is updated according to the second absolute angle, and the second angle signal is used as the new first angle signal, and the method of performing angle tracking on the first angle signal to obtain an incremental angle is returned to execute, and the following angle is obtained according to the first absolute angle and the incremental angle, and the second absolute angle is used as the measured angle of the steering wheel.

8. A controller, characterized in that: include: a memory having a computer program stored thereon; A processor, configured to execute the computer program in the memory to implement the steps of the method according to any one of claims 1 to 7.

9. A vehicle, characterized in that: Comprising the controller as claimed in claim 8.

10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method described in any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Electric power steering system and steering angle outputting method thereof

    CN103587575A