Silk thread winding method, electronic equipment and computer readable storage medium
By obtaining the wire tension in the winding control system and adjusting the winding speed, the problems of unsmooth surface, uneven end surface and high waste wire rate after the wire is wound, and the effect of flat silk thread winding and reducing waste wire rate is achieved.
Patent Information
- Application Number
- CN202311434681.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-31
- Publication Date
- 2025-05-02
AI Technical Summary
In the prior art, the surface of the wire wound behind the roll is not smooth, the end surface is not neat, and the waste wire rate is high.
By obtaining the tension on the wire in the winding control system and adjusting the winding speed of the winding equipment according to the tension, ensure that the wire is rolled flat on the roll. When the wire winding reaches the target length, the control winding equipment is shut down.
The surface of the wire coiled in the drum is smooth and the end surface is neat, reducing the waste wire rate.
Smart Images

Figure CN119911754A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of wire winding control, and in particular to a wire winding method, an electronic device and a computer-readable storage medium. Background Art
[0002] In the plastic woven products industry, wire winding and reeling is a particularly important link. In the prior art, after the wire is drawn, heated and cooled to form, it is reeled onto a reel by a winding device. The reeling process is periodic, but since the reel diameter of the wire continues to increase after being wound on the reel, the surface and end face of the wire wound on the reel are not smooth enough, and the waste rate of the product is increased. In view of this, how to make the surface of the wire after being wound on the reel smooth and the end face neat, and reduce the waste rate has become an urgent problem to be solved. Summary of the invention
[0003] The main technical problem solved by the present application is to provide a wire winding method, an electronic device and a computer-readable storage medium, which can make the surface of the wire after being wound on the reel smooth and the end face neat, thereby reducing the waste rate.
[0004] In order to solve the above technical problems, a technical solution adopted in the present application is: to provide a wire winding method, which is applied to a winding control system, and the winding control system is used to control a winding device, and the wire winding method includes: obtaining a control instruction of the winding device; wherein the control instruction at least includes a start instruction of the winding device, and a target length of the wire wound by the winding device; executing the start instruction to control the winding device to wind the wire onto a reel; obtaining the tension on the wire, and adjusting the winding speed of the winding device based on the tension on the wire; and controlling the winding device to stop in response to the wire being wound on the reel to reach the target length.
[0005] Wherein, the winding device at least includes a winding motor corresponding to the reel, a guide plate located on one side of the reel, and a wire arranging motor corresponding to the guide plate; the execution of the start-up instruction controls the winding device to wind the wire onto the reel, including: executing the start-up instruction, obtaining the winding speed of the winding motor and determining the wire arranging speed of the wire arranging motor based on the winding speed; controlling the winding motor to drive the reel to rotate and wind the wire, and controlling the wire arranging motor to drive the guide plate to reciprocate to adjust the position of the wire on the reel.
[0006] Wherein, the starting instruction includes the initial speed of the winding motor, and the obtaining of the winding speed of the winding motor and determining the wire traversing speed of the wire traversing motor based on the winding speed includes: in response to the winding motor not being started and obtaining the starting instruction, using the initial speed as the real-time winding speed of the winding motor; or, in response to the winding motor being started, obtaining the number of pulses of the winding motor within a preset time interval, and determining the real-time winding speed of the winding motor based on the preset time interval and the number of pulses; determining the wire traversing speed based on the winding speed, the first lead of the guide plate and the second lead of the guide plate; wherein, the first lead is the distance the guide plate moves when the winding motor rotates one circle, and the second lead is the distance the guide plate moves when the wire traversing motor rotates one circle.
[0007] Wherein, obtaining the tension on the wire and adjusting the winding speed of the winding device based on the tension on the wire include: obtaining a detection voltage corresponding to the tension on the wire; wherein the detection voltage corresponds to a first voltage threshold and a second voltage threshold, and the first voltage threshold is less than the second voltage threshold; based on the detection voltage and its corresponding first voltage threshold and second voltage threshold, adjusting the winding speed and the wire arrangement speed.
[0008] Wherein, the adjusting of the winding speed and the wire arranging speed based on the detection voltage and the first voltage threshold and the second voltage threshold corresponding thereto includes: in response to the detection voltage being less than the first voltage threshold, increasing the speed of the winding motor to an updated winding speed, returning to the step of acquiring the winding speed of the winding motor and determining the wire arranging speed of the wire arranging motor based on the winding speed, obtaining the updated wire arranging speed, and increasing the speed of the wire arranging motor to the updated wire arranging speed; in response to the detection voltage being greater than the second voltage threshold, reducing the speed of the winding motor to an updated winding speed, returning to the step of acquiring the winding speed of the winding motor and determining the wire arranging speed of the wire arranging motor based on the winding speed, obtaining the updated wire arranging speed, and reducing the speed of the wire arranging motor to the updated wire arranging speed; in response to the detection voltage being between the first voltage threshold and the second voltage threshold, keeping the winding speed of the winding motor and the wire arranging speed of the wire arranging motor unchanged.
[0009] Wherein, the winding device also includes a human-computer interaction interface and a fault light. After adjusting the winding speed and the wire arrangement speed based on the detection voltage and its corresponding first voltage threshold and second voltage threshold, it also includes: in response to the detection voltage being less than the first voltage threshold for a duration exceeding a first duration threshold, the fault light is flashed in a first flashing mode and a first fault code is displayed on the human-computer interaction interface; wherein, the first flashing mode and the first fault code correspond to too low tension on the silk thread; in response to the detection voltage being greater than the second voltage threshold for a duration exceeding a second duration threshold, the fault light is flashed in a second flashing mode and a second fault code is displayed on the human-computer interaction interface; wherein, the second flashing mode and the second fault code correspond to too high tension on the silk thread.
[0010] Wherein, the control instruction also includes a plurality of winding diameter reference values whose numerical values increase successively and a winding ratio corresponding to the winding diameter reference values, wherein the winding diameter reference value with the smallest numerical value corresponds to the initial winding diameter of the reel; in response to the silk thread being wound on the reel reaching the target length, before controlling the winding device to stop, it also includes: obtaining the real-time winding diameter corresponding to the silk thread wound on the reel; in response to the real-time winding diameter reaching any of the winding diameter reference values, taking the corresponding winding diameter reference value as the current winding diameter value, and controlling the winding device to wind the silk thread on the reel according to the winding ratio corresponding to the current winding diameter value.
[0011] Among them, obtaining the real-time winding diameter corresponding to the silk thread wound on the reel includes: determining the initial linear speed corresponding to the silk thread based on the initial winding diameter and the initial rotation speed; determining the real-time winding diameter corresponding to the silk thread based on the real-time winding rotation speed of the winding motor and the initial linear speed.
[0012] To solve the above technical problems, another technical solution adopted in the present application is: to provide an electronic device, the electronic device comprising: a memory and a processor coupled to each other, wherein the memory stores program data, and the processor calls the program data to implement the wire winding method in the above technical solution.
[0013] In order to solve the above technical problems, another technical solution adopted in the present application is: providing a computer-readable storage medium on which program data is stored, wherein the program data, when executed by a processor, implements the wire winding method in the above technical solution.
[0014] The beneficial effect of the present application is as follows: different from the prior art, the wire winding method proposed in the present application is applied to a winding control system, and the winding control system is used to control the winding device to wind the wire onto a reel, obtain the tension on the wire and adjust the winding speed of the winding device based on the tension on the wire. When the wire is wound onto the reel and the winding diameter changes, the tension on the wire changes accordingly. The winding speed of the winding device is adjusted according to the tension on the wire so that the wire can be wound onto the reel smoothly. When the wire reaches the target length after being wound onto the reel, the winding device is controlled to stop, so that the surface of the wire after being wound onto the reel is smooth, the end face is neat, and the waste wire rate is reduced. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. Among them:
[0016] Figure 1 This is a schematic diagram of a process of an embodiment of a wire winding method of the present application;
[0017] Figure 2 This is a front structural schematic diagram of an embodiment of a winding device of the present application;
[0018] Figure 3 is a flowchart of an implementation method corresponding to step S102;
[0019] Figure 4 A schematic flow chart of an implementation of obtaining the winding speed of the winding motor and determining the wire arranging speed of the wire arranging motor based on the winding speed in step S201;
[0020] Figure 5 is a flowchart of an implementation method corresponding to step S103;
[0021] Figure 6 is a flowchart of an implementation method corresponding to step S402;
[0022] Figure 7 is a flow chart corresponding to an implementation method after step S402;
[0023] Figure 8 It is a flowchart diagram corresponding to an implementation method before step S104;
[0024] Fig. 9 is a flowchart of an implementation method corresponding to step S701;
[0025] Fig.10This is a schematic diagram of the structure of an embodiment of an electronic device of the present application;
[0026] Fig.11 This is a schematic diagram of the structure of an embodiment of a computer-readable storage medium of the present application. DETAILED DESCRIPTION
[0027] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0028] See also Figure 1 , Figure 1 This is a schematic flow chart of an embodiment of a wire winding method of the present application. The method is applied to a winding control system, and the winding control system is used to control a winding device. The method includes:
[0029] Step S101: obtaining a control instruction of a winding device; wherein the control instruction at least includes a start instruction of the winding device and a target length of the wire wound by the winding device.
[0030] Specifically, the winding control system obtains a control instruction for controlling the winding device, wherein the control instruction at least includes a start instruction of the winding device and a target length of the wire wound by the winding device.
[0031] In one application mode, the winding device corresponds to a human-machine interaction interface, and the human-machine interaction interface is coupled to the winding control system. The human-machine interaction interface is used to facilitate setting parameters to generate control instructions. In response to completing the settings on the human-machine interaction interface, control instructions for controlling the winding device are obtained. The control instructions include a start-up instruction for the winding device, a target length of the silk thread wound by the winding device, and a target winding ratio corresponding to the target length.
[0032] In another application mode, the target length of the wire wound by the winding device is pre-set, and the winding device corresponds to a start button. In response to the start button being triggered, a control instruction for controlling the winding device is obtained, and the control instruction includes a start instruction for the winding device and the target length of the wire wound by the winding device.
[0033] In one application scenario, the winding device corresponds to a human-machine interaction interface, which is coupled to the winding control system. The staff can set the target length and other parameters on the human-machine interaction interface. After confirming that the parameter settings are completed, a digital input signal corresponding to the control instruction is generated. The control instruction includes at least a start instruction of the winding device and a target length of the winding device for winding the wire. The winding control system determines the start instruction of the winding device and sets the target length of the winding device for winding the wire by obtaining the digital input signal.
[0034] Optionally, the target length may be 5000 meters, 8000 meters or other customized lengths, which is not limited in this application.
[0035] Step S102: Execute the start instruction to control the winding device to wind the silk thread onto the reel.
[0036] Specifically, the start instruction is executed to control the winding device to start so that the winding device winds the wire onto the reel.
[0037] Optionally, the winding control system determines whether the starting quality of the winding device is effective, and if effective, executes the starting instruction and controls the winding device to wind the silk thread onto the reel.
[0038] In one application, the reel is independently arranged from the winding device and reciprocates. The winding device includes a drive motor corresponding to the reel, which is used to drive the reel to rotate, execute a start instruction, and control the drive motor of the winding device to drive the reel to rotate, thereby winding the silk thread onto the reel.
[0039] In another application mode, the reel is disposed on a winding device, which includes a winding motor and a wire-laying motor. The winding motor is used to drive the reel to rotate, and the wire-laying motor is used to change the position of the wire on the reel. The start instruction is executed to control the winding motor of the winding device to drive the reel to rotate, and drive the wire-laying motor to change the position of the wire on the reel, thereby winding the wire on the reel.
[0040] Step S103: obtaining the tension on the silk thread, and adjusting the winding speed of the winding device based on the tension on the silk thread.
[0041] Specifically, when the wire is wound on the reel, causing the winding diameter to change, the tension on the wire also changes accordingly. The winding control system obtains the tension on the wire and adjusts the winding speed of the winding device according to the tension.
[0042] In one application, the reel is independently arranged from the winding device and reciprocates. The winding device includes a driving motor corresponding to the reel, which is used to drive the reel to rotate. When the silk thread is wound on the reel, the winding diameter changes, and the tension on the silk thread also changes accordingly. The winding control system obtains the tension on the silk thread and adjusts the rotation speed of the driving motor according to the tension, thereby adjusting the speed at which the reel winds the silk thread.
[0043] In another application mode, the reel is arranged on a winding device, and the winding device includes a winding motor and a wire-laying motor. The winding motor is used to drive the reel to rotate, and the wire-laying motor is used to change the position of the wire on the reel. When the wire is wound on the reel, the winding diameter changes, and the tension on the wire also changes accordingly. The winding control system obtains the tension on the wire and adjusts the winding speed of the winding motor according to the tension. At this time, the wire-laying speed of the wire-laying motor is adjusted based on the change in the winding speed, thereby adjusting the speed at which the winding device winds up the wire.
[0044] In one application scenario, a reel is disposed on a winding device, and the winding device includes a winding motor and a wire-laying motor. The winding motor is used to drive the reel to rotate, and the wire-laying motor is used to change the position of the wire on the reel. The tension on the wire corresponds to an analog input signal. When the wire is wound on the reel, causing the winding diameter to change, the analog input signal corresponding to the tension on the wire also changes accordingly. The winding control system obtains the tension on the wire by obtaining the analog input signal, and adjusts the winding speed of the winding motor according to the change in tension. At this time, the wire-laying speed of the wire-laying motor is adjusted based on the change in the winding speed, thereby adjusting the speed at which the winding device winds up the wire so that the wire can be smoothly wound on the reel.
[0045] Step S104: in response to the wire being wound on the drum reaching a target length, the winding device is controlled to stop.
[0046] Specifically, when the wire is wound on the drum to reach a target length, the winding control system controls the winding device to stop.
[0047] In one application, the control instruction further includes a stop instruction of the winding device. In response to the wire being wound on the reel reaching a target length, the winding control system executes the stop instruction to control the winding device to stop.
[0048] In another application mode, the winding device has a stop button and a buzzer. In response to the silk thread winding on the reel reaching the target length, the buzzer starts, the stop button is triggered immediately, and the winding control system controls the winding device to stop.
[0049] The wire winding method provided in this embodiment is applied to a winding control system, which is used to control the winding device to wind the wire onto a reel, obtain the tension on the wire and adjust the winding speed of the winding device based on the tension on the wire. When the wire is wound onto the reel, causing the winding diameter to change, the tension on the wire changes accordingly. The winding speed of the winding device is adjusted according to the tension on the wire so that the wire can be wound onto the reel smoothly. When the wire reaches the target length after being wound onto the reel, the winding device is controlled to stop, so that the surface of the wire after being wound onto the reel is smooth and the end face is neat, thereby reducing the waste wire rate.
[0050] In one embodiment, see Figure 2 and Figure 3 , Figure 2 This is a front structural schematic diagram of an embodiment of the winding device of the present application. Figure 3 1 is a flow chart of an embodiment corresponding to step S102. The winding device 100 includes at least a winding motor (not labeled) corresponding to the reel 101, a guide plate 102 located on one side of the reel 101, and a wire arrangement motor (not labeled) corresponding to the guide plate 102. Step S102 specifically includes:
[0051] Step S201: executing a start instruction, obtaining a winding speed of the winding motor and determining a wire arranging speed of the wire arranging motor based on the winding speed.
[0052] Specifically, after the winding control system executes the start command, it will obtain the winding speed of the winding motor. At this time, the wire arranging speed of the wire arranging motor is determined by the winding speed of the winding motor.
[0053] In one specific embodiment, see Figure 4 , Figure 4 The flowchart of an embodiment of obtaining the winding speed of the winding motor in step S201 and determining the wire arranging speed of the wire arranging motor based on the winding speed is shown in FIG. 1 . The start instruction includes the initial speed of the winding motor. Step S201 specifically includes:
[0054] Step S301: In response to the winding motor not being started and obtaining a start instruction, the initial speed is used as the real-time winding speed of the winding motor; or, in response to the winding motor being started, the number of pulses of the winding motor within a preset time interval is obtained, and the real-time winding speed of the winding motor is determined based on the preset time interval and the number of pulses.
[0055] In one application scenario, the winding motor is not started, and the staff will set an initial speed start instruction and send it to the winding motor. The winding motor starts to rotate according to the set initial speed. At this time, the winding control system uses the initial speed as the real-time winding speed of the winding motor.
[0056] In another application scenario, the winding motor is running at the set speed. The winding control system obtains the number of pulses of the winding motor within the preset time interval through the HDI (High Density Interconnector) circuit board, and calculates the real-time winding speed of the winding motor according to the preset time interval and the number of pulses. The calculation formula of the winding speed of the winding motor is:
[0057]
[0058] Among them, N is the winding speed of the winding motor, the unit is r / min, that is, revolutions per minute, T is the preset time interval, P is the number of pulses of the winding motor in one rotation, and M is the number of pulses of the winding motor obtained within the preset time interval.
[0059] Step S302: Determine the wire traversing speed based on the winding speed, the first lead of the guide plate and the second lead of the guide plate; wherein the first lead is the distance the guide plate moves when the winding motor rotates one circle, and the second lead is the distance the guide plate moves when the wire traversing motor rotates one circle.
[0060] Please continue reading Figure 2 In this embodiment, the winding device 100 further includes a groove drum 104 (wire guide cam) and a screw rod 103. The groove drum 104 is connected to the guide plate 102. When the wire arrangement motor rotates, the groove drum 104 is driven to rotate, and the groove drum 104 drives the guide plate 102 to reciprocate. The wire 108 is connected to the guide plate 102, and the guide plate 102 drives the wire 108 to reciprocate on the screw rod 103. At this time, the wire arrangement motor only needs to run in the same direction, which reduces the difficulty of debugging the winding device 100 and also reduces the waste rate of the wire 108. The calculation formula of the wire arrangement speed of the wire arrangement motor is:
[0061]
[0062] Among them, n is the wire-laying speed of the wire-laying motor, the unit is r / min, that is, revolutions per minute, N is the winding speed of the winding motor, A is the first lead, and B is the second lead.
[0063] Step S202: Control the winding motor to drive the reel to rotate and wind the wire, and control the wire arrangement motor to drive the guide plate to reciprocate and adjust the position of the wire on the reel.
[0064] Specifically, the winding control system controls the winding motor to drive the reel 101 to rotate so that the wire 108 is wound on the reel 101 , and the winding control system controls the wire arrangement motor to drive the guide plate 102 to reciprocate to adjust the position of the wire 108 on the reel 101 .
[0065] In one embodiment, see Figure 5 , Figure 5FIG. 1 is a flow chart of an implementation method corresponding to step S103, wherein step S103 specifically includes:
[0066] Step S401: obtaining a detection voltage corresponding to the tension on the thread; wherein the detection voltage corresponds to a first voltage threshold and a second voltage threshold, and the first voltage threshold is smaller than the second voltage threshold.
[0067] In this implementation, please continue to refer to Figure 2 The winding device 100 also includes a swing rod 106, a moving roller 107 and a fixed roller 105. The staff will roll the silk thread 108 as shown in the attached Figure 2 In other embodiments, different methods other than the attached method may be used. Figure 2 The wire 108 is hung on the winding device 100 in a manner, which is not limited in this application. When the wire 108 is wound on the reel 101, the swing rod 106 will swing accordingly. At this time, the tension on the wire 108 will change. The winding control system acquires the detection voltage corresponding to the tension on the wire 108 by collecting the analog input signal. The detection voltage corresponds to a first voltage threshold and a second voltage threshold. In this embodiment, the first voltage threshold is the lower limit voltage value of the detection voltage, and the second voltage threshold is the upper limit voltage value of the detection voltage. In other embodiments, the first voltage threshold can be the minimum voltage value, and the second voltage threshold can be the maximum voltage value. This application does not limit this.
[0068] Step S402: adjusting the winding speed and the cable arrangement speed based on the detection voltage and the first voltage threshold and the second voltage threshold corresponding thereto.
[0069] Specifically, the winding control system adjusts the winding speed of the winding motor and the wire arranging speed of the wire arranging motor by obtaining the detection voltage corresponding to the tension on the wire 108 and the corresponding first voltage threshold and second voltage threshold.
[0070] See also Figure 6 , Figure 6 FIG. 4 is a flow chart of an implementation method corresponding to step S402, wherein step S402 specifically includes:
[0071] Step S501: In response to the detection voltage being less than the first voltage threshold, the speed of the winding motor is increased to an updated winding speed, and the process returns to the step of obtaining the winding speed of the winding motor and determining the wire traversing speed of the wire traversing motor based on the winding speed to obtain the updated wire traversing speed, and the speed of the wire traversing motor is increased to the updated wire traversing speed.
[0072] Specifically, in this embodiment, when the detected voltage is less than the voltage lower limit, the winding control system will increase the speed of the winding motor to the updated winding speed and return to the above-mentioned step S201 to obtain the updated wire traversing speed. At this time, the speed of the wire traversing motor will also increase to the updated wire traversing speed, and the system will operate normally.
[0073] Step S502: In response to the detection voltage being greater than the second voltage threshold, the speed of the winding motor is reduced to the updated winding speed, and the process returns to the step of obtaining the winding speed of the winding motor and determining the wire traversing speed of the wire traversing motor based on the winding speed to obtain the updated wire traversing speed, and the speed of the wire traversing motor is reduced to the updated wire traversing speed.
[0074] Specifically, in this embodiment, when the detected voltage is greater than the voltage upper limit value, the winding control system will reduce the speed of the winding motor to the updated winding speed and return to the above-mentioned step S201 to obtain the updated wire traversing speed. At this time, the speed of the wire traversing motor will also be reduced to the updated wire traversing speed, and the system will operate normally.
[0075] Step S503: in response to the detection voltage being between the first voltage threshold and the second voltage threshold, keeping the winding speed of the winding motor and the wire arranging speed of the wire arranging motor unchanged.
[0076] Specifically, in this embodiment, when the detected voltage is between the lower voltage limit and the upper voltage limit, the winding control system uses the winding speed of the winding motor and the wire arranging speed of the wire arranging motor as the real-time winding speed of the winding motor and the wire arranging speed of the wire arranging motor, and the system operates normally.
[0077] In one embodiment, the winding device 100 further includes a human-machine interface (not labeled) and a fault light (not labeled), see Figure 7 , Figure 7 4 is a flow chart corresponding to an embodiment after step S402, wherein the wire 108 winding method further includes:
[0078] Step S601: In response to the detection voltage being less than the first voltage threshold for a duration exceeding the first duration threshold, the fault light flashes in a first flashing mode and a first fault code is displayed on the human-computer interaction interface; wherein the first flashing mode and the first fault code correspond to too low tension on the thread.
[0079] Specifically, when the winding control system fails to increase the winding speed of the winding motor to the normal winding speed within the first time threshold, the fault light will flash in a first flashing mode, wherein the first time threshold may be 30s, 40s, 50s, etc., and the first flashing mode may be 2s flashing, 3s flashing, etc., which is not limited in the present application. The staff may also see the first fault code displayed on the human-computer interaction interface to facilitate timely detection of faults. The first fault code may be that the system tension is too low, the machine has been shut down, etc., which is not limited in the present application.
[0080] Step S602: In response to the detection voltage being greater than the second voltage threshold for a duration exceeding the second duration threshold, the fault light flashes in a second flashing mode and a second fault code is displayed on the human-computer interaction interface; wherein the second flashing mode and the second fault code correspond to excessive tension on the thread.
[0081] Specifically, when the winding control system fails to reduce the winding speed of the winding motor to the normal winding speed within the second time threshold, the fault light will flash according to the second flashing mode, wherein the second time threshold can be 30s, 40s, 50s, etc., and the second flashing mode can be continuous flashing, etc. The second flashing mode is distinguished from the first flashing mode to facilitate the distinction between different faults. The present application does not limit this. The staff can also see the second fault code displayed on the human-computer interaction interface to facilitate timely detection of faults. The second fault code can be excessive system tension, shutdown, etc., which is not limited to this in the present application.
[0082] In one embodiment, see Figure 8 , Figure 8 It is a flow chart corresponding to an implementation mode before step S104 , and the control instruction also includes a plurality of winding diameter reference values with increasing values and winding ratios corresponding to the winding diameter reference values, wherein the winding reference value with the smallest value corresponds to the initial winding diameter of the reel 101 .
[0083] Specifically, the winding diameter is the diameter of the wire 108 after it is wound on the reel 101 to form a roll, and the winding ratio is the number of winding turns of the wire 108 on the reel 101 after the guide plate 102 makes a reciprocating motion. By setting the parameter of the winding ratio, it is possible to achieve a specific winding process by real-time adjusting the winding speed of the winding motor and the wire arranging speed of the wire arranging motor to ensure that the surface of the wire 108 after being wound on the reel 101 is smooth, the end face is neat, and the waste rate is reduced while maintaining a constant conveying speed of the wire 108.
[0084] Furthermore, before the above step S104, the following steps are also included:
[0085] Step S701: obtaining the real-time winding diameter of the silk thread wound on the reel.
[0086] Specifically, when the wire 108 is wound on the reel 101, the winding control system will obtain the corresponding real-time winding diameter.
[0087] Step S702: In response to the real-time winding diameter reaching any winding diameter reference value, the corresponding winding diameter reference value is used as the current winding diameter value, and the winding device is controlled to wind the wire on the reel according to the winding ratio corresponding to the current winding diameter value.
[0088] Specifically, when the real-time winding diameter reaches any winding diameter reference value, the winding control system will use the corresponding winding diameter reference value as the current winding diameter value and control the winding device 100 to wind the wire 108 on the reel 101 according to the winding ratio corresponding to the current winding diameter value.
[0089] In one embodiment, see Fig. 9 , Fig. 9 FIG. 5 is a flow chart of an implementation method corresponding to step S701, wherein step S701 specifically includes:
[0090] Step S801: determining an initial linear velocity corresponding to the wire 108 based on an initial winding diameter and an initial rotation speed.
[0091] Specifically, the winding control system calculates the initial linear velocity of the wire 108 according to the initial winding diameter and the initial rotation speed of the winding motor, and the calculation formula is:
[0092] V0=N0×π×C0 (3)
[0093] Among them, V0 is the initial linear velocity, N0 is the initial rotation speed, and D0 is the initial winding diameter.
[0094] Step S802: Determine the real-time winding diameter of the wire based on the real-time winding speed of the winding motor and the initial line speed.
[0095] Specifically, the winding control system determines the real-time winding diameter of the wire 108 according to the real-time winding speed of the winding motor and the calculated initial line speed, and the calculation formula is:
[0096]
[0097] Wherein, D is the real-time winding diameter, V0 is the initial linear velocity, and N is the real-time winding speed of the winding motor.
[0098] See also Fig.10 , Fig.10This is a structural diagram of an embodiment of an electronic device of the present application, and the electronic device includes a memory 10 and a processor 20 coupled to each other, and program instructions are stored in the memory 10, and the processor 20 calls program data to execute the steps of the wire winding method in the above embodiment. Specifically, the electronic device includes but is not limited to: a desktop computer, a laptop computer, a tablet computer, a server, etc., which are not limited here. In addition, the processor 20 can also be called a CPU (Center Processing Unit). The processor 20 may be an integrated circuit chip with signal processing capabilities. The processor 20 can also be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field-programmable gate array (Field-Programmable Gate Array, FPGA), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. In addition, the processor 20 can be implemented by an integrated circuit chip.
[0099] See also Fig.11 , Fig.11 This is a schematic diagram of the structure of an embodiment of a computer-readable storage medium of the present application. The computer-readable storage medium 30 stores program data 40. When the program data 40 is executed by the processor 20, the wire winding method in any of the above embodiments is implemented.
[0100] It should be noted that the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present implementation scheme.
[0101] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0102] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) or a processor (processor) to perform all or part of the steps of each implementation method of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program code.
[0103] The above description is only an implementation method of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly used in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A wire winding method, characterized in that: Applied to a winding control system, the winding control system is used to control a winding device, the wire winding method comprises: Obtaining a control instruction of the winding device; wherein the control instruction at least includes a start instruction of the winding device and a target length of the wire wound by the winding device; Executing the start instruction to control the winding device to wind the wire onto the reel; Acquiring the tension on the wire, and adjusting the winding speed of the winding device based on the tension on the wire; In response to the wire being wound on the drum reaching the target length, the winding device is controlled to stop.
2. The wire winding method according to claim 1, characterized in that: The winding device at least includes a winding motor corresponding to the reel, a guide plate located on one side of the reel, and a wire arrangement motor corresponding to the guide plate; The executing the start instruction to control the winding device to wind the wire onto the reel comprises: Executing the start instruction, acquiring the winding speed of the winding motor and determining the wire arranging speed of the wire arranging motor based on the winding speed; The winding motor is controlled to drive the reel to rotate and wind the wire, and the wire arrangement motor is controlled to drive the guide plate to reciprocate and adjust the position of the wire on the reel.
3. The wire winding method according to claim 2, characterized in that: The start instruction includes an initial speed of the winding motor, and the acquiring the winding speed of the winding motor and determining the wire arranging speed of the wire arranging motor based on the winding speed includes: In response to the winding motor not being started and obtaining the start instruction, the initial speed is used as the real-time winding speed of the winding motor; or, in response to the winding motor being started, the number of pulses of the winding motor within a preset time interval is obtained, and the real-time winding speed of the winding motor is determined based on the preset time interval and the number of pulses; The wire arranging speed is determined based on the winding speed, the first lead of the guide plate and the second lead of the guide plate; wherein the first lead is the distance the guide plate moves when the winding motor rotates one circle, and the second lead is the distance the guide plate moves when the wire arranging motor rotates one circle.
4. The wire winding method according to claim 2, characterized in that: The obtaining of the tension on the wire and adjusting the winding speed of the winding device based on the tension on the wire comprises: Acquire a detection voltage corresponding to the tension on the wire; wherein the detection voltage corresponds to a first voltage threshold and a second voltage threshold, and the first voltage threshold is less than the second voltage threshold; The winding speed and the wire arrangement speed are adjusted based on the detection voltage and the first voltage threshold and the second voltage threshold corresponding to the detection voltage.
5. The wire winding method according to claim 4, characterized in that: The adjusting the winding speed and the cable arrangement speed based on the detection voltage and the first voltage threshold and the second voltage threshold corresponding thereto includes: In response to the detection voltage being less than the first voltage threshold, increasing the speed of the winding motor to an updated winding speed, returning to the step of acquiring the winding speed of the winding motor and determining the wire traversing speed of the wire traversing motor based on the winding speed, obtaining an updated wire traversing speed, and increasing the speed of the wire traversing motor to the updated wire traversing speed; In response to the detection voltage being greater than the second voltage threshold, the rotation speed of the winding motor is reduced to an updated winding rotation speed, and the process returns to the step of acquiring the winding rotation speed of the winding motor and determining the wire traversing rotation speed of the wire traversing motor based on the winding rotation speed to obtain an updated wire traversing rotation speed, and the rotation speed of the wire traversing motor is reduced to the updated wire traversing rotation speed; In response to the detection voltage being between the first voltage threshold and the second voltage threshold, the winding speed of the winding motor and the wire traversing speed of the wire traversing motor are kept unchanged.
6. The wire winding method according to claim 4 or 5, characterized in that: The winding device further includes a human-machine interaction interface and a fault light. After adjusting the winding speed and the wire arrangement speed based on the detection voltage and the first voltage threshold and the second voltage threshold corresponding thereto, the device further includes: In response to the detection voltage being less than the first voltage threshold for a duration exceeding a first duration threshold, the fault light flashes in a first flashing manner and a first fault code is displayed on the human-computer interaction interface; wherein the first flashing manner and the first fault code correspond to too low tension on the thread; In response to the detection voltage being greater than the second voltage threshold for a duration exceeding a second duration threshold, the fault light flashes in a second flashing mode and a second fault code is displayed on the human-computer interaction interface; wherein the second flashing mode and the second fault code correspond to excessive tension on the silk thread.
7. The wire winding method according to claim 3, characterized in that: The control instruction further includes a plurality of winding diameter reference values with increasing values and winding ratios corresponding to the winding diameter reference values, wherein the winding diameter reference value with the smallest value corresponds to the initial winding diameter of the roll; In response to the wire being wound on the drum reaching the target length, before controlling the winding device to stop, the method further includes: Obtaining a real-time winding diameter corresponding to the silk thread wound on the reel; In response to the real-time winding diameter reaching any of the winding diameter reference values, the corresponding winding diameter reference value is used as the current winding diameter value, and the winding device is controlled to wind the wire onto the reel according to the winding ratio corresponding to the current winding diameter value.
8. The wire winding method according to claim 7, characterized in that: The step of obtaining the real-time winding diameter of the wire wound on the reel comprises: Determining an initial linear speed corresponding to the thread based on the initial coil diameter and the initial rotation speed; Based on the real-time winding speed of the winding motor and the initial linear speed, a real-time winding diameter corresponding to the wire is determined.
9. An electronic device, characterized in that: include: A memory and a processor coupled to each other, wherein the memory stores program data, and the processor calls the program data to execute the method according to any one of claims 1 to 8.
10. A computer-readable storage medium having program data stored thereon, characterized in that: When the program data is executed by a processor, the method according to any one of claims 1 to 8 is implemented.