A method, apparatus, device, and storage medium for controlling the driving mode of a vehicle.
By acquiring the vehicle's drive motor speed and wheel speed, and combining the reducer speed ratio and wheel rolling radius to determine the reference vehicle speed, drive mode switching control is performed based on the front and rear axle slip ratio difference. This solves the problem of inaccurate drive mode switching timing and improves vehicle driving stability and fuel economy.
Patent Information
- Application Number
- CN202611312370.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-27
- Publication Date
- 2026-11-17
AI Technical Summary
In existing technologies, the timing of drive mode switching is not precise, resulting in chassis power loss and increased fuel consumption, which affects driving safety and stability. In particular, when the drive wheels slip on low-traction surfaces or during rapid acceleration, the wheel speed signal cannot accurately reflect the actual state of the vehicle.
By acquiring the vehicle's drive motor speed and wheel speed, and combining the reducer speed ratio and wheel rolling radius to determine the reference vehicle speed, drive mode switching control is performed based on the front and rear axle slip ratio difference. The proportional-integral-derivative algorithm is used to adjust the torque target value to achieve precise switching.
It effectively avoids the impact of wheel speed signal distortion on vehicle speed estimation when the drive wheels slip, and achieves precise control of the timing of drive mode switching, thereby improving vehicle stability and fuel economy.
Smart Images

Figure CN123104428A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle control technology, and in particular to a method, device, equipment and storage medium for controlling the driving mode of a vehicle. Background Technology
[0002] The on-demand four-wheel drive system can actively control the switching between two-wheel drive and four-wheel drive modes according to the vehicle's driving conditions, balancing driving stability and fuel economy. During on-demand four-wheel drive control, the precise timing of drive mode switching directly affects the vehicle's power loss and driving safety.
[0003] Currently, most control schemes rely on wheel speed sensors to determine drive mode switching. However, when a vehicle travels on a low-traction surface or experiences rapid acceleration that causes the drive wheels to slip, the wheel speed sensors cannot accurately reflect the vehicle's actual operating state. This results in inaccurate timing of drive mode switching, which can lead to chassis power loss and increased fuel consumption. Furthermore, it can cause front and rear axle torque interference during braking, affecting driving safety and stability. Summary of the Invention
[0004] This application provides a method, apparatus, device, and storage medium for controlling the driving mode of a vehicle, which solves the problem of inaccurate timing of driving mode switching in the prior art.
[0005] The technical solution adopted in this application is as follows: In a first aspect, this application provides a method for controlling the driving mode of a vehicle, comprising: Obtain the vehicle's drive motor speed and wheel speed; The reference vehicle speed is determined based on the drive motor speed, reducer speed ratio, and wheel rolling radius. The difference in slip ratio between the front and rear axles of the vehicle is determined based on the wheel speed of each wheel and the reference vehicle speed. The vehicle's drive mode is switched based on a preset control range and the difference in slip ratio between the front and rear axles.
[0006] In one alternative to the first aspect, the difference in slip ratio between the front and rear axles of the vehicle is determined based on the wheel speeds of each wheel and a reference vehicle speed, including: Based on the wheel speed of each wheel and the reference vehicle speed, the slip ratio of each wheel is calculated separately. The difference in slip ratio between the front and rear axles of the vehicle is determined based on the slip ratio of each wheel.
[0007] In one alternative to the first aspect, determining the difference in slip ratios between the front and rear axles of the vehicle based on the slip ratios of each wheel includes: The front axle slip ratio is determined based on the slip ratio of each wheel corresponding to the front axle of the vehicle. The rear axle slip ratio is determined based on the slip ratio of each wheel corresponding to the rear axle of the vehicle. Calculate the absolute value of the difference between the front axle slip ratio and the rear axle slip ratio, and use it as the front and rear axle slip ratio difference.
[0008] In one alternative embodiment of the first aspect, the vehicle's drive mode is switched based on a preset control range and the difference in slip ratio between the front and rear axles, including: Based on the preset control range and the difference in slip ratio between the front and rear axles, the output torque target value is obtained by using a proportional-integral-derivative algorithm. When the difference in slip ratio between the front and rear axles exceeds the upper limit of the preset control range, the vehicle's drive mode is switched to four-wheel drive mode based on the target output torque value. When the difference in slip ratio between the front and rear axles is less than the lower limit of the preset control range, the vehicle's drive mode is switched to two-wheel drive mode based on the target output torque value.
[0009] In one alternative of the first aspect, based on a preset control range and the difference in slip ratio between the front and rear axles, control is performed using a proportional-integral-derivative algorithm to obtain the target value of the output torque, including: The difference in slip ratio between the front and rear axles is used as the feedback value, and the upper limit value is used as the first target value. The first torque target value is obtained through the proportional-integral-derivative algorithm. The difference in slip ratio between the front and rear axles is used as the feedback value, and the lower limit is used as the second target value. The second torque target value is obtained through the proportional-integral-derivative algorithm. The first torque target value and the second torque target value are superimposed to obtain the output torque target value.
[0010] In one alternative to the first aspect, controlling the vehicle's drive mode to switch to four-wheel drive mode based on a target output torque value includes: Based on the target output torque value, determine the front axle torque and rear axle torque of the vehicle; The front wheels of the vehicle generate driving force based on the front axle torque control, and the rear wheels of the vehicle continue to generate driving force based on the rear axle torque control.
[0011] In one alternative to the first aspect, controlling the vehicle's drive mode to switch to two-wheel drive mode based on a target output torque value includes: The rear axle torque of the vehicle is determined based on the target output torque value. The rear wheels of the vehicle continue to generate driving force based on rear axle torque control.
[0012] Secondly, this application provides a vehicle drive mode control device, comprising: The data acquisition module is used to obtain the speed of the vehicle's drive motor and the wheel speed of each wheel; The vehicle speed estimation module is used to determine the reference vehicle speed based on the drive motor speed, reducer speed ratio and wheel rolling radius; The slip calculation module is used to determine the difference in slip ratio between the front and rear axles of a vehicle based on the wheel speed of each wheel and the reference vehicle speed. The drive control module is used to switch the vehicle's drive mode based on a preset control range and the difference in slip ratio between the front and rear axles.
[0013] In one alternative embodiment of the second aspect, the slip calculation module includes: The slip ratio calculation unit is used to calculate the slip ratio of each wheel based on the wheel speed of each wheel and the reference vehicle speed. The slip ratio difference determination unit is used to determine the front and rear axle slip ratio difference of the vehicle based on the slip ratio of each wheel.
[0014] In one alternative embodiment of the second aspect, the slip ratio difference determination unit includes: The front axle slip ratio determination subunit is used to determine the front axle slip ratio based on the slip ratio of each wheel corresponding to the front axle of the vehicle. The rear axle slip ratio determination subunit is used to determine the rear axle slip ratio based on the slip ratio of each wheel corresponding to the rear axle of the vehicle. The inter-axle slip ratio difference calculation subunit is used to calculate the absolute value of the difference between the front axle slip ratio and the rear axle slip ratio, which is used as the front and rear axle slip ratio difference.
[0015] In one alternative embodiment of the second aspect, the drive control module includes: The output torque determination unit is used to obtain the target value of the output torque by using a proportional-integral-derivative algorithm based on a preset control range and the difference in slip ratio between the front and rear axles. The upper limit switching unit is used to control the vehicle's drive mode to switch to four-wheel drive mode based on the target value of the output torque when the current rear axle slip ratio difference is greater than the upper limit value of the preset control range. The lower limit switching unit is used to control the vehicle's drive mode to switch to two-wheel drive mode based on the target output torque value when the current rear axle slip ratio difference is less than the lower limit value of the preset control range.
[0016] In one alternative embodiment of the second aspect, the output torque determination unit includes: The first torque calculation subunit is used to take the difference in slip ratio between the front and rear axles as a feedback value and the upper limit value as the first target value, and obtain the first torque target value through the proportional-integral-differential algorithm. The second torque calculation subunit is used to take the difference in slip ratio between the front and rear axles as the feedback value and the lower limit as the second target value, and obtain the second torque target value through the proportional-integral-differential algorithm. The torque superposition subunit is used to superimpose the first torque target value and the second torque target value to obtain the output torque target value.
[0017] In one alternative embodiment of the second aspect, the upper limit switching unit includes: The four-wheel drive torque distribution subunit is used to determine the front axle torque and rear axle torque of the vehicle based on the target output torque value; The four-wheel drive control subunit is used to control the front wheels of the vehicle to generate driving force based on the front axle torque, and to control the rear wheels of the vehicle to continue to generate driving force based on the rear axle torque.
[0018] In one alternative embodiment of the second aspect, the lower limit switching unit includes: The two-wheel drive torque distribution subunit is used to determine the rear axle torque of the vehicle based on the target output torque value; The two-wheel drive control subunit is used to control the rear wheels of the vehicle to continue generating driving force based on the rear axle torque.
[0019] Thirdly, this application provides an electronic device including a memory and a processor. The memory is used to store computer programs or instructions that, when executed by the processor, implement the method described in the first aspect or any of the alternative solutions of the first aspect.
[0020] Fourthly, this application provides a computer-readable storage medium. The storage medium stores a computer program or instructions that, when executed by a processor, implement the method described in the first aspect or any of the alternative solutions to the first aspect.
[0021] The beneficial effects of the technical solutions provided in some embodiments of this specification include at least the following: This application obtains the drive motor speed and wheel speed of the vehicle, determines a reference vehicle speed by combining the drive motor speed with the reducer ratio and wheel rolling radius, and determines the front and rear axle slip ratio difference based on the wheel speed and the reference vehicle speed. Then, it performs drive mode switching control according to a preset control range. Unlike existing technologies that directly determine drive mode switching based on wheel speed signals, this solution calculates the reference vehicle speed using the drive motor speed, effectively avoiding the impact of wheel speed signal distortion on vehicle speed estimation when the drive wheels slip. Simultaneously, switching control based on the front and rear axle slip ratio difference and a preset control range makes the timing of drive mode intervention and withdrawal more precise, thereby improving vehicle driving stability. Attached Figure Description
[0022] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0023] Figure 1 A flowchart of a vehicle drive mode control method provided in an embodiment of this application; Figure 2 A flowchart illustrating the process of determining the difference in front and rear axle slip ratios of a vehicle, provided for embodiments of this application; Figure 3 A flowchart illustrating the process of switching the driving mode of a vehicle as provided in this embodiment of the application; Figure 4 A schematic diagram of the structure of the vehicle drive mode control device provided in the embodiments of this application; Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0024] The embodiments of this application will now be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of this application. Furthermore, descriptions of well-known structures and technologies are omitted in the following description to avoid unnecessarily obscuring the concepts of this application.
[0025] The accompanying drawings illustrate various structural schematics according to embodiments of this application. These drawings are not to scale, and some details have been enlarged for clarity, and some details may have been omitted. The shapes of the various regions and layers shown in the drawings, as well as their relative sizes and positional relationships, are merely exemplary and may deviate from reality due to manufacturing tolerances or technical limitations. Furthermore, those skilled in the art can design regions / layers with different shapes, sizes, and relative positions as needed.
[0026] The following is a brief explanation of the terms used in this application: ABS (Anti-lock Braking System): An active safety system that automatically adjusts braking force to prevent wheel lock-up during vehicle braking. ABS monitors wheel speed in real time using wheel speed sensors located at each wheel. When it detects that a wheel is about to lock up, it automatically adjusts the braking pressure at high frequency, keeping the wheel in a state of rolling and slipping, thereby maintaining the vehicle's steering ability and braking stability. In this application, the wheel speed signals measured by the ABS wheel speed sensors can be used as the source of wheel speed for calculating the slip ratio of each wheel and determining the difference in slip ratio between the front and rear axles.
[0027] With the rapid development of vehicle electrification and intelligent technologies, accurately determining the timing of on-demand four-wheel drive mode switching has become a crucial technological direction for improving vehicle active safety and fuel economy. Currently, on-demand four-wheel drive control methods generally employ a technical architecture that directly determines drive mode switching based on wheel speed signals measured by wheel speed sensors. However, in actual driving, factors such as changes in road surface adhesion and drive wheel slippage (e.g., a vehicle moving from a high-adhesion to a low-adhesion surface, or rapid acceleration causing drive wheel spin) can affect the accuracy of wheel speed signals. This results in inaccurate timing of four-wheel drive intervention based on wheel speed judgment. Furthermore, existing solutions still rely on a uniform approach of directly determining switching based on wheel speed signals when dealing with complex road surface adhesion and drive wheel slippage. This leads to either premature four-wheel drive intervention causing chassis power loss and increased fuel consumption, or delayed intervention failing to effectively suppress wheel slippage, impacting driving safety and stability.
[0028] To address the aforementioned technical problems, the inventive concept of this application is as follows: By acquiring the vehicle's drive motor speed and combining it with the reducer ratio and wheel rolling radius to determine a reference vehicle speed, the influence of wheel speed signal distortion on vehicle speed estimation when the drive wheels slip is effectively avoided; simultaneously, based on the wheel speed of each wheel and the reference vehicle speed, the difference in slip ratio between the front and rear axles is determined, and the drive mode is switched according to a preset control range. This achieves accurate acquisition of the reference vehicle speed and precise control of the drive mode switching timing, overcoming the shortcomings of traditional wheel speed-based judgment modes, which suffer from inaccurate vehicle speed estimation and inaccurate switching timing due to drive wheel slippage. It ensures the real-time performance and accuracy of drive mode switching under different surface adhesion conditions, improving vehicle stability and fuel economy.
[0029] The technical solutions of this application and how they solve the aforementioned technical problems will be described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.
[0030] It should be noted that the executor of this application may be, but is not limited to, a vehicle controller, a motor controller, a four-wheel drive system controller, a vehicle electronic control unit, a power domain controller, a vehicle control unit, etc.
[0031] refer to Figure 1 , Figure 1 A flowchart illustrating a vehicle drive mode control method provided in an embodiment of this application. Figure 1 As shown, the vehicle's drive mode control method includes at least the following steps: S101: Obtain the speed of the vehicle's drive motor and the wheel speed of each wheel.
[0032] Specifically, the drive motor speed can be obtained by acquiring the drive motor speed signal in real time through a resolver sensor or encoder; simultaneously, the wheel speed signal of each wheel can be acquired in real time through wheel speed sensors (such as ABS sensors) placed at each wheel to obtain the wheel speed of each wheel. The above signals can be acquired periodically according to a preset sampling period (such as 10ms) to ensure real-time control.
[0033] S103: Determine the reference vehicle speed based on the drive motor speed, reducer speed ratio, and wheel rolling radius.
[0034] Specifically, the longitudinal reference speed of the vehicle can be determined by using a conversion formula based on the drive motor speed, the preset reducer speed ratio, and the wheel rolling radius.
[0035] It should be noted that the conversion formula is: =
[0036] in, R is the reference vehicle speed (unit: km / h), n is the wheel rolling radius (unit: m), n is the drive motor speed (unit: rpm), and i is the reducer speed ratio (dimensionless).
[0037] Understandably, this longitudinal reference speed represents the theoretical forward speed of the vehicle in a slip-free state. Since the drive motor speed is directly measured by the resolver sensor at the motor end and is not affected by the slippage between the tires and the ground, this longitudinal reference speed can reflect the vehicle's true longitudinal speed more accurately than the wheel speeds when the drive wheels slip.
[0038] S105: Determine the difference in slip ratio between the front and rear axles of the vehicle based on the wheel speed of each wheel and the reference vehicle speed.
[0039] Specifically, during vehicle operation, the reference speed reflects the theoretical forward speed of the vehicle in a no-slip state. When a wheel on a certain axle slips, the actual wheel speed of that axle will deviate from the reference speed, thus reflecting the degree of slippage (i.e., slip ratio) of that axle's wheels. By determining the degree of slippage of the front and rear axle wheels relative to the reference speed, and further analyzing the difference in slippage between the front and rear axles, the front-to-rear axle slip ratio difference can be obtained. This front-to-rear axle slip ratio difference can be used to characterize the difference in adhesion between the front and rear axles, thereby providing a basis for determining whether a drive mode switch is necessary.
[0040] It should be noted that the formula for calculating the slip ratio is: =
[0041] in, The slip ratio of a single wheel (dimensionless). For reference vehicle speed (unit: km / h) This refers to the wheel speed (unit: km / h).
[0042] S107: Based on the preset control range and the difference in slip ratio between the front and rear axles, the driving mode of the vehicle is switched.
[0043] Specifically, the front and rear axle slip ratio difference can be compared and analyzed with a preset control range. The preset control range defines the target range for maintaining a stable vehicle driving mode. When the actual front and rear axle slip ratio difference falls within this range, the vehicle can maintain the current driving mode; when the actual front and rear axle slip ratio difference deviates from this range, the control output is calculated using a proportional-integral-derivative algorithm, and the vehicle's driving mode is switched accordingly to bring the front and rear axle slip ratio difference back to the preset control range, thereby achieving timely and precise switching of the driving mode.
[0044] For example, during vehicle operation, if the vehicle is currently in two-wheel drive mode and the slip ratio difference between the front and rear axles exceeds the upper limit of a preset control range, the proportional-integral-derivative algorithm can be used to control the output, causing the front axle to begin outputting torque, and the vehicle switches from two-wheel drive mode to four-wheel drive mode. As the four-wheel drive system engages, the slip ratio difference between the front and rear axles gradually converges. When the slip ratio difference falls back to within the preset control range, the vehicle can maintain the current drive mode. When the slip ratio difference further decreases below the lower limit, the front axle stops outputting torque, and the vehicle reverts to two-wheel drive mode, driven independently by the rear axle. Thus, the vehicle can achieve smooth and continuous dynamic switching between two-wheel drive and four-wheel drive based on actual driving conditions.
[0045] Thus, this application determines the reference vehicle speed by combining the drive motor speed with the reducer speed ratio and the wheel rolling radius, effectively avoiding the impact of wheel speed signal distortion on vehicle speed estimation when the drive wheels slip. Furthermore, it controls the switching of the drive mode based on the difference in slip ratio between the front and rear axles and the preset control range, thereby achieving accurate judgment of the timing of drive mode switching and improving vehicle driving stability and fuel economy.
[0046] refer to Figure 2 , Figure 2 A flowchart illustrating the process of determining the difference in front and rear axle slip ratios of a vehicle, as provided in an embodiment of this application. Figure 2 As shown, the process of determining the difference in slip ratio between the front and rear axles of a vehicle includes at least the following steps: S201: Calculate the slip ratio of each wheel based on the wheel speed of each wheel and the reference vehicle speed; Specifically, for each wheel of the vehicle, the wheel speed of that wheel can be compared and analyzed with the reference vehicle speed to determine the degree of slippage of that wheel relative to the reference vehicle speed, thereby calculating the slip ratio of each wheel separately.
[0047] S203: Determine the difference in slip ratio between the front and rear axles of the vehicle based on the slip ratio of each wheel.
[0048] Specifically, after calculating the slip ratio of each wheel, a difference analysis can be performed on the slip ratio of the wheels corresponding to the front axle and the wheels corresponding to the rear axle to obtain the front-to-rear axle slip ratio difference. This front-to-rear axle slip ratio difference reflects the degree of slip difference between the front and rear axles, providing a basis for judgment in subsequent drive mode switching control.
[0049] In view of this, by using the reference vehicle speed determined based on the drive motor speed to calculate the slip ratio of each wheel, the deviation that may exist when directly relying on wheel speed signals for slip judgment can be effectively avoided, making the determination of the slip ratio difference between the front and rear axles more accurate and reliable, thus providing precise data support for the timely switching of drive modes.
[0050] Optionally, the front axle slip ratio is determined based on the slip ratio of each wheel corresponding to the front axle of the vehicle; the rear axle slip ratio is determined based on the slip ratio of each wheel corresponding to the rear axle of the vehicle; and the absolute value of the difference between the front axle slip ratio and the rear axle slip ratio is calculated as the front-rear axle slip ratio difference.
[0051] Specifically, for the front axle, there are two wheels: the left front wheel and the right front wheel, each with its own slip ratio. To comprehensively reflect the overall slip state of the front axle, the slip ratios of the left and right front wheels can be aggregated, for example, by calculating their arithmetic mean, which is then used as the front axle slip ratio. It is understood that the above aggregation process can also include selecting the slip ratio of any wheel on the front axle, taking the maximum or minimum value of the two, or other methods; this application does not limit this. Similarly, for the rear axle, the same aggregation process can be performed on the slip ratios of the left and right rear wheels to obtain the rear axle slip ratio. After obtaining the front and rear axle slip ratios, the absolute value of their difference is calculated to obtain the front-to-rear axle slip ratio difference. Taking the absolute value is intended to characterize the magnitude of the slip difference between the front and rear axles, without limiting the direction of the difference, thus facilitating a unified judgment on whether to switch the drive mode based on the degree of difference.
[0052] Therefore, by aggregating the slip ratios of each wheel on the same axle into an axle slip ratio that can represent the overall slip state of the axle, and then calculating the absolute value of the difference between the slip ratios of the front and rear axles, the difference in the adhesion state between the front and rear axles can be accurately reflected, avoiding misjudgments caused by fluctuations in the slip ratio of a single wheel, and making the judgment basis for drive mode switching more stable and reliable.
[0053] refer to Figure 3 , Figure 3 This is a flowchart illustrating the process of switching the driving mode of a vehicle, as provided in an embodiment of this application. Figure 3 As shown, the process of switching the vehicle's drive mode includes at least the following steps: S301: Based on the preset control range and the difference in slip ratio between the front and rear axles, the output torque target value is obtained by using a proportional-integral-derivative algorithm. S303: When the difference between the front and rear axle slip ratios is greater than the upper limit of the preset control range, the vehicle's drive mode is switched to four-wheel drive mode based on the target output torque value. S305: When the difference between the front and rear axle slip ratios is less than the lower limit of the preset control range, the vehicle's drive mode is switched to two-wheel drive mode based on the target output torque value.
[0054] Specifically, the preset control range has upper and lower limits to define the target range for maintaining stable vehicle drive modes. The actual difference in slip ratio between the front and rear axles is compared to this range. When the slip ratio difference exceeds the upper limit, it indicates that the difference in slip between the front and rear axles has exceeded the stable range, posing a stability risk to the vehicle. The proportional-integral-derivative (PID) algorithm calculates the corresponding target output torque value, and the vehicle switches to four-wheel drive mode, with the front axle starting to output torque to supplement the vehicle's driving force. When the slip ratio difference is less than the lower limit, it indicates that the difference in slip ratio between the front and rear axles is small, and the driving state is stable. The vehicle switches to two-wheel drive mode, the front axle stops outputting torque, and the rear axle drives independently. Thus, the deviation of the front and rear axle slip ratio difference from the preset control range can serve as the basis for judging drive mode switching, achieving timely switching of drive modes.
[0055] It should be noted that the upper and lower limits of the preset control range can be set with reference to the relationship curve between wheel slip rate and adhesion rate. In this curve, the tire adhesion rate first increases and then decreases as the slip rate increases, reaching a peak near the optimal slip rate. The upper limit can be set slightly higher than the slip rate value corresponding to the optimal slip rate to ensure that the four-wheel drive system intervenes in time when the vehicle slip rate difference exceeds the stable area; the lower limit can be set lower than the slip rate value corresponding to the optimal slip rate to determine that the vehicle has returned to a stable driving state. Thus, the preset control range can cover the slip rate range of stable tire operation, matching the switching of drive modes with the actual road surface adhesion characteristics.
[0056] It can be seen that the upper and lower limits of the preset control range, in conjunction with the proportional-integral-derivative algorithm, control the difference in slip ratio between the front and rear axles. The vehicle can promptly engage four-wheel drive to improve stability when there is a risk of slippage, and promptly disengage four-wheel drive to reduce energy consumption when the condition is good. This achieves precise control of the timing of drive mode switching, taking into account both driving stability and fuel economy.
[0057] In some embodiments, based on a preset control range and the difference in slip ratio between the front and rear axles, control is performed using a proportional-integral-derivative algorithm to obtain the target value of the output torque, including: The difference in slip ratio between the front and rear axles is used as the feedback value, and the upper limit value is used as the first target value. The first torque target value is obtained through the proportional-integral-derivative algorithm. The difference in slip ratio between the front and rear axles is used as the feedback value, and the lower limit is used as the second target value. The second torque target value is obtained through the proportional-integral-derivative algorithm. The first torque target value and the second torque target value are superimposed to obtain the output torque target value.
[0058] Specifically, the front and rear axle slip ratio difference is compared with the upper limit of a preset control range to obtain a first deviation signal. This first deviation signal is then processed using a proportional-integral-derivative (PID) algorithm to obtain a first torque target value. This first torque target value reflects the adjustment amount that should be applied based on the degree of deviation of the current slip ratio difference from the upper limit. Simultaneously, the front and rear axle slip ratio difference is compared with the lower limit to obtain a second deviation signal. This second deviation signal is then processed using a PID algorithm to obtain a second torque target value. This second torque target value reflects the adjustment amount that should be applied based on the degree of deviation of the current slip ratio difference from the lower limit. Subsequently, the first and second torque target values are algebraically superimposed to obtain the output torque target value. When the slip ratio difference is within the preset control range, the first and second torque target values exhibit an inverse control trend, canceling each other out, and the output torque target value tends to zero, maintaining the current driving mode. When the slip ratio difference exceeds the preset control range, the first and second torque target values exhibit a unidirectional control trend, their superposition strengthening the output torque target value, significantly increasing it, thereby driving the vehicle to switch to four-wheel drive mode.
[0059] It should be noted that within this preset control range, the proportional-integral-derivative (PID) algorithm exhibits the following control characteristics: When the actual front-to-rear axle slip ratio difference is near the upper limit of the range, the lower limit's attraction to the slip ratio difference is stronger than the upper limit. At this time, the dominant effect of the second torque target value causes the output torque target value to tend to decrease, thus reducing the four-wheel drive intervention intensity. When the actual front-to-rear axle slip ratio difference is near the lower limit of the range, the upper limit's attraction to the slip ratio difference is stronger than the lower limit. At this time, the dominant effect of the first torque target value causes the output torque target value to tend to decrease. The output torque target value tends to move upward, which means that the preparation for four-wheel drive intervention is enhanced. When the actual front and rear axle slip ratio difference is at the equilibrium position in the middle of the range, the upper and lower limits have a similar attraction effect on the slip ratio difference. The first torque target value and the second torque target value cancel each other out in opposite directions, and the output torque target value tends to zero, and the vehicle maintains the current driving mode. When the actual front and rear axle slip ratio difference exceeds the range, the upper and lower limits both have a strong attraction effect in the same direction, which significantly increases the output torque target value, thereby quickly pulling the slip ratio difference back into the range.
[0060] For example, suppose the upper limit of the preset control range is 8% and the lower limit is 2%. When the slip ratio difference between the front and rear axles is 5% in the middle of the range, the proportional-integral-derivative (PID) control outputs a first target torque value (e.g., +30) targeting the upper limit of 8%, and a second target torque value (e.g., -30) targeting the lower limit of 2%. The sum of these two values results in a zero target torque output, and the vehicle maintains its current drive mode, with no additional torque output from the front axle. When the vehicle accelerates rapidly onto a low-traction surface, and the slip ratio difference between the front and rear axles suddenly increases to 10% and exceeds the upper limit, the PID control outputs a first target torque value (e.g., +80) targeting the upper limit of 8%, and a second target torque value (e.g., +120) targeting the lower limit of 2%. The sum of these two values results in a target torque output of +200, and the vehicle switches to four-wheel drive mode. The front axle supplements the output torque according to this target torque value to suppress the slip difference between the front and rear axles. When the vehicle's driving stabilizes and the difference in slip ratio between the front and rear axles decreases to 1% and below the lower limit, the proportional-integral-derivative (PID) control outputs a first target torque value (e.g., -50) with the upper limit of 8% as the target, and a second target torque value (e.g., -50) with the lower limit of 2% as the target. The combined output torque target value is -100. After amplitude limiting (treating negative values as 0), the front axle output torque is reduced to zero, and the vehicle switches to two-wheel drive mode, driven independently by the rear axle.
[0061] Therefore, by constructing a dual-path proportional-integral-derivative control with the upper and lower limits as target values respectively, and superimposing the two outputs, the system can maintain balance when the slip ratio difference is within the range, and quickly generate sufficient control output when the slip ratio difference exceeds the range, thus achieving timely response and stable control of drive mode switching.
[0062] In some embodiments, controlling the vehicle's drive mode to switch to four-wheel drive mode based on a target output torque value includes: Based on the target output torque value, determine the front axle torque and rear axle torque of the vehicle; The front wheels of the vehicle generate driving force based on the front axle torque control, and the rear wheels of the vehicle continue to generate driving force based on the rear axle torque control.
[0063] Specifically, the target output torque value reflects the additional vehicle driving force required under current operating conditions to bring the front-to-rear axle slip ratio difference back to the preset control range. According to the preset torque distribution strategy, this target output torque value can be allocated to the front and rear axles of the vehicle, thus determining the front axle torque and rear axle torque. The front axle torque is used to drive the front axle motor to output the corresponding driving torque, enabling the front wheels to generate driving force; the rear axle torque is used to maintain the continuous output of the rear axle motor, enabling the rear wheels to continue generating driving force. In this way, the front and rear axles jointly drive the vehicle, achieving a smooth transition from two-wheel drive mode to four-wheel drive mode.
[0064] Therefore, by rationally distributing the target output torque value to the front and rear axles, the front wheels can promptly supplement driving force when needed, while the rear wheels continuously provide driving force, achieving coordinated driving between the front and rear axles. This method can quickly establish four-wheel drive when the vehicle shows signs of slippage, while avoiding sudden changes in driving force, thus balancing the timeliness of driving response and the smoothness of driving.
[0065] In some embodiments, controlling the vehicle's drive mode to switch to two-wheel drive mode based on a target output torque value includes: The rear axle torque of the vehicle is determined based on the target output torque value. The rear wheels of the vehicle continue to generate driving force based on rear axle torque control.
[0066] Specifically, in two-wheel drive mode, the target output torque is used entirely to maintain the drive demand of the vehicle's rear axle, and the rear axle torque is determined accordingly. At this time, the front axle no longer outputs driving force, and only the rear axle controls the rear wheels to continue generating driving force according to the rear axle torque, so that the vehicle maintains a driving state with independent rear axle drive.
[0067] Based on this, by concentrating the target output torque value to the rear axle in two-wheel drive mode and controlling the front axle to stop outputting torque, a smooth transition from four-wheel drive mode to two-wheel drive mode is achieved. This method can promptly disengage the front axle drive when the vehicle resumes stable driving, reducing unnecessary power loss and lowering overall vehicle energy consumption, while maintaining continuous output from the rear axle to ensure normal vehicle operation.
[0068] In some embodiments, before switching the vehicle's drive mode based on a preset control range and the difference in front and rear axle slip ratios, the method further includes: obtaining the driver's driving intention and determining the preload torque based on the driving intention.
[0069] Specifically, the driver's torque output intention can be identified by collecting signals such as accelerator pedal opening and accelerator pedal change rate. When the accelerator pedal opening is greater than a preset opening threshold and the change rate is greater than a preset rate threshold, it is determined that the driver intends to output high torque, and the corresponding preload torque is determined. When the accelerator pedal opening is less than the preset opening threshold, it is determined that the driver does not intend to output high torque, and the preload torque is zero or a very small value. When the vehicle's drive mode is switched to four-wheel drive mode, this preload torque can be added to the front axle output torque, so that the four-wheel drive system can establish driving force in advance under the driver's high torque demand conditions, reducing the response delay of mode switching.
[0070] In some embodiments, consider a vehicle rapidly accelerating from a high-adhesion paved road onto a low-adhesion ceramic tile road. In this scenario, if the vehicle is in two-wheel drive mode, the drive wheels (rear wheels) experience violent slippage due to the sudden drop in road adhesion coefficient, causing a sudden surge in rear wheel speed. Meanwhile, the front wheels, lacking driving torque, rotate more slowly, leading to a rapid increase in the front-to-rear axle slip ratio difference, exceeding the upper limit of a preset control range. At this point, the proportional-integral-derivative (PID) algorithm calculates a significant target output torque value, controlling the vehicle to switch to four-wheel drive mode. The front axle outputs torque to supplement the vehicle's driving force, suppressing the front-to-rear wheel speed difference. If the vehicle is already in on-demand four-wheel drive mode, the front axle promptly supplements driving force, causing the wheel speeds of all four wheels to increase rapidly, but the front-to-rear axle slip ratio difference remains within the preset control range, maintaining vehicle stability. Therefore, on-demand four-wheel drive control based on reference vehicle speed and the front-to-rear axle slip ratio difference can effectively suppress unwanted wheel slippage on low-adhesion surfaces.
[0071] Based on the same technical concept, embodiments of this application also provide a vehicle drive mode control device, see reference. Figure 4 , Figure 4 This is a schematic diagram of the structure of a vehicle drive mode control device provided in an embodiment of this application. Figure 4 As shown, the vehicle's drive mode control device includes at least a data acquisition module 401, a vehicle speed estimation module 402, a slip calculation module 403, and a drive control module 404, wherein: The data acquisition module 401 is used to acquire the speed of the vehicle's drive motor and the wheel speed of each wheel; The vehicle speed estimation module 402 is used to determine a reference vehicle speed based on the drive motor speed, reducer speed ratio and wheel rolling radius; The slip calculation module 403 is used to determine the difference in slip ratio between the front and rear axles of the vehicle based on the wheel speed of each wheel and the reference vehicle speed. The drive control module 404 is used to switch the vehicle's drive mode based on a preset control range and the difference in slip ratio between the front and rear axles.
[0072] In one exemplary embodiment, the slip calculation module 403 includes: The slip ratio calculation unit is used to calculate the slip ratio of each wheel based on the wheel speed of each wheel and the reference vehicle speed. The slip ratio difference determination unit is used to determine the front and rear axle slip ratio difference of the vehicle based on the slip ratio of each wheel.
[0073] In one exemplary embodiment, the slip ratio difference determination unit includes: The front axle slip ratio determination subunit is used to determine the front axle slip ratio based on the slip ratio of each wheel corresponding to the front axle of the vehicle. The rear axle slip ratio determination subunit is used to determine the rear axle slip ratio based on the slip ratio of each wheel corresponding to the rear axle of the vehicle. The inter-axle slip ratio difference calculation subunit is used to calculate the absolute value of the difference between the front axle slip ratio and the rear axle slip ratio, which is used as the front and rear axle slip ratio difference.
[0074] In one exemplary embodiment, the drive control module 404 includes: The output torque determination unit is used to obtain the target value of the output torque by using a proportional-integral-derivative algorithm based on a preset control range and the difference in slip ratio between the front and rear axles. The upper limit switching unit is used to control the vehicle's drive mode to switch to four-wheel drive mode based on the target value of the output torque when the current rear axle slip ratio difference is greater than the upper limit value of the preset control range. The lower limit switching unit is used to control the vehicle's drive mode to switch to two-wheel drive mode based on the target output torque value when the current rear axle slip ratio difference is less than the lower limit value of the preset control range.
[0075] In one exemplary embodiment, the output torque determination unit includes: The first torque calculation subunit is used to take the difference in slip ratio between the front and rear axles as a feedback value and the upper limit value as the first target value, and obtain the first torque target value through the proportional-integral-differential algorithm. The second torque calculation subunit is used to take the difference in slip ratio between the front and rear axles as the feedback value and the lower limit as the second target value, and obtain the second torque target value through the proportional-integral-differential algorithm. The torque superposition subunit is used to superimpose the first torque target value and the second torque target value to obtain the output torque target value.
[0076] In one exemplary embodiment, the upper limit switching unit includes: The four-wheel drive torque distribution subunit is used to determine the front axle torque and rear axle torque of the vehicle based on the target output torque value; The four-wheel drive control subunit is used to control the front wheels of the vehicle to generate driving force based on the front axle torque, and to control the rear wheels of the vehicle to continue to generate driving force based on the rear axle torque.
[0077] In one exemplary embodiment, the lower limit switching unit includes: The two-wheel drive torque distribution subunit is used to determine the rear axle torque of the vehicle based on the target output torque value; The two-wheel drive control subunit is used to control the rear wheels of the vehicle to continue generating driving force based on the rear axle torque.
[0078] It should be noted that the vehicle's drive mode control device can be used to implement any of the above-described method embodiments.
[0079] Based on the same technical concept, this application also provides an electronic device, see reference. Figure 5 , Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 5 As shown, the electronic device includes a memory 501 and a processor 502. The memory 501 is used to store computer instructions; when the processor 502 executes the computer instructions, it implements any of the above-described method embodiments.
[0080] The memory 501 includes at least one type of computer-readable storage medium, including flash memory, hard disk, multimedia card, random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), magnetic disk, optical disk, etc. In some embodiments, the computer-readable storage medium may be an internal storage unit of an electronic device, such as the hard disk or memory of the electronic device. In other embodiments, the computer-readable storage medium may also be an external storage device of the electronic device, such as a plug-in hard disk, secure digital card (SD card), flash memory card, etc., equipped on the electronic device. Of course, the computer-readable storage medium may include both internal storage units and external storage devices of the electronic device. In this embodiment, the computer-readable storage medium is typically used to store the operating system and various application software installed on the electronic device, such as the program code of the vehicle drive mode control method in this embodiment. In addition, the computer-readable storage medium may also be used to temporarily store various types of data that have been output or will be output.
[0081] In some embodiments, processor 502 may be a central processing unit (CPU), controller, microcontroller, microprocessor, or other chip. Processor 502 is typically used to control the overall operation of the electronic device, such as performing control and processing related to data interaction or communication with other entities. In this embodiment, processor 502 is used to run program code stored in memory 501 or process data.
[0082] Based on the same technical concept, this application also provides a computer-readable storage medium, which includes a computer program or instructions stored in the storage medium. When the computer program or instructions are executed by a processing device, they implement any of the above-described method embodiments. Further details can be found in the method embodiments, which will not be repeated here. In this embodiment, the computer-readable storage medium includes flash memory, hard disk, multimedia card, random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), magnetic disk, optical disk, etc. In some embodiments, the computer-readable storage medium can be an internal storage unit of an electronic device, such as the hard disk or memory of the electronic device. In other embodiments, the computer-readable storage medium can also be an external storage device of the electronic device, such as a plug-in hard disk, secure digital card (SD card), flash memory card, etc., equipped on the electronic device. Of course, the computer-readable storage medium can also include both internal storage units and external storage devices of the electronic device. In this embodiment, the computer-readable storage medium is typically used to store the operating system and various application software installed on the electronic device, such as the program code of the vehicle drive mode control method in the embodiment. Furthermore, the computer-readable storage medium can also be used to temporarily store various types of data that have been output or will be output.
[0083] Although preferred embodiments of this application have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of this application.
[0084] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.
Claims
1. A method for controlling the driving mode of a vehicle, characterized in that, include: Obtain the vehicle's drive motor speed and wheel speed; The reference vehicle speed is determined based on the drive motor speed, reducer speed ratio, and wheel rolling radius. Based on the wheel speed of each wheel and the reference vehicle speed, the difference in slip ratio between the front and rear axles of the vehicle is determined; The driving mode of the vehicle is switched based on the preset control range and the difference in slip ratio between the front and rear axles.
2. The method according to claim 1, characterized in that, Determining the front-to-rear axle slip ratio difference of the vehicle based on the wheel speeds of each wheel and the reference vehicle speed includes: Based on the wheel speed of each wheel and the reference vehicle speed, the slip ratio of each wheel is calculated respectively; The difference in slip ratio between the front and rear axles of the vehicle is determined based on the slip ratio of each wheel.
3. The method according to claim 2, characterized in that, Determining the front-to-rear axle slip ratio difference of the vehicle based on the slip ratio of each wheel includes: The front axle slip ratio is determined based on the slip ratio of each wheel corresponding to the front axle of the vehicle. The rear axle slip ratio is determined based on the slip ratio of each wheel corresponding to the rear axle of the vehicle. Calculate the absolute value of the difference between the front axle slip ratio and the rear axle slip ratio, and use it as the front-rear axle slip ratio difference.
4. The method according to claim 1, characterized in that, The method of switching the vehicle's drive mode based on a preset control range and the difference in slip ratio between the front and rear axles includes: Based on the preset control range and the difference in slip ratio between the front and rear axles, the output torque target value is obtained by using a proportional-integral-derivative algorithm. When the difference in slip ratio between the front and rear axles is greater than the upper limit of the preset control range, the driving mode of the vehicle is switched to four-wheel drive mode based on the target value of the output torque. When the difference in slip ratio between the front and rear axles is less than the lower limit of the preset control range, the driving mode of the vehicle is switched to two-wheel drive mode based on the target output torque value.
5. The method according to claim 4, characterized in that, The control method, based on a preset control range and the difference in slip ratio between the front and rear axles, uses a proportional-integral-derivative algorithm to obtain the target output torque value, including: Using the difference in slip ratio between the front and rear axles as a feedback value, and the upper limit value as the first target value, the first torque target value is obtained through the proportional-integral-derivative algorithm. The difference in slip ratio between the front and rear axles is used as a feedback value, and the lower limit value is used as the second target value. The second torque target value is obtained through the proportional-integral-derivative algorithm. The first torque target value and the second torque target value are superimposed to obtain the output torque target value.
6. The method according to claim 4, characterized in that, The step of controlling the vehicle's drive mode to switch to four-wheel drive mode based on the target output torque value includes: Based on the target output torque value, the front axle torque and rear axle torque of the vehicle are determined; The front wheels of the vehicle are controlled to generate driving force based on the front axle torque, and the rear wheels of the vehicle are controlled to continue generating driving force based on the rear axle torque.
7. The method according to claim 4, characterized in that, The step of controlling the vehicle's drive mode to switch to two-wheel drive mode based on the target output torque value includes: Based on the target output torque value, the rear axle torque of the vehicle is determined; The rear wheels of the vehicle continue to generate driving force based on the rear axle torque control.
8. A vehicle drive mode control device, characterized in that, include: The data acquisition module is used to obtain the speed of the vehicle's drive motor and the wheel speed of each wheel; The vehicle speed estimation module is used to determine a reference vehicle speed based on the drive motor speed, reducer speed ratio and wheel rolling radius; The slip calculation module is used to determine the difference in slip ratio between the front and rear axles of the vehicle based on the wheel speed of each wheel and the reference vehicle speed. The drive control module is used to switch the drive mode of the vehicle based on a preset control range and the difference in slip ratio between the front and rear axles.
9. An electronic device, characterized in that, It includes a memory and a processor, the memory being used to store computer programs or instructions; when the computer programs or instructions are executed by the processor, the method of any one of claims 1-7 is implemented.
10. A computer-readable storage medium, characterized in that, The storage medium stores a computer program or instructions, which, when executed by a processor, implement the method of any one of claims 1-7.
