Differential lock control method and device, electronic equipment, storage medium and vehicle

By closing the relay in the differential lock control system and controlling the driving current, detecting and switching the differential lock status, the problem of low differential lock control accuracy in the existing technology is solved, and the stability of the vehicle's power transmission under different road conditions is improved. sex and user experience.

CN118564620APending Publication Date: 2024-08-30CHONGQING CHANGAN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410878868.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-02
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

Existing vehicle differential lock controllers have low accuracy in controlling the differential lock, resulting in unstable power transmission of the vehicle under different road conditions, affecting driving comfort and off-road capabilities.

Method used

By closing the relay and controlling the driving current to the maximum current when the differential lock is in the unlocked state, it detects whether the driving current meets the preset conditions to switch the locking state, and displays the status through the indicator light to improve control accuracy.

Benefits of technology

The control accuracy of the differential lock is improved, ensuring that no long-term errors occur during the switching process of the differential lock between locked and unlocked states, preventing equipment damage, and improving the vehicle's power transmission stability and user experience under different road conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118564620A
    Figure CN118564620A
Patent Text Reader

Abstract

The invention relates to a differential lock control method and device, electronic equipment, a storage medium and a vehicle, and relates to the technical field of vehicle control. The method at least solves the technical problem that in the related technology, the control accuracy of a differential lock is low, the method is applied to a vehicle, the vehicle comprises the differential lock and a relay, and the method comprises the steps that under the conditions that the differential lock is in an unlocking state and the locking condition of the differential lock is met, the locking operation of the differential lock is executed, and the relay is closed; under the condition that the closing duration of the relay reaches the first preset duration, the driving current of the differential lock is controlled to be the maximum current, and the maximum current is the maximum driving current corresponding to the differential lock; and when it is detected that the duration of the driving current of the differential lock is larger than or equal to the first preset current reaches the second preset duration, it is determined that the differential lock is switched from the unlocking state to the locking state, and the first preset current is smaller than the maximum current.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle control technology, and in particular to a control method, device, electronic device, storage medium and vehicle for a differential lock. Background Art

[0002] The vehicle's differential lock is a differential transmission device that is used to transmit power to the drive wheels under various road conditions. It is especially helpful when the vehicle passes through muddy, pothole-like, icy roads that are prone to tire slippage, to prevent the tires from slipping on the ground. The differential lock can be regarded as a differential with an automatic locking function. Current vehicles include various controllers such as vehicle controllers, domain controllers, and differential lock controllers. The differential lock controller can control the differential lock to a locked or unlocked state.

[0003] However, with the increase of various electrical functions on the vehicle, the current vehicle includes a variety of controllers, resulting in cumbersome and complicated control processes of various functions on the vehicle, and the accuracy of controlling the differential lock through the differential lock controller is currently low. Summary of the invention

[0004] The present application provides a differential lock control method, device, electronic device, storage medium and vehicle to at least solve the technical problem of low accuracy in controlling the differential lock in the related art. The technical solution of the present application is as follows:

[0005] According to a first aspect of the present application, a method for controlling a differential lock is provided, which is applied to a vehicle, wherein the vehicle comprises a differential lock and a relay, and the method comprises: when the differential lock is in an unlocked state and a locking condition of the differential lock is satisfied, performing a locking operation of the differential lock and closing the relay; when the closing time of the relay reaches a first preset time, controlling the driving current of the differential lock to be a maximum current, and the maximum current is the maximum driving current corresponding to the differential lock; when it is detected that the driving current of the differential lock is greater than or equal to the first preset current and the duration reaches a second preset time, determining that the differential lock is switched from an unlocked state to a locked state, and the first preset current is less than the maximum current.

[0006] According to the above technical means, the present application can close the relay when the differential lock is in the unlocked state if the differential lock locking condition is met, and control the driving current of the differential lock to be the maximum current when the closing time of the relay reaches the first preset time. And when it is determined that the driving current of the differential lock is greater than or equal to the first preset current and the duration reaches the second preset time, it is determined that the differential lock is switched from the unlocked state to the locked state. In this way, when the differential lock locking condition is met, the relay can be closed first, and it can be determined whether the closing time of the relay meets the condition, and then the driving current of the differential lock can be further controlled to determine whether the driving current of the differential lock meets the condition. When both the closing time of the relay and the driving current of the differential lock meet the conditions, it can be determined that the differential lock is switched from the unlocked state to the locked state. In this way, the accuracy of controlling the differential lock can be improved.

[0007] In a possible implementation, the differential lock corresponds to an indicator light; after the above determination that the differential lock switches from an unlocked state to a locked state, the method further includes: controlling the driving current of the differential lock to be a first preset current, and controlling the indicator light to be always on, and the indicator light being always on is used to indicate that the differential lock is in a locked state.

[0008] According to the above technical means, the present application can control the driving current of the differential lock to be the first preset current after determining that the differential lock switches from the unlocked state to the locked state, thereby maintaining the differential lock in the locked state, and indicating that the differential lock is in the locked state by the indicator light being always on. In this way, the state of the differential lock can be ensured by controlling the driving current of the differential lock, and the state of the differential lock can be indicated, thereby improving the accuracy of controlling the differential lock.

[0009] In a possible implementation, the method further includes: when the differential lock is in an unlocked state and the differential lock locking condition is not met, controlling the driving current of the differential lock to be 0; controlling the indicator light to turn off and disconnecting the relay, and the indicator light turns off to indicate that the differential lock is in an unlocked state.

[0010] According to the above technical means, the present application can control the driving current of the differential lock to 0 and disconnect the relay when the differential lock locking condition is not met, and then indicate that the differential lock is in the unlocked state by turning off the indicator light. In this way, the state of the differential lock can be ensured and indicated by controlling the driving current of the differential lock, thereby improving the accuracy of controlling the differential lock.

[0011] In a possible implementation, before the above-mentioned differential lock locking operation is performed, the method also includes: when it is determined that the driving mode of the vehicle is the first driving mode, if it is detected that the state parameters of the vehicle meet the preset conditions, a first prompt message is issued, and the first prompt message is used to indicate: the differential lock locking operation is performed after parking; the first driving mode is used to indicate that the flatness of the road surface on which the vehicle is traveling is less than or equal to the preset flatness, and the preset conditions include at least one of the following: the opening of the accelerator pedal is greater than a preset ratio, the vehicle's driving speed is greater than a first preset speed, and the wheel speed difference between different driving wheels is greater than a first preset difference; or, when it is determined that the driving mode of the vehicle is the second driving mode, a second prompt message is issued, and the second prompt message is used to indicate: the differential lock locking operation is performed after the driving mode of the vehicle is switched to the first driving mode; the second driving mode is used to indicate that the flatness of the road surface on which the vehicle is traveling is greater than the preset flatness.

[0012] According to the above technical means, the present application can issue corresponding prompt information based on the vehicle's driving mode and whether the vehicle's state parameters meet the preset conditions, so as to prompt the user how to operate to switch the state of the differential lock, thereby improving the interaction performance between the vehicle and the user and improving the user's experience.

[0013] In a possible implementation, after the above-mentioned differential lock locking operation is performed and the relay is closed, the method further includes: when the closing time of the relay reaches a third preset time and the differential lock has not switched from the unlocked state to the locked state, determining that the differential lock has timed out and performing the differential lock unlocking operation; controlling the driving current of the differential lock to 0, and issuing a third prompt message, the third prompt message is used to indicate: the differential lock has failed to lock; controlling the indicator light to go out and disconnecting the relay.

[0014] According to the above technical means, the present application can determine whether the differential lock state is successfully switched based on the closing time of the relay and the switching result during the process of switching the differential lock from the unlocked state to the locked state, and in the case of differential lock locking timeout and switching failure, the differential lock state is switched to the unlocked state again and a prompt message is issued. In this way, the state switching process of the differential lock can be monitored, thereby ensuring that the differential lock will not be in the switching process for a long time, preventing equipment damage.

[0015] In a possible implementation, the method further includes: when the differential lock is in a locked state and the differential lock unlocking condition is met, executing a differential lock unlocking operation, controlling the driving current of the differential lock to be 0, and disconnecting the relay; wherein the differential lock unlocking condition includes at least one of the following: receiving a differential lock unlocking command, the driving current of the differential lock is less than the second preset current for a duration reaching a fourth preset duration, the wheel speed difference between different drive wheels is greater than the second preset difference, the vehicle's driving speed is greater than the second preset speed, the vehicle's driving mode is switched to the second driving mode, and the second preset current is less than the first preset current.

[0016] According to the above technical means, the present application can determine whether to perform the differential lock unlocking operation by judging whether the differential lock meets the unlocking condition when the differential lock is in the locked state. In this way, it can accurately determine whether the state of the differential lock needs to be switched, thereby improving the accuracy of controlling the differential lock.

[0017] According to a second aspect provided by the present application, a differential lock control device is provided, which is applied to a vehicle, the vehicle comprising a differential lock and a relay, and the differential lock control device comprising: a processing module and a control module; the processing module is used to perform a differential lock locking operation and close the relay when the differential lock is in an unlocked state and the differential lock locking condition is met; the control module is used to control the driving current of the differential lock to be a maximum current when the closing time of the relay reaches a first preset time, and the maximum current is the maximum driving current corresponding to the differential lock; the processing module is also used to determine that the differential lock is switched from an unlocked state to a locked state when it is detected that the driving current of the differential lock is greater than or equal to the first preset current for a duration of up to a second preset time, and the first preset current is less than the maximum current.

[0018] In a possible implementation, the differential lock corresponds to an indicator light; the control module is also used to control the driving current of the differential lock to be a first preset current, and control the indicator light to be always on, and the indicator light is always on to indicate that the differential lock is in a locked state.

[0019] In a possible implementation, the control module is further used to control the driving current of the differential lock to 0 when the differential lock is in an unlocked state and the differential lock locking condition is not met; the control module is also used to control the indicator light to turn off and disconnect the relay, and the indicator light turns off to indicate that the differential lock is in an unlocked state.

[0020] In a possible implementation, the processing module is further used to, when it is determined that the driving mode of the vehicle is the first driving mode, issue a first prompt message if it is detected that the state parameters of the vehicle meet preset conditions, the first prompt message is used to indicate: a differential lock locking operation is performed after parking; the first driving mode is used to indicate that the flatness of the road surface on which the vehicle is traveling is less than or equal to a preset flatness, the preset conditions include at least one of the following: the opening of the accelerator pedal is greater than a preset ratio, the vehicle's driving speed is greater than a first preset speed, and the wheel speed difference of different driving wheels is greater than a first preset difference; or, the processing module is further used to, when it is determined that the driving mode of the vehicle is the second driving mode, issue a second prompt message, the second prompt message is used to indicate: a differential lock locking operation is performed after the driving mode of the vehicle is switched to the first driving mode; the second driving mode is used to indicate that the flatness of the road surface on which the vehicle is traveling is greater than a preset flatness.

[0021] In a possible implementation, the processing module is further used to determine that the differential lock has timed out and perform a differential lock unlocking operation when the closing time of the relay reaches a third preset time and the differential lock has not switched from an unlocked state to a locked state; the control module is further used to control the driving current of the differential lock to 0 and issue a third prompt message, wherein the third prompt message is used to indicate that the differential lock has failed to lock; the control module is further used to control the indicator light to turn off and disconnect the relay.

[0022] In a possible implementation, the control module is further used to perform a differential lock unlocking operation when the differential lock is in a locked state and the differential lock unlocking condition is met, control the driving current of the differential lock to be 0, and disconnect the relay; wherein the differential lock unlocking condition includes at least one of the following: receiving a differential lock unlocking instruction, the driving current of the differential lock is less than the second preset current for a duration of a fourth preset duration, the wheel speed difference between different drive wheels is greater than the second preset difference, the vehicle's driving speed is greater than the second preset speed, the vehicle's driving mode is switched to the second driving mode, and the second preset current is less than the first preset current.

[0023] According to the third aspect provided by the present application, an electronic device is provided, comprising: a processor; a memory for storing processor executable instructions; wherein the processor is configured to execute instructions to implement the method of the above-mentioned first aspect and any possible implementation manner thereof.

[0024] According to the fourth aspect provided by the present application, a computer-readable storage medium is provided. When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the method in the above-mentioned first aspect and any possible implementation method thereof.

[0025] According to the fifth aspect provided by the present application, a computer program product is provided, the computer program product comprising computer instructions, and when the computer instructions are executed on an electronic device, the electronic device executes the method of the above-mentioned first aspect and any possible implementation manner thereof.

[0026] According to a sixth aspect provided by the present application, a vehicle is provided, the vehicle comprising a control device for a differential lock as in the second aspect, the vehicle being used to implement the method of the first aspect and any possible implementation manner thereof.

[0027] Therefore, the above technical features of the present application have the following beneficial effects:

[0028] (1) The present application can close the relay when the differential lock is in the unlocked state if the differential lock locking condition is met, and control the driving current of the differential lock to be the maximum current when the closing time of the relay reaches the first preset time. When it is determined that the driving current of the differential lock is greater than or equal to the first preset current and the duration reaches the second preset time, it is determined that the differential lock is switched from the unlocked state to the locked state. In this way, when the differential lock locking condition is met, the relay can be closed first, and it can be determined whether the closing time of the relay meets the condition, and then the driving current of the differential lock can be further controlled to determine whether the driving current of the differential lock meets the condition. When both the closing time of the relay and the driving current of the differential lock meet the conditions, it can be determined that the differential lock is switched from the unlocked state to the locked state. In this way, the accuracy of controlling the differential lock can be improved.

[0029] (2) After determining that the differential lock switches from the unlocked state to the locked state, the present application can control the driving current of the differential lock to be the first preset current, thereby maintaining the differential lock in the locked state, and indicating that the differential lock is in the locked state by the indicator light being always on. In this way, the state of the differential lock can be ensured by controlling the driving current of the differential lock, and the state of the differential lock can be indicated, thereby improving the accuracy of controlling the differential lock.

[0030] (3) When the differential lock locking condition is not met, the present application can control the differential lock driving current to 0, disconnect the relay, and then indicate that the differential lock is in the unlocked state by turning off the indicator light. In this way, the differential lock state can be ensured and indicated by controlling the differential lock driving current, thereby improving the accuracy of the differential lock control.

[0031] (4) This application can issue corresponding prompt information based on the vehicle's driving mode and whether the vehicle's status parameters meet the preset conditions, so as to prompt the user how to operate to switch the state of the differential lock, thereby improving the interaction performance between the vehicle and the user and enhancing the user's experience.

[0032] (5) In the process of switching the differential lock from the unlocked state to the locked state, the present application can determine whether the state of the differential lock is switched successfully based on the closing time of the relay and the switching result, and in the case of differential lock locking timeout and switching failure, the state of the differential lock is switched to the unlocked state again and a prompt message is issued. In this way, the state switching process of the differential lock can be monitored, thereby ensuring that the differential lock will not be in the switching process for a long time, preventing equipment damage.

[0033] (6) The present application can determine whether to perform a differential lock unlocking operation by judging whether the differential lock meets the unlocking condition when the differential lock is in a locked state. In this way, it can accurately determine whether the state of the differential lock needs to be switched, thereby improving the accuracy of controlling the differential lock.

[0034] It should be noted that the technical effects brought about by any implementation method in the second to sixth aspects can refer to the technical effects brought about by the corresponding implementation method in the first aspect, and will not be repeated here.

[0035] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] The drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present application, and together with the specification are used to explain the principles of the present application, and do not constitute an improper limitation on the present application.

[0037] Figure 1 is a structural schematic diagram of a control system of a differential lock according to an exemplary embodiment;

[0038] Figure 2 is a structural schematic diagram of another differential lock control system according to an exemplary embodiment;

[0039] Figure 3 is a flow chart showing a method for controlling a differential lock according to an exemplary embodiment;

[0040] Figure 4 is a flow chart of another method for controlling a differential lock according to an exemplary embodiment;

[0041] Figure 5 is a flow chart of another method for controlling a differential lock according to an exemplary embodiment;

[0042] Figure 6 is a flow chart of another method for controlling a differential lock according to an exemplary embodiment;

[0043] Figure 7is a flow chart of another method for controlling a differential lock according to an exemplary embodiment;

[0044] Figure 8 is a block diagram of a control device for a differential lock according to an exemplary embodiment;

[0045] Fig. 9 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0046] In order to enable ordinary persons in the art to better understand the technical solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings.

[0047] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims.

[0048] This application combines the use scenarios of intelligent networked vehicles. With the rapid development of automobile technology, the functions of automobiles are increasing rapidly. Various cars are equipped with mechanical differential locks, all-road adaptive systems, etc. According to the driving requirements of different terrains, the driving-related systems on the vehicle (engine, transfer case, differential lock, electronic stability program (ESP), air suspension, etc.) are integrated and coordinated to help users operate the vehicle most reasonably and maximize the performance of the vehicle. Since the distributed electronic and electrical architecture is decentralized, a separate controller is set for each control function. Therefore, an integrated differential lock system and control strategy are proposed on this basis.

[0049] Specifically, on the basis of the domain controller, the control function of the differential lock is added. The control button corresponding to the differential lock is connected to the domain controller through a hard line, and the switch status of the control button is collected by the domain controller. The domain controller receives the vehicle speed signal and validity signal issued by the braking system through CAN / CANFD communication, and receives the differential lock lock status information issued by the domain controller. The differential lock is connected to the domain controller through a hard line, and the control logic of the differential lock is judged by the domain controller, and then the high and low levels are output to trigger the closing or opening of the relay to control the differential lock to execute the locking state or unlocking state. When the differential lock is in the unlocked state, it has the function of a traditional open differential to improve driving comfort; when the differential lock is in the locked state, the drive wheels can be forcibly locked to achieve no wheel speed difference between the left and right wheels, thereby improving off-road capabilities.

[0050] The differential lock control method provided in the embodiment of the present application can be applied to the differential lock control system. Figure 1 FIG. 1 shows a schematic diagram of the structure of the control system of the differential lock. Figure 1 As shown, the control system 10 of the differential lock includes: a domain controller 11 , a differential lock 12 and a relay 13 .

[0051] The domain controller 11 is used to execute a differential lock locking operation and close the relay 13 when the differential lock 12 is in an unlocked state and the differential lock locking condition is satisfied.

[0052] The domain controller 11 is also used to control the driving current of the differential lock 12 to be a maximum current when the closing time of the relay 13 reaches a first preset time, and the maximum current is the maximum driving current corresponding to the differential lock 12.

[0053] The domain controller 11 is also used to determine that the differential lock 12 switches from an unlocked state to a locked state when it is detected that the driving current of the differential lock 12 is greater than or equal to the first preset current for a duration reaching a second preset duration, and the first preset current is less than the maximum current.

[0054] In some embodiments, Figure 2 As shown, it is another structural diagram of the differential lock control system. It mainly characterizes the connection relationship of the integrated differential lock control system, represents the sensors connected to the periphery of the differential lock integrated control system, and other electrical systems of the whole vehicle that interact with each other. Specifically including: domain controller 21, differential lock 22, relay 23, vehicle controller 24, instrument 25, differential lock control button 26 and brake system 27. The domain controller 21 is connected to the differential lock 22, relay 23, differential lock control button 26 through hard wires, and the differential lock 22 is connected to the relay 23 through hard wires; the domain controller 21 is also connected to the vehicle controller 24, instrument 25, and brake system 27 through CANFD.

[0055] Among them, the domain controller 21 is used to receive key commands triggered by the user, control the differential lock to be in a locked state or an unlocked state, and at the same time, feedback the state of the differential lock according to the execution situation; the differential lock 22 is used to execute the locked state or unlocked state of the differential lock; the relay 23 is used to execute the closing or disconnection of the low-side loop of the drive circuit; the vehicle controller 24 is used to receive the state of the differential lock and control the operation of the vehicle; the instrument 25 includes an indicator light, which displays the state of the differential lock through the indicator light, and prompts the prompt information of the differential lock through text; the differential lock control button 26 is used to control the state of the differential lock according to the driver's intention, and send the key commands triggered by the user; the braking system 27 is used to send vehicle speed signals and validity, wheel speed signals and validity, and receive the locking state of the differential lock, and turn off or weaken the Electronic Stability Control (ESC) function.

[0056] For ease of understanding, the control method of the differential lock provided in the present application is specifically introduced below with reference to the accompanying drawings.

[0057] Figure 3 is a flow chart of a method for controlling a differential lock according to an exemplary embodiment, which is applied to a vehicle, wherein the vehicle includes a differential lock and a relay, such as Figure 3 As shown, the control method of the differential lock includes the following S301-S303:

[0058] S301: When the differential lock is in the unlocked state and the differential lock locking condition is met, the differential lock locking operation is performed and the relay is closed.

[0059] Optionally, the differential lock locking condition may include: the user triggers the differential lock control button to control the differential lock to switch to a locked state, or the wheel speed difference between the drive wheels is greater than a first preset difference (ie, wheel slippage), etc.

[0060] Optionally, when the user has never triggered the differential lock control button, the driving current of the differential lock needs to be continuously controlled to be 0, the indicator light of the differential lock goes out, and the relay remains disconnected.

[0061] It can be understood that in the embodiment of the present application, when the differential lock needs to be switched from the unlocked state to the locked state, a differential lock locking operation can be performed to switch the differential lock from the unlocked state to the locked state.

[0062] It should be noted that the differential lock locking operation includes: closing the relay, controlling the driving current of the differential lock, and other operations.

[0063] Optionally, during the differential lock locking operation, the indicator light corresponding to the differential lock may flash green (for example, for 5 seconds).

[0064] In some embodiments, after the above-mentioned differential lock locking operation is performed and the relay is closed, the method also includes: when the closing time of the relay reaches a third preset time and the differential lock has not switched from the unlocked state to the locked state, determining that the differential lock has timed out, and performing the differential lock unlocking operation; then, controlling the driving current of the differential lock to 0, and issuing a third prompt message, the third prompt message is used to indicate: the differential lock has failed to lock; and controlling the indicator light to go out, and disconnecting the relay.

[0065] Optionally, the third preset time length may be 5S or 6S, etc. If the differential lock is still not determined to switch from the unlocked state to the locked state within 5S after the relay is closed, it is considered that the differential lock is locked too much (i.e., the differential lock fails to lock), and the differential lock needs to be maintained in the unlocked state. Therefore, the differential lock unlocking operation needs to be performed, the driving current of the differential lock is controlled to 0, and the relay is disconnected.

[0066] Optionally, in the case of overlocking of the differential lock, to maintain the differential lock in the unlocked state, the indicator light needs to be triggered to flash green (for example, flash for 5 seconds), and a third prompt message may be issued (for example, "locking failed, please lock the differential lock later"). At this time, the driving current of the differential lock should be less than 1A.

[0067] In the embodiment of the present application, the present application can determine whether the state of the differential lock is successfully switched based on the closing time of the relay and the switching result during the process of switching the differential lock from the unlocked state to the locked state, and in the case of differential lock locking timeout and switching failure, the state of the differential lock is switched to the unlocked state again and a prompt message is issued. In this way, the state switching process of the differential lock can be monitored, thereby ensuring that the differential lock will not be in the switching process for a long time, preventing equipment damage.

[0068] S302: When the closing time of the relay reaches a first preset time, control the driving current of the differential lock to be a maximum current.

[0069] Among them, the maximum current is the maximum driving current corresponding to the differential lock.

[0070] Optionally, a timing operation may be performed while the relay is closed, so that when the timing duration reaches a first preset duration, the driving current of the differential lock is controlled to be a maximum current.

[0071] Optionally, the maximum drive current corresponding to the differential lock may be 4.5A or 5A, etc., and the first preset time may be 100ms or 200ms, etc. When the closing time of the relay reaches 100ms, the drive current of the differential lock is controlled to be 4.5A or 5A.

[0072] S303: When it is detected that the driving current of the differential lock is greater than or equal to the first preset current for a duration reaching a second preset duration, determine that the differential lock is switched from the unlocked state to the locked state.

[0073] Wherein, the first preset current is smaller than the maximum current.

[0074] Optionally, the first preset current may be 4A or 4.1A, etc., and the second preset duration may be 1S or 2S, etc. When it is determined that the driving current of the differential lock is greater than or equal to 4A and the duration reaches 1S, it can be determined that the differential lock is switched to the locked state. At this time, the indicator light corresponding to the differential lock can be controlled to be always green, and the driving current of the differential lock can be continuously controlled to be 4A.

[0075] In some embodiments, the differential lock corresponds to an indicator light. After determining that the differential lock switches from an unlocked state to a locked state, the method further includes: controlling the driving current of the differential lock to be a first preset current, and controlling the indicator light to be always on. The indicator light being always on is used to indicate that the differential lock is in a locked state.

[0076] In the embodiment of the present application, after determining that the differential lock is switched from the unlocked state to the locked state, the present application can control the driving current of the differential lock to be the first preset current, thereby maintaining the differential lock in the locked state, and indicating that the differential lock is in the locked state by the indicator light being always on. In this way, the state of the differential lock can be ensured by controlling the driving current of the differential lock, and the state of the differential lock can be indicated, thereby improving the accuracy of controlling the differential lock.

[0077] In an embodiment of the present application, when the differential lock is in an unlocked state, if the differential lock locking condition is met, the present application can close the relay, and when the closing time of the relay reaches a first preset time, control the driving current of the differential lock to be the maximum current. And when it is determined that the driving current of the differential lock is greater than or equal to the first preset current and the duration reaches a second preset time, it is determined that the differential lock is switched from the unlocked state to the locked state. In this way, when the differential lock locking condition is met, the relay can be closed first, and it can be determined whether the closing time of the relay meets the condition, and then the driving current of the differential lock can be further controlled to determine whether the driving current of the differential lock meets the condition. When both the closing time of the relay and the driving current of the differential lock meet the conditions, it can be determined that the differential lock is switched from the unlocked state to the locked state. In this way, the accuracy of controlling the differential lock can be improved.

[0078] In some embodiments, Figure 4 As shown, the above differential lock control method may further include S401-S402:

[0079] S401: When the differential lock is in an unlocked state and the differential lock locking condition is not satisfied, the driving current of the differential lock is controlled to be 0.

[0080] S402, the control indicator light is turned off and the relay is disconnected. The indicator light is turned off to indicate that the differential lock is in the unlocked state.

[0081] Optionally, failure to meet the differential lock locking condition includes: failure to receive a locking command sent by the user by triggering the differential lock control button, or a wheel speed difference between the drive wheels being less than a first preset difference (ie, the wheels are not slipping), etc.

[0082] Optionally, when the locking condition is not met, that is, the differential lock needs to be controlled to be in an unlocked state, the drive current of the differential lock needs to be controlled to be 0, and the relay is disconnected.

[0083] It can be understood that when the differential lock is in the unlocked state, the indicator light should be off to indicate that the differential lock is in the unlocked state.

[0084] In the embodiment of the present application, when the differential lock locking condition is not met, the present application can control the driving current of the differential lock to 0, disconnect the relay, and then indicate that the differential lock is in the unlocked state by turning off the indicator light. In this way, the state of the differential lock can be ensured by controlling the driving current of the differential lock, and the state of the differential lock can be indicated, thereby improving the accuracy of controlling the differential lock.

[0085] In some embodiments, the above-mentioned differential lock control method may further include: when it is determined that the driving mode of the vehicle is the first driving mode, if it is detected that the state parameters of the vehicle meet the preset conditions, a first prompt message is issued, and the first prompt message is used to indicate: the differential lock locking operation is performed after parking; the first driving mode is used to indicate that the flatness of the road surface on which the vehicle is traveling is less than or equal to the preset flatness, and the preset conditions include at least one of the following: the opening of the accelerator pedal is greater than the preset ratio, the vehicle's driving speed is greater than the first preset speed, and the wheel speed difference between different drive wheels is greater than the first preset difference.

[0086] Optionally, the first driving mode can be understood as a special terrain mode (such as muddy roads, sandy land, hillsides, etc.). When the vehicle's driving mode is the first driving mode, if it is determined that the opening of the accelerator pedal is greater than a preset ratio (such as 30%) and the wheel speed difference of different drive wheels is greater than a first preset difference (for example, the wheel speed difference of the rear drive wheels is greater than 5km / h), the user can be prompted to "please slow down and stop before locking the differential lock."

[0087] Alternatively, the above-mentioned differential lock control method may also include: when it is determined that the driving mode of the vehicle is the second driving mode, issuing a second prompt message, the second prompt message is used to indicate: performing the differential lock locking operation after switching the driving mode of the vehicle to the first driving mode; the second driving mode is used to indicate that the flatness of the road surface on which the vehicle is traveling is greater than a preset flatness.

[0088] Optionally, the second driving mode can be understood as a standard terrain mode (i.e., flat road). When the vehicle's driving mode is the second driving mode, if the differential lock needs to be switched from an unlocked state to a locked state, the driving mode needs to be switched to the first driving mode first. Therefore, a prompt message "Please select the second driving mode and then lock the differential lock" can be issued, so that the user can press the differential lock control button again to trigger the differential lock to switch to the locked mode.

[0089] In the embodiment of the present application, the present application can issue corresponding prompt information based on the vehicle's driving mode and whether the vehicle's state parameters meet the preset conditions, so as to prompt the user how to operate to switch the state of the differential lock, thereby improving the interaction performance between the vehicle and the user and improving the user's experience.

[0090] For example, Figure 5 As shown, when the user presses the differential lock control button to trigger the differential lock, it is necessary to first determine whether the differential lock lock conditions are met. If the differential lock lock conditions are met, the differential lock lock operation is performed, the differential lock lock process is entered, the relay is closed, and the timing is started. When the timing reaches 100ms, the drive current of the differential lock is controlled to be a maximum value of 4.5A. The drive current of the differential lock is controlled to be greater than or equal to 4A, and the indicator light corresponding to the differential lock flashes green (flashes for 5s); if the drive current of the differential lock remains greater than or equal to 4A and the duration reaches 1S, it is judged that the locking is completed, and the indicator light is always green. If it is further judged that the locking is successful, the drive current of the differential lock is controlled to be maintained at 4A, and the differential lock indicator light remains green.

[0091] If the differential lock locking conditions are not met, the drive current of the differential lock is controlled to be 0, the indicator light of the differential lock goes out, and the relay is disconnected. In this case, if the mode of the domain controller is the special terrain mode, but the accelerator pedal opening is ≥30%, the vehicle speed is ≥5km / h, and the absolute value of the wheel speed difference of the driving wheel is ≥5km / h, the instrument prompts "Please decelerate and stop before locking the differential lock." Otherwise, when the mode of the domain controller is the standard terrain mode, the instrument prompts "Please select the special terrain mode before locking the differential lock." Further, if the locking control is triggered, the differential lock locking operation is executed, and the timing time of entering the differential lock locking process reaches 5s, it is still not determined that the locking is completed (or the locking is not determined to be successful), it is determined that the locking timeout is triggered, the differential lock unlocking operation is triggered, the drive current of the differential lock is controlled to be 0, the indicator light flashes green (flashes for 5s), and the instrument prompts "Locking failed, please lock the differential lock later." After the differential lock is unlocked, the driving current of the differential lock is less than 1A, the indicator light goes out, and the relay is disconnected.

[0092] In some embodiments, Figure 6As shown, a differential lock control method provided in an embodiment of the present application may further include S601:

[0093] S601: When the differential lock is in a locked state and the differential lock unlocking condition is met, the differential lock unlocking operation is performed, the driving current of the differential lock is controlled to be 0, and the relay is disconnected.

[0094] Among them, the differential lock unlocking conditions include at least one of the following: receiving a differential lock unlocking command, the driving current of the differential lock is less than the second preset current for a fourth preset time, the wheel speed difference between different drive wheels is greater than the second preset difference, the vehicle's driving speed is greater than the second preset speed, the vehicle's driving mode is switched to the second driving mode, and the second preset current is less than the first preset current.

[0095] Optionally, when the differential lock is locked, if the user presses the differential lock control button to trigger the differential lock unlock command, the unlock control is triggered, the differential lock unlock operation is executed, the drive current of the differential lock is controlled to 0, and the relay is disconnected. During the unlocking process, the green light of the differential lock indicator flashes (flashes for 5 seconds). After the unlocking is completed, the drive current of the differential lock is less than 1A, and the differential lock indicator goes out.

[0096] Optionally, during the differential lock locking operation, if it is determined that the driving current of the differential lock is less than the second preset current for a duration that reaches a fourth preset duration (e.g., 1S), it is determined that the differential lock has failed to lock, and it is necessary to trigger the unlocking control, execute the differential lock unlocking operation, control the driving current of the differential lock to 0, and disconnect the relay. The differential lock indicator light flashes green (flashes for 5s), and the instrument prompts "Locking failed, please lock the differential lock later". After the unlocking is completed, the driving current of the differential lock is less than 1A, and the differential lock indicator light goes out.

[0097] Optionally, when executing the differential lock operation and entering the differential lock process, if it is determined that the wheel speed difference of different drive wheels is greater than the second preset difference (for example, 10km / H) for a duration of 1s, it is judged that the differential lock has failed, and it is necessary to trigger the unlocking control, execute the differential lock unlocking operation, control the drive current of the differential lock to 0, and disconnect the relay. The differential lock indicator light flashes green (flashes for 5s), and the instrument prompts "Locking failed, please slow down and stop before locking the differential lock". After the unlocking is completed, the drive current of the differential lock is less than 1A, and the differential lock indicator light goes out.

[0098] Optionally, when the differential lock is in the locked state and the user has not pressed the differential lock control button, if the vehicle's driving speed is greater than a certain speed (for example, 30Km / h), the differential lock indicator light flashes green. Furthermore, if the vehicle's driving speed is greater than a second preset speed (for example, 40Km / h), it is necessary to trigger the unlocking control, execute the differential lock unlocking operation, control the differential lock drive current to 0, and disconnect the relay. And the differential lock indicator light flashes green (flashes for 5s), and the instrument prompts "overspeed unlocking". After the unlocking is completed, the differential lock drive current is less than 1A, and the differential lock indicator light goes out. At this time, even if the vehicle speed decreases again, the differential lock locking operation will not be triggered.

[0099] Optionally, when the differential lock is in the locked state and the user has not pressed the differential lock control button, if the domain controller is in the standard terrain mode, the unlocking control needs to be triggered to execute the differential lock unlocking operation, control the driving current of the differential lock to 0, and disconnect the relay. The differential lock indicator light flashes green (flashes for 5 seconds), and the instrument prompts "Exit special terrain unlocking". After the unlocking is completed, the driving current of the differential lock is less than 1A, and the differential lock indicator light goes out. At this time, even if the domain controller mode is readjusted to the special terrain mode, the differential lock locking operation will not be triggered.

[0100] Optionally, when the vehicle is in the OFF gear, the driving current of the differential lock can be controlled to 0, the indicator light of the differential lock goes out, and the relay remains disconnected.

[0101] Optionally, during the process of triggering the unlocking control and executing the differential lock unlocking operation, if the user triggers to reselect the locking control, it is necessary to enter the differential lock locking operation process after the unlocking operation is completed.

[0102] In the embodiment of the present application, the present application can determine whether to perform the differential lock unlocking operation by judging whether the differential lock meets the unlocking condition when the differential lock is in the locked state. In this way, it can accurately determine whether the state of the differential lock needs to be switched, so as to improve the accuracy of controlling the differential lock.

[0103] For example, Figure 7As shown, when the differential lock is in the locked state, if the user presses the differential lock control button and triggers the unlocking control, the differential lock unlocking operation needs to be performed, and the driving current of the differential lock is controlled to be 0. During the unlocking process of the differential lock, the indicator light of the differential lock flashes green (flashes for 5s); after the unlocking is completed, the driving current of the differential lock is less than 1A, the indicator light of the differential lock goes out, and the relay is disconnected. When the differential lock is in the locking process, if the driving current of the differential lock is less than 3.5A and the duration is greater than or equal to 1s, it is judged as a locking failure, and the instrument prompts "Lock failure, please lock the differential lock later". At the same time, the unlocking control is triggered, the differential lock unlocking operation is performed, the target driving current is controlled to be 0, and the indicator light of the differential lock flashes green (flashes for 5s). After the unlocking is completed, the driving current of the differential lock is less than 1A, the indicator light of the differential lock goes out, and the relay is disconnected. Otherwise, when it is determined that the absolute value of the wheel speed difference of the vehicle's driving wheels is greater than or equal to 10km / H and the duration is greater than 1s, it is judged as a locking failure. At the same time, the unlocking control is triggered, and the differential lock unlocking operation is executed. The target driving current is controlled to 0, and the differential lock indicator light flashes green (flashes for 5 seconds). The instrument prompts "Lock failure, please slow down and stop before locking the differential lock". After unlocking, the differential lock driving current is less than 1A, the differential lock indicator light goes out, and the relay is disconnected.

[0104] Alternatively, when the differential lock is in the locked state, if the user presses the differential lock control button, and the vehicle speed is determined to be greater than or equal to 30 km / h, the differential lock indicator light flashes green; if the vehicle speed is determined to be greater than or equal to 40 km / h, the unlocking control is triggered, the differential lock unlocking operation is executed, and the drive current of the differential lock is controlled to be 0. During the differential lock unlocking process, the differential lock indicator light flashes green (flashes for 5 seconds), and the instrument prompts "overspeed unlocking". After unlocking is completed, the drive current of the differential lock is less than 1A, the differential lock indicator light goes out, and the relay is disconnected.

[0105] Alternatively, when the differential lock is in the locked state, if the user presses the differential lock control button and the domain controller is in the standard terrain mode, the unlocking control is triggered, the differential lock unlocking operation is performed, and the driving current of the differential lock is controlled to be 0. During the unlocking process, the differential lock indicator light flashes green (flashes for 5 seconds), and the instrument prompts "Exit Special Terrain Mode Unlock"; after the unlocking is completed, the driving current of the differential lock is less than 1A, the differential lock indicator light goes out, and the relay is disconnected. If the user has never triggered the differential lock control button, the driving current of the differential lock is controlled to be 0, and then the driving current of the differential lock is continuously controlled to be less than 1A, the differential lock indicator light goes out, the relay is disconnected, and the differential lock is in the unlocked state. Otherwise (the driving current of the differential lock is greater than 1A), the differential lock indicator light flashes green.

[0106] The above mainly introduces the solution provided by the embodiment of the present application from the perspective of the method. In order to achieve the above functions, the control device or electronic device of the differential lock includes a hardware structure and / or software module corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.

[0107] The embodiment of the present application can divide the function modules of the control device or electronic device of the differential lock according to the above method. For example, the control device or electronic device of the differential lock can include various function modules corresponding to the various function divisions, or two or more functions can be integrated into one processing module. The above integrated modules can be implemented in the form of hardware or in the form of software function modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0108] Figure 8 is a block diagram of a differential lock control device according to an exemplary embodiment. Figure 8 , applied to a vehicle, the vehicle includes a differential lock and a relay, and the control device 800 of the differential lock includes: a processing module 801 and a control module 802.

[0109] The processing module 801 is used to perform the differential lock locking operation and close the relay when the differential lock is in the unlocked state and the differential lock locking conditions are met; the control module 802 is used to control the driving current of the differential lock to be the maximum current when the closing time of the relay reaches the first preset time, and the maximum current is the maximum driving current corresponding to the differential lock; the processing module 801 is also used to determine that the differential lock is switched from the unlocked state to the locked state when it is detected that the driving current of the differential lock is greater than or equal to the first preset current for a continuous time reaching a second preset time, and the first preset current is less than the maximum current.

[0110] In a possible implementation, the differential lock corresponds to an indicator light; the control module 802 is also used to control the driving current of the differential lock to be a first preset current, and control the indicator light to be always on, and the indicator light is always on to indicate that the differential lock is in a locked state.

[0111] In a possible implementation, the control module 802 is further used to control the driving current of the differential lock to 0 when the differential lock is in an unlocked state and the differential lock locking condition is not met; the control module 802 is also used to control the indicator light to turn off and disconnect the relay, and the indicator light turns off to indicate that the differential lock is in an unlocked state.

[0112] In a possible implementation, the processing module 801 is further used to, when it is determined that the driving mode of the vehicle is the first driving mode, issue a first prompt message if it is detected that the state parameters of the vehicle meet preset conditions, and the first prompt message is used to indicate: a differential lock locking operation is performed after parking; the first driving mode is used to indicate that the flatness of the road surface on which the vehicle is traveling is less than or equal to a preset flatness, and the preset conditions include at least one of the following: the opening of the accelerator pedal is greater than a preset ratio, the vehicle's driving speed is greater than a first preset speed, and the wheel speed difference between different driving wheels is greater than a first preset difference; or, the processing module 801 is further used to, when it is determined that the driving mode of the vehicle is the second driving mode, issue a second prompt message, and the second prompt message is used to indicate: a differential lock locking operation is performed after the driving mode of the vehicle is switched to the first driving mode; the second driving mode is used to indicate that the flatness of the road surface on which the vehicle is traveling is greater than a preset flatness.

[0113] In a possible implementation, the processing module 801 is further used to determine that the differential lock has timed out and execute a differential lock unlocking operation when the closing time of the relay reaches a third preset time and the differential lock has not switched from an unlocked state to a locked state; the control module 802 is further used to control the driving current of the differential lock to 0 and issue a third prompt message, wherein the third prompt message is used to indicate that the differential lock has failed to lock; the control module 802 is further used to control the indicator light to turn off and disconnect the relay.

[0114] In one possible implementation, the control module 802 is also used to perform a differential lock unlocking operation when the differential lock is in a locked state and the differential lock unlocking condition is met, control the driving current of the differential lock to be 0, and disconnect the relay; wherein the differential lock unlocking condition includes at least one of the following: receiving a differential lock unlocking instruction, the driving current of the differential lock is less than the second preset current for a fourth preset time, the wheel speed difference between different drive wheels is greater than the second preset difference, the vehicle's driving speed is greater than the second preset speed, the vehicle's driving mode is switched to the second driving mode, and the second preset current is less than the first preset current.

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

[0116] Fig. 9 FIG. 1 is a block diagram of an electronic device according to an exemplary embodiment. Fig. 9 As shown, the electronic device 900 includes but is not limited to: a processor 901 and a memory 902 .

[0117] The memory 902 is used to store executable instructions of the processor 901. It can be understood that the processor 901 is configured to execute instructions to implement the control method of the differential lock in the above embodiment.

[0118] It should be noted that those skilled in the art can understand that Fig. 9 The electronic device structure shown in the figure does not constitute a limitation on the electronic device, and the electronic device may include Fig. 9 More or fewer components may be shown, or certain components may be combined, or the components may be arranged differently.

[0119] The processor 901 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing software programs and / or modules stored in the memory 902, and calling data stored in the memory 902, it performs various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. The processor 901 may include one or more processing units. Optionally, the processor 901 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 901.

[0120] The memory 902 may be used to store software programs and various data. The memory 902 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one functional module (such as a processing module, a control module, etc.), etc. In addition, the memory 902 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0121] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory 902 including instructions. The instructions can be executed by a processor 901 of an electronic device 900 to implement the control method of the differential lock in the above embodiment.

[0122] In actual implementation, Figure 8 The functions of the processing module 801 and the control module 802 in Fig. 9 The processor 901 in the embodiment calls the computer program stored in the memory 902. The specific execution process can refer to the description of the control method of the differential lock in the above embodiment, which will not be repeated here.

[0123] Optionally, the computer-readable storage medium may be a non-temporary computer-readable storage medium, for example, the non-temporary computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0124] In an exemplary embodiment, the present application also provides a computer program product including one or more instructions, and the one or more instructions can be executed by the processor 901 of the electronic device 900 to complete the control method of the differential lock in the above embodiment.

[0125] It should be noted that when the instructions in the above-mentioned computer-readable storage medium or one or more instructions in the computer program product are executed by the processor of the electronic device, the various processes of the above-mentioned differential lock control method embodiment are implemented, and the same technical effect as the above-mentioned differential lock control method can be achieved. To avoid repetition, they will not be repeated here.

[0126] Through the description of the above implementation methods, technical personnel in the relevant field can clearly 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.

[0127] In the several 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.

[0128] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0129] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0130] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or the full classification part or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including a number of instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to execute the full classification part or part of the steps of each embodiment method of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, ROM, RAM, disk or CD and other media that can store program code.

[0131] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto, and any changes or substitutions within the technical scope disclosed in the present application 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 method for controlling a differential lock, characterized in that: Applied to a vehicle, the vehicle comprising a differential lock and a relay, the method comprising: When the differential lock is in an unlocked state and the differential lock locking condition is satisfied, performing a differential lock locking operation and closing the relay; When the closing time of the relay reaches a first preset time, controlling the driving current of the differential lock to be a maximum current, the maximum current being a maximum driving current corresponding to the differential lock; When it is detected that the driving current of the differential lock is greater than or equal to the first preset current for a duration reaching a second preset duration, it is determined that the differential lock is switched from the unlocked state to the locked state, and the first preset current is less than the maximum current.

2. The method according to claim 1, characterized in that The differential lock corresponds to an indicator light; After determining that the differential lock is switched from the unlocked state to the locked state, the method further includes: The driving current of the differential lock is controlled to be the first preset current, and the indicator light is controlled to be always on, and the indicator light is always on to indicate that the differential lock is in a locked state.

3. The method according to claim 1 or 2, characterized in that: The method further comprises: When the differential lock is in an unlocked state and the differential lock locking condition is not satisfied, controlling the driving current of the differential lock to be 0; The control indicator light is turned off and the relay is disconnected, and the indicator light is turned off to indicate that the differential lock is in an unlocked state.

4. The method according to claim 1 or 2, characterized in that: Before performing the differential lock operation, the method further includes: In the case where it is determined that the driving mode of the vehicle is the first driving mode, if it is detected that the state parameter of the vehicle meets the preset condition, a first prompt information is issued, and the first prompt information is used to indicate: a differential lock operation is performed after parking; the first driving mode is used to indicate that the flatness of the road surface on which the vehicle is traveling is less than or equal to a preset flatness, and the preset condition includes at least one of the following: the opening of the accelerator pedal is greater than a preset ratio, the driving speed of the vehicle is greater than a first preset speed, and the wheel speed difference of different driving wheels is greater than a first preset difference; or, When it is determined that the driving mode of the vehicle is the second driving mode, a second prompt message is issued, and the second prompt message is used to indicate: after the driving mode of the vehicle is switched to the first driving mode, a differential lock operation is performed; the second driving mode is used to indicate that the flatness of the road surface on which the vehicle is traveling is greater than the preset flatness.

5. The method according to claim 1 or 2, characterized in that: After performing the differential lock operation and closing the relay, the method further includes: When the closing time of the relay reaches a third preset time and the differential lock has not switched from the unlocked state to the locked state, determining that the differential lock has timed out, and performing a differential lock unlocking operation; Controlling the driving current of the differential lock to be 0, and issuing a third prompt message, wherein the third prompt message is used to indicate that the differential lock fails to lock; The control indicator light goes out and the relay is disconnected.

6. The method according to claim 1, characterized in that The method further comprises: When the differential lock is in a locked state and the differential lock unlocking condition is met, performing a differential lock unlocking operation, controlling the driving current of the differential lock to be 0, and disconnecting the relay; Among them, the differential lock unlocking condition includes at least one of the following: receiving a differential lock unlocking command, the driving current of the differential lock is less than the second preset current for a fourth preset time, the wheel speed difference between different drive wheels is greater than the second preset difference, the vehicle's driving speed is greater than the second preset speed, the vehicle's driving mode is switched to the second driving mode, and the second preset current is less than the first preset current.

7. A control device for a differential lock, characterized in that: Applied to a vehicle, the vehicle comprises a differential lock and a relay, the control device of the differential lock comprises: a processing module and a control module; The processing module is used to perform a differential lock locking operation and close the relay when the differential lock is in an unlocked state and a differential lock locking condition is satisfied; The control module is used to control the driving current of the differential lock to be a maximum current when the closing time of the relay reaches a first preset time, and the maximum current is a maximum driving current corresponding to the differential lock; The processing module is further used to determine that the differential lock is switched from an unlocked state to a locked state when it is detected that the driving current of the differential lock is greater than or equal to a first preset current for a duration reaching a second preset duration, and the first preset current is less than the maximum current.

8. An electronic device, characterized in that: include: A processor and a memory; wherein the memory is used to store one or more programs, and the one or more programs include computer-executable instructions. When the electronic device is running, the processor executes the computer-executable instructions stored in the memory to enable the electronic device to perform the method described in any one of claims 1-6.

9. A computer-readable storage medium, characterized in that: When the computer-executable instructions stored in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device can perform the method as claimed in any one of claims 1 to 6.

10. A vehicle, characterized in that: The vehicle comprises the control device for the differential lock according to claim 7, and the vehicle is used to implement the method according to any one of claims 1-6.