Deviation correction method, vehicle and computer readable storage medium
By using a gyroscope to detect deflection angle and other parameters in the vehicle, it automatically predicts and corrects deviation, and solves the driver fatigue and safety problems caused by deviation during high-speed driving, improving driving comfort and safety.
Patent Information
- Application Number
- CN202411180108.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-27
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2044-08-27
AI Technical Summary
During the high-speed driving, the driver will operate the steering wheel for a long time due to deviation, causing fatigue and operating burden, which will affect driving comfort and safety.
By installing a gyroscope in the vehicle to detect the deflection angle, combining the wheel distance, driving speed and shock absorber travel change, predict the deviation distance. If the threshold is reached, the deviation correction operation will be automatically performed to keep the vehicle in a straight line.
It reduces the operating burden of the driver, avoids traffic accidents caused by deviation, and improves driving safety and comfort.
Smart Images

Figure CN118928386A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle control technology, and more specifically, to a deviation correction method, a vehicle and a computer-readable storage medium in the field of vehicle control technology. Background Art
[0002] Vehicle deviation refers to the phenomenon that the vehicle deviates to one side while driving straight on a flat road, causing the line connecting the center lines of the front and rear axles to be inconsistent with the center line of the driving track. When the vehicle deviates during driving, the driver needs to continuously apply a certain correction torque and turn the steering wheel to keep the vehicle moving straight. During long-term high-speed driving, the driver needs to apply a constant torque and manipulate the steering wheel for a long time to correct the vehicle deviation, which can easily cause driver fatigue and increase the operating burden, thus affecting driving comfort. Summary of the invention
[0003] The present application provides a deviation correction method, a vehicle and a computer-readable storage medium. When it is determined that the vehicle has a tendency to deviate, the present application can control the vehicle to automatically correct the deviation in advance, so that the vehicle can maintain its original lane. This not only reduces the driver's operating burden and avoids driving fatigue, but also improves driving safety and comfort.
[0004] In a first aspect, a method for correcting deviation is provided, the method comprising: when a steering angle of a vehicle is less than a first threshold value and a deflection angle of the vehicle is greater than or equal to a second threshold value, determining whether the vehicle has a tendency to deviate; if so, obtaining the wheelbase, driving speed, stroke change of the shock absorber and the load difference between the first wheel and the second wheel of the vehicle; wherein the first wheel and the second wheel are opposite wheels to each other; when the load difference is greater than or equal to a preset load difference, predicting the deviation distance of the vehicle based on the wheelbase, the driving speed and the stroke change of the shock absorber; when the deviation distance is greater than or equal to a third threshold value, determining that the vehicle will deviate from the current lane, and controlling the vehicle based on the deviation distance and the deflection angle to adjust the vehicle to a straight-line driving state so that the vehicle continues to maintain driving in the current lane.
[0005] Based on the above technical solution, the embodiment of the present application adopts a technical solution of judging whether the vehicle has a tendency to run off when the steering angle of the vehicle is less than a first threshold value and the deflection angle of the vehicle is greater than or equal to a second threshold value. If so, the wheelbase, driving speed, stroke change of the shock absorber and the load difference between the first wheel and the second wheel on the opposite side of the vehicle are obtained. If the load difference is greater than or equal to the preset load difference, the deviation distance of the vehicle is predicted according to the wheelbase, driving speed and stroke change of the shock absorber. When the deviation distance is greater than or equal to the third threshold value, the vehicle is controlled according to the deviation distance and the deflection angle to adjust the vehicle to a straight-line driving state. During the driving of the vehicle (excluding vehicle deceleration), the vehicle is controlled according to the deviation distance and the deflection angle. In the case of driving), when it is detected that the driver has no intention to control the direction to control the steering of the vehicle, if it is determined three times in a row that the vehicle has a tendency to deviate, the deviation distance of the vehicle is predicted by the wheelbase, driving speed and the stroke change of the shock absorber, and then by comparing the deviation distance with the distance threshold (third threshold) corresponding to the deviation distance, it is predicted whether the vehicle will leave the current lane when the vehicle has a tendency to deviate. If it is predicted that the vehicle will leave the current lane when the vehicle has a tendency to deviate, the vehicle is controlled in advance to automatically perform a deviation correction operation, so as to control the vehicle according to the deviation distance and the deflection angle, so as to adjust the vehicle to a straight driving state, so that the vehicle continues to maintain the current lane. Through the above technical solution, on the one hand, the advance automatic deviation correction control of the vehicle is realized when it is determined that the vehicle has a tendency to deviate, which can avoid the occurrence of traffic accidents caused by the vehicle deviating in advance, which is conducive to improving driving safety. On the other hand, because the present application can automatically correct the vehicle's deviation, when it is predicted that the vehicle is about to deviate, the vehicle can always maintain its current lane without the driver having to frequently operate the steering wheel, which helps to reduce the driver's operating burden and avoid driving fatigue.
[0006] In combination with the first aspect, in some possible implementations, predicting the deviation distance of the vehicle based on the wheelbase, the driving speed and the change in stroke of the shock absorber includes: determining the road surface inclination angle of the road on which the vehicle is located based on the wheelbase and the change in stroke of the shock absorber; determining the speed component of the driving speed based on the road surface inclination angle and the driving speed; and determining the deviation distance based on the speed component and the driving time.
[0007] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, the shock absorber includes a left shock absorber and a right shock absorber, and determining the road surface inclination angle of the road on which the vehicle is located based on the wheelbase and the stroke change of the shock absorber includes: determining a target difference between the stroke change of the left shock absorber and the stroke change of the right shock absorber; and determining the road surface inclination angle based on the ratio of the target difference to the wheelbase.
[0008] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, the judging whether the vehicle has a tendency to run off includes: determining a distance change between the vehicle and the lane line; wherein the distance change is an absolute value of a distance difference between a first distance and a second distance, the first distance being the distance between the vehicle and the lane line at the i-th moment, the second distance being the distance between the vehicle and the lane line at the (i+1)-th moment, and i being a positive integer greater than or equal to 1; if the distance change is greater than a fourth threshold and the driving speed is greater than a fifth threshold, it is judged that the vehicle has a tendency to run off; if the distance change is not greater than the fourth threshold and the driving speed is not greater than the fifth threshold, it is judged that the vehicle does not have a tendency to run off.
[0009] In combination with the first aspect and the above implementation, in some possible implementations, the vehicle includes a steering system, and the steering system is an electric power steering system; when the steering system is an electric power steering system, the vehicle is controlled according to the deviation distance and the deflection angle to adjust the vehicle to a straight-line driving state, including: determining the deflection direction of the vehicle; obtaining the first motor control parameter corresponding to the deviation distance, the absolute value of the deflection angle and the deflection direction; controlling the steering wheel power motor in the electric power steering system according to the first motor control parameter to control the steering wheel to rotate in a first target direction; wherein the first target direction is the opposite direction of the deflection direction; when the deflection angle is less than the second threshold and the deviation distance is less than the third threshold, the steering wheel power motor is controlled to stop rotating; wherein the deflection angle is less than the second threshold and the deviation distance is less than the third threshold, indicating that the vehicle is in a straight-line driving state. Based on the above technical solution, deviation correction is achieved when a vehicle equipped with an electric power steering system has a deviation tendency.
[0010] In combination with the first aspect and the above implementations, in some possible implementations, the vehicle includes a steering system, the steering system is a wire-controlled steering system, and the wire-controlled steering system includes a steering gear;
[0011] In the case where the steering system is a wire-controlled steering system, the vehicle is controlled according to the deviation distance and the deflection angle to adjust the vehicle to a straight-line driving state, including: determining the deflection direction of the vehicle; obtaining the second motor control parameters corresponding to the deviation distance, the absolute value of the deflection angle and the deflection direction; controlling the steering motor in the steering gear according to the second motor control parameters to control the rack in the steering gear to move in a second target direction; wherein the second target direction is the opposite direction of the deflection direction; when the deflection angle is less than the second threshold value and the deviation distance is less than the third threshold value, controlling the steering motor to stop rotating; wherein the deviation angle is less than the second threshold value and the deviation distance is less than the third threshold value, indicating that the vehicle is in a straight-line driving state. Based on the above technical solution, deviation correction is achieved when a vehicle equipped with a wire-controlled steering system has a tendency to deviate.
[0012] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, the wire-controlled steering system also includes a hand feel simulator; after determining the deflection direction of the vehicle, the deviation correction method also includes: obtaining a third motor control parameter corresponding to the deviation distance, the absolute value of the deflection angle and the deflection direction; in the case where the steering motor in the steering gear is controlled according to the second motor control parameter to control the rack in the steering gear to move in the second target direction, the deviation correction method also includes: controlling the hand feel motor in the hand feel simulator according to the third motor control parameter to control the steering wheel to rotate in the second target direction; in the case where the deflection angle is less than the second threshold and the deviation distance is less than the third threshold, controlling the hand feel motor to stop rotating.
[0013] Based on the above technical solution, it is achieved that when the steering wheel is turned by a certain angle, the rack moves a distance corresponding to the steering wheel rotation angle, and after the rack moves a distance corresponding to the steering wheel rotation angle, the vehicle is in a straight-line driving state, thereby keeping the steering wheel rotation angle and the rack position corresponding to each other, and ensuring that when the vehicle no longer performs a correction operation, the driver can control the normal steering of the vehicle by turning the steering wheel, avoiding the problem of steering failure caused by the mismatch between the steering wheel rotation angle and the rack position.
[0014] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, the deviation correction method also includes: obtaining at least one of the road surface type and the current weather of the road on which the vehicle is located; and determining the third threshold and the fifth threshold based on at least one of the road surface type and the current weather.
[0015] In combination with the first aspect and the above-mentioned implementation methods, in certain possible implementation methods, when the vehicle is controlled according to the deviation distance and the deflection angle, if the vehicle is in a deceleration stage, the braking force applied by the vehicle to each wheel is adjusted so that the difference in braking force corresponding to any two wheels among all the wheels is within a preset range. This can prevent the vehicle from deviating due to the load difference between the opposite wheels during vehicle deceleration, thereby ensuring that the vehicle always maintains the original lane during deceleration, effectively avoiding the probability of accidents during the vehicle deceleration process, and is conducive to improving driving safety.
[0016] In a second aspect, a deviation correction device is provided, which is configured on a vehicle, and the deviation correction device includes:
[0017] A judgment module, configured to judge whether the vehicle has a tendency to deviate when the steering angle of the vehicle is less than a first threshold and the deflection angle of the vehicle is greater than or equal to a second threshold;
[0018] an acquisition module, configured to acquire, when the vehicle has a tendency to deviate, the wheelbase, the travel speed, the stroke change of the shock absorber, and the load difference between the first wheel and the second wheel of the vehicle; wherein the first wheel and the second wheel are opposite side wheels to each other;
[0019] A prediction module, configured to predict the deviation distance of the vehicle according to the wheelbase, the driving speed and the stroke change of the shock absorber when the load difference is greater than or equal to a preset load difference;
[0020] A control module is used to determine that the vehicle will leave the current lane when the deviation distance is greater than or equal to a third threshold value, and control the vehicle according to the deviation distance and the deflection angle to adjust the vehicle to a straight-line driving state so that the vehicle continues to maintain the current lane.
[0021] In conjunction with the second aspect, in some possible implementations, the prediction module includes:
[0022] A first calculation unit, configured to determine a road surface inclination angle of a road on which the vehicle is located according to the wheelbase and the stroke change of the shock absorber;
[0023] a second calculation unit, configured to determine a speed component of the driving speed according to the road surface inclination angle and the driving speed;
[0024] The third calculation unit is used to determine the deviation distance according to the speed component and the driving time.
[0025] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the shock absorber includes a left shock absorber and a right shock absorber, and the first calculation unit is specifically used to determine a target difference between the stroke change of the left shock absorber and the stroke change of the right shock absorber; and determine the road surface inclination angle according to the ratio of the target difference to the wheelbase.
[0026] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the judgment module is specifically used to determine the change in distance between the vehicle and the lane line; wherein the distance change is the absolute value of the distance difference between a first distance and a second distance, the first distance is the distance between the vehicle and the lane line at the i-th moment, the second distance is the distance between the vehicle and the lane line at the (i+1)-th moment, and i is a positive integer greater than or equal to 1; if the distance change is greater than a fourth threshold and the driving speed is greater than a fifth threshold, it is determined that the vehicle has a tendency to deviate; if the distance change is not greater than the fourth threshold and the driving speed is not greater than the fifth threshold, it is determined that the vehicle does not have a tendency to deviate.
[0027] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the vehicle includes a steering system, and the steering system is an electric power steering system. When the steering system is an electric power steering system, the control module is specifically used to determine the deflection direction of the vehicle; obtain the first motor control parameters corresponding to the deviation distance, the absolute value of the deflection angle and the deflection direction; control the steering wheel power motor in the electric power steering system according to the first motor control parameters to control the steering wheel to rotate in a first target direction; wherein the first target direction is the opposite direction of the deflection direction; when the deflection angle is less than the second threshold and the deviation distance is less than the third threshold, control the steering wheel power motor to stop rotating; wherein the deflection angle less than the second threshold and the deviation distance less than the third threshold indicate that the vehicle is in a straight driving state.
[0028] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the vehicle includes a steering system, and the steering system is a wire-controlled steering system, and the wire-controlled steering system includes a steering gear and a feel simulator. When the steering system is a wire-controlled steering system, the control module is specifically used to: determine the deflection direction of the vehicle; obtain second motor control parameters corresponding to the deviation distance, the absolute value of the deflection angle, and the deflection direction; control the steering motor in the steering gear according to the second motor control parameters to control the rack in the steering gear to move in a second target direction; wherein the second target direction is the opposite direction of the deflection direction; when the deflection angle is less than the second threshold and the deviation distance is less than the third threshold, control the steering motor to stop rotating; wherein the deviation angle less than the second threshold and the deviation distance less than the third threshold indicate that the vehicle is in a straight driving state.
[0029] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the vehicle includes a steering system, and the steering system is a wire-controlled steering system, and the wire-controlled steering system includes a steering gear and a hand feel simulator. When the steering system is a wire-controlled steering system, the control module is specifically used to: obtain a third motor control parameter corresponding to the deviation distance, the absolute value of the deflection angle and the deflection direction; when the steering motor in the steering gear is controlled according to the second motor control parameter to control the rack in the steering gear to move in the second target direction, the hand feel motor in the hand feel simulator is controlled according to the third motor control parameter to control the steering wheel to rotate in the second target direction; when the deflection angle is less than the second threshold and the deviation distance is less than the third threshold, the hand feel motor is controlled to stop rotating.
[0030] In combination with the second aspect and the above implementations, in some possible implementations, the deviation correction device further includes:
[0031] A threshold determination unit is used to obtain at least one of the road surface type and current weather of the road on which the vehicle is located; and determine the third threshold and the fifth threshold according to at least one of the road surface type and current weather.
[0032] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the control module is also used to adjust the braking force applied by the vehicle to each wheel if the vehicle is in a deceleration stage, while controlling the vehicle according to the deviation distance and the deflection angle, so that the difference in braking force corresponding to any two wheels among all the wheels is within a preset range.
[0033] In a third aspect, a vehicle is provided, the vehicle comprising:
[0034] Steering system;
[0035] A gyroscope for detecting a deflection angle of the vehicle, wherein the gyroscope is installed at the center of mass of the vehicle;
[0036] An electronic control unit is used to determine whether the vehicle has a tendency to run off the track when the steering angle of the vehicle is less than a first threshold value and the deflection angle of the vehicle is greater than or equal to a second threshold value; if so, obtain the wheelbase, driving speed, shock absorber stroke change and load difference between the first wheel and the second wheel of the vehicle; when the load difference is greater than or equal to a preset load difference, predict the deviation distance of the vehicle based on the wheelbase, the driving speed and the shock absorber stroke change; when the deviation distance is greater than or equal to a third threshold value, determine that the vehicle will leave the current lane, and control the vehicle based on the deviation distance and the deflection angle to adjust the vehicle to a straight-line driving state so that the vehicle continues to maintain the current lane; wherein the first wheel and the second wheel are opposite wheels to each other.
[0037] On the one hand, the present application can directly detect the deflection angle of the vehicle through the gyroscope installed at the center of mass of the vehicle, eliminating the process of calculating the deflection angle through a large number of parameters, thereby shortening the time for initially judging whether the vehicle has a tendency to deviate, which is conducive to the vehicle to quickly make a correction operation, so that the vehicle can automatically return to a straight-line driving state in a short time, thereby improving driving safety. On the other hand, it realizes the advance automatic correction control of the vehicle when it is determined that the vehicle has a tendency to deviate, which can prevent the occurrence of traffic accidents caused by the vehicle deviating in advance, which is conducive to improving driving safety. On the other hand, because the present application can automatically realize the deviation correction of the vehicle, when it is predicted that the vehicle is about to deviate, the vehicle can always keep driving in the current lane without the driver frequently operating the steering wheel, which is conducive to reducing the driver's operating burden and avoiding driving fatigue.
[0038] In a fourth aspect, a vehicle is provided, comprising a memory and a processor. The memory is used to store executable program code, and the processor is used to call and run the executable program code from the memory, so that the vehicle executes the deviation correction method in the first aspect or any possible implementation of the first aspect.
[0039] In a fifth aspect, a computer program product is provided, which includes: a computer program code, which, when executed on a computer, enables the computer to execute the deviation correction method in the first aspect or any possible implementation of the first aspect.
[0040] In a sixth aspect, a computer-readable storage medium is provided, which stores a computer program code. When the computer program code runs on a computer, the computer executes the deviation correction method in the above-mentioned first aspect or any possible implementation of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 A schematic flow chart of a deviation correction method provided by an embodiment of the present application is shown;
[0042] Figure 2 A schematic diagram showing the installation of a gyroscope on a vehicle;
[0043] Figure 3 A schematic diagram showing contact between a vehicle and a road surface is shown;
[0044] Figure 4 A schematic diagram of a vehicle driving scenario is shown;
[0045] Figure 5 The schematic diagram of the structure of the electric power steering system is shown;
[0046] Figure 6 shows a schematic structural diagram of a steer-by-wire system;
[0047] Figure 7 A schematic system diagram of a vehicle provided in an embodiment of the present application is shown;
[0048] Figure 8 A schematic structural diagram of a deviation correction device provided in an embodiment of the present application is shown;
[0049] Fig. 9 A schematic structural diagram of a vehicle provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0050] The technical solution in the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B: "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.
[0051] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.
[0052] Vehicle deviation refers to the phenomenon that the vehicle deviates to one side while driving straight on a flat road, causing the line connecting the center lines of the front and rear axles to be inconsistent with the center line of the driving trajectory. Vehicle deviation is a problem that is difficult to eradicate in the current automotive industry. There are many influencing factors, such as suspension parameters, axle load, drive shaft output, tires, road conditions, etc., which have a certain impact on deviation, but these influencing factors cannot be eliminated at present. Taking tires as an example, the impact of the taper effect of tires on deviation is affected by the production and processing accuracy and wear during use. This effect cannot be eradicated. In addition, the difference in suspension parameters will also affect deviation. Similarly, the processing accuracy of parts and the use process will lead to differences in the parameters of the two wheels of the whole vehicle. During continuous use, it is necessary to adjust the tire dynamic balance and suspension parameters, such as the toe angle, to solve the deviation problem.
[0053] When the vehicle veers off the road, the driver needs to continuously apply a certain corrective torque and steering angle to the steering wheel to keep the vehicle moving straight. During long periods of high-speed driving, the driver needs to apply a constant torque and manipulate the steering wheel to correct the vehicle's deviation, which can easily cause driver fatigue, increase the operating burden, and affect driving comfort.
[0054] In order to solve the problem of vehicle deviation, the present application provides a deviation correction method, a vehicle and a computer-readable storage medium. During vehicle driving, if the present application detects that the driver has no intention to control the direction to control the steering of the vehicle, if it is determined for three consecutive times that the vehicle has a tendency to deviate, the deviation distance of the vehicle is predicted. If it is predicted that the vehicle is about to leave the original lane based on the deviation distance, the vehicle is controlled in advance to automatically perform a deviation correction operation, thereby adjusting the vehicle to a straight driving state, so that the vehicle continues to maintain the current lane. On the one hand, it can avoid the occurrence of traffic accidents caused by vehicle deviation in advance, which is beneficial to improving driving safety. On the other hand, because the present application can automatically realize the deviation correction of the vehicle, when it is predicted that the vehicle is about to deviate, the driver does not need to frequently operate the steering wheel to keep the vehicle in the current lane, which is beneficial to reducing the driver's operating burden and avoiding driving fatigue.
[0055] The following is an embodiment of a deviation correction method provided in an embodiment of the present application.
[0056] Figure 1A schematic flow chart of a deviation correction method provided by an embodiment of the present application is shown, Figure 1 As shown, the deviation correction method provided in the embodiment of the present application is applied to a vehicle, and specifically to an electronic control unit (ECU) of the vehicle. Figure 2 As shown, Figure 2 The schematic diagram of installing a gyroscope on a vehicle is shown, where T represents the gyroscope. The gyroscope is installed at the center of mass of the vehicle and is used to detect the deflection angle of the vehicle.
[0057] The above deviation correction method includes the following solutions:
[0058] S110: When the steering angle of the vehicle is less than a first threshold and the deflection angle of the vehicle is greater than or equal to a second threshold, determine whether the vehicle has a tendency to run off the track; if so, execute S120; if not, continue to compare the steering angle with the first threshold, compare the deflection angle with the second threshold, and determine whether the vehicle has a tendency to run off the track.
[0059] S120: Obtain the wheelbase, driving speed, stroke change of the shock absorber, and load difference between the first wheel and the second wheel of the vehicle.
[0060] S130: Determine whether the load difference is greater than or equal to a preset load difference; if yes, execute S140; if no, execute S120.
[0061] S140: Predicting the deviation distance of the vehicle according to the wheelbase, the driving speed, and the change in the stroke of the shock absorber.
[0062] S150: Determine whether the deviation distance is greater than or equal to a third threshold; if yes, it is determined that the vehicle will leave the current lane, and then execute S160; if no, execute S170.
[0063] S160: Execute the deviation correction operation in advance, that is, control the vehicle according to the deviation distance and the deflection angle to adjust the vehicle to a straight-line driving state so that the vehicle continues to maintain the current lane.
[0064] S170: Do not perform the deflection correction operation.
[0065] In an exemplary embodiment, the steering angle of the vehicle and the deflection angle of the vehicle detected by the gyroscope are obtained during the driving process of the vehicle. If it is determined that the steering angle of the vehicle is less than a first threshold value, and the duration of the steering angle of the vehicle being less than the first threshold value is greater than a preset duration, it indicates that no steering signal for changing the driving direction of the vehicle is received, which further indicates that the driver has no intention to control the direction to control the steering of the vehicle; if it is determined that the steering angle of the vehicle is greater than or equal to the first threshold value, it indicates that a steering signal for changing the driving direction of the vehicle is received, which further indicates that the driver has the intention to control the direction to control the steering of the vehicle. The steering angle of the vehicle can be represented by the steering angle of the steering gear in the steering system of the vehicle. In the above technical solution, the deflection angle of the vehicle is directly detected by the gyroscope, which eliminates the process of calculating the deflection angle based on a large number of parameters, thereby shortening the time for initially judging whether the vehicle has a tendency to deviate, which is conducive to the vehicle to quickly make a correction operation, so as to automatically restore the vehicle to a straight driving state in a short time, thereby improving the safety of driving.
[0066] In the case where the driver has no intention to control the direction to control the steering of the vehicle, it is determined whether the deflection angle of the vehicle is greater than or equal to the second threshold value. If so, it is preliminarily determined that the vehicle has a tendency to run off. In order to avoid the misjudgment of the vehicle running off, the change in the distance between the relevant environmental objects (such as lane lines, curbs, isolation belts, guardrails, etc.) and the vehicle body in the image around the vehicle collected by the surround view camera carried by the vehicle and the driving speed of the vehicle are used to judge whether the vehicle has a tendency to run off again. If the vehicle is determined to have a tendency to run off for the second time, the wheelbase, driving speed, shock absorber stroke change and the load difference between the first wheel and the second wheel of the vehicle are obtained. Among them, the wheelbase of the vehicle is a fixed value, which can be the distance between the left front wheel and the right front wheel, or the distance between the left rear wheel and the right rear wheel. The shock absorber includes a left shock absorber and a right shock absorber of the vehicle, and the shock absorber stroke change includes the compression or elongation of the left shock absorber and the compression or elongation of the right shock absorber. For example, if the ground contacted by the left wheel is higher than the ground contacted by the right wheel, the stroke change of the shock absorber includes the compression of the left shock absorber and the extension of the right shock absorber; if the ground contacted by the left wheel is lower than the ground contacted by the right wheel, the stroke change of the shock absorber includes the extension of the left shock absorber and the compression of the right shock absorber. A pressure sensor is provided on each wheel of the vehicle, and the pressure of each wheel can be detected by the pressure sensor. The load of each wheel can be obtained by the corresponding relationship between pressure and load. The first wheel and the second wheel are opposite wheels to each other, for example, the first wheel is the left wheel, the second wheel is the right wheel, the first wheel is the right wheel, and the second wheel is the left wheel. Taking the first wheel as the left wheel, the second wheel as the right wheel, and the first wheel as the right wheel as an example, the load difference between the first wheel and the second wheel is the difference between the load of the left front wheel and the load of the right front wheel, or the difference between the load of the left rear wheel and the load of the right rear wheel, or the difference between the sum of the load of the left front wheel and the load of the left rear wheel and the sum of the load of the right front wheel and the load of the right rear wheel.
[0067] Since whether the vehicle deviates is related to the load of each wheel, the vehicle will generally deviate in the direction of the wheel on the side with heavier load. After obtaining the load difference between the first wheel and the second wheel of the vehicle, it is determined whether the load difference is greater than or equal to the preset load difference. If so, it is determined for the third time that the vehicle has a tendency to deviate, that is, it is considered that the deviation of the vehicle is also related to the load of the wheel, and the deviation distance of the vehicle is predicted by the vehicle's wheelbase, driving speed and the change in the stroke of the shock absorber; wherein, the deviation distance can be understood as the distance the vehicle travels in the deviation direction, and the angle between the route the vehicle travels in the deviation direction and the original route of the vehicle is the deflection angle of the vehicle in the event of deviation.
[0068] After the deviation distance of the vehicle is predicted, it is determined whether the deviation distance is greater than or equal to the third threshold value. If the deviation distance is greater than or equal to the third threshold value, it means that the vehicle will leave the current lane (i.e., the lane where the vehicle is currently traveling, which can also be called the original lane), that is, it means that the vehicle will soon enter other lanes from the current lane due to deviation. Therefore, when the deviation distance is greater than or equal to the third threshold value, the vehicle is controlled in advance according to the deviation distance and the deflection angle, so as to adjust the vehicle to a straight-line driving state, so that the vehicle continues to maintain the current lane, which can avoid the occurrence of traffic accidents caused by the vehicle deviation in advance, and is conducive to improving the safety of driving. Among them, controlling the vehicle according to the deviation distance and the deflection angle refers to controlling the steering system of the vehicle to control the steering of the vehicle in the opposite direction of the deviation direction when the vehicle has a deviation tendency, so as to counteract the deviation of the vehicle, realize the automatic correction of the deviation of the vehicle, and keep the vehicle in a straight-line driving state at all times, so as to always maintain the current lane driving. For example, if the vehicle has a tendency to deviate to the right, the steering system is controlled to adjust the vehicle to turn to the left, so that it is always in a straight-line driving state. Among them, when combating vehicle deviation, the vehicle can be controlled to slowly turn in the opposite direction of the deviation direction at a preset steering speed to avoid affecting the driver's driving experience and driving comfort.
[0069] The embodiment of the present application adopts a technical solution of judging whether the vehicle has a tendency to run off when the steering angle of the vehicle is less than a first threshold value and the deflection angle of the vehicle is greater than or equal to a second threshold value, and if so, obtaining the wheelbase, driving speed, stroke change of the shock absorber and the load difference between the first wheel and the second wheel on the opposite sides of the vehicle; if the load difference is greater than or equal to the preset load difference, predicting the deviation distance of the vehicle according to the wheelbase, driving speed and stroke change of the shock absorber; and controlling the vehicle according to the deviation distance and the deflection angle when the deviation distance is greater than or equal to a third threshold value to adjust the vehicle to a straight-line driving state; during the driving of the vehicle (excluding the situation where the vehicle is decelerating), ), when it is detected that the driver has no intention to control the direction of the vehicle, if it is determined three times in a row that the vehicle has a tendency to deviate, the deviation distance of the vehicle is predicted by the wheelbase, driving speed and the stroke change of the shock absorber, and then by comparing the deviation distance with the distance threshold (third threshold) corresponding to the deviation distance, it is predicted whether the vehicle will leave the current lane when the vehicle has a tendency to deviate. If it is predicted that the vehicle will leave the current lane when the vehicle has a tendency to deviate, the vehicle is controlled in advance to automatically perform a deviation correction operation, so as to control the vehicle according to the deviation distance and the deflection angle, so as to adjust the vehicle to a straight driving state, so that the vehicle continues to maintain the current lane. Through the above technical solution, on the one hand, the vehicle is automatically corrected in advance when it is determined that the vehicle has a tendency to deviate, which can prevent the occurrence of traffic accidents caused by the vehicle deviating in advance, which is conducive to improving driving safety. On the other hand, because the present application can automatically correct the deviation of the vehicle, when it is predicted that the vehicle is about to deviate, the driver does not need to frequently operate the steering wheel to keep the vehicle in the current lane, which is conducive to reducing the driver's operating burden and avoiding driving fatigue.
[0070] The following Figure 1 The specific implementation methods of each step in the embodiment shown are described
[0071] In a possible implementation, the above-mentioned prediction of the deviation distance of the vehicle according to the wheelbase, the driving speed and the change in the stroke of the shock absorber includes the following schemes:
[0072] Determine the road inclination angle of the vehicle based on the wheelbase and the shock absorber travel change;
[0073] Determine the velocity component of the driving speed according to the road inclination angle and the driving speed;
[0074] Determine the deviation distance based on the speed component and driving time.
[0075] Calculation of deviation distance E: θ represents the inclination angle of the road on which the vehicle is located, and θ is calculated by the wheelbase and the change in the travel of the shock absorber. Because the vehicle is affected by the slope of the road on which the vehicle is located during driving, the vehicle's driving speed v will have a speed component v0 in the lateral direction (slope direction), so v0=v×sinθ. After v0 is obtained, E is calculated by v0 and driving time t, that is, E=v0×t. Among them, the larger θ is, the greater the degree of deviation of the vehicle.
[0076] In one possible implementation, Figure 3 As shown, Figure 3 The schematic diagram of the contact between the vehicle and the road is shown, C represents the vehicle, Z1 represents the left wheel, Z2 represents the right wheel, M represents the road, and the shock absorber includes the left shock absorber J1 and the right shock absorber J2. The above-mentioned method of determining the road inclination angle of the road where the vehicle is located according to the wheelbase and the change in the stroke of the shock absorber includes the following schemes:
[0077] determining a target difference between a change in stroke of the left shock absorber and a change in stroke of the right shock absorber;
[0078] The road inclination angle is determined based on the ratio of the target difference to the wheelbase.
[0079] H1 represents the stroke change of the left shock absorber, H2 represents the stroke change of the right shock absorber, a represents the target difference, b represents the wheelbase, and a=|H1-H2|; Figure 3 As shown, based on trigonometric functions, tanθ=a / b is obtained, and based on tanθ=a / b, θ is obtained through inverse trigonometric functions.
[0080] In a possible implementation, the above-mentioned determination of whether the vehicle has a tendency to deviate includes the following solutions:
[0081] Determine a distance change between the vehicle and the lane line; wherein the distance change is an absolute value of a distance difference between a first distance and a second distance, the first distance is the distance between the vehicle and the lane line at the i-th moment, the second distance is the distance between the vehicle and the lane line at the (i+1)-th moment, and i is a positive integer greater than or equal to 1;
[0082] If the distance change is greater than the fourth threshold and the driving speed is greater than the fifth threshold, it is determined that the vehicle has a tendency to deviate;
[0083] If the distance change is not greater than the fourth threshold and the driving speed is not greater than the fifth threshold, it is determined that the vehicle does not have a tendency to run off the track.
[0084] The distance change between the vehicle and the left lane line and / or the right left lane line of the current lane where the vehicle is located is calculated to obtain two distance changes. If at least one of the two distance changes is greater than the fourth threshold and the driving speed is greater than the fifth threshold, it indicates that the vehicle has a tendency to deviate; if at least one of the two distance changes is greater than the fourth threshold and the driving speed is greater than the fifth threshold, it indicates that the vehicle does not have a tendency to deviate.
[0085] like Figure 4 As shown, Figure 4 The schematic diagram of the vehicle driving scene is shown. Taking the left lane line of the current lane as an example, D3 represents the distance change, D1 represents the first distance, that is, the distance between the vehicle and the left lane line at the i-th moment, and D2 represents the second distance, that is, the distance between the vehicle and the left lane line at the (i+1)th moment, and D3 = |D1-D2|. If D1 is greater than the fourth threshold and the driving speed is greater than the fifth threshold, it means that the vehicle has a tendency to deviate; if D1 is not greater than the fourth threshold and the driving speed is not greater than the fifth threshold, it means that the vehicle does not have a tendency to deviate.
[0086] By setting the fourth and fifth thresholds, the normal driving and deviation tendency of the vehicle can be judged more accurately, which helps to timely detect the deviation of the vehicle and correct the deviation of the driving path under high-speed driving conditions, thereby improving driving safety. In other cases, such as when the driving speed is less than the fourth threshold but the distance change is large, or when the driving speed and the distance change do not reach their respective corresponding thresholds, it is determined that the vehicle does not have a tendency to deviate, which helps to eliminate false alarms caused by non-abnormal factors such as slight steering operations or uneven road surfaces when driving at low speeds, reduce unnecessary system intervention, and help maintain natural and smooth driving.
[0087] The third threshold is a threshold for the deviation distance, and the fifth threshold is a threshold for the driving speed. The driving speed of the vehicle is affected by the road surface type and / or weather of the road. The road surface type includes cement road surface, asphalt road surface, etc., and the weather includes rainy days, snowy days, etc. For example, on rainy days or snowy days, the road surface of the same road surface type is more slippery, and the distance and time of braking deceleration will be extended. If the vehicle deviates, the correction operation is too late and it is easy to cause an accident. Alternatively, the distance and time of braking deceleration of road surfaces of different road surface types under the same weather conditions are also different. For example, the distance and time of braking deceleration of cement road surface is longer than the distance and time of braking deceleration of water asphalt road surface. Therefore, in order to adapt the vehicle to different driving environments when the vehicle has a tendency to deviate, so as to automatically correct the deviation in advance and safely, the threshold of the deviation distance and the driving speed corresponding to different road surface types and / or different weather are established in advance through real vehicle tests under different driving environments. The threshold of the deviation distance and the driving speed corresponding to different road surface types and / or different weather are different. In the present application, during vehicle driving, the road surface type and at least one of the current weather of the road on which the vehicle is located are obtained, and the third threshold and the fifth threshold are determined based on at least one of the road surface type and the current weather. That is, the above-mentioned correspondence is queried through at least one of the road surface type and the current weather, that is, the thresholds of the deviation distance and the driving speed corresponding to different road surface types and / or different weathers, thereby obtaining the third threshold and the fifth threshold.
[0088] In a possible implementation, the vehicle includes a steering system, and the steering system is an electric power steering system. Figure 5 As shown, Figure 5 The structure diagram of the electric power steering system is shown, and the electric power steering system includes a steering wheel 101, a steering column 105, an electric power steering (EPS) motor 103, a first torque sensor 104, an electronic control unit 102, a rack and pinion mechanism 106, and a steering wheel 107. Among them, the first torque sensor 104 collects the magnitude and direction of the torque applied by the driver to the steering wheel, and sends the collected magnitude and direction of the torque to the electronic control unit 102. The electronic control unit 102 controls the steering wheel power motor 103 to output the power torque, thereby assisting the driver in turning the steering wheel, making steering easier.
[0089] In the case where the steering system is an electric power steering system, the above-mentioned control of the vehicle according to the deviation distance and the deflection angle to adjust the vehicle to a straight-line driving state includes the following schemes:
[0090] Determine the vehicle's yaw direction;
[0091] Obtaining first motor control parameters corresponding to the deviation distance, the absolute value of the deflection angle, and the deflection direction;
[0092] Controlling a steering wheel power-assisting motor in an electric power-steering system according to a first motor control parameter to control the steering wheel to rotate in a first target direction; wherein the first target direction is the opposite direction of the deflection direction;
[0093] When the deflection angle is less than the second threshold and the deviation distance is less than the third threshold, the steering wheel power motor is controlled to stop rotating; wherein, the deflection angle less than the second threshold and the deviation distance less than the third threshold indicate that the vehicle is in a straight-line driving state.
[0094] In the case where the vehicle's steering system is an electric power steering system, the direction indicator of the vehicle's deflection angle and the steering direction of the vehicle's steering wheels are obtained. If the steering direction is consistent with the preset direction corresponding to the direction indicator, the preset direction corresponding to the direction indicator is determined as the deflection direction, and the deflection direction is left or right.
[0095] The deflection angle of the vehicle detected by the gyroscope has a direction identifier, and the direction identifier corresponds to a preset direction. For example, the direction identifier is "+", and the corresponding preset direction is left, and the direction identifier is "-", and the corresponding preset direction is right. Or, the direction identifier is "1", and the corresponding preset direction is left, and the direction identifier is "1", and the corresponding preset direction is right. Because the reason for the deviation of the vehicle is that the rack in the steering gear is offset relative to the original center position. For example, the rack is offset to the left relative to the original center position, which will cause the steering wheel to turn left, thereby causing the vehicle to deviate to the left; for example, the rack is offset to the right relative to the original center position, which will cause the steering wheel to turn right, thereby causing the vehicle to deviate to the right. Therefore, when the vehicle deviates, it is further verified whether the deflection direction is correctly determined according to the steering direction of the steering wheel. Specifically, the steering direction of the steering wheel is compared with the preset direction corresponding to the direction identifier. If they are consistent, it means that the deflection direction determined by the preset direction corresponding to the direction identifier is correct, and the preset direction corresponding to the direction identifier is determined as the deflection direction, so as to avoid the problem that the vehicle's deflection direction is incorrectly determined, which leads to the inability to correct the deviation of the vehicle in advance.
[0096] A first mapping relationship between a first preset motor control parameter of a steering wheel power-assist motor for counteracting vehicle deviation and a preset distance, an absolute value of a preset deflection angle and a preset deflection direction is set in advance, and the first mapping relationship is represented by Table 1; wherein the first preset motor control parameter includes a rotation speed and a rotation direction of the steering wheel power-assist motor.
[0097] Table 1
[0098]
[0099] After obtaining the deviation distance, the absolute value of the deflection angle, and the deflection direction of the vehicle, the first mapping relationship is queried through the deviation distance, the absolute value of the deflection angle, and the deflection direction to obtain the first preset motor control parameter corresponding to the deviation distance, the absolute value of the deflection angle, and the deflection direction. For example, if the first preset motor control parameter is K11, then K11 is the first motor control parameter. Then, the steering wheel power assist motor is controlled to rotate according to the first motor control parameter. During the rotation of the steering wheel power assist motor, the steering wheel will be driven to rotate in the first target direction. For example, if the deflection direction is right, the steering wheel turns to the left when the steering wheel power assist motor is controlled to rotate according to the first motor control parameter. In the process of the steering wheel turning in the first target direction, the deflection angle collected by the gyroscope is obtained in real time, the deviation distance of the vehicle is calculated, and it is determined whether the deflection angle is less than the second threshold value and whether the deviation distance is less than the third threshold value; if it is determined that the deflection angle is less than the second threshold value and the deviation distance is less than the third threshold value, it means that the vehicle is in a straight-line driving state, that is, the vehicle continues to drive in the original lane, and the steering wheel power motor is controlled to stop rotating at this time, and the vehicle deviation is automatically corrected, so that the deviation correction is realized when the vehicle equipped with the electric power steering system has a deviation tendency. Among them, because the first motor control parameter includes the rotation speed of the steering wheel power motor, it can be achieved to slowly adjust the vehicle from the deviation state to the straight-line driving state, which is conducive to ensuring driving comfort.
[0100] In one possible implementation, the vehicle includes a steering system, and the steering system is a wire-controlled steering system. Figure 6 As shown, Figure 6The schematic diagram of the structure of the wire control steering system is shown. The wire control steering system (Steering-By-Wire System, SBW) includes: a hand feeling simulator and a steering gear. The hand feeling simulator includes a steering wheel 201, a hand feeling controller 202, a first angle sensor 203, a second torque sensor 204, a hand feeling motor 205, a first reduction mechanism 206, etc. Among them, the first angle sensor 203, the torque sensor 204 and the hand feeling motor 205 are all electrically connected to the hand feeling controller 202. The steering gear includes a steering motor 301, a steering execution controller 302, a second angle sensor 303, a gear 304, a rack 305, a steering wheel 306, a second reduction mechanism 307, etc. Among them, the steering motor 301 and the second angle sensor 303 are both electrically connected to the steering execution controller 302, and the steering execution controller 302 is connected to the hand feeling controller 202 in communication, and the two exchange information. Regarding steering control of the steering wheel 306: the hand feeling controller 202 sends the steering information of the steering wheel 201 to the steering execution controller 302, and the steering execution controller 302 controls the steering motor 301 to rotate, thereby driving the gear 304 to rotate, and the gear 304 rotates to drive the rack 305 to move, thereby realizing the steering of the steering wheel 306. Regarding road feeling simulation: the steering execution controller 302 sends the road condition information to the hand feeling controller 202, and the hand feeling controller 202 controls the hand feeling motor 205 to output the corresponding torque, thereby realizing road feeling simulation.
[0101] In the case where the steering system is a wire-controlled steering system, the above-mentioned controlling the vehicle according to the deviation distance and the deflection angle to adjust the vehicle to a straight-line driving state includes the following solutions:
[0102] Determine the vehicle's yaw direction;
[0103] Obtaining the second motor control parameters corresponding to the deviation distance, the absolute value of the deflection angle and the deflection direction;
[0104] Controlling the steering motor in the steering gear according to the second motor control parameter to control the rack in the steering gear to move in a second target direction; wherein the second target direction is the opposite direction of the deflection direction;
[0105] When the deflection angle is less than the second threshold and the deviation distance is less than the third threshold, the steering motor is controlled to stop rotating; wherein, the deflection angle less than the second threshold and the deviation distance less than the third threshold indicate that the vehicle is in a straight-line driving state.
[0106] In the case where the vehicle's steering system is a wire-controlled steering system, the direction indicator of the vehicle's deflection angle and the steering direction of the vehicle's steering wheels are obtained. If the steering direction is consistent with the preset direction corresponding to the direction indicator, the preset direction corresponding to the direction indicator is determined as the deflection direction, and the deflection direction is left or right.
[0107] A second mapping relationship between a second preset motor control parameter of a steering motor for counteracting vehicle deviation and a preset distance, an absolute value of a preset deflection angle and a preset deflection direction is set in advance, and the second mapping relationship is represented by Table 2; wherein the second preset motor control parameter includes a rotation speed and a rotation direction of the steering motor.
[0108] Table 2
[0109]
[0110] After obtaining the deviation distance, the absolute value of the deflection angle, and the deflection direction of the vehicle, the second mapping relationship is queried through the deviation distance, the absolute value of the deflection angle, and the deflection direction to obtain the second preset motor control parameter corresponding to the deviation distance, the absolute value of the deflection angle, and the deflection direction. For example, if the second preset motor control parameter is K21, then K21 is the second motor control parameter. Then the steering motor is controlled to rotate according to the second motor control parameter. During the rotation of the steering motor, the rack will be driven to move in the second target direction. For example, if the deflection direction is right, then the second target direction is left. When the steering motor is controlled to rotate according to the second motor control parameter, in order to counteract the vehicle's deviation to the right, the rack will move to the left. Among them, the rack moves to the left, and the wheel turns from right to left.
[0111] In the process of the rack moving in the second target direction, the deflection angle collected by the gyroscope is obtained in real time, the deviation distance of the vehicle is calculated, and it is determined whether the deflection angle is less than the second threshold value and whether the deviation distance is less than the third threshold value; if it is determined that the deflection angle is less than the second threshold value and the deviation distance is less than the third threshold value, it means that the vehicle is in a straight-line driving state, that is, the vehicle continues to drive in the original lane, and the steering motor is controlled to stop rotating at this time, and the rack no longer moves, that is, the vehicle deviation is automatically corrected, so that the deviation correction is realized when the vehicle equipped with the wire control steering system has a deviation tendency. Among them, because the second motor control parameter includes the rotation speed of the steering motor, it can be achieved to slowly adjust the vehicle from the deviation state to the straight-line driving state, which is conducive to ensuring driving comfort.
[0112] In a possible implementation, when the steering system is a wire-controlled steering system, after the deflection direction of the vehicle is determined, the deviation correction method further includes the following solutions:
[0113] Obtaining the third motor control parameters corresponding to the deviation distance, the absolute value of the deflection angle and the deflection direction;
[0114] In the case where the steering motor in the steering gear is controlled according to the second motor control parameter to control the rack in the steering gear to move in the second target direction, the deviation correction method also includes the following scheme:
[0115] Controlling the hand feeling motor in the hand feeling simulator according to the third motor control parameter to control the steering wheel to rotate in a second target direction;
[0116] When the deflection angle is less than the second threshold and the deviation distance is less than the third threshold, the hand feeling motor is controlled to stop rotating.
[0117] When a vehicle equipped with a steer-by-wire system turns, the driver turns the steering wheel to a certain steering wheel angle, and the steering execution controller controls the steering motor to rotate, thereby driving the rack to move a distance corresponding to the steering wheel angle, that is, the steering wheel angle and the rack position have a corresponding relationship. For example, when the steering wheel angle is X1, the rack position is D1, and when the steering wheel angle is X2, the rack position is D2.
[0118] The above only controls the steering motor to rotate to drive the rack to move, thereby achieving vehicle deviation correction, without keeping the steering wheel rotation angle and the rack position corresponding to each other. Therefore, in order to keep the steering wheel rotation angle and the rack position corresponding to each other, so as to ensure that the driver can control the normal steering of the vehicle by turning the steering wheel, the present application also needs to keep the steering wheel rotation angle and the rack position corresponding to each other in the process of controlling the steering motor to rotate to drive the rack to move, thereby achieving vehicle deviation correction. The specific process is as follows:
[0119] A third mapping relationship between a third preset motor control parameter of the feel motor for counteracting vehicle deviation and a preset distance, an absolute value of a preset deflection angle, and a preset deflection direction is set in advance, and the third mapping relationship is represented by Table 3; wherein the third preset motor control parameter includes the rotation speed and rotation direction of the feel motor.
[0120] Table 3
[0121]
[0122] After obtaining the deviation distance, the absolute value of the deflection angle, and the deflection direction of the vehicle, the third mapping relationship is queried through the deviation distance, the absolute value of the deflection angle, and the deflection direction to obtain the third preset motor control parameter corresponding to the deviation distance, the absolute value of the deflection angle, and the deflection direction. For example, if the third preset motor control parameter is K31, then K31 is the third motor control parameter. Then, the steering motor is controlled according to the second motor control parameter to control the rack to move in the second target direction. At the same time, the hand feel motor is controlled to rotate according to the third motor control parameter. During the rotation of the hand feel motor, the steering wheel will be driven to move in the second target direction. For example, if the deflection direction is right, then the second target direction is left. When the hand feel motor is controlled to rotate according to the third motor control parameter, the steering wheel turns to the left.
[0123] During the process of the rack moving to the left and the steering wheel turning to the left, the deflection angle collected by the gyroscope is obtained in real time, and it is determined whether the deflection angle is less than the second threshold and the deviation distance of the vehicle is calculated; if it is determined that the deflection angle is less than the second threshold and the deviation distance is less than the third threshold, it means that the vehicle is in a straight-line driving state, that is, the vehicle continues to maintain its original lane. At this time, the steering motor and the hand-feel motor are controlled to stop rotating, the rack no longer moves, and the steering wheel no longer rotates, that is, the vehicle deviation is automatically corrected, thereby realizing the deviation correction when the vehicle equipped with a wire-controlled steering system has a tendency to deviate. Among them, when the rack no longer moves and the steering wheel no longer turns, the position of the rack corresponds to the steering wheel rotation angle, that is, when the steering wheel is turned a certain angle, the rack is ensured to move a distance corresponding to the steering wheel rotation angle, and after the rack moves a distance corresponding to the steering wheel rotation angle, the vehicle is in a straight driving state, thereby keeping the steering wheel rotation angle and the position of the rack corresponding to each other, which can ensure that when the vehicle no longer performs the correction operation, the driver can control the normal steering of the vehicle by turning the steering wheel, avoiding the problem of steering failure caused by the mismatch between the steering wheel rotation angle and the rack position.
[0124] The above is an automatic deviation correction method implemented when the vehicle is driving and the vehicle is not braking. The deviation correction method also includes the following solutions:
[0125] When the vehicle is controlled according to the deviation distance and the deflection angle, if the vehicle is in the deceleration stage, the braking force applied by the vehicle to each wheel is adjusted so that the difference in braking force corresponding to any two wheels among all the wheels is within a preset range.
[0126] The braking force of each wheel of the vehicle is independently controlled by the braking system. When the vehicle is controlled according to the deviation distance and the deflection angle to adjust the vehicle to a straight-line driving state so that the vehicle continues to maintain the current lane, if the vehicle decelerates, that is, the vehicle is in the deceleration stage (also called the braking stage), the braking system is controlled to adjust the braking force applied to each wheel until the difference in the braking force corresponding to any two wheels among all the wheels is within a preset range, and then the adjustment is stopped. Among them, the difference in the braking force corresponding to any two wheels among all the wheels is within the preset range, which means that the braking force applied to all wheels tends to be balanced, which can prevent the vehicle from deviating due to the load difference of the opposite wheels during the deceleration period, thereby ensuring that the vehicle always maintains the original lane during the deceleration period, effectively avoiding the probability of accidents during the deceleration process of the vehicle, and is conducive to improving driving safety.
[0127] The following is another embodiment of a deviation correction method provided in the embodiments of the present application.
[0128] The deviation correction method provided in the embodiment of the present application is applied to a vehicle and is suitable for correcting the deviation of the vehicle during vehicle deceleration. The deviation correction method includes the following solutions:
[0129] Step 201: when the vehicle is in a deceleration stage, the steering angle of the vehicle is less than a first threshold value, and the deflection angle of the vehicle is greater than or equal to a second threshold value, it is considered that the vehicle has a tendency to deviate from the vehicle, and a second determination is made as to whether the vehicle has a tendency to deviate from the vehicle;
[0130] Step 202: If it is determined for the second time that the vehicle has a tendency to deviate, the wheelbase, the driving speed, the change in the stroke of the shock absorber, and the load difference between the first wheel and the second wheel of the vehicle are obtained; wherein the first wheel and the second wheel are opposite wheels to each other;
[0131] Step 203: determining whether the load difference is greater than or equal to a preset load difference, so as to determine for the second time whether the vehicle has a tendency to deviate;
[0132] Step 204: If the load difference is greater than or equal to the preset load difference, it is considered that the vehicle has a tendency to deviate for the third time, and the deviation distance of the vehicle is predicted according to the wheelbase, the driving speed and the change in the stroke of the shock absorber;
[0133] Step 205: If it is determined that the deviation distance is greater than or equal to the third threshold value, it is determined that the vehicle will leave the current lane, and the steering system is controlled according to the deviation distance and the deflection angle, and the braking force applied to each wheel of the vehicle is adjusted so that the difference in braking force corresponding to any two wheels among all the wheels is within a preset range, thereby adjusting the vehicle to a straight-line driving state, so that the vehicle continues to maintain the current lane during deceleration, effectively avoiding the probability of accidents during the vehicle deceleration process, and helping to improve driving safety.
[0134] The following is an embodiment of a vehicle provided in an embodiment of the present application.
[0135] Figure 7 A schematic system diagram of a vehicle provided in an embodiment of the present application is shown, such as Figure 7 As shown, the vehicle 700 includes a steering system 710 , a gyroscope 720 and an electronic control unit 730 , and the steering system 710 and the gyroscope 720 are both connected to the electronic control unit 730 .
[0136] The gyroscope 720 is installed at the center of mass of the vehicle 700 and is used to detect the deflection angle of the vehicle; the electronic control unit 730 is used to determine whether the vehicle 700 has a tendency to deviate when the steering angle of the vehicle 700 is less than a first threshold and the deflection angle is greater than or equal to a second threshold; if so, obtain the wheelbase, driving speed, shock absorber stroke change and load difference between the first wheel and the second wheel of the vehicle 700; wherein the first wheel and the second wheel are opposite wheels to each other; when the load difference is greater than or equal to the preset load difference, predict the deviation distance of the vehicle based on the wheelbase, driving speed and shock absorber stroke change; when the deviation distance is greater than or equal to the third threshold, it is determined that the vehicle 700 will leave the current lane, and the steering system 710 is controlled based on the deviation distance and the deflection angle to adjust the vehicle 700 to a straight driving state so that the vehicle 700 continues to maintain driving in the current lane. Based on the above technical solution, the vehicle provided in the present application can automatically correct the deviation when it deviates, without too much manual adjustment of the suspension, transmission, tires, etc., and without too much manual correction of the dimensional changes caused by the wear of parts during the use of the vehicle. On the one hand, the present application can directly detect the deflection angle of the vehicle through the gyroscope installed at the center of mass of the vehicle, eliminating the process of calculating the deflection angle through a large number of parameters, thereby shortening the time for preliminary judgment of whether the vehicle has a tendency to deviate, which is conducive to the vehicle to quickly make a correction operation, so that the vehicle can automatically return to a straight-line driving state in a short time, thereby improving the safety of driving. On the other hand, it realizes the advance automatic correction control of the vehicle when it is determined that the vehicle has a tendency to deviate, which can prevent the occurrence of traffic accidents caused by the vehicle deviating in advance, which is conducive to improving the safety of driving. On the other hand, because the present application can automatically correct the deviation of the vehicle, when it is predicted that the vehicle is about to deviate, the vehicle can always keep driving in the current lane without the driver frequently operating the steering wheel, which is conducive to reducing the driver's operating burden and avoiding driving fatigue.
[0137] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.
[0138] Figure 8 A schematic diagram of the structure of a deviation correction device provided in an embodiment of the present application is shown. Figure 8 As shown, the deviation correction device 800 is configured on a vehicle, and the deviation correction device 800 includes:
[0139] A judgment module 810 is used to judge whether the vehicle has a tendency to deviate when the steering angle of the vehicle is less than a first threshold and the deflection angle of the vehicle is greater than or equal to a second threshold;
[0140] The acquisition module 820 is used to acquire the wheelbase, driving speed, travel change of the shock absorber, and the load difference between the first wheel and the second wheel of the vehicle when the vehicle has a tendency to deviate; wherein the first wheel and the second wheel are opposite side wheels to each other;
[0141] A prediction module 830, configured to predict the deviation distance of the vehicle according to the wheelbase, the driving speed and the stroke change of the shock absorber when the load difference is greater than or equal to a preset load difference;
[0142] The control module 840 is used to determine that the vehicle will leave the current lane when the deviation distance is greater than or equal to a third threshold value, and control the vehicle according to the deviation distance and the deflection angle to adjust the vehicle to a straight-line driving state so that the vehicle continues to maintain the current lane.
[0143] In a possible implementation, the prediction module 830 includes:
[0144] A first calculation unit, configured to determine a road surface inclination angle of a road on which the vehicle is located according to the wheelbase and the stroke change of the shock absorber;
[0145] a second calculation unit, configured to determine a speed component of the driving speed according to the road surface inclination angle and the driving speed;
[0146] The third calculation unit is used to determine the deviation distance according to the speed component and the driving time.
[0147] In one possible implementation, the shock absorber includes a left shock absorber and a right shock absorber, and the first calculation unit is specifically used to determine a target difference between a stroke change of the left shock absorber and a stroke change of the right shock absorber; and determine the road inclination angle according to the ratio of the target difference to the wheelbase.
[0148] In a possible implementation, the judgment module 810 is specifically used to determine the change in distance between the vehicle and the lane line; wherein the distance change is the absolute value of the distance difference between a first distance and a second distance, the first distance is the distance between the vehicle and the lane line at the i-th moment, the second distance is the distance between the vehicle and the lane line at the (i+1)-th moment, and i is a positive integer greater than or equal to 1; if the distance change is greater than a fourth threshold and the driving speed is greater than a fifth threshold, it is determined that the vehicle has a tendency to deviate; if the distance change is not greater than the fourth threshold and the driving speed is not greater than the fifth threshold, it is determined that the vehicle does not have a tendency to deviate.
[0149] In one possible implementation, the vehicle includes a steering system, and the steering system is an electric power steering system. When the steering system is an electric power steering system, the control module 840 is specifically used to determine the deflection direction of the vehicle; obtain the first motor control parameters corresponding to the deviation distance, the absolute value of the deflection angle and the deflection direction; control the steering wheel power motor in the electric power steering system according to the first motor control parameters to control the steering wheel to rotate in a first target direction; wherein the first target direction is the opposite direction of the deflection direction; when the deflection angle is less than the second threshold and the deviation distance is less than the third threshold, control the steering wheel power motor to stop rotating; wherein the deflection angle less than the second threshold and the deviation distance less than the third threshold indicate that the vehicle is in a straight driving state.
[0150] In one possible implementation, the vehicle includes a steering system, which is a wire-controlled steering system, which includes a steering gear and a feel simulator. When the steering system is a wire-controlled steering system, the control module 840 is specifically used to: determine the deflection direction of the vehicle; obtain second motor control parameters corresponding to the deviation distance, the absolute value of the deflection angle and the deflection direction; control the steering motor in the steering gear according to the second motor control parameters to control the rack in the steering gear to move in a second target direction; wherein the second target direction is the opposite direction of the deflection direction; when the deflection angle is less than the second threshold and the deviation distance is less than the third threshold, control the steering motor to stop rotating; wherein the deviation angle less than the second threshold and the deviation distance less than the third threshold indicate that the vehicle is in a straight-line driving state.
[0151] In one possible implementation, the vehicle includes a steering system, which is a wire-controlled steering system, which includes a steering gear and a hand feel simulator. When the steering system is a wire-controlled steering system, the control module 840 is further specifically used to: obtain a third motor control parameter corresponding to the deviation distance, the absolute value of the deflection angle and the deflection direction; when the steering motor in the steering gear is controlled according to the second motor control parameter to control the rack in the steering gear to move in the second target direction, the hand feel motor in the hand feel simulator is controlled according to the third motor control parameter to control the steering wheel to rotate in the second target direction; when the deflection angle is less than the second threshold and the deviation distance is less than the third threshold, the hand feel motor is controlled to stop rotating.
[0152] In a possible implementation, the deviation correction device 800 further includes:
[0153] A threshold determination unit is used to obtain at least one of the road surface type and current weather of the road on which the vehicle is located; and determine the third threshold and the fifth threshold according to at least one of the road surface type and current weather.
[0154] In one possible implementation, the control module 840 is further used to adjust the braking force applied by the vehicle to each wheel if the vehicle is in a deceleration phase, when the vehicle is controlled according to the deviation distance and the deflection angle, so that the difference in braking force corresponding to any two wheels among all the wheels is within a preset range.
[0155] It should be noted that the deviation correction device provided in the above embodiment only uses the division of the above functional modules as an example when executing the deviation correction method. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the deviation correction device provided in the above embodiment and the deviation correction method embodiment belong to the same concept. Therefore, for details not disclosed in the device embodiment of the present application, please refer to the above-mentioned deviation correction method embodiment of the present application, and no further description will be given here.
[0156] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0157] Fig. 9 A schematic diagram of the structure of a vehicle provided in an embodiment of the present application is shown. Fig. 9 As shown, the vehicle 900 includes: a memory 901 and a processor 902, wherein the memory 901 stores an executable program code 9011, and the processor 902 is used to call and execute the executable program code 9011 to perform a deviation correction method.
[0158] In this embodiment, the functional modules of the vehicle can be divided according to the above method example. For example, each functional module can be corresponded, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0159] In the case of dividing each functional module according to each function, the vehicle may include: an acquisition module, a judgment module, a control module, etc. It should be noted that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, which will not be repeated here.
[0160] The vehicle provided in this embodiment is used to execute the above-mentioned deviation correction method, and thus can achieve the same effect as the above-mentioned implementation method.
[0161] In the case of an integrated unit, the vehicle may include a processing module and a storage module. The processing module may be used to control and manage the actions of the vehicle. The storage module may be used to support the vehicle in executing relevant program codes and data.
[0162] The processing module may be a processor or a controller, which may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc. The storage module may be a memory.
[0163] This embodiment also provides a computer-readable storage medium, in which a computer program code is stored. When the computer program code is executed on a computer, the computer executes the above-mentioned related method steps to implement a deviation correction method in the above-mentioned embodiment.
[0164] This embodiment further provides a computer program product. When the computer program product is run on a computer, the computer is caused to execute the above-mentioned related steps to implement a deviation correction method in the above-mentioned embodiment.
[0165] In addition, the vehicle provided in the embodiments of the present application may specifically be a chip, component or module, and the vehicle may include a connected processor and memory; wherein the memory is used to store instructions, and when the vehicle is running, the processor may call and execute instructions so that the chip executes a method for correcting deviation in the above-mentioned embodiments.
[0166] Among them, the vehicle, computer-readable storage medium, computer program product or chip provided in this embodiment are all used to execute the corresponding deviation correction method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding deviation correction method provided above, and will not be repeated here.
[0167] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0168] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0169] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A deviation correction method, characterized in that: The deviation correction method comprises: When the steering angle of the vehicle is less than a first threshold and the deflection angle of the vehicle is greater than or equal to a second threshold, determining whether the vehicle has a tendency to deviate; If yes, obtain the wheelbase, driving speed, shock absorber travel change, and load difference between the first wheel and the second wheel of the vehicle; wherein the first wheel and the second wheel are opposite wheels to each other; When the load difference is greater than or equal to a preset load difference, predicting the deviation distance of the vehicle according to the wheelbase, the driving speed and the stroke change of the shock absorber; When the deviation distance is greater than or equal to a third threshold value, it is determined that the vehicle will leave the current lane, and the vehicle is controlled according to the deviation distance and the deflection angle to adjust the vehicle to a straight-line driving state so that the vehicle continues to maintain the current lane.
2. The deviation correction method according to claim 1, characterized in that: The predicting of the deviation distance of the vehicle according to the wheelbase, the driving speed and the change in the stroke of the shock absorber comprises: Determining the road surface inclination angle of the road on which the vehicle is located according to the wheelbase and the change in the stroke of the shock absorber; Determining a speed component of the driving speed according to the road surface inclination angle and the driving speed; The deviation distance is determined according to the speed component and the driving time.
3. The deviation correction method according to claim 2, characterized in that: The shock absorber includes a left shock absorber and a right shock absorber, and determining the road surface inclination angle of the road on which the vehicle is located according to the wheelbase and the stroke change of the shock absorber includes: determining a target difference between a stroke change of the left shock absorber and a stroke change of the right shock absorber; The road surface inclination angle is determined according to the ratio of the target difference to the wheelbase.
4. The deviation correction method according to any one of claims 1 to 3, characterized in that: The determining whether the vehicle has a tendency to deviate comprises: Determine a distance change between the vehicle and the lane line; wherein the distance change is an absolute value of a distance difference between a first distance and a second distance, the first distance is the distance between the vehicle and the lane line at the i-th moment, the second distance is the distance between the vehicle and the lane line at the (i+1)-th moment, and i is a positive integer greater than or equal to 1; If the distance change is greater than a fourth threshold and the driving speed is greater than a fifth threshold, it is determined that the vehicle has a tendency to deviate; If the distance change is not greater than the fourth threshold and the driving speed is not greater than the fifth threshold, it is determined that the vehicle does not have a tendency to run off the track.
5. The deviation correction method according to claim 4, characterized in that: The vehicle comprises a steering system, wherein the steering system is an electric power steering system; In the case where the steering system is an electric power steering system, controlling the vehicle according to the deviation distance and the deflection angle to adjust the vehicle to a straight-line driving state includes: determining a yaw direction of the vehicle; Obtaining first motor control parameters corresponding to the deviation distance, the absolute value of the deflection angle, and the deflection direction; Controlling the steering wheel power-assist motor in the electric power steering system according to the first motor control parameter to control the steering wheel to rotate in a first target direction; wherein the first target direction is the opposite direction of the deflection direction; When the deflection angle is less than the second threshold and the deviation distance is less than the third threshold, the steering wheel power motor is controlled to stop rotating; wherein, the deflection angle less than the second threshold and the deviation distance less than the third threshold indicate that the vehicle is in a straight-line driving state.
6. The deviation correction method according to claim 4, characterized in that: The vehicle comprises a steering system, the steering system is a steer-by-wire system, and the steer-by-wire system comprises a steering gear; In the case where the steering system is a wire-controlled steering system, controlling the vehicle according to the deviation distance and the deflection angle to adjust the vehicle to a straight-line driving state includes: determining a yaw direction of the vehicle; Obtaining a second motor control parameter corresponding to the deviation distance, the absolute value of the deflection angle, and the deflection direction; Controlling the steering motor in the steering gear according to the second motor control parameter to control the rack in the steering gear to move in a second target direction; wherein the second target direction is the opposite direction of the deflection direction; When the deflection angle is less than the second threshold and the deviation distance is less than the third threshold, the steering motor is controlled to stop rotating; wherein, the deflection angle less than the second threshold and the deviation distance less than the third threshold indicate that the vehicle is in a straight-line driving state.
7. The deviation correction method according to claim 6, characterized in that: The steer-by-wire system also includes a hand feel simulator; After determining the deflection direction of the vehicle, the deviation correction method further includes: Obtaining a third motor control parameter corresponding to the deviation distance, the absolute value of the deflection angle, and the deflection direction; In the case where the steering motor in the steering gear is controlled according to the second motor control parameter to control the rack in the steering gear to move in the second target direction, the deviation correction method further includes: Controlling the hand feeling motor in the hand feeling simulator according to the third motor control parameter to control the steering wheel to rotate according to the second target direction; When the deflection angle is smaller than the second threshold and the deviation distance is smaller than the third threshold, the hand feeling motor is controlled to stop rotating.
8. The deviation correction method according to claim 1, characterized in that: The deviation correction method also includes: In the case where the vehicle is controlled according to the deviation distance and the deflection angle, if the vehicle is in a deceleration phase, the braking force applied by the vehicle to each wheel is adjusted so that the difference in braking force corresponding to any two wheels among all the wheels is within a preset range.
9. A vehicle, characterized in that: The vehicle comprises: Steering system; A gyroscope for detecting a deflection angle of the vehicle, wherein the gyroscope is installed at the center of mass of the vehicle; An electronic control unit is used to determine whether the vehicle has a tendency to run off the track when the steering angle of the vehicle is less than a first threshold value and the deflection angle of the vehicle is greater than or equal to a second threshold value; if so, obtain the wheelbase, driving speed, shock absorber stroke change and load difference between the first wheel and the second wheel of the vehicle; when the load difference is greater than or equal to a preset load difference, predict the deviation distance of the vehicle based on the wheelbase, the driving speed and the shock absorber stroke change; when the deviation distance is greater than or equal to a third threshold value, determine that the vehicle will leave the current lane, and control the vehicle based on the deviation distance and the deflection angle to adjust the vehicle to a straight-line driving state so that the vehicle continues to maintain the current lane; wherein the first wheel and the second wheel are opposite wheels to each other.
10. A vehicle, characterized in that: The vehicle comprises: A memory for storing executable program codes; A processor is used to call and run the executable program code from the memory so that the vehicle executes the deviation correction method as described in any one of claims 1 to 8.
11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed, the deviation correction method according to any one of claims 1 to 8 is implemented.
Citation Information
Patent Citations
Vehicle running deviation analysis method, device and equipment and readable storage medium
CN114861323A
Vehicle running deviation control method, vehicle control unit and vehicle
CN115123263A
Vehicle deviation compensation method and device, terminal and storage medium
CN115871782A
Compensation control method and device during vehicle deviation, vehicle, equipment and medium
CN116373855A
Vehicle and deviation control method thereof, storage medium and electric power steering system
CN117429497A
Cited By
Vehicle control method and device, vehicle, storage medium and program product
CN120116964A
Vehicle braking test method and system for high-speed straight running vehicle
CN120427279A
