Yaw angular velocity calculation method, device, equipment and readable medium
By obtaining the vehicle wheel speed and road surface characteristic values, combined with the fuzzy logic control model and dynamics model, the yaw angular velocity is calculated and compensated, which solves the problem of low vehicle yaw angular velocity calculation accuracy in the existing technology and improves the accuracy of vehicle yaw angular velocity under complex road conditions. Vehicle stability control accuracy.
Patent Information
- Application Number
- CN202310887352.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-18
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2043-07-18
AI Technical Summary
The existing vehicle yaw angular velocity calculation method has low accuracy under complex road conditions and cannot accurately estimate the vehicle yaw angular velocity, resulting in insufficient accuracy of handling and stability control decisions.
By obtaining the wheel speed and road surface characteristic values while the vehicle is driving, and combining the fuzzy logic control model and dynamics model, the yaw angular velocity is calculated and compensated to improve calculation accuracy.
It achieves accurate calculation of vehicle yaw angular velocity under different complex road conditions and improves the accuracy of handling and stability control.
Smart Images

Figure CN116749983B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of vehicle yaw rate, and in particular to a yaw rate compensation method, device, equipment and readable medium. Background Art
[0002] The yaw velocity of a vehicle refers to the angular velocity of the vehicle rotating around the z-axis (car coordinate system). It is an important indicator of vehicle handling stability and the main basis for vehicle dynamics control systems to make control decisions. The existing technical solution is to estimate the yaw velocity of the vehicle by wheel speed and establishing a vehicle kinematic model. However, when a vehicle is driving on different complex road conditions, even the same wheel speed corresponds to different yaw velocities. Therefore, the accuracy of the vehicle yaw velocity estimated only by wheel speed and establishing a vehicle kinematic model is low. Summary of the invention
[0003] The embodiments of the present application provide a yaw rate compensation method, apparatus, device and readable medium, which can use the calculated yaw rate compensation value to compensate for the yaw rate, thereby improving the accuracy of the yaw rate.
[0004] In a first aspect, an embodiment of the present application provides a yaw rate calculation method, the method comprising: obtaining a first wheel speed at a current moment when the vehicle is traveling and a first road surface characteristic value corresponding to the road surface on which the vehicle is traveling; obtaining a first wheel speed compensation value at a current moment when the vehicle is traveling; determining a second wheel speed compensation value based on the first road surface characteristic value and a first fuzzy logic control model; determining a third compensation value based on the first wheel speed, the first road surface characteristic value and the first dynamics model; determining a first yaw rate and a first yaw rate compensation value corresponding to the vehicle based on the first wheel speed, the first wheel speed compensation value, the second wheel speed compensation value and the third compensation value; compensating the first yaw rate according to the first yaw rate compensation value to obtain a compensated second yaw rate.
[0005] It can be understood that the first wheel speed can be obtained by combining the second wheel speed and the third wheel speed. The second wheel speed can be obtained through the first vehicle bus; the third wheel speed can be calculated based on the collected first wheel speed pulse signal. The first road surface characteristic value can be calculated based on the road surface adhesion coefficient and slip rate parameters obtained according to the current vehicle driving state, or it can be obtained based on the high-precision map and sensors carried by the vehicle.
[0006] In a possible implementation of the first aspect above, the method also includes: obtaining a first wheel speed at a current moment when the vehicle is traveling, including: obtaining a second wheel speed through a first vehicle bus of the vehicle; collecting a pulse signal corresponding to the wheel speed at a current moment when the vehicle is traveling, and obtaining a third wheel speed based on the pulse signal; obtaining a fourth wheel speed based on the second wheel speed and the third wheel speed; compensating the fourth wheel speed to obtain the first wheel speed; obtaining a first road surface characteristic value corresponding to the road surface on which the vehicle is traveling, including: determining a road surface adhesion coefficient and a slip rate parameter corresponding to the road surface on which the vehicle is traveling based on a first operating parameter of the vehicle; obtaining a first road surface characteristic value based on the road surface adhesion coefficient and the slip rate parameter; or, determining the first road surface characteristic value based on the road surface adhesion coefficient, the slip rate parameter and the detected road surface information, combined with a preset road surface characteristic value record table.
[0007] In a possible implementation of the first aspect above, the method also includes: obtaining a first wheel speed compensation value at a current moment when the vehicle is traveling, including: when a first condition is met, obtaining a first wheel speed ratio based on the first wheel speed; when a second condition is met, obtaining a first wheel speed compensation value according to a sampling time interval of a pulse signal; when the first condition is not met or the second condition is not met, using the wheel speed compensation value corresponding to a moment before the current moment as the first wheel speed compensation value; wherein the first condition is that the difference between the second wheel speed and the third wheel speed is less than or equal to a first difference threshold; the second condition is that the first wheel speed ratio is within a predetermined wheel speed ratio threshold range, the current vehicle speed is greater than a preset minimum speed, and the current total distance traveled by the vehicle is greater than a preset minimum distance.
[0008] In a possible implementation of the first aspect above, the method also includes: determining a second wheel speed compensation value based on a first road surface characteristic value and a first fuzzy logic control model, including: based on the input first road surface characteristic value, the first fuzzy logic control model outputs a second wheel speed compensation value; wherein the first fuzzy logic control model is constructed based on the correspondence between the first road surface characteristic value and the yaw angular velocity compensation value.
[0009] In a possible implementation of the first aspect above, the method further includes: determining a first yaw velocity and a first yaw velocity compensation value corresponding to the vehicle based on the first wheel speed, the first wheel speed compensation value, the second wheel speed compensation value and the third wheel speed compensation value, including: taking the average of the first wheel speed compensation value, the second wheel speed compensation value and the third wheel speed compensation value as a fourth wheel speed compensation value; compensating the fourth wheel speed according to the fourth wheel speed compensation value to obtain the compensated first wheel speed; and, based on the first wheel speed, calculating the third yaw velocity; limiting the third yaw velocity to obtain the first yaw velocity; obtaining the fourth yaw velocity, wherein the fourth yaw velocity is calculated by the second operating parameter of the vehicle; determining the second yaw velocity compensation value based on the first yaw velocity and the fourth yaw velocity in combination with the first filtering model; limiting the second yaw velocity compensation value to obtain the first yaw velocity compensation value.
[0010] In a possible implementation of the first aspect above, the method further includes: limiting the third yaw angular velocity to obtain the first yaw angular velocity, including: when the third yaw angular velocity is greater than a preset maximum yaw angular velocity, using the maximum yaw angular velocity as the first yaw angular velocity; when the third yaw angular velocity is less than a preset minimum yaw angular velocity, using the minimum yaw angular velocity as the first yaw angular velocity; when the third yaw angular velocity is less than or equal to the preset maximum yaw angular velocity and greater than or equal to the preset minimum yaw angular velocity, using the third yaw angular velocity as the first yaw angular velocity.
[0011] In a possible implementation of the first aspect above, the method further includes: performing a limiting process on the second yaw rate compensation value to obtain a first yaw rate compensation value, including: when the second yaw rate compensation value is greater than a preset maximum yaw rate compensation value, the maximum yaw rate compensation value is used as the first yaw rate compensation value; when the second yaw rate compensation value is less than a preset minimum yaw rate compensation value, the minimum yaw rate compensation value is used as the first yaw rate compensation value; when the second yaw rate compensation value is less than or equal to the preset maximum yaw rate compensation value and greater than or equal to the preset minimum yaw rate compensation value, the second yaw rate compensation value is used as the first yaw rate compensation value.
[0012] In a second aspect, an embodiment of the present application provides a yaw rate and compensation value calculation device, the device comprising: a signal processing module, a dynamic calculation module and a data calculation module; the signal processing module is used to obtain a first wheel speed compensation value at a current moment when the vehicle is traveling and a first road surface characteristic value corresponding to the vehicle's driving road surface; the dynamic calculation module is used to obtain a first wheel speed compensation value at a current moment when the vehicle is traveling, and to determine a second wheel speed compensation value based on the first road surface characteristic value and a first fuzzy logic control model; the dynamic calculation module is also used to determine a third compensation value based on the first wheel speed, the first road surface characteristic value and the first dynamic model; the data calculation module is used to determine a first yaw rate and a first yaw rate compensation value corresponding to the vehicle based on the first wheel speed, the first wheel speed compensation value, the second wheel speed compensation value and the third wheel speed compensation value; and is used to compensate the first yaw rate according to the first yaw rate compensation value to obtain a compensated second yaw rate.
[0013] In a third aspect, the present application provides an electronic device comprising a processor: and a memory for storing executable instructions of the processor; wherein the processor is configured to execute the executable instructions to implement a yaw angular velocity compensation method according to any one of the above.
[0014] In a fourth aspect, the present application provides a readable medium storing instructions, wherein the readable medium stores instructions, and when the instructions are executed by an electronic device, the electronic device executes any one of the above-mentioned methods for compensating the yaw angular velocity.
[0015] Beneficial effects of the embodiments of the present invention:
[0016] In the above scheme, the yaw rate of the vehicle is calculated by combining the current road surface characteristic value, wheel speed and wheel speed compensation value, so that the yaw rate of the vehicle under different complex road conditions can be accurately calculated. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 According to an embodiment of the present application, a schematic flow chart of a method for compensating yaw angular velocity is shown;
[0018] Figure 2 According to an embodiment of the present application, a module schematic diagram of a yaw angular velocity compensation device is shown;
[0019] Figure 3 According to an embodiment of the present application, a functional implementation flow chart of a vehicle signal processing module is shown;
[0020] Figure 4 According to an embodiment of the present application, a functional implementation flow chart of a dynamics calculation module is shown;
[0021] Figure 5According to an embodiment of the present application, a functional implementation flow chart of a data calculation module is shown;
[0022] Figure 6 According to an embodiment of the present application, a structural schematic diagram of an electronic device 100 is shown. DETAILED DESCRIPTION
[0023] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0024] It should also be stated that the steps in the methods and processes in the embodiments of the present application are numbered for ease of reference, rather than to limit the order of precedence. If there is an order between the steps, the text description shall prevail.
[0025] As mentioned above, in the existing vehicle yaw rate calculation method, the current driving road conditions are not taken into consideration when calculating the vehicle yaw rate. Therefore, the vehicle yaw rate obtained according to the existing calculation method has low accuracy.
[0026] In order to solve the above problems, an embodiment of the present application provides a method for compensating yaw angular velocity. Specifically, the method obtains a first wheel speed at a current moment when the vehicle is traveling and a first road surface characteristic value corresponding to the road surface on which the vehicle is traveling; obtains a first wheel speed compensation value at a current moment when the vehicle is traveling; determines a second wheel speed compensation value based on the first road surface characteristic value and a first fuzzy logic control model; calculates a third compensation value based on the first wheel speed, the first road surface characteristic value and the first dynamic model; determines a first yaw angular velocity and a first yaw angular velocity compensation value corresponding to the vehicle based on the first wheel speed, the first wheel speed compensation value, the second wheel speed compensation value and the third compensation value; compensates the first yaw angular velocity according to the first yaw angular velocity compensation value to obtain a compensated second yaw angular velocity.
[0027] It can be understood that when a vehicle travels on different roads at the same speed, the corresponding yaw rate values are also different. Therefore, when calculating the yaw rate based on the above yaw rate calculation method, the current road surface characteristic value is combined to make the calculation result more accurate.
[0028] Wherein, the acquisition of the first wheel speed of the vehicle during driving may include acquiring the second wheel speed through the first vehicle bus (for example, CAN bus), and collecting the pulse signal corresponding to the wheel speed at the current moment of the vehicle during driving, and obtaining the third wheel speed according to the pulse signal. The second wheel speed and the third wheel speed are further combined and processed to obtain the first wheel speed. Wherein, the second wheel speed may be obtained by the radar device from the first vehicle bus. In some embodiments, the validity of the second wheel speed and the third wheel speed may also be judged. When the second wheel speed and the third wheel speed are less than or equal to the maximum wheel speed and the wheel speed difference between the front and rear axles is less than or equal to the maximum wheel speed difference, the second wheel speed and the third wheel speed are valid wheel speeds. When the second wheel speed and the third wheel speed are greater than the maximum wheel speed and the wheel speed difference between the front and rear axles is greater than the maximum wheel speed difference, the second wheel speed and the third wheel speed are invalid wheel speeds. For example, the wheel speed signal corresponding to the second wheel speed may have invalid signal, signal exceeding limit value and signal mutation, etc. At this time, the second wheel speed and the third wheel speed are invalid values and are not processed. It can be understood that the second wheel speed and the third wheel speed are combined to obtain a more accurate vehicle wheel speed. Specifically, the average of the second wheel speed and the third wheel speed can be used as the first wheel speed. The calculation method of the third wheel speed will be described in detail below and will not be repeated here.
[0029] It can be understood that the above-mentioned first road surface characteristic value is used to reflect the coupling effect between the current vehicle's driving road surface and the vehicle tires. On the one hand, the first road surface characteristic value can obtain road surface information through the high-precision map or sensor carried by the vehicle, and then determine the first road surface characteristic value based on the road surface characteristic value corresponding to the recorded road surface information. On the other hand, the first dynamic model can obtain the road adhesion coefficient and slip rate parameters according to the current vehicle driving state, and obtain the first road surface characteristic value through the characteristic value calculation formula. The specific first road surface characteristic value calculation process will be described in detail below and will not be repeated here. In other embodiments, the first road surface characteristic values obtained by the above two methods can also be compared to determine that the current road condition information is correct.
[0030] Combine the following Figure 1 The specific implementation process of the vehicle yaw rate calculation method provided in the embodiment of the present application is described in detail. Figure 1 According to an embodiment of the present application, a flow chart of a yaw rate calculation method is shown. It can be understood that the execution subject of each step in the method can be a calculation device or equipment for implementing the vehicle yaw rate method of the present application, such as a radar. The structure of the specific calculation device or equipment will be described in detail below and will not be repeated here.
[0031] like Figure 1 As shown, the process includes the following steps:
[0032] 101: Obtain a first wheel speed at a current moment of a vehicle traveling and a first road surface characteristic value corresponding to a road surface on which the vehicle is traveling.
[0033] It can be understood that obtaining the first wheel speed of the vehicle during driving includes obtaining the second wheel speed through the first vehicle bus. The pulse signal corresponding to the wheel speed at the current moment of the vehicle during driving is collected, and the third wheel speed is obtained based on the pulse signal. The second wheel speed and the third wheel speed are combined and processed to obtain the above-mentioned first wheel speed. For example, the average of the first wheel speed and the second wheel speed is used as the first wheel speed. In some embodiments, the validity of the above-mentioned second wheel speed is also judged. For example, the relationship between the second wheel speed and the maximum wheel speed is judged according to formula (1):
[0034] |WheelSpdcan|≤WheelSpdcanmax (1)
[0035] Among them, WheelSpdcan is the second wheel speed obtained through the first vehicle bus; WheelSpdcanmax is the maximum wheel speed.
[0036] In addition, it is also necessary to determine the relationship between the wheel speed difference between the front and rear axles of the vehicle and the maximum wheel speed difference, that is, to compare the wheel speed difference between the front and rear axles of the vehicle with the maximum wheel speed difference using formula (2):
[0037] |ΔWheelSpdcan|≤ΔWheelSpdcanmax (2)
[0038] Among them, ΔWheelSpdcan is the front and rear wheel speed difference; ΔWheelSpdcanmax is the maximum wheel speed difference.
[0039] It can be understood that when the second wheel speed satisfies the magnitude relationship shown in the above formula (1) and formula (2), the second wheel speed is a valid wheel speed. When the second wheel speed does not satisfy the magnitude relationship shown in the above formula (1) and formula (2), the second wheel speed is an invalid wheel speed. For example, the wheel speed signal corresponding to the second wheel speed may be invalid, exceed the limit value, or change suddenly. At this time, the second wheel speed is an invalid value and is not processed. The situation corresponding to the invalid signal can also be reported as a fault event, which is not limited here. At this time, the corresponding first wheel speed can be determined based on the third wheel speed.
[0040] Furthermore, a pulse signal corresponding to the wheel speed output by a sensor mounted on the vehicle is collected, and a third wheel speed is calculated based on the pulse signal. The third wheel speed can be calculated using the following formula (3):
[0041] WheelSpd=δP / Np*2πR / (cycle time) (3)
[0042] Among them, WheelSpd is the third wheel speed, δP is the number of pulses in one execution cycle, Np is the number of revolutions in one execution cycle, R is the wheel radius, and cycle time is the time to execute one cycle.
[0043] It can be understood that the first road surface characteristic value can be obtained by any of the following methods:
[0044] The first method is to obtain the current road surface information through a high-precision map carried by the vehicle, for example, whether the current road surface is dry asphalt, wet concrete, wet asphalt, mud, snow, etc., and then determine the first road surface characteristic value based on the road surface characteristic value corresponding to the recorded road surface information.
[0045] The second method is, for example, obtaining the road adhesion coefficient and slip rate of the current road surface according to the sensor, and then determining the first road surface characteristic value according to the road surface characteristic values corresponding to the recorded adhesion coefficient and slip rate. Refer to Table 1, which records the road surface characteristic values, road adhesion coefficients and slip rate parameters of some typical roads. For example, the road surface characteristic value of a dry asphalt road surface is 0.155, the road surface adhesion coefficient is 0.95, and the slip rate is 0.22; the road surface characteristic value of a wet concrete road surface is 0.11, the road surface adhesion coefficient is 0.8, and the slip rate is 0.19; the road surface characteristic value of a wet asphalt road surface is 0.07, the road surface adhesion coefficient is 0.6, and the slip rate is 0.16; the road surface characteristic value of a dirt road surface is 0.034, the road surface adhesion coefficient is 0.4, and the slip rate is 0.12; the road surface characteristic value of a snowy road surface is 001, the road surface adhesion coefficient is 02, and the slip rate is 007.
[0046]
[0047] Table 1
[0048] Among them, τ in Table 1 is the characteristic value of the road surface, μ is the road adhesion coefficient, and s is the slip rate.
[0049] In a third way, for example, the first road surface characteristic value may also be obtained by the first dynamic model according to the current vehicle driving state to obtain the road surface adhesion coefficient and slip rate parameters, and the first road surface characteristic value is obtained by the characteristic value calculation formula. The above-mentioned first dynamic model can be established by vehicle calibration, which defines the relationship between the vehicle's driving condition (determined by driving data) and the road surface parameters.
[0050] The specific calculation of the first road surface characteristic value is shown in the following formula (4):
[0051]
[0052] Among them, τ is the characteristic value of the road surface, μ is the adhesion coefficient between the wheel and the ground, and s is the slip rate.
[0053] It is understandable that the first road surface characteristic value may be obtained in any of the above three ways. In other embodiments, the first road surface characteristic values obtained in the above three ways may be compared to determine the current road condition information to be obtained.
[0054] 102: Obtain the first wheel speed compensation value at the current moment when the vehicle is traveling.
[0055] It can be understood that the above-mentioned first wheel speed can be a valid wheel speed or an invalid wheel speed. For example, when the difference between the second wheel speed and the third wheel speed is less than or equal to the first difference threshold, the above-mentioned first wheel speed is a valid wheel speed. At this time, based on the first wheel speed, the first wheel speed ratio is calculated. Among them, the above-mentioned first wheel speed ratio includes the left and right wheel speed ratio of the front axle and the left and right wheel speed ratio of the rear axle. The specific calculation process is as follows: After the first wheel speed is filtered by the Kalman filter, the left and right wheel speeds of the front and rear axles of the vehicle can be obtained: the front axle left wheel speed WheelSpdfl, the front axle right wheel speed WheelSpdfr, the rear axle left wheel speed WheelSpdrl, and the rear axle right wheel speed WheelSpdrr. Further, the first wheel speed ratio is obtained by formula (5) and formula (6):
[0056] Ratio_front=WheelSpdfl / WheelSpdfr (5)
[0057] Ratio_rear=WheelSpdrl / WheelSpdrr (6)
[0058] Among them, Ratio_front is the left and right wheel speed ratio of the front axle, and Ratio_rear is the left and right wheel speed ratio of the rear axle.
[0059] When the difference between the second wheel speed and the third wheel speed is greater than the first difference threshold, the first wheel speed is an invalid wheel speed. The wheel speed signal corresponding to the first wheel speed may be invalid, exceed the limit value, or have a sudden change. At this time, the first wheel speed is an invalid value and no processing is performed. Alternatively, the situation corresponding to the invalid signal may be reported as a fault event, which is not limited here.
[0060] Furthermore, the first wheel speed ratio is classified and processed according to the second condition. The second condition may be that the first wheel speed ratio is within a predetermined wheel speed ratio threshold range, the current driving speed of the vehicle is greater than a preset minimum driving speed, and the current total driving distance of the vehicle is greater than a preset minimum distance. When the first wheel speed ratio satisfies the second condition, the first wheel speed compensation value is calculated according to the sampling interval. Specifically, the average sampling time interval Interval_ave of the specified number of sampling times is calculated, and the difference ΔInterval of the interval time is calculated in combination with the current time interval Interval_cur, that is, ΔInterval = Interval_cur-Interval_ave. Then, it is determined whether the difference of the current time interval satisfies inequality (7):
[0061] ΔIntervalmin≤ΔInterval ≤ΔIntervalmax (7)
[0062] If the above inequality (6) is satisfied, the first wheel speed compensation value is calculated. The specific calculation formula (8) is as follows:
[0063]
[0064] Among them, Factormax is the maximum compensation value, and Factormin is the minimum compensation value. It can be understood that the above maximum compensation value and minimum compensation value can be empirical values or statistical values obtained through experimental data, or can be reasonably set according to actual needs, and there is no limitation here.
[0065] 103: Determine a second wheel speed compensation value based on the first road surface characteristic value and the first fuzzy logic control model.
[0066] It can be understood that the second wheel speed compensation value is determined based on the first road feature value obtained in step 101 and combined with the first fuzzy logic control model, wherein the fuzzy logic control model is constructed based on the corresponding relationship between the road adhesion coefficient, the slip rate parameter and the yaw rate compensation value.
[0067] 104: Determine a third wheel speed compensation value based on the first wheel speed, the first road surface characteristic value and the first dynamics model.
[0068] Exemplarily, the first dynamic model calculates the third wheel speed compensation value based on the first wheel speed and the first road surface characteristic value. The first dynamic model may be a vehicle dynamic model, which may be established by vehicle calibration, and defines the relationship between the vehicle's driving condition (determined by driving data) and the road surface parameters.
[0069] 105: Determine a first yaw rate and a first yaw rate compensation value corresponding to the vehicle based on the first wheel speed, the first wheel speed compensation value, the second wheel speed compensation value and the third wheel speed compensation value.
[0070] First, based on the first wheel speed compensation value, the second wheel speed compensation value and the third wheel speed compensation value, a fourth wheel speed compensation value is obtained. For example, the average of the first wheel speed compensation value, the second wheel speed compensation value and the third wheel speed compensation value is used as the fourth wheel speed compensation value. Secondly, the first wheel speed is compensated according to the fourth wheel speed compensation value to obtain a compensated fourth wheel speed. The fourth yaw angular velocity is then calculated according to the fourth wheel speed. The fourth yaw angular velocity can be calculated by the following formula (9):
[0071]
[0072] Among them, yawrate is the fourth yaw angular velocity, wheelspdr is the right wheel speed, wheelspdl is the left wheel speed, A is the wheelbase, and θ is the wheel deflection angle.
[0073] It can be understood that when the fourth yaw rate is greater than the preset maximum yaw rate, the maximum yaw rate is used as the first yaw rate. When the fourth yaw rate is less than the preset minimum yaw rate, the minimum yaw rate is used as the first yaw rate. When the fourth yaw rate is less than the preset maximum yaw rate and greater than the preset minimum yaw rate, the fourth yaw rate is used as the first yaw rate. As shown in the following formula (10):
[0074] yawratemin≤yawrate≤yawratemax (10)
[0075] Among them, yawratemin is the minimum yaw rate, and yawratemax is the maximum yaw rate.
[0076] In other embodiments, a third yaw rate may be obtained, and the second yaw rate compensation value corresponding to the vehicle may be determined by combining the first wheel speed, the third wheel speed compensation value and the first filtering model. The third yaw rate may be the vehicle yaw rate calculated by other vehicle motion parameters, for example, the third yaw rate is calculated by the steering angle during the operation of the vehicle. Furthermore, the second yaw rate compensation value needs to be limited to obtain the first yaw rate compensation value. The limiting process has the same logic as the limiting process of the second yaw rate. That is, when the second yaw rate compensation value is greater than the preset maximum yaw rate compensation value, the maximum yaw rate compensation value is used as the first yaw rate compensation value. When the second yaw rate compensation value is less than the preset minimum yaw rate compensation value, the minimum yaw rate compensation value is used as the first yaw rate compensation value. When the second yaw rate compensation value is less than the preset maximum yaw rate compensation value and greater than the preset minimum yaw rate compensation value, the second yaw rate is used as the first yaw rate compensation value. As shown in the following formula (11):
[0077] yawrat offsetmin ≤yawrat offset ≤yawrat offsetmax (11)
[0078] Among them, yawrat offsetmin Minimum yaw rate compensation value, yawrat offsetmax Minimum yaw rate compensation value.
[0079] It can be understood that the above-mentioned maximum yaw rate, minimum yaw rate, maximum yaw rate compensation value and minimum yaw rate compensation value can be empirical values or statistical values obtained through experimental data, or can be reasonably set according to actual needs, and there is no limitation here.
[0080] 106: Compensate the first yaw rate according to the first yaw rate compensation value to obtain a compensated second yaw rate.
[0081] It can be understood that the first yaw rate compensation value is obtained by executing step 104, and the first yaw rate is compensated according to the first yaw rate compensation value to obtain the compensated second yaw rate. In other embodiments, the first filter model can directly output the compensated second yaw rate according to the input first yaw rate and the third yaw rate. The first filter model can be a Kalman filter model.
[0082] It is understood that the above steps 101 to 105 can be performed by Figure 2 The modules in are implemented. Figure 2According to an embodiment of the present application, a module schematic diagram of a yaw angular velocity calculation device is shown. The device includes: a signal processing module, a dynamics calculation module and a data calculation module.
[0083] The signal processing module is used to obtain a first wheel speed compensation value at a current moment when the vehicle is traveling and a first road surface characteristic value corresponding to the road surface on which the vehicle is traveling;
[0084] a dynamics calculation module, used to obtain a first wheel speed compensation value at a current moment when the vehicle is traveling, and to determine a second wheel speed compensation value based on a first road surface characteristic value and a first fuzzy logic control model;
[0085] The dynamics calculation module is further used to calculate a third compensation value based on the first wheel speed, the first road surface characteristic value and the first dynamics model;
[0086] A data calculation module is used to determine a first yaw velocity and a first yaw velocity compensation value corresponding to the vehicle based on the first wheel speed, the first wheel speed compensation value, the second wheel speed compensation value and the third compensation value, and to compensate the first yaw velocity according to the first yaw velocity compensation value to obtain a compensated second yaw velocity.
[0087] It can be understood that the functional implementation process of the above signal processing module can be as follows: Figure 3 As shown, Figure 3 A flow chart showing a functional implementation flow chart of a vehicle signal processing module according to an embodiment of the present application is shown. Figure 3 The specific steps are as follows:
[0088] 301: Obtain the second wheel speed through the first vehicle bus.
[0089] It is understood that the radar device carried by the vehicle can obtain the second wheel speed of the vehicle at the current moment of driving from the first vehicle bus. In some embodiments, the validity of the second wheel speed can also be judged, refer to the relevant description in the above step 101, and no further description is given here.
[0090] 302: Collecting a pulse signal corresponding to the wheel speed of the vehicle at the current moment, and obtaining a third wheel speed according to the pulse signal.
[0091] It can be understood that the pulse signal corresponding to the current wheel speed output by the wheel speed sensor mounted on the vehicle is collected, and the third wheel speed is calculated based on the pulse signal. The specific calculation process refers to the relevant description in the above step 101, which will not be repeated here.
[0092] 303: Obtain the first wheel speed based on the second wheel speed and the third wheel speed.
[0093] 304: Based on the first wheel speed, a first wheel speed ratio is calculated.
[0094] It can be understood that step 304 can refer to the relevant description in the above step 102, and the calculation process of the first wheel speed ratio can refer to formula (5) and formula (6) in step 102, which will not be repeated here.
[0095] 305: Calculate and obtain a first wheel speed compensation value based on the sampling time interval.
[0096] It can be understood that the average sampling time interval Interval_ave of the specified number of sampling times is first calculated, and combined with the current time interval Interval_cur, the difference ΔInterval of the interval time is calculated, that is, ΔInterval = Interval_cur-Interval_ave. Then, based on the difference in the sampling time interval and the maximum wheel speed compensation value and the minimum wheel speed compensation value, the first wheel speed compensation value is calculated. The specific calculation process of the first wheel speed compensation value refers to formula (8) in the above step 102, which will not be repeated here.
[0097] It can be understood that the functional implementation process of the above-mentioned dynamics calculation module can be as follows: Figure 4 As shown, Figure 4 According to an embodiment of the present application, a functional implementation flow chart of a dynamics calculation module is shown. Figure 4 The specific steps are as follows:
[0098] 401: Obtain a first road surface characteristic value.
[0099] It can be understood that the road adhesion coefficient and slip rate parameters are obtained according to the current vehicle driving state, and the first characteristic value is obtained by the characteristic value calculation formula. In other embodiments, the first road characteristic value can also be determined based on the current road information or the road adhesion coefficient and slip rate parameters obtained through the high-precision map and sensor carried by the vehicle. Further, the calculated first road characteristic value is verified and compared with the first road characteristic value obtained through the high-precision map and sensor carried by the vehicle to ensure that the current road condition information is correct.
[0100] 402: Determine a second wheel speed compensation value based on the first road surface characteristic value and the first fuzzy logic control model.
[0101] 403: Determine a third wheel speed compensation value based on the first wheel speed, the first road surface characteristic value, and the first dynamics model.
[0102] It can be understood that steps 402 to 403 may refer to the relevant descriptions in the above steps 103 to 104, and are not described in detail here.
[0103] It can be understood that the functional implementation process of the above data calculation module can be as follows: Figure 5 As shown, Figure 5 According to an embodiment of the present application, a functional implementation flow chart of a data calculation module is shown. Figure 5 The specific steps are as follows:
[0104] 501: Determine a first yaw rate and a first yaw rate compensation value based on the first wheel speed, the third wheel speed compensation value and the first filtering model.
[0105] 502: Perform a limiting process on the first yaw angular velocity and the first yaw angular velocity compensation value.
[0106] It can be understood that step 501 to step 502 refer to the relevant description in step 104, which will not be described in detail here. In some other embodiments, the first yaw rate is compensated according to the first yaw rate compensation value to obtain a compensated second yaw rate.
[0107] The present application embodiment also provides an electronic device 100 for executing the above Figure 1 The compensation value method of the yaw rate is shown. Figure 6 According to an embodiment of the present application, a structural schematic diagram of an electronic device 100 is shown.
[0108] like Figure 6 As shown, the electronic device 100 includes one or more processors 101, a system memory 102, a non-volatile memory (NVM) 103, an input / output (I / O) device 104, a communication interface 105, and a system control logic 106 for coupling the processor 101, the system memory 102, the non-volatile memory 103, the communication interface 105 and the input / output (I / O) device 104. Among them:
[0109] The processor 101 may include one or more processing units, for example, a data processing unit or processing circuit may include a central processing unit (CPU), a graphics processing unit (GPU), a digital signal processor (DSP), a microprocessor (MCU), an artificial intelligence (AI), a processor or a programmable logic device (field programmable gate array, FPGA), a neural network processor (neural-network processing unit, NPU), etc., and may include one or more single-core or multi-core processors.
[0110] The system memory 102 is a volatile memory, such as a random-access memory (RAM), a double data rate synchronous dynamic random access memory (DDR SDRAM), etc. The system memory is used to temporarily store data and / or instructions. For example, in some embodiments, the system memory 102 can be used to store the calculated fourth wheel speed compensation value and the first yaw angular velocity compensation value.
[0111] The non-volatile memory 103 may include one or more tangible, non-transitory computer-readable media for storing data and / or instructions. In some embodiments, the non-volatile memory 103 may include any suitable non-volatile memory such as a flash memory and / or any suitable non-volatile storage device, such as a hard disk drive (HDD), a compact disc (CD), a digital versatile disc (DVD), a solid-state drive (SSD), etc. In some embodiments, the non-volatile memory 103 may also be a removable storage medium, such as a secure digital (SD) memory card, etc.
[0112] In particular, the system memory 102 and the non-volatile memory 103 may respectively include: a temporary copy and a permanent copy of the instruction 107. The instruction 107 may include: when executed by at least one of the processors 101, the electronic device 100 implements the yaw rate compensation method provided in various embodiments of the present application.
[0113] The communication interface 105 may include a transceiver for providing a wired or wireless communication interface for the electronic device 100, thereby communicating with any other suitable device through one or more networks. In some embodiments, the communication interface 105 may be integrated into other components of the electronic device 100, for example, the communication interface 105 may be integrated into the processor 101. In some embodiments, the electronic device 100 may communicate with other devices through the communication interface 105.
[0114] The input / output (I / O) device 104 may include input devices such as a keyboard, a mouse, etc., and output devices such as a display, etc. A user may interact with the electronic device 100 via the input / output (I / O) device 104 .
[0115] System control logic 106 may include any suitable interface controller to provide any suitable interface with other modules of electronic device 100. For example, in some embodiments, system control logic 106 may include one or more memory controllers to provide interfaces to system memory 102 and non-volatile memory 103.
[0116] In some embodiments, at least one of the processors 101 may be packaged together with the logic of one or more controllers for the system control logic 106 to form a system in package (SiP). In other embodiments, at least one of the processors 101 may also be integrated with the logic of one or more controllers for the system control logic 106 on the same chip to form a system-on-chip (SoC).
[0117] Understandably, Figure 6 The structure of the electronic device 100 shown is only an example. In other embodiments, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware, which is not limited here.
[0118] The embodiments of the present application also provide a computer program product for implementing the yaw angular velocity compensation method provided in the above embodiments.
[0119] The various embodiments of the mechanism disclosed in the present application can be implemented in hardware, software, firmware or a combination of these implementation methods. The embodiments of the present application can be implemented as a computer module or module code executed on a programmable system, and the programmable system includes at least one processor, a storage system (including volatile and non-volatile memory and / or storage elements), at least one input device and at least one output device.
[0120] The module code may be applied to input instructions to perform the functions described herein and generate output information. The output information may be applied to one or more output devices in a known manner. For purposes of this application, a processing system includes any system having a processor such as, for example, a digital signal processor (DSP), a microcontroller, an application specific integrated circuit (ASIC), or a microprocessor.
[0121] Module code can be implemented with high-level modular language or object-oriented programming language to communicate with the processing system. When necessary, module code can also be implemented with assembly language or machine language. In fact, the mechanism described in this application is not limited to the scope of any specific programming language. In either case, the language can be a compiled language or an interpreted language.
[0122] In some cases, the disclosed embodiments may be implemented in hardware, firmware, software, or any combination thereof. The disclosed embodiments may also be implemented as instructions carried or stored on one or more temporary or non-temporary machine-readable (e.g., computer-readable) storage media, which may be read and executed by one or more processors. For example, instructions may be distributed over a network or through other computer-readable media. Therefore, machine-readable media may include any mechanism for storing or transmitting information in a machine (e.g., computer) readable form, including, but not limited to, floppy disks, optical disks, optical disks, read-only memories (CD-ROMs), magneto-optical disks, read-only memories (ROMs), random access memories (RAMs), erasable programmable read-only memories (EPROMs), electrically erasable programmable read-only memories (EEPROMs), magnetic or optical cards, flash memory, or tangible machine-readable memories for transmitting information (e.g., carrier waves, infrared signals, digital signals, etc.) using the Internet in electrical, optical, acoustic, or other forms of propagation signals. Accordingly, machine-readable media include any type of machine-readable media suitable for storing or transmitting electronic instructions or information in a form readable by a machine (eg, a computer).
[0123] In the accompanying drawings, some structural or method features may be shown in a specific arrangement and / or order. However, it should be understood that such a specific arrangement and / or order may not be required. Instead, in some embodiments, these features may be arranged in a manner and / or order different from that shown in the illustrative drawings. In addition, the inclusion of structural or method features in a specific figure does not mean that such features are required in all embodiments, and in some embodiments, these features may not be included or may be combined with other features. Reference to "one embodiment" or "embodiment" in the specification means that the specific features, structures or characteristics described in conjunction with the embodiment are included in at least one exemplary embodiment or technology disclosed according to the embodiment of the present application. The appearance of the phrase "in one embodiment" in various places in the specification does not necessarily all refer to the same embodiment.
[0124] The disclosure of the embodiment of the present application also relates to an operating device for executing the text. The device can be specially constructed for the required purpose or it can include a general-purpose computer selectively activated or reconfigured by a computer program stored in the computer. Such a computer program can be stored in a computer-readable medium, such as, but not limited to any type of disk, including a floppy disk, an optical disk, a CD-ROM, a magneto-optical disk, a read-only memory (ROM), a random access memory (RAM), an EPROM, an EEPROM, a magnetic or optical card, an application-specific integrated circuit (ASIC) or any type of medium suitable for storing electronic instructions, and each can be coupled to a computer system bus. In addition, the computer mentioned in the specification may include a single processor or may be an architecture involving multiple processors for increased computing power.
[0125] It should also be stated that the steps in the methods and processes in the embodiments of the present application are numbered for ease of reference, rather than to limit the order of precedence. If there is an order between the steps, the text description shall prevail.
[0126] In addition, the language used in this specification has been primarily selected for readability and instructional purposes and may not be selected to describe or limit the disclosed subject matter. Therefore, the present application embodiment disclosure is intended to illustrate rather than limit the scope of the concepts discussed herein.
Claims
1. A method for compensating yaw rate, characterized in that: The method comprises: Acquire a first wheel speed at a current moment of a vehicle traveling and a first road surface characteristic value corresponding to a road surface on which the vehicle is traveling; Obtaining a first wheel speed compensation value at a current moment when the vehicle is traveling; determining a second wheel speed compensation value based on the first road surface characteristic value and a first fuzzy logic control model; determining a third wheel speed compensation value based on the first wheel speed, the first road surface characteristic value, and the first dynamics model; Determining a first yaw rate and a first yaw rate compensation value corresponding to the vehicle based on the first wheel speed, the first wheel speed compensation value, the second wheel speed compensation value, and the third wheel speed compensation value; The first yaw rate is compensated according to the first yaw rate compensation value to obtain a compensated second yaw rate.
2. The method according to claim 1, characterized in that The step of obtaining the first wheel speed at the current moment of the vehicle driving includes: Acquiring a second wheel speed through a first vehicle bus of the vehicle; Collecting a pulse signal corresponding to the wheel speed at the current moment of the vehicle's travel, and obtaining a third wheel speed according to the pulse signal; Based on the second wheel speed and the third wheel speed, obtaining the first wheel speed; Obtaining a first road surface characteristic value corresponding to the driving road surface of the vehicle, comprising: Determining a road adhesion coefficient and a slip rate parameter corresponding to a driving road surface of the vehicle based on a first operating parameter of the vehicle; Based on the road surface adhesion coefficient and slip rate parameter, obtaining the first road surface characteristic value; Alternatively, the first road surface characteristic value is determined according to the road surface adhesion coefficient, slip rate parameter and detected road surface information in combination with a preset road surface characteristic value recording table.
3. The method according to claim 1 or 2, characterized in that: The step of obtaining the first wheel speed compensation value at the current moment when the vehicle is traveling includes: When a first condition is met, a first wheel speed ratio is obtained based on the first wheel speed; When the second condition is met, the first wheel speed compensation value is obtained according to the sampling time interval of the pulse signal; When the first condition or the second condition is not satisfied, taking the wheel speed compensation value corresponding to the moment before the current moment as the first wheel speed compensation value; Among them, the first condition is that the difference between the second wheel speed and the third wheel speed is less than or equal to the first difference threshold; the second condition is that the first wheel speed ratio is within the predetermined wheel speed ratio threshold range, the current vehicle speed is greater than the preset minimum speed, and the current total distance traveled by the vehicle is greater than the preset minimum distance.
4. The method according to claim 1, characterized in that: The determining of the second wheel speed compensation value based on the first road surface characteristic value and the first fuzzy logic control model includes: Based on the input first road surface characteristic value, the first fuzzy logic control model outputs a second wheel speed compensation value; The first fuzzy logic control model is constructed based on the corresponding relationship between the first road surface characteristic value and the yaw rate compensation value.
5. The method according to claim 1, characterized in that The determining, based on the first wheel speed, the first wheel speed compensation value, the second wheel speed compensation value and the third wheel speed compensation value, of a first yaw rate and a first yaw rate compensation value corresponding to the vehicle comprises: taking an average of the first wheel speed compensation value, the second wheel speed compensation value and the third wheel speed compensation value as a fourth wheel speed compensation value; compensating the first wheel speed according to the fourth wheel speed compensation value to obtain a compensated fourth wheel speed; and Calculating a fourth yaw angular velocity based on the fourth wheel speed; performing a limiting process on the fourth yaw angular velocity to obtain the first yaw angular velocity; Acquiring a third yaw angular velocity, wherein the third yaw angular velocity is calculated according to the second operating parameter of the vehicle; Determine a second yaw rate compensation value based on the first yaw rate and the third yaw rate, in combination with the first wheel speed, the third wheel speed compensation value and a first filtering model; The second yaw rate compensation value is subjected to a limiting process to obtain a first yaw rate compensation value.
6. The method according to claim 5, characterized in that The step of performing a limiting process on the fourth yaw angular velocity to obtain the first yaw angular velocity includes: When the fourth yaw angular velocity is greater than a preset maximum yaw angular velocity, taking the maximum yaw angular velocity as the first yaw angular velocity; When the fourth yaw angular velocity is less than a preset minimum yaw angular velocity, the minimum yaw angular velocity is used as the first yaw angular velocity; When the fourth yaw rate is less than or equal to the preset maximum yaw rate and greater than or equal to the preset minimum yaw rate, the fourth yaw rate is used as the first yaw rate.
7. The method according to claim 5, characterized in that The step of performing a limiting process on the second yaw rate compensation value to obtain a first yaw rate compensation value includes: When the second yaw rate compensation value is greater than a preset maximum yaw rate compensation value, the maximum yaw rate compensation value is used as the first yaw rate compensation value; When the second yaw rate compensation value is less than a preset minimum yaw rate compensation value, the minimum yaw rate compensation value is used as the first yaw rate compensation value; When the second yaw rate compensation value is less than or equal to the preset maximum yaw rate compensation value and greater than or equal to the preset minimum yaw rate compensation value, the second yaw rate compensation value is used as the first yaw rate compensation value.
8. A yaw rate compensation device, characterized in that: The device comprises: a signal processing module, a dynamics calculation module and a data calculation module; The signal processing module is used to obtain a first wheel speed compensation value at a current moment when the vehicle is traveling and a first road surface characteristic value corresponding to a road surface on which the vehicle is traveling; The dynamics calculation module is used to obtain a first wheel speed compensation value at a current moment when the vehicle is traveling, and to determine a second wheel speed compensation value based on the first road surface characteristic value and a first fuzzy logic control model; The dynamics calculation module is further used to determine a third wheel speed compensation value based on the first wheel speed, the first road surface characteristic value and the first dynamics model; The data calculation module is used to determine a first yaw velocity and a first yaw velocity compensation value corresponding to the vehicle based on the first wheel speed, the first wheel speed compensation value, the second wheel speed compensation value and the third wheel speed compensation value; and to compensate the first yaw velocity according to the first yaw velocity compensation value to obtain a compensated second yaw velocity.
9. An electronic device, characterized in that: include: Processor: And, A memory, configured to store executable instructions of the processor; The processor is configured to execute the executable instructions to implement the yaw rate compensation method according to any one of claims 1 to 7.
10. A readable medium, characterized in that: The readable medium stores instructions, and when the instructions are executed by an electronic device, the electronic device executes the yaw angular velocity compensation method according to any one of claims 1 to 7.
