Threading equipment control method and device, computer equipment, readable storage medium and program product
By receiving the abnormal threading signal of the lead and obtaining rotation information in the threading device, and updating the retracting and release rotation threshold, the problem of excessive retracting and release of leads is solved, the anti-retracting and release effect of the lead is achieved, and the safety and efficiency of the equipment are improved.
Patent Information
- Application Number
- CN202510339373.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-20
- Publication Date
- 2025-05-30
AI Technical Summary
During the use of the power wire wall wire pipe automatic threader, the leads are prone to excessive retraction and excessive release, resulting in damage to the leads and other parts of the machine. The prior art cannot accurately avoid over-retraction by measuring the lead length.
By receiving the threading abnormal signal of the lead in the threading device, the rotation information of the lead during the rotation of the line disk is obtained, the first rotation threshold matching the rotation direction of the line disk is determined, and when the first rotation threshold does not match the lead rotation information, the retracting and retracting rotation threshold is updated to ensure that the lead is prevented from over-retracting and retracting.
It realizes that under normal and abnormal triggering, ensures that the leads are protected from over-release and over-retraction, avoids lead damage, and improves the safety and efficiency of the threading equipment.
Smart Images

Figure CN120073554A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of power technologies, and in particular, to a method and device for controlling a wire threading device, a computer device, a computer-readable storage medium, and a computer program product. Background Art
[0002] With the development of power technologies, there appears a wire threading device, namely, an automatic wire threading device for power wires in wall conduits, which can automatically complete the wire threading work and improve the efficiency and safety of wire threading. However, during the use of the automatic wire threading device for power wires in wall conduits, the lead wire has a certain range of retraction and release. Users are prone to over-retract and over-release it inadvertently, resulting in damage to the lead wire and other parts of the machine.
[0003] In traditional technologies, generally, the method of measuring the length of the lead wire released and retracted is used to avoid over-retraction and over-release of the lead wire. However, due to the length differences between different lead wires, the measured length cannot accurately correspond to the retraction and release conditions of each lead wire. Therefore, the method of measuring the length of the lead wire released and retracted cannot ensure the anti-over-retraction and over-release effect of the lead wire. Summary of the Invention
[0004] Based on this, it is necessary to provide a method and device for controlling a wire threading device, a computer device, a computer-readable storage medium, and a computer program product that can ensure the anti-over-retraction and over-release effect of the lead wire for the above technical problems.
[0005] In a first aspect, the present application provides a method for controlling a wire threading device, including:
[0006] When receiving a wire threading abnormal signal for a lead wire in the wire threading device, obtaining lead wire rotation information generated during the rotation of the lead wire following a wire reel;
[0007] Determining a first rotation threshold that matches the rotation direction of the wire reel from the retraction and release rotation thresholds of the lead wire; the retraction and release rotation thresholds are used to represent the retraction and release range of the lead wire;
[0008] When the first rotation threshold does not match the lead wire rotation information, updating a second rotation threshold other than the first rotation threshold in the retraction and release rotation thresholds based on the difference between the first rotation threshold and the lead wire rotation information to obtain an updated threshold;
[0009] Taking the lead wire rotation information and the updated threshold as new retraction and release rotation thresholds.
[0010] In one embodiment, the wire threading abnormal signal is triggered by an induction element;
[0011] Determining a first rotation threshold that matches the rotation direction of the wire reel from the retracting and extending rotation thresholds of the lead includes:
[0012] Determining the component information of the sensing element that triggers the threading anomaly signal;
[0013] Based on the installation position of the component information, determining the rotation direction corresponding to the threading anomaly signal;
[0014] Determining a first rotation threshold that matches the rotation direction from the retracting and extending rotation thresholds of the lead.
[0015] In one embodiment, the lead rotation information includes the number of rotation turns;
[0016] The method further includes:
[0017] If the number of rotation turns is inconsistent with the first rotation threshold, determining that the first rotation threshold does not match the lead rotation information;
[0018] Determining the difference between the first rotation threshold and the lead rotation information as the difference in the number of turns between the first rotation threshold and the number of rotation turns.
[0019] In one embodiment, the method further includes:
[0020] Obtaining a first initial threshold and a retracting and extending range of the lead in the threading device;
[0021] During the process of the lead following the rotation of the wire reel, if the lead exceeds the retracting and extending range, obtaining the initial number of rotation turns of the lead;
[0022] When the difference between the initial number of rotation turns and the first initial threshold satisfies the difference condition, using the initial number of rotation turns as the first rotation threshold;
[0023] Based on the first rotation threshold and the retracting and extending range, determining a second rotation threshold of the lead.
[0024] In a second aspect, the present application further provides a threading device, the threading device includes a wire reel, a driving device, and a control device;
[0025] The wire reel is used for winding the lead;
[0026] The driving device is used to drive the wire reel to rotate so as to drive the lead to rotate;
[0027] The control device is used to implement the method described in any one of the above embodiments.
[0028] In one embodiment, the wire threading device further includes a housing, a wire releasing induction element, an inclined slot, and a slider disposed in the inclined slot;
[0029] The housing is disposed around the wire reel;
[0030] The inclined slot is inclinedly disposed on the wire reel and extends toward the winding side of the wire reel;
[0031] The wire releasing induction element is disposed between the housing and the wire reel; when the wire reel winds the lead wire, the wire releasing induction element is located between the housing and the lead wire;
[0032] When the wire reel is in the wire releasing rotation state, the slider moves from one end of the inclined slot away from the winding side to one end of the inclined slot close to the winding side; if the slider moves to the target position of the inclined slot, the wire releasing induction element is triggered by the slider to generate a wire threading abnormal signal, and then the stop operation is automatically executed.
[0033] In one embodiment, the wire threading device further includes a wire winding induction element;
[0034] The wire winding induction element is fixed to the housing;
[0035] One end of the lead wire is provided with a lead wire head;
[0036] When the wire reel is in the wire winding rotation state, if the lead wire head touches the wire winding induction element, the wire winding induction element is triggered to generate a wire threading abnormal signal, and then the stop operation is automatically executed.
[0037] In a third aspect, the present application further provides a wire threading device control device, including:
[0038] A rotation information acquisition module, configured to acquire lead wire rotation information generated during the rotation of the lead wire following the wire reel when receiving a wire threading abnormal signal for the lead wire in the wire threading device;
[0039] A rotation threshold determination module, configured to determine a first rotation threshold matching the rotation direction of the wire reel from the wire winding and unwinding rotation thresholds of the lead wire; the wire winding and unwinding rotation thresholds are used to characterize the wire winding and unwinding range of the lead wire;
[0040] An updated threshold determination module, configured to update a second rotation threshold other than the first rotation threshold in the wire winding and unwinding rotation thresholds to obtain an updated threshold based on the difference between the first rotation threshold and the lead wire rotation information when the first rotation threshold does not match the lead wire rotation information;
[0041] A retracting and extending rotation threshold updating module, configured to use the lead rotation information and the updating threshold as a new retracting and extending rotation threshold.
[0042] In a fourth aspect, the present application further provides a computer device. The computer device includes a memory and a processor. The memory stores a computer program, and when the processor executes the computer program, the steps of the method described above are implemented.
[0043] In a fifth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, and when the computer program is executed by a processor, the steps of the method described above are implemented.
[0044] In a sixth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the steps of the method described above are implemented.
[0045] In the above-mentioned wire threading device control method, device, computer device, computer-readable storage medium, and computer program product, when a wire threading abnormal signal for a lead in a wire threading device is received, lead rotation information generated during the rotation of the lead following the wire spool is obtained, and the current rotation condition of the lead can be determined. From the retracting and extending rotation thresholds used to characterize the retracting and extending range of the lead, a first rotation threshold matching the rotation direction of the wire spool is determined, and it can be determined whether the rotation threshold corresponding to the current rotation of the wire spool is a retracting rotation threshold or a paying-out rotation threshold. After that, since the first rotation threshold was originally set for the wire threading abnormal signal, if the first rotation threshold does not match the lead rotation information, it indicates that the triggering of the current wire threading abnormal signal is not a normal trigger. Therefore, based on the difference between the first rotation threshold and the lead rotation information, the second rotation threshold other than the first rotation threshold in the retracting and extending rotation thresholds is updated to obtain an updated threshold, and the lead rotation information and the updated threshold are used as new retracting and extending rotation thresholds to limit the subsequent rotation process of the lead, which can achieve the purpose of preventing over-paying-out and over-retracting of the lead under normal triggering and abnormal triggering conditions, and ensure the anti-over-retracting and anti-over-paying-out effect of the lead. Description of the Drawings
[0046] To more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the following will briefly introduce the drawings required for use in the description of the embodiments of the present application or related technologies. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other related drawings can be obtained based on these drawings.
[0047] Figure 1 It is an application environment diagram of the wire threading device control method in an embodiment;
[0048] Figure 2 is a schematic flow chart of a threading device control method in an embodiment;
[0049] Figure 3 is a structural block diagram of a threading device in an embodiment;
[0050] Figure 4 is a structural block diagram of a threading device in another embodiment;
[0051] Figure 5 is a structural block diagram of a threading device in yet another embodiment;
[0052] Figure 6 is a structural block diagram of a threading device in still another embodiment;
[0053] Figure 7 is a schematic flow chart of a threading device control method in another embodiment;
[0054] Figure 8 is a structural block diagram of a threading device control device in an embodiment;
[0055] Figure 9 is an internal structure diagram of a computer device in an embodiment.
[0056] Reference numerals: 10 - control device; 20 - signal sensor; 30 - wire reel; 40 - driving device; 50 - lead wire; 60 - housing; 70 - wire pay - off induction element; 80 - oblique groove; 90 - slider; 100 - wire take - up induction element; 110 - lead wire head; 120 - shrapnel. Detailed implementation manners
[0057] In order to make the objectives, technical solutions and advantages of the present application clearer and more understandable, the following further details the present application in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0058] The threading device control method provided by the embodiments of the present application can be applied to, for example Figure 1In the application environment shown. Among them, the control device 10 communicates with the signal sensor 20 through the network. Among them, the control device 10 can be but is not limited to various personal computers, laptop computers, smart phones, tablet computers, Internet of Things devices, and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart in-vehicle devices, projection devices, etc. The portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The head-mounted device can be a virtual reality (VR) device, an augmented reality (AR) device, smart glasses, etc. The signal sensor 20 is a sensing device that can sense and convert various physical quantities into electrical signals or other measurable signals. Specifically, in the process of controlling the threading device, when the control device 10 receives a threading abnormal signal for the lead wire in the threading device from the signal sensor 20, it obtains the lead wire rotation information generated during the rotation of the lead wire following the wire reel; determines a first rotation threshold that matches the rotation direction of the wire reel from the retraction and extension rotation thresholds of the lead wire; the retraction and extension rotation threshold is used to characterize the retraction and extension range of the lead wire; when the first rotation threshold does not match the lead wire rotation information, based on the difference between the first rotation threshold and the lead wire rotation information, update the second rotation threshold other than the first rotation threshold in the retraction and extension rotation threshold to obtain an updated threshold; use the lead wire rotation information and the updated threshold as the new retraction and extension rotation threshold.
[0059] In an exemplary embodiment, as Figure 2 shown, a threading device control method is provided. Taking the control device 10 in Figure 1 as an example, the following steps S202 to step S208 are included. Among them:
[0060] Step S202, when receiving a threading abnormal signal for the lead wire in the threading device, obtain the lead wire rotation information generated during the rotation of the lead wire following the wire reel.
[0061] Among them, the threading device is a professional tool used to thread wires, cables, network cables, etc. through obstacles such as walls, floors, and pipes during the installation process of lines. The threading device includes ordinary threaders, multi-functional threaders, and electric threaders, etc. In this embodiment, the threading device mainly refers to an automatic threading device for power cables in wall conduits. The lead wire in the threading device usually refers to a slender object used to guide wires, cables, etc. through obstacles such as walls, floors, and pipes.
[0062] The threading abnormal signal refers to the abnormal phenomena or error prompts that occur during the threading process. These signals may indicate problems in the threading process or the need for adjustment. In this embodiment, once a threading abnormal signal for the lead wire in the threading device is received, it means that the sensing element is triggered. At this time, the triggering of the sensing element includes two cases: normal triggering and abnormal triggering. Normal triggering occurs when the lead wire is released or retracted to a certain number of turns, that is, the sensing element is triggered; abnormal triggering occurs when the technician manually pulls the lead wire to an abnormal number of turns or the sensing element malfunctions and triggers the sensing element. At this time, the number of turns of the lead wire rotation is an uncertain value and may not be within the range of winding and unwinding.
[0063] The wire reel in the threading device, which is usually also called a cable reel, a wire reel or a winding reel, is a device specifically used for winding and storing cables. The lead wire rotation information refers to the corresponding rotation information during the rotation of the lead wire. For example, the lead wire rotation information may include the number of turns of the lead wire rotation and the rotation direction of the lead wire.
[0064] Specifically, during the operation of the threading device, if a threading abnormal signal for the lead wire in the threading device is received, it indicates that there is an over-winding or over-unwinding situation of the lead wire during the threading process, and it is necessary to determine the rotation situation of the lead wire at this time. Therefore, it is necessary to obtain the lead wire rotation information generated during the rotation of the lead wire following the wire reel, so as to determine the rotation situation of the lead wire. For example, the rotation information of the lead wire can be -5, 15, etc. Among them, "-5" represents that the lead wire rotates reversely for 5 turns, and "15" represents that the lead wire rotates forward for 15 turns.
[0065] Step S204, determine a first rotation threshold that matches the rotation direction of the wire reel from the winding and unwinding rotation thresholds of the lead wire.
[0066] Among them, the winding and unwinding rotation thresholds include a winding rotation threshold and an unwinding rotation threshold, which are used to characterize the winding and unwinding range of the lead wire. For example, the winding rotation threshold can be 0, and the unwinding rotation threshold can be 20, then the winding and unwinding range of the lead wire is 20. The rotation direction of the wire reel can be, for example, clockwise rotation or counterclockwise rotation. The first rotation threshold is one of the winding and unwinding rotation thresholds, and the first rotation threshold matches the rotation direction of the wire reel. For example, the rotation direction of the wire reel is clockwise, and in the case of the lead wire unwinding process corresponding to the clockwise direction, the first rotation threshold is the unwinding threshold.
[0067] Specifically, the control device needs to first determine the rotation threshold for winding and unwinding the lead wire. Since the rotation threshold for winding and unwinding the lead wire includes the winding rotation threshold and the unwinding rotation threshold, it is also necessary to determine which one of the winding rotation threshold and the unwinding rotation threshold is the first rotation threshold that matches the rotation direction of the wire reel. Exemplarily, the rotation direction of the wire reel can be determined based on the sensing element of the threading anomaly signal, or directly according to the threading direction corresponding to the lead wire rotation information. For example, the installation position of the sensing element corresponding to the triggered threading anomaly signal can be determined first. Since the installation positions of the sensing elements are different, the rotation direction of the wire reel can be determined according to the installation position of the sensing element. Another example is that if the threading direction in the lead wire rotation information is clockwise threading, then the rotation direction of the wire reel can be determined to be clockwise.
[0068] Step S206, in the case where the first rotation threshold does not match the lead wire rotation information, based on the difference between the first rotation threshold and the lead wire rotation information, update the second rotation threshold other than the first rotation threshold in the winding and unwinding rotation thresholds to obtain an updated threshold.
[0069] Among them, the second rotation threshold is the other rotation threshold in the winding and unwinding rotation thresholds except the first rotation threshold.
[0070] Specifically, if the first rotation threshold does not match the lead wire rotation information, it indicates that there may be an abnormality in the triggering process of this threading anomaly signal. For example, it may be due to the abnormal pulling out of the lead wire caused by manual pulling of the lead wire or the abnormal triggering of the threading anomaly signal caused by a malfunction of the sensing element itself. Therefore, in order to avoid problems in the subsequent lead wire threading process, it is necessary to adjust the winding and unwinding rotation thresholds, that is, based on the difference between the first rotation threshold and the lead wire rotation information, update the second rotation threshold other than the first rotation threshold in the winding and unwinding rotation thresholds to obtain an updated threshold. For example, if the first rotation threshold is the unwinding rotation threshold with a value of 20, the second rotation threshold is the winding rotation threshold with a value of 0, and the lead wire rotation information is 25, then based on the difference "5" between the first rotation threshold and the lead wire rotation information, the second rotation threshold can be updated to obtain an updated threshold of 5. Optionally, if the first rotation threshold matches the lead wire rotation information, there is no need to update the second rotation threshold.
[0071] Step S208, use the lead wire rotation information and the updated threshold as the new winding and unwinding rotation thresholds.
[0072] Specifically, using the lead wire rotation information and the updated threshold as the new winding and unwinding rotation thresholds for the subsequent lead wire threading process can ensure that the lead wire threading process always has a unified winding and unwinding range, and avoid abnormal phenomena of over-winding and over-unwinding in the subsequent threading process.
[0073] In the above-mentioned threading device control method, when a threading anomaly signal for the lead wire in the threading device is received, the lead wire rotation information generated during the rotation of the lead wire following the wire reel can be obtained, and the current rotation condition of the lead wire can be determined. From the retracting and paying-out rotation thresholds used to characterize the retracting and paying-out range of the lead wire, the first rotation threshold matching the rotation direction of the wire reel can be determined, and it can be determined whether the rotation threshold corresponding to the current rotation of the wire reel is the retracting rotation threshold or the paying-out rotation threshold. Subsequently, since the first rotation threshold is originally set for the threading anomaly signal, if the first rotation threshold does not match the lead wire rotation information, it indicates that the triggering of the current threading anomaly signal is not a normal trigger. Therefore, based on the difference between the first rotation threshold and the lead wire rotation information, the second rotation threshold other than the first rotation threshold in the retracting and paying-out rotation thresholds needs to be updated to obtain an updated threshold. The lead wire rotation information and the updated threshold are used as new retracting and paying-out rotation thresholds to limit the subsequent rotation process of the lead wire, and the purpose of preventing over-paying and over-retracting of the lead wire can be achieved in both normal trigger and abnormal trigger cases, ensuring the anti-over-retracting and anti-over-paying effect of the lead wire.
[0074] In an exemplary embodiment, the threading anomaly signal is triggered by an induction element; determining the first rotation threshold matching the rotation direction of the wire reel from the retracting and paying-out rotation thresholds of the lead wire includes: determining the element information of the induction element that triggers the threading anomaly signal; determining the rotation direction corresponding to the threading anomaly signal based on the installation position of the element information; and determining the first rotation threshold matching the rotation direction from the retracting and paying-out rotation thresholds of the lead wire.
[0075] Among them, the induction element is used to sense the threading anomaly condition of the lead wire. Once the induction element is triggered, the induction element will send out a threading anomaly signal, and at the same time, the lead wire will also stop threading. In this embodiment, the induction element can be a microswitch, an optoelectronic sensor, or a Hall sensor. The element information of the induction element refers to the element-related information of the induction element, such as the element type, installation position, element triggering method, etc.
[0076] Specifically, in the case of receiving a threading anomaly signal for the lead wire in the threading device, the component information of the sensing element that triggers the threading anomaly signal can be determined first. Since the triggering effects of the sensing elements arranged in the threading device are different, it can be understood that the installation positions of the sensing elements are also different. Therefore, based on the installation position of the component information, the rotation direction corresponding to the threading anomaly signal can be determined, and finally, from the winding and unwinding rotation thresholds of the lead wire, the first rotation threshold matching the rotation direction can be determined. For example, the sensing element for detecting over-unwinding is installed inside the housing of the threading device, and the sensing element for detecting over-winding is installed outside the housing of the threading device. Then, after receiving the threading anomaly signal, the installation position of the sensing element that triggers the threading anomaly signal can be determined first. Assuming it is installed inside the housing, then the rotation direction corresponding to the lead wire anomaly signal can be determined to be clockwise (in this embodiment, the unwinding direction is clockwise) based on this installation position. Therefore, the first rotation threshold matching the rotation direction can be determined from the winding and unwinding rotation thresholds of the lead wire.
[0077] In this embodiment, based on the installation position of the sensing element that triggers the threading anomaly signal, the rotation direction corresponding to the threading anomaly signal is determined, and then the first rotation threshold matching the rotation direction is determined, which can ensure the accuracy of the determination of the first rotation threshold and further ensure the accuracy of the subsequent control process of the threading device.
[0078] In an exemplary embodiment, the lead wire rotation information includes the number of rotation turns; the threading device control method further includes: if the number of rotation turns is inconsistent with the first rotation threshold, it is determined that the first rotation threshold does not match the lead wire rotation information; and the difference in the number of turns between the first rotation threshold and the number of rotation turns is determined as the difference between the first rotation threshold and the lead wire rotation information.
[0079] Specifically, if the number of rotation turns is inconsistent with the first rotation threshold, it is determined that the first rotation threshold does not match the lead wire rotation information. After that, the first rotation threshold is subtracted from the number of rotation turns to obtain the difference in the number of turns, and this difference in the number of turns is determined as the difference between the first rotation threshold and the lead wire rotation information. For example, if the first rotation threshold is the unwinding rotation threshold with a value of 20, and the lead wire rotation information is 25, then the difference between the first rotation threshold and the lead wire rotation information is 5.
[0080] In this embodiment, based on the difference in the number of turns between the number of rotation turns and the first rotation threshold, the difference between the first rotation threshold and the lead wire rotation information is determined, which can ensure the accuracy of the determination of the difference.
[0081] In an exemplary embodiment, the threading device control method further includes: obtaining a first initial threshold and a winding and unwinding range of the lead wire in the threading device; during the process that the lead wire rotates following the wire reel, if the lead wire exceeds the winding and unwinding range, obtaining the initial rotation turns of the lead wire; when the difference between the initial rotation turns and the first initial threshold meets the difference condition, taking the initial rotation turns as the first rotation threshold; and determining a second rotation threshold of the lead wire based on the first rotation threshold and the winding and unwinding range.
[0082] Wherein, the first initial threshold is the threshold of the first rotation threshold in the initial state. The initial rotation turns refer to the rotation turns of the lead wire when it exceeds the winding and unwinding range. The difference condition is preset. If there is a difference between the initial rotation turns and the first initial threshold, it indicates that the difference between the initial rotation turns and the first initial threshold meets the difference condition.
[0083] Specifically, since there may be some differences between the preset rotation threshold and the actual rotation threshold, the control device can first obtain the first initial threshold and the winding and unwinding range of the lead wire in the threading device. During the process that the lead wire rotates following the wire reel, if the lead wire exceeds the winding and unwinding range, obtain the initial rotation turns of the lead wire. If the difference between the initial rotation turns and the first initial threshold meets the difference condition, it indicates that the preset first initial threshold is inaccurate, and the initial rotation turns need to be taken as the first rotation threshold. Based on the first rotation threshold and the winding and unwinding range, determine the second rotation threshold of the lead wire. For example, assume that the first initial threshold is 0, the second initial threshold is 20, and the winding and unwinding range is 20. Then during the process that the lead wire rotates following the wire reel, if the lead wire exceeds the winding and unwinding range, and the obtained initial rotation turns of the lead wire is -2. Since the difference between this initial rotation turns and the first initial threshold meets the difference condition, that is, the first initial threshold "0" is inaccurate, therefore, "-2" needs to be taken as the first rotation threshold, and based on the first rotation threshold "-2" and the winding and unwinding range "20", determine the second rotation threshold of the lead wire as 18.
[0084] In this embodiment, when determining the rotation threshold, calibrating based on the rotation threshold and the winding and unwinding range in the actual situation can improve the accuracy of determining the rotation threshold.
[0085] In an exemplary embodiment, as Figure 3 shown, a threading device is further provided. The threading device includes a wire reel 30, a driving device 40, and a control device (not shown in the figure); the wire reel 30 is used for winding the lead wire 50; the driving device 40 is used for driving the wire reel 30 to rotate to drive the lead wire to rotate; the control device is used to implement the method of any one of the above embodiments.
[0086] Among them, the wire reel 30 in the wire threading device, which is usually also referred to as a cable reel, wire reel 30 or winding reel 30, is a device specifically used for winding and storing wires. The control device can be, but is not limited to, various personal computers, laptop computers, smart phones, tablet computers, Internet of Things devices and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart in-vehicle devices, projection devices, etc. The portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The head-mounted device can be a virtual reality (VR) device, an augmented reality (AR) device, smart glasses, etc. The driving device 40 refers to a device used to drive a mechanical or electronic device, for example, it can be a motor, a power source, etc. In this embodiment, the driving device 40 uses a power source.
[0087] Specifically, in this embodiment, a wire threading device is provided. The wire threading device includes a wire reel 30, a driving device 40 and a control device 10. During the operation of the wire threading device, the driving device 40 drives the wire reel 30 to rotate. Since the lead wire is wound on the wire reel 30, the rotation of the wire reel 30 will drive the lead wire to rotate, thereby performing the lead wire threading operation. The control device 10 can, when receiving a threading abnormality signal for the lead wire in the wire threading device, obtain the lead wire rotation information generated during the rotation of the lead wire following the wire reel 30, determine a first rotation threshold that matches the rotation direction of the wire reel 30 from the take-up and pay-out rotation thresholds of the lead wire. When the first rotation threshold does not match the lead wire rotation information, based on the difference between the first rotation threshold and the lead wire rotation information, update the second rotation threshold other than the first rotation threshold in the take-up and pay-out rotation thresholds to obtain an updated threshold, and use the lead wire rotation information and the updated threshold as the new take-up and pay-out rotation thresholds.
[0088] In an exemplary embodiment, as Figure 4 shown, the wire threading device further includes a housing 60, a wire pay-out induction element 70, an inclined slot 80, and a slider 90 disposed in the inclined slot 80; the housing 60 is disposed around the wire reel 30; the inclined slot 80 is inclinedly disposed on the wire reel 30 and extends toward the winding side of the wire reel 30; the wire pay-out induction element 70 is disposed between the housing 60 and the wire reel 30; when the wire reel 30 winds the lead wire, the wire pay-out induction element 70 is located between the housing 60 and the lead wire; when the wire reel 30 is in the wire pay-out rotation state, the slider 90 moves from the end of the inclined slot 80 away from the winding side to the end of the inclined slot 80 close to the winding side; if the slider 90 moves to the target position of the inclined slot 80, the wire pay-out induction element 70 is triggered by the slider 90 to generate a threading abnormality signal, and then the shutdown operation is automatically executed.
[0089] The oblique groove 80 may be an oblique straight groove or an oblique arc groove. The slider 90 may slide in the oblique groove 80. The target position refers to the position that can trigger the wire-releasing sensing element 70. The winding side specifically refers to the side of the wire drum 30 where the wire is wound, and can be used to characterize the outermost circumference of the wire drum 30. The oblique groove 80 is obliquely arranged on the wire drum 30 and extends toward the winding side of the wire drum 30 to ensure that one end of the oblique groove 80 is facing the outermost circumference of the wire drum 30.
[0090] Specifically, the housing 60 of the threading device is arranged on the periphery of the wire drum 30, the oblique groove 80 is obliquely arranged on the wire drum 30 and extends to the winding side of the wire drum 30, and the wire release sensing element 70 is arranged between the housing 60 and the wire drum 30. When the wire drum 30 is wound with the lead wire, the wire release sensing element 70 is located between the housing 60 and the lead wire. When the wire drum 30 is in a wire release rotation state, the slider 90 moves from the end of the oblique groove 80 away from the winding side to the end of the oblique groove 80 close to the winding side under the action of centrifugal force. If the slider 90 moves to the target position of the oblique groove 80, indicating that the lead wire is about to exceed the wire release range, the wire release sensing element 70 is triggered by the slider 90, and a threading abnormality signal is generated, and then the shutdown operation is automatically performed.
[0091] In this embodiment, through the cooperation between the wire-releasing sensing element 70, the oblique groove 80, and the slider 90 arranged in the oblique groove 80, an abnormal threading signal can be generated when the lead wire is about to exceed the wire-releasing range, and then the shutdown operation is automatically performed to avoid the lead wire being damaged due to the wire being re-releasing.
[0092] In an exemplary embodiment, Figure 5 As shown, the threading device also includes a wire-reeling sensing element 100; the wire-reeling sensing element 100 is fixed to the housing 60; a wire lead head 110 is provided at one end of the lead wire; when the wire drum 30 is in a wire-reeling rotating state, if the wire lead head 110 touches the wire-reeling sensing element 100, the wire-reeling sensing element 100 is triggered, generating a threading abnormality signal, and then automatically executing a shutdown operation.
[0093] The lead head 110 is a block-shaped object that is provided with a section of the lead.
[0094] Specifically, the wire-winding sensing element 100 is fixed to the housing 60, and a wire lead head 110 is provided at one end of the lead wire. When the wire reel 30 is in a wire-winding rotation state, the wire lead head 110 approaches the wire-winding sensing element 100 step by step. If the wire lead head 110 touches the wire-winding sensing element 100, it means that the lead wire has been wound up, and continuing to wind up the wire will cause damage to related parts. Therefore, the wire-winding sensing element 100 is triggered, generating a threading abnormality signal, and then automatically executing a shutdown operation to avoid a threading failure caused by the lead wire being wound up again.
[0095] In a specific embodiment, a threading device for an actual application scenario is also provided, wherein a driving device 40 drives a wire drum 30 to rotate, a lead wire 50 is wound inside the wire drum 30, an inner end of the lead wire 50 is fixedly connected to a slider 90, and the slider 90 can slide in an oblique groove 80 on the wire drum 30.
[0096] When the driving device 40 rotates clockwise, the lead wire 50 will be pushed outward, and at the same time, the slider 90 will move away from the center of the rotating shaft of the wire drum 30 under the thrust of the side wall closer to the oblique groove 80. A contact piece is installed on the slider 90. When the slider 90 moves outward to a specific position of the oblique groove 80, it will trigger the wire release sensing element 70 to generate an electrical signal and control the driving device 40 to perform a shutdown operation. In this way, the purpose of preventing the lead wire 50 from being excessively released is achieved.
[0097] When the driving device 40 rotates counterclockwise, the lead wire 50 is pulled and reeled back, and the slider 90 moves toward the inner side of the oblique groove 80 at the same time. Figure 6 As shown, under normal circumstances, the spring 120 is in an arched state, and when the lead head 110 of the lead 50 reaches the position of the spring 120, the spring 120 will be pressed by the front end surface of the lead head 110, and at the same time, the retracting sensing element 100 located on the other side of the spring 120 is triggered to generate an electrical signal and control the driving device 40 to perform a shutdown operation. In this way, the purpose of preventing the lead 50 from being over-retracted is achieved.
[0098] When the line-releasing sensing element 70 is triggered, the software enters an abnormal over-releasing state; when the line-retrieving sensing element 100 is triggered, the software enters an abnormal over-retrieving state.
[0099] The software has the function of storing the count value of the number of over-retraction and over-discharge of the lead, the machine status and the calibration value before the system is powered off. When the power is restored, the data before the last power failure can be read. If the status before the power failure is read as an abnormal over-discharge status, the drive device needs to be rotated back a specific number of times to release the abnormal over-discharge status. Because the length of the machine lead extension and retraction is a fixed value, the calibration value of the machine can be updated in time according to this fixed value when the release sensing element 70 or the take-up sensing element 100 is triggered, so as to prevent the repeated occurrence of abnormal over-retraction and over-discharge events when the power is not cut off.
[0100] Optionally, the machine has two modes: a default mode and a manual adjustment mode.
[0101] In default mode:
[0102] Under normal circumstances, the driving device 40 rotates clockwise, and the lead wire 50 automatically stops after reaching the line-releasing rotation threshold; the driving device 40 rotates counterclockwise, and the lead wire 50 automatically stops after reaching the line-retrieving rotation threshold;
[0103] When the driving device 40 rotates clockwise, if the software detects that the line-release sensing element 70 is triggered due to an erroneous operation, the current abnormal over-release state is recorded, and the software controls the driving device 40 to stop rotating clockwise, records the current rotation circle count value as the line-release rotation threshold, and updates the line-reeling rotation threshold and the line-release rotation threshold (recalibrates the line-reeling rotation threshold according to the current line-release rotation threshold); the abnormal over-release state can only be released if the driving device 40 rotates back a specific number of circles, in order to prevent the driving device 40 from switching to non-rotation counterclockwise or rotating a small angle and then switching back to clockwise rotation, resulting in the contact piece of the slider 90 not triggering the line-release sensing element 70 when the driving device 40 rotates back to the same angle as before;
[0104] When the driving device 40 rotates counterclockwise, if the software detects that the take-up sensing element 100 is triggered due to an erroneous operation, the current abnormal over-take-up state is recorded, and the software controls the driving device 40 to stop running, records the current number of rotations as the take-up rotation threshold, and processes and updates the take-up rotation threshold and the pay-out rotation threshold (recalibrates the pay-out rotation threshold according to the current take-up rotation threshold); if the direction is changed to clockwise rotation, the abnormal over-take-up state is released.
[0105] In manual adjustment mode:
[0106] Under normal circumstances, when the line-releasing sensing element 70 or the line-retrieving sensing element 100 is not triggered, the driving device 40 can rotate clockwise or counterclockwise all the time;
[0107] When the driving device 40 rotates clockwise, if the pay-off sensing element 70 is triggered, the driving device 40 stops rotating clockwise and records the machine status as an abnormal over-discharge state. If the direction is changed to counterclockwise and the counterclockwise rotation exceeds a certain number of turns, the abnormal over-discharge state is released. The abnormal over-discharge state can only be released if the driving device 40 rotates back a certain number of turns. The purpose is to prevent the driving device 40 from switching to counterclockwise rotation or rotating a small angle and then switching back to clockwise rotation, resulting in the contact piece of the slider 90 not triggering the pay-off sensing element 70 when the driving device 40 rotates back to the same angle as before.
[0108] When the driving device 40 rotates counterclockwise, if the take-up sensing element 100 is triggered, the driving device 40 stops rotating, records the machine status as an abnormal over-take-up status, and updates the current circle count value to a calibration value; if the direction is changed to clockwise rotation, the abnormal over-take-up status is cancelled.
[0109] After exiting the manual adjustment mode, the current number of turns count value is used as the line-reeling rotation threshold value. If this count value is less than the calibration value at that time, the calibration value is changed to the line-reeling rotation threshold value. The line-releasing rotation threshold value is equal to the current number of turns count value plus the fixed extension count value of the lead 50.
[0110] In a specific embodiment, as Figure 7 shown, a threading device control method is also provided, including:
[0111] Step S701, obtain the first initial threshold and the winding and unwinding range of the lead wire in the threading device. During the process of the lead wire following the rotation of the wire reel, if the lead wire exceeds the winding and unwinding range, obtain the initial rotation turns of the lead wire;
[0112] Step S702, when the difference between the initial rotation turns and the first initial threshold satisfies the difference condition, use the initial rotation turns as the first rotation threshold;
[0113] Step S703, based on the first rotation threshold and the winding and unwinding range, determine the second rotation threshold of the lead wire;
[0114] Step S704, when receiving a threading abnormal signal for the lead wire in the threading device, obtain the lead wire rotation information generated during the process of the lead wire following the rotation of the wire reel;
[0115] Step S705, determine the component information of the sensing element that triggers the threading abnormal signal, and based on the installation position of the component information, determine the rotation direction corresponding to the threading abnormal signal;
[0116] Step S706, determine the first rotation threshold that matches the rotation direction from the winding and unwinding rotation thresholds of the lead wire;
[0117] wherein, the threading abnormal signal is triggered by the sensing element; the winding and unwinding rotation threshold is used to represent the winding and unwinding range of the lead wire;
[0118] Step S707, if the rotation turns are inconsistent with the first rotation threshold, determine that the first rotation threshold does not match the lead wire rotation information;
[0119] Step S708, determine the difference between the first rotation threshold and the lead wire rotation information as the difference between the first rotation threshold and the rotation turns;
[0120] Step S709, based on the difference between the first rotation threshold and the lead wire rotation information, update the second rotation threshold other than the first rotation threshold in the winding and unwinding rotation thresholds to obtain an updated threshold, and use the lead wire rotation information and the updated threshold as the new winding and unwinding rotation thresholds.
[0121] It should be understood that although the steps in the flowcharts involved in the above embodiments are sequentially shown according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless there is a clear description in this article, the execution of these steps has no strict order limit, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily executed at the same moment, but can be executed at different moments. The execution order of these steps or stages is not necessarily sequential, but can be executed alternately or in turn with at least a part of other steps or steps or stages in other steps.
[0122] Based on the same inventive concept, an embodiment of the present application further provides a threading device control device for implementing the threading device control method involved above. The solution provided by this device to solve the problem is similar to the solution recorded in the above method. Therefore, the specific limitations in one or more embodiments of the threading device control device provided below can refer to the limitations on the threading device control method in the above text, and will not be repeated here.
[0123] In an exemplary embodiment, as Figure 8 shown, a threading device control device 800 is provided, including a rotation information acquisition module 802, a rotation threshold determination module 804, an update threshold determination module 806, and a retraction and release rotation threshold update module 808, where:
[0124] The rotation information acquisition module 802 is configured to acquire the rotation information of the lead wire generated during the rotation of the lead wire following the wire reel when receiving a threading abnormality signal for the lead wire in the threading device;
[0125] The rotation threshold determination module 804 is configured to determine a first rotation threshold that matches the rotation direction of the wire reel from the retraction and release rotation thresholds of the lead wire; the retraction and release rotation threshold is used to characterize the retraction and release range of the lead wire;
[0126] The update threshold determination module 806 is configured to update the second rotation threshold other than the first rotation threshold in the retraction and release rotation threshold based on the difference between the first rotation threshold and the rotation information of the lead wire to obtain an update threshold when the first rotation threshold does not match the rotation information of the lead wire;
[0127] The retraction and release rotation threshold update module 808 is configured to use the rotation information of the lead wire and the update threshold as the new retraction and release rotation threshold.
[0128] In an exemplary embodiment, the threading abnormality signal is triggered by an induction element. In the case of this embodiment, the rotation threshold determination module 804 is specifically configured to:
[0129] Determine the component information of the sensing component that triggers the threading anomaly signal;
[0130] Based on the installation position of the component information, determine the rotation direction corresponding to the threading anomaly signal;
[0131] Determine the first rotation threshold that matches the rotation direction from the retracting and extending rotation thresholds of the lead wire.
[0132] In an exemplary embodiment, the lead wire rotation information includes the number of rotation turns. In the case of this embodiment, the threading device control device 800 further includes a difference determination module, which is specifically used for:
[0133] If the number of rotation turns is inconsistent with the first rotation threshold, determine that the first rotation threshold does not match the lead wire rotation information;
[0134] Determine the difference between the first rotation threshold and the number of rotation turns as the difference between the first rotation threshold and the lead wire rotation information.
[0135] In an exemplary embodiment, the threading device control device 800 further includes a second rotation threshold determination module, which is specifically used for:
[0136] Obtain the first initial threshold and the retracting and extending range of the lead wire in the threading device;
[0137] During the process of the lead wire following the rotation of the wire reel, if the lead wire exceeds the retracting and extending range, obtain the initial number of rotation turns of the lead wire;
[0138] When the difference between the initial number of rotation turns and the first initial threshold meets the difference condition, use the initial number of rotation turns as the first rotation threshold;
[0139] Based on the first rotation threshold and the retracting and extending range, determine the second rotation threshold of the lead wire.
[0140] Each module in the above threading device control device can be implemented in whole or in part by software, hardware, and their combination. The above modules can be embedded in the processor in the computer device in hardware form or be independent of it, or can be stored in the memory in the computer device in software form, so that the processor can call and execute the operations corresponding to the above modules.
[0141] In an exemplary embodiment, a computer device is provided. This computer device can be a terminal, and its internal structure diagram can be as Figure 9As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit, and an input device. Among them, the processor, the memory, and the input / output interface are connected through a system bus, and the communication interface, the display unit, and the input device are connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and external devices. The communication interface of the computer device is used to communicate with external terminals in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, near field communication (NFC), or other technologies. The computer program, when executed by the processor, implements a method for controlling a threading device. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device can be a touch layer covering the display screen, or a button, a trackball, or a touchpad provided on the housing of the computer device, or an external keyboard, touchpad, or mouse, etc.
[0142] Those skilled in the art can understand that Figure 9 the structure shown in is only a block diagram of some structures related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine some components, or have different component arrangements.
[0143] In one embodiment, a computer device is provided, including a memory and a processor. A computer program is stored in the memory, and when the processor executes the computer program, the steps of the above method are implemented.
[0144] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above method are implemented.
[0145] In one embodiment, a computer program product is provided, including a computer program. When the computer program is executed by a processor, the steps of the above method are implemented.
[0146] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use, and processing of relevant data need to comply with relevant regulations.
[0147] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, database, or other medium used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The databases involved in the embodiments provided in this application can include at least one of relational databases and non-relational databases. Non-relational databases can include distributed databases based on blockchain, etc., without limitation. The processors involved in the embodiments provided in this application can be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, data processing logics based on quantum computing, artificial intelligence (AI) processors, etc., without limitation.
[0148] The technical features of the above embodiments can be combined arbitrarily. For the sake of concise description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope recorded in this application.
[0149] The above-described embodiments merely represent several implementation manners of this application. The description is relatively specific and detailed, but it should not be construed as a limitation on the patent scope of this application. It should be noted that for those of ordinary skill in the art, without departing from the concept of this application, several modifications and improvements can still be made, and these all belong to the protection scope of this application. Therefore, the protection scope of this application shall be subject to the appended claims.
Claims
1. A method for controlling a threading device, characterized in that: The method comprises: When receiving a threading abnormality signal for a lead wire in a threading device, obtaining lead wire rotation information generated when the lead wire follows the rotation of the wire reel; Determining a first rotation threshold value that matches the rotation direction of the wire drum from among the retractable rotation threshold values of the lead wire; the retractable rotation threshold value is used to characterize the retractable range of the lead wire; In the case where the first rotation threshold does not match the lead rotation information, based on the difference between the first rotation threshold and the lead rotation information, a second rotation threshold other than the first rotation threshold in the retractable rotation threshold is updated to obtain an updated threshold; The lead wire rotation information and the update threshold are used as a new retraction and extension rotation threshold.
2. The method according to claim 1, characterized in that The abnormal threading signal is triggered by a sensing element; The step of determining a first rotation threshold value matching the rotation direction of the wire drum from the lead wire retraction and extension rotation threshold values includes: Determining component information of the sensing component that triggers the abnormal threading signal; Based on the installation position of the component information, determining the rotation direction corresponding to the abnormal threading signal; A first rotation threshold matching the rotation direction is determined from the lead wire retraction and extension rotation thresholds.
3. The method according to claim 1, characterized in that: The lead wire rotation information includes the number of rotations; The method further comprises: If the number of rotations is inconsistent with the first rotation threshold, determining that the first rotation threshold does not match the lead rotation information; The difference between the first rotation threshold and the number of rotations is determined as the difference between the first rotation threshold and the lead rotation information.
4. The method according to claim 1, characterized in that: The method further comprises: Obtaining a first initial threshold and a retracting and extending range of the lead in the threading device; In the process that the lead follows the wire drum to rotate, if the lead exceeds the retractable range, obtaining the initial number of rotations of the lead; In a case where the difference between the initial number of rotations and the first initial threshold satisfies a difference condition, taking the initial number of rotations as the first rotation threshold; Based on the first rotation threshold and the retraction and extension range, a second rotation threshold of the lead is determined.
5. A threading device, characterized in that: The threading device comprises a wire reel, a driving device and a control device; The wire reel is used for winding the lead wire; The driving device is used to drive the wire drum to rotate, so as to drive the lead wire to rotate; The control device is used to implement the method according to any one of claims 1 to 4.
6. The threading device according to claim 5, characterized in that The threading device also includes a housing, a wire-releasing sensing element, an oblique groove, and a slider disposed in the oblique groove; The housing is arranged on the periphery of the wire drum; The oblique groove is obliquely arranged on the wire drum and extends toward the winding side of the wire drum; The wire-releasing induction element is disposed between the housing and the wire reel; when the wire reel is wound around the lead wire, the wire-releasing induction element is located between the housing and the lead wire; When the wire drum is in a wire-releasing rotation state, the slider moves from one end of the oblique groove away from the winding side to the end of the oblique groove close to the winding side; if the slider moves to the target position of the oblique groove, the wire-releasing sensing element is triggered by the slider, generating an abnormal threading signal, and then automatically performing a shutdown operation.
7. The threading device according to claim 6, characterized in that The threading device also includes a wire-receiving sensing element; The wire-receiving sensing element is fixed to the housing; A lead head is provided at one end of the lead; When the wire drum is in a wire-reeling rotating state, if the wire lead touches the wire-reeling sensing element, the wire-reeling sensing element is triggered to generate a wire-threading abnormality signal, and then the machine automatically performs a shutdown operation.
8. A threading equipment control device, characterized in that: The device comprises: A rotation information acquisition module, for acquiring the lead wire rotation information generated in the process of the lead wire following the rotation of the wire reel when receiving a threading abnormality signal for the lead wire in the threading device; A rotation threshold determination module, used to determine a first rotation threshold matching the rotation direction of the wire drum from the retractable rotation threshold of the lead; the retractable rotation threshold is used to characterize the retractable range of the lead; an update threshold determination module, configured to update a second rotation threshold other than the first rotation threshold in the retractable rotation threshold based on a difference between the first rotation threshold and the lead rotation information to obtain an update threshold when the first rotation threshold does not match the lead rotation information; The retractable and extendable rotation threshold updating module is used to use the lead rotation information and the updated threshold as a new retractable and extendable rotation threshold.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.