Cord winding control method and winding mechanism

By introducing monitoring and winding components into the winding mechanism, the working status of the production line is monitored and winding is automatically controlled, solving the problem of manual triggering of winding in the existing technology, and realizing automatic winding of the production line and improving efficiency.

WO2026008068A1PCT designated stage Publication Date: 2026-01-08ANKER INNOVATIONS TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/107167
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-07-05
Filing Date
2025-07-04
Publication Date
2026-01-08

AI Technical Summary

Technical Problem

In existing technologies, charging devices with retractable cables require manual triggering to rewind the cable, which cannot achieve automatic cable rewinding, resulting in low rewinding efficiency.

Method used

By setting up a monitoring component and a winding component in the winding mechanism, the monitoring component monitors the working status of the line and automatically controls the winding component to wind up the line when the winding conditions are met. This includes a main controller, a drive unit, and a drive circuit, thereby realizing the automatic winding of the line.

Benefits of technology

It enables automatic winding of the yarn, improving winding efficiency, enhancing user experience and convenience, and avoiding the hassle of manual operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025107167_08012026_PF_FP_ABST
    Figure CN2025107167_08012026_PF_FP_ABST
Patent Text Reader

Abstract

The present application provides a cord winding control method and a winding mechanism. The cord winding control method is applied to a winding mechanism, and the winding mechanism comprises a winding assembly and a main controller. The cord winding control method comprises: the main controller acquires a working state of a cord body accommodated in the winding assembly; the main controller determines whether the working state satisfies a cord winding condition; and if the working state satisfies the cord winding condition, the main controller controls the winding assembly to wind the cord body. In this way, automatic winding of the cord body can be achieved, thereby improving the winding efficiency of the cord body.
Need to check novelty before this filing date? Find Prior Art

Description

Method for controlling take-up of wire, take-up mechanism

[0001] The present application claims priority to the Chinese patent application No. 202410905830.2, filed on July 5, 2024, and entitled "Method for controlling take-up of wire, take-up mechanism", which is incorporated by reference in its entirety.

TECHNICAL FIELD

[0002] The present application relates to the technical field of wire take-up, and in particular to a method for controlling take-up of wire and a take-up mechanism.

BACKGROUND

[0003] In the prior art, a charging device with a retractable wire body needs to be manually triggered to take up the wire, for example, by a pull-wire recovery method or by a button to trigger one-key take-up. The charging device cannot automatically take up the wire when the wire is not in use, which is troublesome and inefficient.

SUMMARY

[0004] In view of the above problems, the present application provides a method for controlling take-up of wire and a take-up mechanism to automatically take up the wire and improve the take-up efficiency of the wire.

[0005] To solve the above technical problems, the technical solution adopted by the present application is as follows:

[0006] In a first aspect, the present application provides a method for controlling take-up of wire. The method is used in a take-up mechanism, which includes a take-up assembly and a main controller. The method includes: the main controller obtaining a working state of a wire body housed in the take-up assembly; the main controller determining whether the working state meets a take-up condition; and if the working state meets the take-up condition, the main controller controlling the take-up assembly to take up the wire body.

[0007] In a second aspect, the present application provides a take-up mechanism. The take-up mechanism includes: a take-up assembly for carrying and housing a wire body; and a monitoring assembly connected to the wire body and the take-up assembly, respectively, for monitoring a working state of the wire body and controlling the take-up assembly to take up the wire body using the above method for controlling take-up of wire.

[0008] Compared with the prior art, the application has the beneficial effects that the line winding control method comprises the following steps: a main controller acquires the working state of the line body accommodated by the winding assembly; the main controller determines whether the working state meets the line winding condition; and if the working state meets the line winding condition, the main controller controls the winding assembly to wind the line body. In this way, the main controller automatically controls the winding assembly to automatically wind the line body when it is determined that the working state of the line body meets the line winding condition, that is, the main controller controls the winding assembly to wind the line body directly through the working state of the line body, so that automatic winding of the line body can be realized and the winding efficiency of the line body is improved. BRIEF DESCRIPTION OF DRAWINGS

[0009] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without any creative effort on the basis of these drawings.

[0010] FIG. 1 is a structural schematic diagram of the circuit structure of the winding mechanism and the structure of the line body according to an embodiment of the present application;

[0011] FIG. 2 is an exploded structural schematic diagram of the winding mechanism according to an embodiment of the present application;

[0012] FIG. 3 is a structural schematic diagram of the winding mechanism according to an embodiment of the present application;

[0013] FIG. 4 is a structural schematic diagram of part of the winding mechanism according to an embodiment of the present application;

[0014] FIG. 5 is a structural schematic diagram of the locking member of the winding mechanism and the bobbin according to an embodiment of the present application;

[0015] FIG. 6 is a structural schematic diagram of the locking member of the winding mechanism and the base according to an embodiment of the present application;

[0016] FIG. 7 is a flowchart of the first embodiment of the line winding control method according to the present application;

[0017] FIG. 8 is a specific flowchart of step S72 in the embodiment of FIG. 7;

[0018] FIG. 9 is a flowchart of the second embodiment of the line winding control method according to the present application;

[0019] FIG. 10 is a flowchart of the third embodiment of the line winding control method according to the present application;

[0020] FIG. 11 is a flowchart of the fourth embodiment of the line winding control method according to the present application;

[0021] FIG. 12 is a flowchart of the fifth embodiment of the line winding control method according to the present application. DETAILED DESCRIPTION

[0022] The technical solutions in the embodiments of the present application will be described clearly and completely in the present application with reference to the drawings in the embodiments of the present application. It can be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application. In addition, it should be noted that, for the convenience of description, only the parts related to the present application are shown in the drawings, but not all the structures. Based on the embodiments in the present application, all the other embodiments obtained by those skilled in the art without creative labor fall within the scope of the present application.

[0023] In the description of the present application, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise" and the like indicate the orientation or positional relationship based on the orientation or positional relationship shown in the drawings, and are only used to facilitate the description of the present application and simplify the description, and do not indicate or imply that the device or element referred to must have a particular orientation, be constructed and operated in a particular orientation, and therefore cannot be understood as a limitation of the present application. In addition, the terms "first", "second" are only for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the technical features indicated. Therefore, the features limited by "first", "second" can explicitly or implicitly include one or more of the features. In the description of the present application, the meaning of "a plurality of" is two or more, unless otherwise explicitly specified and limited.

[0024] In the description of the present application, it should be noted that, unless otherwise explicitly specified and limited, the terms "mounting", "connecting", "connection" should be understood broadly, for example, it can be fixed connection, or detachable connection, or integral connection; it can be mechanical connection, or electrical connection or can communicate with each other; it can be directly connected, or indirectly connected through intermediate medium, or the communication between two elements or the interaction relationship between two elements. For those skilled in the art, the specific meaning of the above terms in the present application can be understood according to the specific circumstances.

[0025] In this application, unless specifically stated and limited otherwise, the "on" or "under" of a first feature to a second feature can include that the first and second features are in direct contact, or that the first and second features are not in direct contact but are in contact through another feature between them. Moreover, the "on", "above" and "above" of the first feature to the second feature includes that the first feature is directly above and obliquely above the second feature, or only indicates that the first feature is higher than the second feature in horizontal height. The "under", "below" and "below" of the first feature to the second feature includes that the first feature is directly below and obliquely below the second feature, or only indicates that the first feature is less than the second feature in horizontal height.

[0026] Reference to "embodiments" herein means that the specific features, structures, or characteristics described in connection with the embodiments can be included in at least one embodiment of the application. The appearance of this phrase in various places in the specification does not necessarily all refer to the same embodiment, nor is it necessarily mutually exclusive of other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0027] In order to realize automatic winding of the wire body and improve the winding efficiency, the application first proposes a winding mechanism, as shown in FIGS. 1 to 6. FIG. 1 is a schematic structural diagram of the circuit structure of an embodiment of the winding mechanism and the wire body; FIG. 2 is an exploded structural diagram of an embodiment of the winding mechanism provided by the application; FIG. 3 is a schematic structural diagram of the winding mechanism provided by the application; FIG. 4 is a schematic structural diagram of part of an embodiment of the winding mechanism provided by the application; FIG. 5 is a schematic structural diagram of the locking member and the winding frame of the winding mechanism provided by the application; and FIG. 6 is a schematic structural diagram of the locking member and the base of the winding mechanism provided by the application. The winding mechanism 1 can be used to accommodate the wire body 30, such as winding the wire body 30 in the winding mechanism 1, realizing automatic winding of the wire body 30, and effectively improving the winding efficiency and convenience of the wire body 30. The wire body 30 can be a data line, a cable, a flexible pipe, etc., but is not limited thereto. The embodiments of the application take the wire body 30 as a data line as an example for description.

[0028] In the embodiment, the winding mechanism 1 includes a winding assembly 101 and a monitoring assembly 100. The winding assembly 101 is used to carry and accommodate the wire body 30. The monitoring assembly 100 is connected with the wire body 30 and the winding assembly 101 respectively. The monitoring assembly 100 is used to monitor the working state of the wire body 30 and control the winding assembly 101 to wind the wire body 30. The monitoring assembly 100 obtains the working state of the wire body 30 accommodated by the winding assembly 101, determines whether the working state meets the winding condition, and controls the winding assembly 101 to wind the wire body 30 if the working state of the wire body 30 meets the winding condition.

[0029] In this way, the monitoring assembly 100 automatically controls the winding assembly 101 to automatically wind the wire body 30 when it is determined that the working state of the wire body 30 meets the winding condition, that is, directly triggering the monitoring assembly 100 to control the winding assembly 101 to wind the wire body 30 through the working state of the wire body 30, so that the automatic winding of the wire body 30 can be realized, and the winding efficiency of the wire body 30 is improved.

[0030] The specific control method of the monitoring assembly 100 controlling the winding assembly 101 to wind the wire body 30 can be referred to the winding control method below.

[0031] In some embodiments, the monitoring assembly 100 comprises a main controller 103, a first driving member 42 and a driving circuit 104; the main controller 103 is electrically connected with the wire body 30, and is used to acquire the working state of the wire body 30; the first driving member 42 is drivingly connected with the winding assembly 101, and is used to drive the winding assembly 101 to wind the wire body 30; the driving circuit 104 is electrically connected with the main controller 103 and the first driving member 42 respectively, and the main controller 103 controls the driving circuit 104 to drive the first driving member 42 to work when it is determined that the working state of the wire body 30 meets the winding condition.

[0032] The driving circuit 104 can be a motor driving chip or a non-integrated discrete circuit. The driving circuit 104 can increase the driving capacity of the main controller 103 to the first driving member 42, so as to ensure the normal work of the first driving member 42.

[0033] The main controller 103 automatically controls the winding assembly 101 to automatically wind the wire body 30 when it is determined that the working state of the wire body 30 meets the winding condition, that is, directly triggering the main controller 103 to control the winding assembly 101 to wind the wire body 30 through the working state of the wire body 30, so that the automatic winding of the wire body 30 can be realized, and the winding efficiency of the wire body 30 is improved.

[0034] The specific control method of the main controller 103 controlling the winding assembly 101 to wind the wire body 30 can be referred to the winding control method below.

[0035] In some embodiments, the winding assembly 101 comprises: a base 10, a winding frame 21, a locking piece 22, a second driving piece 23, a rotating piece 43; the base 10 has a first bearing surface 11; the winding frame 21 is rotatably arranged on one side of the base 10 having the first bearing surface 11; a surface of the winding frame 21 facing the first bearing surface 11 is formed with a first clamping groove 21a; the locking piece 22 is rotatably arranged on the first bearing surface 11 and used for being buckled with the first clamping groove 21a to lock the winding frame 21; the second driving piece 23 drives the winding frame 21 to rotate relative to the base 10; the first driving piece 42 drives the rotating piece 43 to rotate under the control of the main controller 103, so as to drive the locking piece 22 to disengage from the first clamping groove 21a, and drive the winding frame 21 to rotate relative to the base 10 under the driving of the second driving piece 23, so as to drive the wire body 30 to be wound on the winding frame 21.

[0036] The base 10 is used as a carrier for bearing other components in the winding assembly 101, and specific shapes, materials and the like of the base 10 are not limited in the embodiments of the present application and can be reasonably designed according to actual needs.

[0037] The first bearing surface 11 of the base 10 can be a plane, a curved surface or a combined surface of a plane and a curved surface, but is not limited thereto.

[0038] The winding frame 21 is rotatably arranged on the first bearing surface 11, and the locking piece 22 is located between the first bearing surface 11 of the base 10 and the winding frame 21. When the wire body 30 is pulled out from the winding frame 21, the locking piece 22 is clamped in the first clamping groove 21a to lock the winding frame 21. The second driving piece 23 is connected to the winding frame 21 and the base 10. The second driving piece 23 is used to drive the winding frame 21 to rotate relative to the base 10 after the locking piece 22 disengages from the first clamping groove 21a.

[0039] The second driving piece 23 can be connected to the main controller 103 and drive the winding frame 21 under the control of the main controller 103.

[0040] The main controller 103 controls the first driving piece 42 to drive the rotating piece 43 to rotate when the working state of the wire body 30 meets the winding condition. The rotating piece 43 drives the locking piece 22 to disengage from the first clamping groove 21a in the rotating process. After the locking piece 22 disengages from the first clamping groove 21a, the winding frame 21 rotates relative to the base 10 under the driving of the second driving piece 23, so as to drive the wire body 30 to be wound on the winding frame 21, thereby realizing automatic winding of the wire body 30 on the winding frame 21. Compared with the related art in which the user manually pulls the wire body 30 or manually triggers to realize winding of the wire body 30, the manual triggering process is omitted, and the problem that the wire body 30 cannot be wound is avoided. Meanwhile, the user does not need to perform any operation on the winding assembly 101 to realize automatic winding of the wire body 30, which not only improves the convenience of winding the wire body 30, but also improves the efficiency of winding the wire body 30, thereby improving the user experience.

[0041] In some embodiments, the working state of the wire body 30 includes an electrical working state, and the electrical working state includes a charging state and a non-charging state. The wire body 30 has an interface 31 for connecting an external device, and the interface 31 is provided with a charging circuit 105, which is electrically connected with the main controller 103. The main controller 103 can obtain charging information of the charging circuit 105, so as to determine the electrical working state of the wire body 30.

[0042] When the main controller 103 determines that the wire body 30 is in the charging state, the first driving member 42 is not driven, so as to control the winding assembly 101 to not perform the winding action.

[0043] The protocol IC in the charging circuit 105 is in communication connection with the main controller 103 through I_C1. The charging circuit 105 also charges the external device through C1, and the main controller 103 and the protocol IC are in communication connection with the external device through I2C1 respectively. The protocol IC also supplies power to the main controller 103 and the driving circuit 104 through VDRV1.

[0044] In some embodiments, the outer end of the wire body 30 is provided with a magnetic member 106, and the inner end of the wire body 30 is connected with the winding assembly 101; the monitoring assembly 100 includes a magnetic induction member 107, which is arranged on the winding assembly 101. When the outer end of the wire body 30 is wound on the winding assembly 101, the magnetic induction member 107 senses the magnetic member 106 and generates a magnetic signal. The main controller 103 is connected with the magnetic induction member 107, and determines the unwinding state of the wire body 30 based on the magnetic signal.

[0045] The outer end of the wire body 30 refers to the end connected with the external device.

[0046] The working state of the wire body 30 also includes a mechanical working state, and the mechanical working state includes an unwinding state and a non-unwinding state.

[0047] When the main controller 103 determines that the wire body 30 is in the non-unwinding state, the first driving member 42 is not driven, so as to control the winding assembly 101 to not perform the winding action.

[0048] When the main controller 103 determines that the wire body 30 is in the non-charging state and the unwinding state, it is determined that the working state of the wire body 30 meets the winding condition, and then the first driving member 42 is controlled to start and drive the rotating member 43 to rotate, so as to drive the locking member 22 to move away from the first clamping groove 21a, thereby realizing automatic winding of the wire body 30.

[0049] The magnetic induction member 107 can include a Hall sensor and the like.

[0050] The number of the interfaces 31 of the wire body 30 is not limited in the embodiments of the present application. The number of the interfaces 31 can be one or more, for example, the number of the interfaces 31 can be 1, two, 3, 4, 5, 6 or 8, but is not limited thereto. When the number of the interfaces 31 of the wire body 30 is one, the type of the interface 31 includes but is not limited to one of a USB interface, a type-C interface and a type-A interface; when the number of the interfaces 31 of the wire body 30 is more than one, the types of the plurality of interfaces 31 can be the same or different, and the types of the plurality of interfaces 31 include but are not limited to one or more of a USB interface, a type-C interface and a type-A interface.

[0051] In some embodiments, the winding assembly 101 further comprises an electric control board 41, the main controller 103 and the driving circuit 104 are arranged on the electric control board 41, the electric control board 41 is arranged on the base 10, and the electric control board 41 is provided with a first elastic member 411, a second elastic member 412, a first contact 414 and a second contact 415 connected with the main controller 103.

[0052] When it is determined that the working state meets the winding condition, the main controller 103 controls the first driving member 42 to drive the rotating member 43 to rotate from the first contact 414 to the second contact 415 first, so as to move the locking member 22 away from the first clamping groove 21a, and when the rotating member 43 moves to the second contact 415, the second elastic member 412 is compressed to be in contact with the second contact 415, so that the main controller 103 determines that the wire body 30 is in the winding state, i.e., the winding is successful, and after the wire body 30 is in the winding state, the main controller 103 controls the first driving member 42 to drive the rotating member 43 to rotate from the second contact 415 to the first contact 414, so as to reset to the first contact 414, and at this time, the first elastic member 411 is compressed to be in contact with the first contact 414, so that the main controller 103 determines that the rotating member 43 is in the reset state, i.e., the reset is successful.

[0053] Optionally, after the main controller 103 determines that the rotating member 43 is reset successfully, the main controller 103 controls the first driving member 42 to be powered off.

[0054] The first driving member 42 can be a motor, an electric cylinder or a magnetic driving member, but is not limited thereto. The main controller can be a microcontroller, other control chips, etc.

[0055] The first elastic member 411 and the second elastic member 412 are arranged on the side of the electric control board 41 facing the rotating member 43 and correspond to the rotating member 43. The arrangement of the first elastic member 411 and the second elastic member 412 on the electric control board 41 is not limited in the embodiments of the present application, for example, the arrangement of the first elastic member 411 and the second elastic member 412 on the electric control board 41 can be screw connection, bolt connection, buckle connection, magnetic adsorption connection, adhesion or welding, but is not limited thereto.

[0056] The rotating piece 43 is rotated by the first elastic piece 411 under the driving action of the first driving piece 42 and disengages the locking piece 22 from the first clamping groove 21a, so as to realize automatic winding of the wire body 30, and then the rotating piece 43 is reversed and reset to the first elastic piece 411 under the action of the first driving piece 42. When the rotating piece 43 is reversed and reset to the first elastic piece 411, the first driving piece 42 is closed, on the one hand, automatic winding and resetting of the wire body 30 are realized, and the winding efficiency of the wire body 30 is improved, and on the other hand, automatic starting and closing of the first driving piece 42 are realized, and the energy consumption of the first driving piece 42 is reduced. The first driving piece 42 can be closed in a short time, so that the first driving piece 42 will not appear the phenomenon of overheating or burning, and the service life of the first driving piece 42 is guaranteed.

[0057] In an application scenario, after the winding mechanism 1 is powered on and initialized, the ADC element in the main controller 103 is initialized, and then the SRAM parameter of the main controller 103 is cleared, and then the main task is started, wherein the main task includes: ①, detecting the wire out task; ②, detecting the charging state task; ③, winding determination task; ④, executing the winding processing task.

[0058] The detection of the wire out task is to judge whether the wire body 30 is pulled out, that is, whether it is in the wire out state, because the wire body 30 needs to be wound only after being pulled out. The wire out state can be identified by the Hall sensor and the magnetic piece arranged on the outer end of the wire body 30. Assuming that the wire body 30 is not pulled out, the magnetic piece magnetically identifies the Hall sensor, and the magnetic signal of the Hall sensor is connected to the GPIO of the main controller 103. When there is a magnetic signal, the GPIO of the main controller 103 detects a high level, and when there is no magnetic signal, the GPIO of the main controller 103 detects a low level. The parameter of the wire out state is defined as Cable_is_out_Flag. When the wire is not out, Cable_is_out_Flag=0; when the wire is out, Cable_is_out_Flag=1, and the parameter Cable_is_out_Flag is cached in the SRAM of the main controller.

[0059] The task of detecting the charging state is to determine whether the wire body 30 is in the charging state, because the wire body 30 is not allowed to be reeled in the charging state. The main controller 103 communicates with the charging circuit 105, such as a protocol chip, through time polling to obtain the charging state of the wire body 30, and defines the charging state as a parameter Cable_is_attach_status; at the same time, when charging, Cable_is_attach_status = 1, and when not charging, Cable_is_attach_status = 0, and the parameter Cable_is_attach_status is cached in the SRAM of the MCU.

[0060] The task of reeling in is to continuously monitor whether the working state of the wire body 30 meets the reeling-in condition. The main controller 103 first determines whether Cable_is_attach_status = 0, and if so, further determines whether Cable_is_out_Flag = 1, and if so, the main controller 103 starts timing, defines the reeling-in time as Line_in_time, and when the above two conditions are met and last for a set trigger reeling-in time, i.e., a time threshold (assuming 5 Min), updates the reeling-in flag Line_in_Flag = 1; otherwise, updates the reeling-in flag Line_in_Flag = 0. If Cable_is_attach_status and Cable_is_out_Flag change (for example, the device is charged) within the time threshold, the reeling-in time Line_in_time is cleared, wherein Line_in_time and Line_in_Flag are cached in the SRAM of the main controller 103.

[0061] The task of executing the reeling-in process is to detect whether the reeling-in flag Line_in_Flag is 1, and if so, the main controller 103 controls the motor to operate to realize the reeling-in action. When the swing arm of the motor, i.e., the rotating part 43, reaches the first elastic part 411, the first elastic part 411 is connected to the first contact 414, and the main controller 103 receives the input signal IN1_GPIO of the first contact 414 from low to high, thereby determining that the rotating part 43 has returned to the starting point. When the rotating part 43 reaches the second elastic part 412, the second elastic part 412 is connected to the second contact 415, and the main controller 103 receives the input signal IN2_GPIO of the second contact 415 from low to high, thereby determining that the rotating part 43 has reached the end point. When the rotating part 43 operates from the starting point to the end point, the action of the dial lock 22 disengaging from the reel 21 is realized, and then when the rotating part 43 operates from the end point to the starting point, the action of the lock 22 disengaging from the reel 21 and then starting the reeling-in action is realized.

[0062] When the working state of the line body 30 meets the line-in condition, the main controller 103 first determines whether the rotating member 43 is currently at the first contact point 414 (IN1_GPIO = 1?). If not, the motor needs to be controlled to rotate the rotating member 43 back to the first contact point 414. The GPIO_POS_CTR pin of the main controller 103 outputs a high level, the GPIO_NEG_CTR pin outputs a low level, the MOTOR_VOUT_VTRL of the main controller MCU outputs a high level to turn on the motor power supply, and the rotating member 43 runs to the first contact point 414. The main controller 103 continuously detects the level state of IN1_GPIO of the first contact point 414. If IN1_GPIO is high, it means that the rotating member 43 has reached the first contact point 414 (if IN1_GPIO is low but the current is large, for example, greater than 200 mA, the stall protection mechanism is triggered, and if the duration exceeds the set time, the motor needs to be protected to stop working). Then, the rotating member 43 is controlled to move to the second contact point 415 until the rotating member 43 contacts the second contact point 415. The GPIO_POS_CTR pin of the main controller 103 outputs a low level, the GPIO_NEG_CTR pin outputs a high level, and the rotating member 43 runs to the second contact point 415. The main controller 103 continuously detects the level state of IN2_GPIO of the second contact point 415. If IN2_GPIO is high, it means that the rotating member 43 has reached the second contact point 415 (if IN2_GPIO is low but the current is large, for example, greater than 200 mA, the stall protection mechanism is triggered, and if the duration exceeds the set time, the motor needs to be protected to stop working). At this time, the locking member 22 has been unlocked, and the rotating member 43 needs to be controlled to run to the first contact point 414 to complete the reset action. The principle of the rotating member 43 moving to the first contact point 414 is the same as the process described in ① above. When the rotating member 43 returns to the first contact point 414, the automatic line-in process is completed. At this time, the motor power supply is turned off, that is, the MOTOR_VOUT_CTRL pin of the main controller outputs a low level to turn off the motor power supply. And Line_in_Flag = 0; Line_in_time = 0.

[0063] In some embodiments, the second driving member 23 can be a coil spring 231. The coil spring 231 is arranged on one side of the base 10 with the second bearing surface 12. The fixed end of the coil spring 231 is clamped and connected with the base 10, and / or the movable end of the coil spring 231 is clamped and connected with the rotating shaft 211. When the coil spring 231 drives the winding frame 21 to rotate relative to the base 10, the locking member 22 can slide along the annular guide groove 21b.

[0064] The second bearing surface 12 is arranged opposite to the first bearing surface 11.

[0065] In some embodiments, the second driving member 23 can be an electric motor. An output shaft of the electric motor is connected with the rotating shaft 211 for driving the winding frame 21 to rotate relative to the base 10.

[0066] The present application does not limit the specific connection mode between the movable end of the coil spring 231 and the rotating shaft 211, and between the fixed end of the coil spring 231 and the base 10, and reasonable settings can be made according to actual needs; for example, the movable end of the coil spring 231 can be connected with the rotating shaft 211 through adhesion, clamping, bolt connection or plug-in connection, but is not limited thereto; the fixed end of the coil spring 231 can be connected with the base 10 through adhesion, clamping, bolt connection or plug-in connection, but is not limited thereto.

[0067] By arranging the coil spring 231, when the rotating member 43 drives the locking member 22 to disengage from the first clamping groove 21a, the wire body 30 is automatically wound under the elastic restoring force of the coil spring 231 around the axis of the rotating shaft 211, the structure is simple, and the winding efficiency is high. By arranging the coil spring 231 on the side of the base 10 with the second bearing surface 12, on the one hand, the mutual entanglement of the wire body 30 and the coil spring 231 during winding is effectively avoided, and on the other hand, the space on both sides of the base 10 can be fully utilized, the volume of the base 10 and the winding frame 21 can be reduced, and thus the volume of the winding mechanism 1 is reduced.

[0068] The present application further provides a data line device, which comprises the winding mechanism 1, the wire body 30, an input circuit board 70 and an output circuit board 80. The output circuit board 80 is located on the side of the winding frame 21 facing the input circuit board 70 and is fixedly connected with the winding frame 21.

[0069] The output circuit board 80 is electrically connected with the wire body 30 and the input circuit board 70.

[0070] The data line device further comprises a plug-in 91. The plug-in 91 is arranged on the side of the input circuit board 70 facing away from the output circuit board 80 and is electrically connected with the input circuit board 70. The plug-in 91 is used for electrically connecting with an external component 93. The plug-in 91 can be a separate plug, in which case the external component 93 can be an external power supply; the plug-in 91 can also be a separate interface, and the types of the interface include but are not limited to a USB interface, a type-A interface or a type-C interface, in which case the external component 93 can be an external plug or an external interface; the plug-in 91 can also be a combination of a plug and an interface, in which case the external component 93 can be an external power supply, an external plug or an external interface. The arrangement of the plug-in 91, the input circuit board 70 and the output circuit board 80 can realize the electrical connection between the wire body 30 and the external component 93 and an external device, thereby effectively ensuring the communication and power transmission of the data line.

[0071] The data line device further comprises a wire 92. One end of the wire 92 is connected to the side of the input circuit board 70 facing away from the output circuit board 80 and is arranged close to the plug-in 91, and the other end is arranged to pass through the wire inlet 52 and is electrically connected to the control assembly 40. The main controller 103 obtains the charging information of the wire body 30 through the wire 92.

[0072] The electric control board 41 is arranged on the side of the base 10 having the second bearing surface 12.

[0073] The application further provides a charging device comprising the data line device. The energy storage circuit of the charging device can be connected to the interface 31. The charging device can be a mobile phone, a computer, a Bluetooth headset charging bin, a power bank, an electric vehicle, an electric motorcycle, but is not limited thereto.

[0074] The application further provides a winding control method which can be used in the winding mechanism. The main controller is the execution subject of the winding control method. As shown in FIG. 7, the winding control method of the embodiment specifically comprises the following steps:

[0075] Step S71: The main controller obtains the working state of the wire body accommodated by the winding assembly.

[0076] In some embodiments, the working state of the wire body comprises an electrical working state and a mechanical working state. The electrical working state comprises a charging state and a non-charging state, and the mechanical working state comprises a wire-out state and a non-wire-out state.

[0077] The main controller can obtain the electrical working state of the wire body through the charging circuit on the wire body. The main controller can also obtain the mechanical working state of the wire body through a Hall sensor or the like. The specific implementation manner can refer to the above-mentioned embodiments.

[0078] In an application scenario, after the winding mechanism is powered on and initialized, the ADC element in the main controller is initialized, and then the SRAM parameters in the memory of the main controller are cleared. Then, the task of detecting the wire-out and the task of detecting the charging state are started to run.

[0079] Step S72: The main controller determines whether the working state meets the winding condition.

[0080] In some embodiments, when the main controller determines that the electrical working state of the wire body is the non-charging state and the mechanical working state of the wire body is the wire-out state, it is determined that the working state of the wire body meets the winding condition.

[0081] In some embodiments, the main controller determines that the electrical working state is the non-charging state and the mechanical working state is the out-cable state, and then further acquires a state duration of the non-charging state and the out-cable state; if the state duration is greater than or equal to a duration threshold, it is determined that the working state meets the winding condition. In this embodiment, the working state is determined to meet the winding condition only when the state duration of the non-charging state and the out-cable state of the cable body is greater than or equal to the duration threshold, which can more accurately determine the winding demand of the user, so as to more accurately wind the cable body.

[0082] In some embodiments, step S72 can also be implemented by the method shown in FIG. 8, specifically including steps S91 to S94:

[0083] Step S91: determining that the mechanical working state is the out-cable state based on the magnetic signal of the magnetic sensing piece.

[0084] Optionally, if the magnetic sensing piece generates a magnetic signal, the out-cable identifier is updated to a first identifier, for example, the first identifier can be 0; if the magnetic sensing piece does not generate a magnetic signal, the out-cable identifier is updated to a second identifier, for example, the second identifier can be 1; if the out-cable identifier is the second identifier, it is determined that the mechanical working state is the out-cable state.

[0085] In an application scenario, the magnetic sensing piece can be a Hall sensor, and the magnetic signal of the Hall sensor is connected to the GPIO of the main controller; as shown in FIG. 9, the main controller reads the state of the Hall sensor, when there is a magnetic signal, the GPIO of the main controller detects that the HALL_GPIO is high, and the out-cable identifier Cable_is_out_Flag is set to 0; when there is no magnetic signal, the GPIO of the main controller detects that the HALL_GPIO is low, and the out-cable identifier Cable_is_out_Flag is set to 1, and the out-cable identifier Cable_is_out_Flag is cached in the SRAM of the main controller; if the out-cable identifier Cable_is_out_Flag is 1, it is determined that the mechanical working state is the out-cable state.

[0086] Step S92: determining that the electrical working state is the non-charging state based on the charging circuit.

[0087] Optionally, if the main controller receives a charging signal, the charging identifier is updated to a third identifier, for example, the third identifier can be 1; if the main controller does not receive a charging signal, the charging identifier is updated to a fourth identifier, for example, the fourth identifier can be 0; if the charging identifier is the fourth identifier, it is determined that the electrical working state is the non-charging state.

[0088] In one application scenario, as shown in Figure 10, the main controller reads the current charging status (Attach_Status) of the protocol chip via I2C. If the charging status (Attach_Status) is low, the charging flag (Cable_is_attach_status) is set to 1; if the charging status (Attach_Status) is high, the charging flag (Cable_is_attach_status) is set to 0 and cached in the MCU's SRAM; if the charging flag (Cable_is_attach_status) is 0, the charging status is determined to be non-charging.

[0089] In this application, low level and high level can be two voltage signals with different voltage values, where the voltage value corresponding to low level is less than the voltage value corresponding to high level.

[0090] Step S93: If the duration of the outgoing state and the non-charging state is greater than or equal to the duration threshold, then the working state is determined to meet the retraction condition.

[0091] In one application scenario, if the duration for which the outgoing signal is 1 and the charging signal is 0 is greater than or equal to a duration threshold, then the working state is determined to meet the retraction condition.

[0092] In another application scenario, if the outgoing line indicator is 1 and the charging indicator is 0, then the working state is determined to meet the line retraction condition.

[0093] In another embodiment, if the magnetic sensor generates a magnetic signal, the outgoing wire identifier is updated to the first identifier; if the magnetic sensor does not generate a magnetic signal, the outgoing wire identifier is updated to the second identifier; if the main controller receives a charging signal, the charging identifier is updated to the third identifier; if the main controller does not receive a charging signal, the charging identifier is updated to the fourth identifier; if the outgoing wire identifier is the second identifier and the charging identifier is the fourth identifier, the retracting wire identifier is updated to the sixth identifier; if the retracting wire identifier is the sixth identifier, it is determined that the working state meets the retracting wire condition.

[0094] The sixth identifier can be 1. If the duration of the outgoing identifier being 1 and the charging identifier being 0 is greater than or equal to the duration threshold, the receiving identifier will be updated to 1. If the receiving identifier is 1, it is determined that the working state meets the receiving condition.

[0095] As shown in FIG. 11, the main controller first determines whether Cable_is_attach_status = 0, if yes, further determines whether Cable_is_out_Flag = 1, if yes, the main controller starts timing, defines the winding-in timing as Line_in_time, when the above two conditions are met and last for a set trigger winding-in time, i.e. the time threshold (supposed to be 5 Min), the winding-in identifier Line_in_Flag = 1 is updated; otherwise, the winding-in identifier is updated as Line_in_Flag = 0. If the Cable_is_attach_status and Cable_is_out_Flag are changed (for example, the charging of the access device) within the time threshold, the winding-in time Line_in_time is cleared, wherein the Line_in_time and Line_in_Flag are buffered in the SRAM of the main controller 103.

[0096] In some embodiments, when the electrical working state is determined as the charging state or the mechanical working state is determined as the non-winding-out state, it is determined that the working state does not meet the winding-in condition.

[0097] Step S73: If the working state meets the winding-in condition, the main controller controls the winding assembly to wind the line body.

[0098] The main controller automatically controls the winding assembly to automatically wind the line body when it is determined that the working state of the line body meets the winding-in condition, i.e. the main controller controls the winding assembly to wind the line body directly through the working state of the line body, so that the automatic winding of the line body can be realized and the winding efficiency of the line body is improved.

[0099] Optionally, after the line body is pulled out from the winding frame, the locking member locks the winding frame. The main controller controls the rotating member to rotate forward from the initial position (i.e. the starting point) to the terminal position (i.e. the ending point) and to disengage the locking member from the winding frame, so as to realize the automatic winding of the winding frame; the main controller controls the rotating member to rotate reversely from the terminal position to the initial position, so that the rotating member can rotate forward to disengage the locking member again when winding is needed next time.

[0100] Specifically, the main controller controls the first driving member to drive the rotating member to rotate from the first contact point at the initial position to the second contact point at the terminal position, so as to disengage the locking member from the first clamping groove; when the rotating member moves to the second contact point, the second elastic member is pressed to contact the second contact point, so that the main controller determines that the line body is in the winding-in state; after the line body is in the winding-in state, the main controller controls the first driving member to drive the rotating member to rotate from the second contact point to the first contact point, so as to reset to the first contact point; at this time, the first elastic member is pressed to contact the first contact point, so that the main controller determines that the rotating member is in the reset state.

[0101] Optionally, after the main controller determines that the rotating member is successfully reset, the main controller controls the first driving member to be powered off.

[0102] In some embodiments, as shown in FIG. 12, the main controller detects whether the winding-in identifier Line_in_Flag is 1; if not, the winding-in action is not performed, the MOTOR_VOUT_CTRL of the main controller is 0, and the motor power supply is turned off; if yes, the main controller controls the swing arm of the motor, i.e., the rotating member reaches the first contact point, i.e., the contact point 1, the GPIO_POS_CTR pin of the main controller outputs a high level, and the GPIO_NEG_CTR pin outputs a low level; then the MOTOR_VOUT_VTRL of the main controller is 1, the motor power supply is turned on, and the rotating member runs to the first contact point; the main controller constantly detects the level state of IN1_GPIO of the first contact point, and if it is detected that IN1_GPIO is high, it indicates that the current rotating member has reached the first contact point, and then the rotating member is controlled to run to the contact point 2, i.e., the second contact point, until the rotating member contacts the second contact point, in this process, the GPIO_POS_CTR pin of the main controller outputs a low level, and the GPIO_NEG_CTR pin outputs a high level, and the rotating member runs to the second contact point, the main controller constantly detects the level state of IN2_GPIO of the second contact point, and if it is detected that IN2_GPIO is high, it indicates that the current rotating member has reached the second contact point, and then the rotating member is controlled to run to the first contact point to complete the reset action. The principle of the rotating member running to the first contact point is consistent with the process described above, and when the rotating member returns to the first contact point, the automatic winding-in process is realized, and the motor power supply is turned off, i.e., the MOTOR_VOUT_CTRL pin of the main controller outputs a low level, the motor power supply is turned off, and the winding-in identifier Line_in_Flag is updated to 0; the winding-in time Line_in_time is 0.

[0103] In some embodiments, after determining that the working state meets the winding-in condition, the winding-in control method further comprises: if the first driving member is in an abnormal working state, controlling the first driving member to stop working. In this way, the invalid winding-in caused by the abnormal working of the first driving member and the damage to the winding-in mechanism can be reduced.

[0104] In some embodiments, the first driving member is in an abnormal working state, the winding-in identifier can be updated to a fifth identifier, and the fifth identifier can be 0; if the winding-out identifier is 1 and the charging identifier is 0, the winding-in identifier can be updated to a sixth identifier, and the sixth identifier can be 1; when the winding-in identifier is the sixth identifier, it can be determined that the winding-in condition is met.

[0105] As shown in FIG. 12, if the main controller detects that IN1_GPIO is low but the current is large, for example, greater than 200 mA, the stall protection mechanism is triggered, and if the duration exceeds the set time, the motor needs to be protected, MOTOR_VOUT_VTRL = 0, which stops the motor from working, and the line-in flag Line_in_Flag = 0 and the line-in time Line_in_time = 0 are updated; if the main controller detects that IN2_GPIO is low but the current is large, for example, greater than 200 mA, the stall protection mechanism is triggered, and if the duration exceeds the set time, the motor needs to be protected, MOTOR_VOUT_VTRL = 0, which stops the motor from working, and the line-in flag Line_in_Flag = 0 and the line-in time Line_in_time = 0 are updated.

[0106] In some embodiments, the winding control method further comprises: if the winding mechanism is powered on, and the durations of the second flag and the fourth flag are less than the duration threshold, updating the line-in flag to the fifth flag and resetting the duration (i.e., the above-mentioned winding duration); wherein the working state is determined to not satisfy the winding condition when the line-in flag is the fifth flag. In this way, the residual data of the winding operation before the winding mechanism is powered on and reset can be cleared, and the influence of the previous winding operation on the current winding control can be reduced, thereby improving the accuracy of the winding control.

[0107] The above description is only an embodiment of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation based on the content of the specification and drawings, or direct or indirect application in other related technical fields, is also included in the patent protection scope of the present application.

Claims

1. A take-up control method in which, The application relates to a winding control method for a winding mechanism, wherein the winding mechanism comprises a winding assembly and a main controller. The main controller acquires a working state of a wire body accommodated by the winding assembly; The main controller determines whether the working state meets a winding condition; If the working state meets the winding condition, the main controller controls the winding assembly to wind the wire body.

2. The take-up control method according to claim 1, wherein The working state comprises an electrical working state and a mechanical working state; the determination of whether the working state meets the winding condition comprises: If the electrical working state is a non-charging state and the mechanical working state is a wire-out state, it is determined that the working state meets the winding condition.

3. The take-up control method according to claim 1, wherein The working state comprises an electrical working state and a mechanical working state; the determination of whether the working state meets the winding condition comprises: If the electrical working state is a non-charging state and the mechanical working state is a wire-out state, the state duration of the non-charging state and the wire-out state is further acquired; If the state duration is greater than or equal to a duration threshold, it is determined that the working state meets the winding condition.

4. The take-up control method according to claim 1, wherein The working state comprises an electrical working state and a mechanical working state; the determination of whether the working state meets the winding condition comprises: If the electrical working state is a charging state or the mechanical working state is a non-wire-out state, it is determined that the working state does not meet the winding condition.

5. The take-up control method according to claim 1, wherein The working state comprises an electrical working state and a mechanical working state, an external end of the wire body is provided with a magnetic member, the winding mechanism further comprises a magnetic induction member, a port of the wire body is further provided with a charging circuit, the charging circuit is connected with the main controller; the determination of whether the working state meets the winding condition comprises: The magnetic signal of the magnetic induction member is used to determine that the mechanical working state is a wire-out state; The charging signal of the charging circuit is used to determine that the electrical working state is a non-charging state; If the state duration of the wire-out state and the non-charging state is greater than or equal to a duration threshold, it is determined that the working state meets the winding condition.

6. The take-up control method according to claim 5, wherein The magnetic signal of the magnetic induction member is used to determine that the mechanical working state is a wire-out state, which comprises: If the magnetic induction member generates a magnetic signal, a wire-out identifier is updated as a first identifier; If the magnetic induction member does not generate a magnetic signal, the wire-out identifier is updated as a second identifier; If the wire-out identifier is the second identifier, it is determined that the mechanical working state is a wire-out state.

7. The take-up control method according to claim 6, wherein The charging signal of the charging circuit is used to determine that the electrical working state is a non-charging state, which comprises: If the main controller receives a charging signal, a charging identifier is updated as a third identifier; If the main controller does not receive a charging signal, the charging identifier is updated as a fourth identifier; If the charging identifier is the fourth identifier, it is determined that the electrical working state is a non-charging state.

8. The take-up control method according to claim 6, wherein After it is determined that the working state meets the winding condition, the winding control method further comprises: If a first driving member of the winding assembly is in an abnormal working state, the first driving member is controlled to stop working.

9. The take-up control method according to claim 7, wherein The determination of whether the working state meets the winding condition further comprises: If the first driving member of the winding assembly is in an abnormal working state, the winding mark is updated to a fifth mark; wherein the winding mark is the fifth mark, it is determined that the working state does not satisfy the winding condition.

10. The take-up control method according to claim 7, wherein The determination of whether the working state satisfies the winding condition further comprises: If the winding mark is the sixth mark, it is determined that the working state satisfies the winding condition. The determination of whether the working state satisfies the winding condition further comprises:

11. The take-up control method according to claim 7, wherein If the winding mechanism is powered on, the second mark and the fourth mark have a duration less than a duration threshold, the winding mark is updated to a fifth mark, and the duration is reset to zero; wherein the winding mark is the fifth mark, it is determined that the working state does not satisfy the winding condition. The winding assembly comprises a locking member, a rotating member and a reel, after the wire body is pulled out from the reel, the locking member locks the reel, the main controller controls the winding assembly to wind the wire body, comprising:

12. The take-up control method according to any one of claims 1 to 11, wherein The main controller controls the rotating member to rotate forward from the initial position to the terminal position, and to unlock the locking member to the reel to realize the automatic winding of the wire body by the reel; The main controller controls the rotating member to rotate reversely from the terminal position to the initial position, so that the rotating member can rotate forward again to unlock the locking member. The winding mechanism comprises a first driving member connected with the main controller, and the winding assembly comprises an electric control board, wherein the electric control board is provided with a first elastic member, a second elastic member, a first contact and a second contact connected with the main controller, the main controller controls the rotating member to rotate forward from the initial position to the terminal position, and to unlock the locking member to the reel to realize the automatic winding of the wire body, comprising:

13. The take-up control method according to claim 12, wherein The main controller controls the first driving member to drive the rotating member to rotate from the first contact at the initial position to the second contact at the terminal position, so as to unlock the locking member from the first clamping groove; when the rotating member moves to the second contact, the second elastic member is compressed and contacts with the second contact, so that the main controller determines that the wire body is in the winding state; The main controller controls the rotating member to rotate reversely from the terminal position to the initial position, so that the rotating member can rotate forward again to unlock the locking member, comprising: After the wire body is in the winding state, the main controller controls the first driving member to drive the rotating member to rotate from the second contact to the first contact, so as to reset to the first contact, at this time, the first elastic member is compressed and contacts with the first contact, so that the main controller determines that the rotating member is in the reset state. The winding control method further comprises:

14. The take-up control method according to claim 13, wherein After determining that the rotating member is successfully reset, the first driving member is powered off. The winding mechanism comprises:

15. A winding mechanism wherein, a winding assembly for carrying and accommodating a wire body; ​ A monitoring assembly is connected with the wire body and the winding assembly respectively, for monitoring the working state of the wire body, and the winding control method of any one of claims 1 to 14 is used to control the winding assembly to wind the wire body.

Citation Information

Patent Citations

  • Switch of clutch pedal for vehicle

    CN102485522A

  • Electric automobile vehicle-mounted charging system and method thereof

    CN106891759A

  • Multifunctional charger capable of automatically taking up and paying off wires

    CN210404804U

  • Data line device

    CN220209573U

  • Winding mechanism and data line device

    CN223133818U