Vehicle-mounted winch control method, electronic equipment and storage medium

Through the vehicle-mounted winch control method, the vehicle-mounted network is used to control the retraction and automatic reset of the winch rope, which solves the problem of difficult winch operation and improves the convenience and safety of user operation.

CN118833748APending Publication Date: 2024-10-25RADAR NEW ENERGY AUTOMOBILE (ZHEJIANG) CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310454440.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-04-23
Publication Date
2024-10-25

AI Technical Summary

Technical Problem

The current use of winches mainly relies on external remote controls for control, which is difficult to operate, especially in controlling the length of the rope, which can easily cause damage to the hook or weak return, making it difficult for the user to operate.

Method used

Provides a vehicle-mounted winch control method, which displays the winch retraction control interface, receives and executes the winch retraction instructions, uses the vehicle network to control the retraction and retraction of the winch rope, supports automatic reset to the initial position, and reduces user operation difficulty.

Benefits of technology

It realizes the combination of semi-automatic and automatic control of the winch, and the user can freely set the rope length, which reduces the difficulty of operation, avoids damage to the hook and improper take-up, and improves the safety and convenience of the winch.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118833748A_ABST
    Figure CN118833748A_ABST
Patent Text Reader

Abstract

The invention discloses a vehicle-mounted winch control method, electronic equipment and a storage medium, and belongs to the technical field of vehicle-mounted equipment.The method comprises the steps that in response to a received winch activation instruction, a winch retracting and releasing control interface is displayed; receiving a capstan winding and unwinding instruction based on the capstan winding and unwinding control interface, and controlling a capstan connected with a vehicle-mounted network to wind and unwind a rope according to the capstan winding and unwinding instruction; and in response to a received winch reset instruction, controlling the winch to take up to a preset initial position of the winch. Manual control over the vehicle-mounted winch is changed into electric automatic control, and the technical effect of reducing the operation difficulty of the winch is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of vehicle-mounted equipment, and in particular to a vehicle-mounted winch control method, electronic equipment and storage medium. Background Art

[0002] As an optional device for cars, winches are usually equipped on pickup trucks or medium-to-large SUVs (Sport Utility Vehicle or Suburban Utility Vehicle) with strong off-road properties. They are used when the vehicle is stuck in a mud pit or gully while off-roading, and the TCS (Traction Control System) and other built-in functions of the vehicle cannot help it get out of trouble. When using a winch to get out of trouble, hook one end of the winch to the trapped vehicle and start it, so that its powerful towing ability can pull the trapped vehicle out. If the vehicle equipped with a winch is trapped, hook one end of the winch to the surrounding trees or rocks to complete self-rescue.

[0003] At present, the use of winches mainly relies on external remote controls. The length of the winch rope and the return of the winch hook need to be manually controlled little by little, which requires high technical skills of the operator. It is difficult to grasp the timing of the hook entering the slot. If the operation is improper, it is easy to cause the hook to be damaged or return to the position. Therefore, the current method of controlling the release and retraction of the winch by remote control has the problem of great difficulty in operation. Summary of the invention

[0004] The main purpose of the present invention is to provide a vehicle-mounted winch control method, electronic equipment and storage medium, aiming to solve the problem that the current method of controlling the winch to reel in and unreel is difficult to operate.

[0005] To achieve the above object, the present invention provides a vehicle-mounted winch control method, the method comprising:

[0006] In response to the received winch activation command, displaying a winch retraction and extension control interface;

[0007] Receiving a winch retracting and extending command based on the winch retracting and extending control interface, and controlling the winch retracting and extending rope connected to the vehicle network according to the winch retracting and extending command;

[0008] In response to the received winch reset instruction, the winch is controlled to be reeled in to a preset initial position of the winch.

[0009] Optionally, the step of controlling the winch retracting and releasing rope connected to the vehicle network according to the winch retracting and releasing instruction includes:

[0010] Detecting whether there is line reeling length information or line payout length information in the winch reeling and releasing instruction;

[0011] If there is wire retracting length information in the winch retracting and releasing instruction, controlling the rope to be retracted to a first length according to the wire retracting length information;

[0012] If there is line-release length information in the winch retracting and releasing instruction, the rope is controlled to be released to a second length according to the line-release length information.

[0013] Optionally, after the step of detecting whether there is line reeling length information or line unreeling length information in the winch reeling and unreeling instruction, the method further includes:

[0014] If the winch retracting and releasing instruction does not contain the wire retracting length information and the wire release length information, determining the retracting and releasing type of the winch retracting and releasing instruction;

[0015] If the retractable type is retracting, controlling the rope to be retracted to a preset length from the initial position;

[0016] If the retracting and releasing type is releasing the line, the rope is controlled to be released to a maximum length.

[0017] Optionally, the step of controlling the rope to pay out to a maximum length comprises:

[0018] Detecting whether the paid-out length of the rope reaches the maximum length;

[0019] If the release length does not reach the maximum length and a winch closing command is received, the rope is controlled to stop releasing.

[0020] Optionally, the step of receiving a winch retracting and extending instruction based on the winch retracting and extending control interface includes:

[0021] A setting window for displaying the rope retraction length in the winch retraction and release control interface;

[0022] The length information about the winch retracting and releasing line inputted from the outside is obtained according to the setting window, and the length information is encapsulated into the winch retracting and releasing instruction.

[0023] Optionally, in response to the received winch reset instruction, the step of controlling the winch to reel in the winch to a preset initial position of the winch comprises:

[0024] Receiving a winch reset instruction, and obtaining motor zero position information in the winch reset instruction;

[0025] Determining whether the rotation position of the motor in the capstan reaches the motor zero position corresponding to the motor zero position information;

[0026] If the rotation position reaches the motor zero position, the winch motor is controlled to stop rotating.

[0027] Optionally, after the step of controlling the winch to retract and release the rope according to the winch retracting and releasing instruction, the method further includes:

[0028] Acquiring the operating status data of the winch through the communication connection between the winch and the vehicle computer;

[0029] If the operating status data meets the preset abnormal operating conditions, the power supply of the winch is cut off to put the winch into a dormant state.

[0030] Optionally, after the step of controlling the winch to reel in the winch to a preset initial position of the winch, the method further comprises:

[0031] Counting the duration of the winch retracting and extending control interface being in an inoperative state;

[0032] If the duration is longer than a preset duration threshold, the power supply of the winch is cut off, and the activation state of the winch in the winch retraction and extension control interface is set to inactivated.

[0033] In addition, to achieve the above-mentioned purpose, the present invention also provides an electronic device, which includes: a memory, a processor, and a vehicle-mounted winch control program stored in the memory and executable on the processor, wherein the vehicle-mounted winch control program is configured to implement the steps of the vehicle-mounted winch control method described above.

[0034] In addition, to achieve the above objectives, the present invention also provides a computer-readable storage medium, on which a vehicle-mounted winch control program is stored. When the vehicle-mounted winch control program is executed by a processor, the steps of the vehicle-mounted winch control method described above are implemented.

[0035] The vehicle-mounted winch control method provided by the present invention displays a winch retracting and releasing control interface in response to a received winch activation command; receives a winch retracting and releasing command based on the winch retracting and releasing control interface, and controls the winch retracting and releasing rope connected to the vehicle network according to the winch retracting and releasing command; and controls the winch to be retracted to the preset initial position of the winch in response to a received winch resetting command. The winch is introduced into the vehicle network in a pioneering way, and the original pure manual control mode is transformed into a control combining semi-automatic and automatic. The user can freely set the winch retracting and releasing length through the winch retracting and releasing control interface, and can quickly hook up with the trapped vehicle or surrounding objects when releasing the line. When retracting the line, the hook and the card slot can be prevented from colliding and being damaged, which reduces the learning cost of the winch retracting and releasing line operation. It can also automatically reset to the initial position according to the winch resetting command, avoiding the situation where the winch is damaged by too much retracting or the retracting is not in place, and protecting the winch device from damage, so the difficulty of the user operating the winch is greatly reduced. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1A schematic diagram of a common winch installation structure provided by an embodiment of the present invention;

[0037] Figure 2 It is a flow chart of the first embodiment of the vehicle-mounted winch control method of the present invention;

[0038] Figure 3 A schematic diagram of a winch control interface involved in a vehicle-mounted winch control method according to an embodiment of the present invention;

[0039] Figure 4 A connection diagram of a winch control method according to an embodiment of the present invention;

[0040] Figure 5 A schematic diagram of a winch control interface including a setting window involved in a vehicle-mounted winch control method according to an embodiment of the present invention;

[0041] Figure 6 It is a flow chart of a seventh embodiment of the vehicle-mounted winch control method of the present invention;

[0042] Figure 7 The present invention is a schematic diagram of the structure of an electronic device in a hardware operating environment according to an embodiment of the present invention.

[0043] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0044] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0045] Figure 1 A schematic diagram of a common winch installation structure is shown in FIG. Figure 1 As shown, the winch and the vehicle machine are relatively independent and there is no connection between them. The winch is controlled by a remote control. When the winch needs to be used, the remote control connection port of the winch and the remote control connection line can be connected, and the winch rope can be released or retracted by operating the remote control. For users with little field experience, when using the remote control to operate the winch, they often encounter problems such as difficulty in controlling the length of the rope when operating the winch, which requires multiple operations. In addition, the winch rope can only withstand a limited tensile force, and the rope may break during the escape process, causing injuries.

[0046] The embodiment of the present invention provides a vehicle-mounted winch control method, referring to Figure 2 , Figure 2 The flowchart of the first embodiment of the vehicle-mounted winch control method of the present invention is shown in Figure 1. The embodiment of the present invention provides an embodiment of the vehicle-mounted winch control method. It should be noted that although the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than here.

[0047] In this embodiment, the vehicle-mounted winch control method includes:

[0048] Step S10, in response to the received winch activation instruction, displaying a winch retraction and extension control interface;

[0049] The execution subject of this embodiment can be a smart phone or a central console. When the user uses the winch, he can choose the mobile phone APP or CSD as the operation object. It is understandable that during the operation, the user can also switch the operation object at any time to meet the user's usage needs in different situations and facilitate the user's use.

[0050] The winch activation command can be regarded as a command to activate the winch function. The winch retraction and release control interface refers to an interface that can control the function of the winch and set the retraction and release operation of the winch. The winch retraction and release command can be regarded as a command to control the winch to reel in or release the line.

[0051] Figure 3 A schematic diagram of a winch retracting and extending control interface. Figure 3 In the figure, 100 indicates the capstan retracting and releasing control interface, 101 indicates the capstan soft switch, and the user can operate 101 to turn on or off the capstan, 102 indicates the line-reeling button, and 103 indicates the line-releasing button, and the user can click 102 to control the capstan to reel in the line, and click 103 to control the capstan to release the line.

[0052] The operation of the winch requires power to provide electrical energy. The winch can be connected to the power supply in the vehicle through a hard switch. After the power is turned on, the winch function is in standby mode. Hard switching refers to the process of switching on and off within an inherent cycle. The standby state is the state in which the winch is connected to the power supply and can be used after activation. A soft switch for turning on the winch function can be set in the smartphone and CSD. The user can click on the display screen of the smartphone and CSD to turn on the soft switch. The click operation on the soft switch generates a winch function activation instruction, activates the winch function, and displays the winch retraction and extension control interface. Soft switching refers to the process of using oscillation to make the switch open and close when the voltage and current are zero. The user can operate the winch retraction and extension control interface, and the winch retraction and extension instruction is generated by the user operation on the winch retraction and extension control interface.

[0053] Step S20, receiving a winch retracting and releasing instruction based on the winch retracting and releasing control interface, and controlling the winch retracting and releasing rope connected to the vehicle network according to the winch retracting and releasing instruction;

[0054] A winch is a machine with a vertically mounted cable drum that can wind up but not store ropes when driven by power. It can be used for self-rescue and rescue in harsh environments such as snow, swamps, deserts, beaches, and muddy mountain roads. The retraction and release of the rope in the winch can be achieved by rotating the winch motor in different directions. The winch retraction and release instructions can be divided into retraction instructions and release instructions. After identifying the type of winch retraction and release instructions, the winch is controlled to perform corresponding operations according to the type of instruction. If the winch retraction and release instruction is a release instruction, the winch motor is controlled to rotate in the direction of releasing the line to release the rope. If the winch retraction and release instruction is a retraction instruction, the winch motor is controlled to rotate in the direction of retraction to retract the rope.

[0055] Figure 4 FIG. 1 is a connection diagram of a winch control in this embodiment. Figure 3 As shown, a communication connection is established between the winch and the DHU (Display Head Unit, driving information and entertainment host), such as a Bluetooth connection. The use of wireless communication can not only exchange data with the vehicle, but also reduce the complexity of line connection. The DHU can also be connected to the CSD (Central Stack Display) through GSLM (Gigabit Multimedia Serial Links), and then the CSD can control the winch to perform related retraction and extension operations. The DHU can also be connected to the VGM (Vehicle Gateway Module) through Ethernet, and the VGM is connected to the TCAM (Telematics & Connectivity Antenna Module) through Ethernet. The cloud digital connection between TCAM and the smartphone allows the smartphone to control the winch to retract and release the line. A winch control APP (Application) can be installed in the smartphone, and the winch can be controlled through the APP. The in-vehicle network can be regarded as a network composed of modules in the vehicle that can connect to the network. The type of the in-vehicle network can be a vehicle local area network or an Internet of Things. Figure 4 In the vehicle network, DHU, VGM, TCAM, CSD and APP can all be part of the vehicle network.

[0056] Step S30, in response to the received winch reset instruction, controlling the winch to reel in the winch to a preset initial position of the winch.

[0057] The winch reset command can be regarded as a command to control the winch rope to wind up to the initial state. The preset initial position of the winch refers to the position when the rope in the winch is completely wound around the cable drum and the hook at the end of the rope is just hung in the slot. At the initial position, the rope will not be too long to cause damage to the hook, nor will it be too short to cause the hook to be loosely connected to the slot. The winch retraction and release control interface can also include a reset function button. The user can operate the reset function button to automatically reel the winch to the initial position. In response to the user operation of the reset function button, a winch reset command is generated to control the winch motor to rotate and reel in. When the rope is reeled in to the initial position, the winch motor stops rotating, and the rope reeling length is neither too long nor too short.

[0058] In this embodiment, in response to the received winch activation command, the winch retracting and releasing control interface is displayed; based on the winch retracting and releasing command, the winch retracting and releasing rope connected to the vehicle network is controlled according to the winch retracting and releasing command; in response to the received winch reset command, the winch is controlled to be retracted to the initial position preset by the winch. The winch is introduced into the vehicle network in a pioneering way, and the original pure manual control mode is transformed into a semi-automatic and automatic combination of control. The user can freely set the winch's retracting and releasing length through the winch retracting and releasing control interface. When releasing the line, it can quickly hook up with the trapped vehicle or surrounding objects. When retracting the line, it can prevent the hook from colliding with the card slot and causing damage, reducing the learning cost of the winch retracting and releasing line operation. It can also automatically reset to the initial position according to the winch reset command to avoid the situation where the winch is damaged by too much retracting or the retracting is not in place, and protect the winch device from damage, so the difficulty of the user to operate the winch is greatly reduced.

[0059] Further, in a second embodiment of the vehicle-mounted winch control method of the present invention, the method includes:

[0060] Step S21, detecting whether there is line reeling length information or line payout length information in the winch reeling and releasing instruction;

[0061] The winding length information can be regarded as information related to the retracted length of the winch rope. The pay-out length information can be regarded as information related to the paid-out length of the winch rope. This embodiment does not specifically limit the implementation method for detecting whether there is winding length information or pay-out length information. For example, the winch winding and releasing instructions can be divided into different fields, and the meaning fields containing indicative information in the instructions can be found, such as the parts without actual meaning, such as the head and the tail, and the content represented by the meaning field can be analyzed to see whether the length information is included.

[0062] Step S22, if there is wire retracting length information in the winch retracting and releasing instruction, controlling the rope to be retracted to a first length according to the wire retracting length information;

[0063] The first length refers to the length of the rope that should be retracted corresponding to the take-up length information. When the take-up length information exists in the winch retraction and release instruction, it means that the user has set the take-up length through the winch retraction and release control interface, and the winch can be controlled to reel in the rope according to the take-up length set by the user. In the process of controlling the winch to reel in the rope, the retracted length of the rope can be controlled by the number of rotations of the motor. The angle of rotation of the cable drum when the motor rotates one circle can be obtained through the relationship between the rotation angle of the motor and the rotation angle of the cable drum, and then the correspondence between the motor rotation angle and the length of the wound rope can be obtained through the length of the rope that can be wound by one rotation of the cable drum, and the retraction of the rope is controlled by this correspondence.

[0064] In addition, when the winch has been reeled in to the shortest position, or the length of the rope released by the winch is less than the first length, the winch can be controlled not to perform the retraction operation, and the user is prompted through the winch retraction and release control interface that the reel length is insufficient.

[0065] Step S23: If there is line-paying length information in the winch retracting and releasing instruction, the rope is controlled to be paid out to a second length according to the line-paying length information.

[0066] The second length refers to the length of the rope that should be released corresponding to the pay-out length information. When there is pay-out length information in the winch retracting and releasing instruction, it means that the user has set the pay-out length through the winch retracting and releasing control interface, and the winch can be controlled to pay out the rope according to the pay-out length set by the user. In the process of controlling the winch to pay out the rope, the pay-out length of the rope can be controlled by the number of rotations of the motor. The angle of rotation of the cable drum when the motor rotates one circle can be obtained through the relationship between the rotation angle of the motor and the rotation angle of the cable drum, and then the correspondence between the motor rotation angle and the length of the wound rope can be obtained through the length of the rope that can be wound by one rotation of the cable drum, and the release of the rope is controlled by this correspondence.

[0067] In addition, when the winch has paid out the line to the maximum position, or the difference between the length of the rope paid out by the winch and the maximum length of the rope paid out is less than the second length, the winch can be controlled not to perform the paying out operation, or the rope can be paid out to the maximum length, and the user can be prompted through the winch retraction and release control interface that the payout length is insufficient.

[0068] The winding length information and the unwinding length information can be generated according to the user's settings in the winch winding and unwinding control interface. For example, if the user sets the unwinding to be 3m through the winch winding and unwinding control interface, the unwinding length information indicates unwinding 3m, and the winch motor can be controlled to rotate to unwind the rope 3m.

[0069] Users only need to operate a smartphone or CSD to retract and release a fixed-length rope in the winch. There is no need for users to control the length of the rope bit by bit, which reduces the number of user operations, reduces the difficulty of user operations, and improves the accuracy of rope retraction and release.

[0070] In a feasible implementation manner, after the step of detecting whether there is line reeling length information or line reeling length information in the winch reeling and releasing instruction, the following steps may also be included:

[0071] Step S24, if the winch retracting and releasing instruction does not contain the line retracting length information and the line release length information, determining the retracting and releasing type of the winch retracting and releasing instruction;

[0072] The retracting and releasing type refers to whether the winch retracting and releasing instruction is for reeling in or releasing the line. When there is no reeling length information and release length information in the winch retracting and releasing instruction, it means that the user has not set the reeling length and release length, and the retracting and releasing of the winch rope can still be controlled by the retracting and releasing type. This embodiment does not specifically limit the implementation method for determining the retracting and releasing type of the winch retracting and releasing instruction. For example, you can first search for the characters corresponding to the reeling and releasing instruction and the characters corresponding to the release instruction, and then search whether the above characters exist in the winch retracting and releasing instruction, as well as the matching retracting and releasing type.

[0073] Step S25, if the retracting type is retracting, controlling the rope to be retracted to a preset length from the initial position;

[0074] The preset length can be regarded as the shortest length at which the rope stops winding. The preset length can be obtained by calibration in advance. For example, the preset length is set to 1.5m through calibration. Then, when the rope is automatically wound, it will stop winding at 1.5m from the initial position and wait for the user's subsequent operation. If the user does not set the winding length for winding, if the preset length is not set, the rope will continue to be retracted after winding to the shortest length, causing damage to the hook at the end of the rope. Therefore, in the case where the user is allowed to control the winding without setting the winding length, the setting of the preset length can avoid the problem of hook damage caused by winding too short.

[0075] Step S26, if the retracting and releasing type is releasing the line, control the rope to be released to the maximum length.

[0076] The maximum length refers to the length of the rope that can be released when one end of the rope is fixed. The pay-out process changes the rope from a wound state to a loose state, which usually does not cause problems such as hook damage, and the rope can be released to the maximum length.

[0077] This embodiment allows the user to control the retracting and releasing of the line without setting the retracting and releasing line length, which is more user-friendly. In addition, the hook can be prevented from being damaged due to the retracting line being too short during the automatic retracting and releasing of the line.

[0078] In one feasible implementation, the step of controlling the rope to be released to a maximum length may include:

[0079] Step S261, detecting whether the paid-out length of the rope reaches the maximum length;

[0080] The release length can be regarded as the length of the rope released relative to the fully wound state of the rope. For example, when the rope is fully wound, the hook and the slot at the end of the rope can be hooked just right, and the release length is 0 at this time. After controlling the release of 3m, the release length is 3m. If the control of the winding of 1m continues, the release length is 2m. This embodiment does not impose specific restrictions on the implementation method of detecting whether the release length has reached the maximum length. For example, the rotation state of the winch motor can be detected. The rotation state includes the rotation direction and the number of rotations. When it is detected that the rotation direction and the number of rotations of the winch motor are the same as the winch state when the rope is released to the maximum length, it means that the release length of the rope has reached the maximum length, otherwise it has not reached the maximum length.

[0081] Step S262: If the release length does not reach the maximum length and a winch closing command is received, the rope is controlled to stop releasing.

[0082] The winch shutdown command can be regarded as a command to control the shutdown of the winch's line-retracting and -releasing function. During the process of paying out the rope to the maximum length, the user can operate the soft switch in the winch's retracting and -releasing control interface, and generate a winch shutdown command based on the user's operation of the soft switch. According to the winch shutdown command, the winch motor is controlled to stop rotating, thereby stopping the rope from being released. During the process of the release length not reaching the maximum length, the rope can be released to the maximum length without receiving the winch shutdown command. In the case where the user has not set the line-retracting length, it may be due to an accidental touch or other circumstances. At this time, the user can pause the line-retracting process by operating the winch's retracting and -releasing control interface to avoid paying out too long.

[0083] In this embodiment, the length of the rope reeling and releasing line is controlled according to the reeling-in length information or the reeling-out length information, so as to realize precise control over the reeling and releasing line. Even if the user has not set the reeling and releasing line length, the reeling and releasing line can be automatically reeled in and the reeling line will not be too short to cause damage to the hook. The releasing line process can also be paused according to the winch closing command, so that the releasing line will not be too long, thereby enhancing the protection of the winch.

[0084] Further, in a third embodiment of the vehicle-mounted winch control method of the present invention, the method includes:

[0085] Step S11, displaying a setting window for the rope retracting length in the winch retracting and retracting control interface;

[0086] The setting window for the rope retracting and releasing length can be regarded as a window for controlling the rope retracting and releasing length of the winch. The user can operate the setting window to set the specific length of the rope retracting and releasing. There is no specific restriction on the display form of the setting window. For example, the reeling button, the pay-out button, and the length adjustment component can be displayed in the setting window. The user clicks the reeling button to control the winch to automatically reel in the line, and clicks the pay-out button to control the winch to automatically pay out the line. The length adjustment component can be clicked, dragged, or slid to change the rope retracting and releasing length. Then, the reeling button or the pay-out button can be clicked to control the winch to retract and release a fixed length rope.

[0087] Figure 5 A schematic diagram of a winch retracting and extending control interface including a setting window is shown in FIG. Figure 5 In the figure, 100 indicates the winch retraction and release control interface, 101 indicates the winch soft switch, 102 indicates the reeling button, 103 indicates the release button, 104 indicates the setting window, and 1041 indicates the control for adjusting the reeling length or the release length in the setting window. The user can operate 1041 to adjust the reeling and release length to achieve the retraction and release of fixed-length ropes.

[0088] Step S12, obtaining the length information about the winch retracting and releasing line input from the outside according to the setting window, and encapsulating the length information into the winch retracting and releasing instruction.

[0089] The length information can be regarded as the information related to the winch retraction and release generated by the user operating the setting window of the rope retraction and release length. The user can operate the setting window by clicking, dragging or sliding. The length information includes at least the retraction length information or the release length information to accurately control the rope retraction and release and quickly complete the retraction and release of the fixed length rope. The length information is encapsulated in the winch retraction and release command, so that the winch motor can be controlled to rotate and the rope can be retracted and released.

[0090] In this embodiment, through the setting window of the rope retraction length, the user can set the retraction and release length of the winch rope by himself. For users who are not familiar with the winch control operation, the operation is simple and the retraction and release of the fixed length rope can be completed in a short operation time, with high operation efficiency.

[0091] Further, in the fourth embodiment of the vehicle-mounted winch control method of the present invention, referring to Figure 3 , the method comprising:

[0092] Step S31, receiving a winch reset instruction, and obtaining motor zero position information in the winch reset instruction;

[0093] The motor zero position information can be regarded as the motor zero position related information of the winch motor. The motor zero position information can be used to know the zero position of the winch motor. The motor zero position information can be obtained by pre-calibration and stored in the vehicle computer. Resetting the winch can be regarded as the process of winding the rope to the initial state. In the initial state, the hook and the slot are firmly connected, and the force of the hook on the slot will not cause a large deformation of the slot.

[0094] Step S32, determining whether the rotation position of the motor in the capstan reaches the motor zero position corresponding to the motor zero position information;

[0095] When the winch motor rotates to the motor zero position, the winch rope can be completely wound on the winch drum, and the hook at the end of the rope can be hooked into the slot. The angle between the motor rotation position and the motor zero position can be compared to determine whether the motor zero position has been reached. When this angle is zero, it can be determined that the motor has rotated to the motor zero position.

[0096] Step S33: If the rotation position reaches the motor zero position, the winch motor is controlled to stop rotating so that the winch stops reeling in the line.

[0097] When the motor in the winch reaches the zero position, if it continues to rotate in the same direction, the winch rope will continue to be retracted, and the hook at the end of the rope will collide and squeeze with the winch components, causing damage to the hook. Therefore, the winch motor can be controlled to stop rotating after reaching the zero position of the motor, so that the rope stops retracting. In addition, the reel button can be grayed out in the winch retraction control interface to prevent the user from operating the reel button in this interface, preventing the winch motor from exceeding the zero position of the motor and causing damage to the hook.

[0098] In this embodiment, the winch motor is controlled to stop rotating after reaching the motor zero position according to the winch reset instruction. The zero position protection of the winch motor can avoid the problem of excessive winch winding to damage the winch, and help the user to quickly reset the winch after using the winch.

[0099] Further, in a fifth embodiment of the vehicle-mounted winch control method of the present invention, the method includes:

[0100] Step S27, obtaining the operating status data of the winch through the communication connection between the winch and the vehicle computer;

[0101] The vehicle computer can be regarded as a component in the vehicle that is responsible for communicating with the inside of the vehicle or the outside world. In this embodiment, the DHU can be used as the vehicle computer. The communication connection between the vehicle computer and the winch can be a wireless communication connection method such as Bluetooth connection and Wi-Fi connection. The operating status data can be regarded as data related to the working status of the components in the winch, and may include at least one of the winch rotor temperature, current value, winch speed and motor load. When the winch is activated, the winch can feed back the above operating status data to the vehicle computer through the communication connection, and then the vehicle computer transmits it to the smartphone or CSD. The smartphone or CSD can also send relevant instructions for controlling the winch to the winch through the communication connection, so that the winch can perform corresponding operations according to the received instructions.

[0102] Step S28: If the operating status data meets the preset abnormal operating condition, the power supply of the winch is cut off to put the winch into a dormant state.

[0103] When using a winch, the difficulty of escaping from a predicament varies depending on the environment in which the user is located. In some cases, the winch may need to continue working for a period of time, and there is a risk that the winch will become abnormal. The preset abnormal operation condition refers to the condition that the operation status data satisfies when the winch is abnormal. The dormant state refers to the state in which the power supply of the winch is cut off and cannot be activated. In the dormant state, the power supply of the winch can be reconnected by manually powering on.

[0104] Different types of operation status data may have different abnormal operation conditions. For example, the rotor temperature threshold, current threshold, speed threshold and load threshold may be set respectively. If any of the operation status data reaches the threshold, it may be considered as meeting the abnormal operation condition, and the power supply of the winch may be cut off.

[0105] In this embodiment, the operating status of the winch during operation is monitored, and the power supply is cut off when the operating status of the winch is abnormal, so as to protect the winch motor and related components such as the battery in the vehicle and avoid property loss of the user.

[0106] Further, in a sixth embodiment of the vehicle-mounted winch control method of the present invention, the method includes:

[0107] Step S40, counting the duration of the winch retracting and extending control interface being in an inoperative state;

[0108] The operation state can be regarded as whether the winch retracting and extending control interface senses an operation such as a click. The no operation state can be regarded as a state in which the user has not operated the winch retracting and extending control interface. This embodiment does not impose specific restrictions on the implementation method of counting the duration. For example, the winch retracting and extending control interface can be marked, and a timer can be started whenever the winch retracting and extending control interface is sensed to be operated. The timer is reset when an operation is sensed next time. In this case, during the time period recorded by the timer, the operation state is no operation, and the duration recorded by the timer is the duration.

[0109] Step S50: If the duration is longer than a preset duration threshold, the power supply of the winch is cut off, and the activation state of the winch in the winch retraction and extension control interface is set to inactivated.

[0110] The preset time threshold can be regarded as the time condition for shutting down the winch function. In one feasible implementation, the preset time threshold can be set to 10 minutes. The winch activation state can include activated and inactivated. In the activated state, the user can control the retracting and releasing line of the winch by operating the winch retraction and release control interface. In the inactivated state, the winch function cannot be used. When the power is turned on, the winch motor consumes a certain amount of electrical energy even if it does not rotate. If the user does not operate the winch within the preset time period, it means that the winch may have been used up or is temporarily not in use, and the power can be cut off.

[0111] In this embodiment, when the user does not operate the winch retraction and extension control interface for a preset time threshold, the winch power supply is cut off, which can prevent the winch from being in standby for a long time and consuming too much power.

[0112] Further, in the seventh embodiment of the vehicle-mounted winch control method of the present invention, referring to Figure 6 , first check whether the winch is connected to the power supply. If it is connected to the power supply, the winch function can be turned on through the soft switch in CSD or APP. If the power supply is not connected, return to the starting condition to continue to detect the power connection of the winch. After turning on the winch function, the user can enter the pay-out length through CSD or APP, and the winch starts to pay out after clicking OK. The user can also not enter the pay-out length, and directly click OK to make the winch pay out to the default length. In the case of helping other vehicles out of trouble, the hook at the end of the rope is hung to the trapped vehicle, and then the winch starts to reel in the winch after entering the reeling length through CSD or APP and clicking OK. If the user does not enter the reeling length and directly clicks on reeling, the winch will reel in to a certain distance from the zero position by default. During the reeling process, the trapped vehicle is dragged by the pulling force of the winch to complete the escape. After escaping, you can click Reset in the interface of CSD or APP, and the winch will automatically reel in to the zero position. The vehicle-mounted winch control method of this embodiment can be completed without the need for additional parts and equipment, and does not cause vehicle assembly problems or increase BOM (Bill of Material) costs.

[0113] Reference Figure 7 , Figure 7 The electronic device of the embodiment of the present invention may be a smart phone, a notebook computer, a driving computer, etc., and is not specifically limited here.

[0114] like Figure 7 As shown, the electronic device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (WIreless-FIdelity, WI-FI) interface). The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM) memory, or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0115] Those skilled in the art will understand that Figure 7 The structure shown in the figure does not constitute a limitation on the electronic device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0116] like Figure 7 As shown, the memory 1005 as a storage medium may include an operating system, a network communication module, a user interface module, and a vehicle-mounted winch control program.

[0117] exist Figure 7 In the electronic device shown, the network interface 1004 is mainly used for data communication with other devices; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the electronic device of the present invention can be set in the electronic device, and the electronic device calls the vehicle winch control program stored in the memory 1005 through the processor 1001, and executes the vehicle winch control method provided by the embodiment of the present invention.

[0118] The embodiment of the present invention further provides a computer-readable storage medium, on which a vehicle-mounted winch control program is stored, and when the vehicle-mounted winch control program is executed by a processor, the steps of the vehicle-mounted winch control method described above are implemented. The specific implementation of the computer-readable storage medium of the embodiment of the present invention is referred to the above-mentioned embodiments of the vehicle-mounted winch control method, which will not be repeated here.

[0119] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0120] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0121] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0122] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A vehicle-mounted winch control method, It is characterized in that The vehicle-mounted winch control method comprises the following steps: In response to the received winch activation command, displaying a winch retraction and extension control interface; Receiving a winch retracting and extending command based on the winch retracting and extending control interface, and controlling the winch retracting and extending rope connected to the vehicle network according to the winch retracting and extending command; In response to the received winch reset instruction, the winch is controlled to be reeled in to a preset initial position of the winch.

2. The vehicle-mounted winch control method according to claim 1, It is characterized in that The step of controlling the winch retracting and releasing rope connected to the vehicle network according to the winch retracting and releasing instruction comprises: Detecting whether there is line reeling length information or line payout length information in the winch reeling and releasing instruction; If there is wire retracting length information in the winch retracting and releasing instruction, controlling the rope to be retracted to a first length according to the wire retracting length information; If there is line-release length information in the winch retracting and releasing instruction, the rope is controlled to be released to a second length according to the line-release length information.

3. The vehicle-mounted winch control method according to claim 2, It is characterized in that After the step of detecting whether there is line reeling length information or line unreeling length information in the winch reeling and unreeling instruction, the method further includes: If the winch retracting and releasing instruction does not contain the wire retracting length information and the wire release length information, determining the retracting and releasing type of the winch retracting and releasing instruction; If the retractable type is retracting, controlling the rope to be retracted to a preset length from the initial position; If the retracting and releasing type is releasing the line, the rope is controlled to be released to a maximum length.

4. The vehicle-mounted winch control method according to claim 3, It is characterized in that The step of controlling the rope to be released to a maximum length comprises: Detecting whether the paid-out length of the rope reaches the maximum length; If the release length does not reach the maximum length and a winch closing command is received, the rope is controlled to stop releasing.

5. The vehicle-mounted winch control method according to claim 1, It is characterized in that The step of receiving a winch retracting and extending instruction based on the winch retracting and extending control interface comprises: A setting window for displaying the rope retraction length in the winch retraction and release control interface; The length information about the winch retracting and releasing line inputted from the outside is obtained according to the setting window, and the length information is encapsulated into the winch retracting and releasing instruction.

6. The vehicle-mounted winch control method according to claim 1, It is characterized in that The step of controlling the winch to reel in the winch to a preset initial position of the winch in response to the received winch reset instruction comprises: Receiving a winch reset instruction, and obtaining motor zero position information in the winch reset instruction; Determining whether the rotation position of the motor in the capstan reaches the motor zero position corresponding to the motor zero position information; If the rotation position reaches the motor zero position, the winch motor is controlled to stop rotating.

7. The vehicle-mounted winch control method according to claim 1, It is characterized in that After the step of controlling the winch to retract and release the rope according to the winch retracting and releasing instruction, the method further includes: Acquiring the operating status data of the winch through the communication connection between the winch and the vehicle computer; If the operating status data meets the preset abnormal operating conditions, the power supply of the winch is cut off to put the winch into a dormant state.

8. The vehicle-mounted winch control method according to any one of claims 1 to 7, It is characterized in that After the step of controlling the winch to reel in the winch to the preset initial position of the winch, the method further includes: Counting the duration of the winch retracting and extending control interface being in an inoperative state; If the duration is longer than a preset duration threshold, the power supply of the winch is cut off, and the activation state of the winch in the winch retraction and extension control interface is set to inactivated.

9. An electronic device, It is characterized in that The electronic device comprises: a memory, a processor, and a vehicle winch control program stored in the memory and executable on the processor, wherein the vehicle winch control program is configured to implement the steps of the vehicle winch control method according to any one of claims 1 to 8.

10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a vehicle-mounted winch control program, and when the vehicle-mounted winch control program is executed by the processor, the steps of the vehicle-mounted winch control method according to any one of claims 1 to 8 are implemented.