CN114481436A - Yarn breakage detection method, device and equipment for yarn feeder and readable storage medium - Google Patents

Yarn breakage detection method, device and equipment for yarn feeder and readable storage medium Download PDF

Info

Publication number
CN114481436A
CN114481436A CN202210117313.XA CN202210117313A CN114481436A CN 114481436 A CN114481436 A CN 114481436A CN 202210117313 A CN202210117313 A CN 202210117313A CN 114481436 A CN114481436 A CN 114481436A
Authority
CN
China
Prior art keywords
output signal
accumulator
rising edge
judged
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210117313.XA
Other languages
Chinese (zh)
Other versions
CN114481436B (en
Inventor
周密
薛勇
张彦
卢国成
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Winservo Xiamen Electrical Technology Co ltd
Original Assignee
Winservo Xiamen Electrical Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Winservo Xiamen Electrical Technology Co ltd filed Critical Winservo Xiamen Electrical Technology Co ltd
Priority to CN202210117313.XA priority Critical patent/CN114481436B/en
Publication of CN114481436A publication Critical patent/CN114481436A/en
Application granted granted Critical
Publication of CN114481436B publication Critical patent/CN114481436B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • DTEXTILES; PAPER
    • D04BRAIDING; LACE-MAKING; KNITTING; TRIMMINGS; NON-WOVEN FABRICS
    • D04BKNITTING
    • D04B35/00Details of, or auxiliary devices incorporated in, knitting machines, not otherwise provided for
    • D04B35/10Indicating, warning, or safety devices, e.g. stop motions
    • D04B35/14Indicating, warning, or safety devices, e.g. stop motions responsive to thread breakage

Abstract

The invention provides a method, a device, equipment and a readable storage medium for detecting the broken thread of a yarn feeder, which judge whether a current first output signal is in a rising edge state or a falling edge state by acquiring the first output signal of the yarn feeder in the current period, if so, output a second output signal representing high level, if not, output a second output signal representing low level, judge whether the second output signal is in the rising edge state or the falling edge state, output a third output signal representing low level when judging that the second output signal is in the falling edge state, accumulate the second output signals of a plurality of periods to generate an accumulated value, output a third output signal representing high level when judging that the accumulated value is larger than a preset value, output a third output signal representing high level when judging that the accumulated value is smaller than the preset value, after detecting that the gravity rod of the yarn feeder falls down, the machine can be quickly responded to stop, and the excessive yarn conveying is avoided.

Description

Yarn breakage detection method, device and equipment for yarn feeder and readable storage medium
Technical Field
The invention relates to the field of automatic control, in particular to a method, a device and equipment for detecting broken threads of a yarn feeder and a readable storage medium.
Background
The yarn feeding mechanism of the circular knitting machine comprises a yarn coil, a yarn feeder and the like, wherein a yarn coil outgoing line passes through a gravity rod of the yarn feeder and is wound on the yarn feeder for several circles, during the yarn feeding process, yarns are easy to break or are conveyed completely, the gravity rod on the yarn feeder falls down at the moment, the supply of the yarns is ensured by means of the several circles of yarns wound on the yarn feeder, and once the yarns stored on the yarn feeder are insufficient, the problems of difficult wiring, low cloth cover quality and even waste cloth formation and the like are caused.
At present, most of yarn feeders on the market are powered by alternating current, when yarns are not disconnected and a gravity rod is not dropped, a constant high-level signal is output, when yarns are disconnected and the gravity rod is dropped, a high-level and jumping pulse square wave alternating signal is output, and compared with a normal level signal, the output signal of the yarn feeder cannot be directly used, so that the system cannot immediately respond to halt.
In view of this, the present application is presented.
Disclosure of Invention
The invention discloses a method, a device and equipment for detecting broken threads of a yarn feeder and a readable storage medium, which solve the problem that a system cannot immediately respond to halt due to the fact that output signals cannot be directly used by carrying out secondary processing on signals of the yarn feeder.
The first embodiment of the invention provides a broken yarn detection method of a yarn feeder, which comprises the following steps:
acquiring a first output signal of a yarn feeder in a current period;
determining whether the first output signal is in a rising edge state or a falling edge state;
when the first output signal is judged to be in a rising edge state, storing the first output signal to a current latch array, clearing the latch array when the number of signals stored in the latch array reaches a first preset value, and simultaneously outputting a second output signal representing high level;
when the first output signal is judged to be in a falling edge state, storing the first output signal to a current latch array, and outputting a second output signal representing low level after the latch array is cleared;
judging whether the second output signal is in a rising edge state or a falling edge state;
when the second output signal is judged to be in a rising edge state, storing the second output signal to a current accumulator for accumulation, clearing the accumulator when the accumulation times of the accumulator reach a second preset value, and outputting a third output signal according to the accumulation value of the accumulator; the second preset value is larger than the first preset value;
when the second output signal is judged to be in a falling edge state, the accumulator is cleared, and then a third output signal representing low level is output;
and judging the current wire breaking condition according to the third output signal.
Preferably, when it is determined that the first output signal is in a rising edge state, the first output signal is stored in a current latch array, and when the number of signals stored in the latch array reaches a first preset value, the latch array is cleared, and a second output signal indicating a high level is output at the same time, specifically:
when the first output signal is judged to be in a rising edge state, setting a flag bit of the rising edge, storing the first output signal to the current latch array, and controlling a counter to start counting;
when the number of the first output signals stored in the current latch array is judged to reach a first preset value according to the count value of the counter, clearing the rising edge zone bit and the counter, carrying out AND operation on the first output signals in the current latch array, and generating an operation result;
and when the operation result is judged to be 1, clearing the latch array and outputting a second output signal representing high level.
Preferably, when it is determined that the second output signal is in a rising edge state, storing the second output signal in a current accumulator for accumulation, and when the accumulation number of the accumulator reaches a second preset value, clearing the accumulator, and outputting a third output signal according to an accumulation value of the accumulator specifically:
when the second output signal is judged to be in a rising edge state, setting a rising edge flag bit, storing the second output signal to a current accumulator for accumulation, and controlling a counter to start counting;
when the accumulated times reach a second preset value according to the count value of the counter, clearing the rising edge zone bit and the counter;
and clearing the accumulator and outputting a third output signal according to the accumulated value of the accumulator.
Preferably, the outputting the third output signal according to the accumulated value of the accumulator specifically includes:
when the accumulated value of the accumulator is judged to be larger than a preset threshold value, outputting a third output signal representing high level;
and outputting a third output signal representing low level when the accumulated value of the accumulator is judged to be less than the preset threshold value.
A second embodiment of the present invention provides a yarn breakage detecting device of a yarn feeder, including:
the first output signal acquisition unit is used for acquiring a first output signal of the yarn feeder in the current period;
a first judging unit for judging whether the first output signal is in a rising edge state or a falling edge state;
the first signal output unit is used for storing the first output signal to a current latch array when the first output signal is judged to be in a rising edge state, clearing the latch array when the number of signals stored in the latch array reaches a first preset value, and simultaneously outputting a second output signal representing high level;
the second signal output unit is used for storing the first output signal to the current latch array and outputting a second output signal representing low level after clearing the latch array when the first output signal is judged to be in a falling edge state;
a second judging unit for judging whether the second output signal is in a rising edge state or a falling edge state;
the third signal output unit is used for storing the second output signal to the current accumulator for accumulation when the second output signal is judged to be in a rising edge state, resetting the accumulator when the accumulation frequency of the accumulator reaches a second preset value, and outputting a third output signal according to the accumulation value of the accumulator; the second preset value is larger than the first preset value;
the fourth signal output unit is used for outputting a third output signal representing low level after the accumulator is cleared when the second output signal is judged to be in a falling edge state;
and the fourth judging unit judges the current wire breaking condition according to the third output signal.
Preferably, the first signal output unit is specifically configured to:
when the first output signal is judged to be in a rising edge state, setting a flag bit of the rising edge, storing the first output signal to the current latch array, and controlling a counter to start counting;
when the number of the first output signals stored in the current latch array is judged to reach a first preset value according to the count value of the counter, clearing the rising edge zone bit and the counter, carrying out AND operation on the first output signals in the current latch array, and generating an operation result;
and when the operation result is judged to be 1, clearing the latch array and outputting a second output signal representing high level.
Preferably, the third signal output unit is specifically configured to:
when the second output signal is judged to be in a rising edge state, setting a rising edge flag bit, storing the second output signal to a current accumulator for accumulation, and controlling a counter to start counting;
when the accumulated times reach a second preset value according to the count value of the counter, clearing the rising edge zone bit and the counter;
and clearing the accumulator and outputting a third output signal according to the accumulated value of the accumulator.
Preferably, the outputting the third output signal according to the accumulated value of the accumulator specifically includes:
when the accumulated value of the accumulator is judged to be larger than a preset threshold value, outputting a third output signal representing high level;
and outputting a third output signal representing low level when the accumulated value of the accumulator is judged to be less than the preset threshold value.
A third embodiment of the present invention provides a broken yarn detection device of a yarn feeder, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements a broken yarn detection method of a yarn feeder as described in any one of the above items when executing the computer program.
A fourth embodiment of the present invention provides a readable storage medium storing a computer program, which can be executed by a processor of an apparatus on which the storage medium is located, to implement the method for detecting a broken yarn of a yarn feeder as described in any one of the above.
Based on the method, the device, the equipment and the readable storage medium for detecting the broken yarn of the yarn feeder, which are provided by the invention, the first output signal of the yarn feeder in the current period is obtained, whether the current first output signal is in a rising edge state or a falling edge state is judged, if yes, a second output signal representing high level is output, if not, a second output signal representing low level is output, whether the second output signal is in the rising edge state or the falling edge state is judged, when the second output signal is in the falling edge state, a third output signal representing low level is output, when the second output signal is in the rising edge state is judged, the second output signals of a plurality of periods are accumulated to generate an accumulated value, when the accumulated value is judged to be larger than a preset value, the third output signal representing high level is output, when the accumulated value is judged to be smaller than the preset value, the third output signal representing high level and low level is output, after the gravity rod of the yarn feeder is detected to fall down according to the output signal of the third period, the machine can be quickly responded to stop, and excessive yarn feeding is avoided.
Drawings
FIG. 1 is a schematic flow chart of a method for detecting a broken yarn in a yarn feeder according to a first embodiment of the present invention;
FIG. 2 is a schematic block diagram of a yarn breakage detecting device of a yarn feeder according to a first embodiment of the present invention;
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
For better understanding of the technical solutions of the present invention, the following detailed descriptions of the embodiments of the present invention are provided with reference to the accompanying drawings.
It should be understood that the described embodiments are only some embodiments of the invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the examples of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be understood that the term "and/or" as used herein is merely one type of association that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrases "if determined" or "if detected (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when detected (a stated condition or event)" or "in response to a detection (a stated condition or event)", depending on the context.
In the embodiments, the references to "first \ second" are merely to distinguish similar objects and do not represent a specific ordering for the objects, and it is to be understood that "first \ second" may be interchanged with a specific order or sequence, where permitted. It should be understood that "first \ second" distinct objects may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced in sequences other than those illustrated or described herein.
The following detailed description of specific embodiments of the invention refers to the accompanying drawings.
The invention discloses a method, a device and equipment for detecting broken threads of a yarn feeder and a readable storage medium, which solve the problem that a system cannot immediately respond to halt due to the fact that output signals cannot be directly used by carrying out secondary processing on signals of the yarn feeder.
Referring to fig. 1, a first embodiment of the present invention provides a method for detecting a broken yarn of a yarn feeder, which can be executed by a broken yarn detecting device (hereinafter referred to as a detecting device) of the yarn feeder, and in particular, executed by one or more processors in the detecting device, so as to implement the following steps:
s101, acquiring a first output signal of a yarn feeder in the current period;
in this embodiment, the detection device may be a PLC controller, a single chip microcomputer, or another type of controller, and may be configured to receive a signal output by the yarn feeder in real time, analyze the signal, and output a control signal to control the system.
It should be noted that, a yarn coil outgoing line is configured on a gravity rod of a yarn feeder, and in the yarn feeding process, a broken yarn or a yarn is completely fed, and at this time, the gravity rod on the yarn feeder falls down, and at this time, the system should be stopped immediately, so as to avoid the problems that the quality of a cloth surface is reduced, even waste cloth is formed, and the like due to excessive yarn feeding. However, in the prior art, most of the yarn feeders are powered by alternating current, a constant high-level signal is output before the yarns are not disconnected and the gravity rod falls, and after the yarns are disconnected and the gravity rod falls, a high-level and jumping pulse square wave alternating signal is output.
In this embodiment, the output signal of the yarn feeder can be acquired in real time, and it can be understood that the output signal is a high-level signal before the gravity rod falls, and a pulse square wave alternating signal of high level and jump is output after the gravity rod falls. Which may periodically segment the acquired signal.
S102, judging whether the first output signal is in a rising edge state or a falling edge state;
it should be noted that, in this embodiment, the edge state is determined by comparing the state at the end of the previous period with the state at the beginning of the first output signal, specifically: if the end of the last week is a high level and the start of the first output signal is a low level, the edge state of the first output signal is in a falling edge state, and similarly, if the end of the last week is a low level and the start of the first output signal is a high level, the edge state of the first output signal is in a rising edge state.
S103, when the first output signal is judged to be in a rising edge state, storing the first output signal to a current latch array, clearing the latch array when the number of signals stored in the latch array reaches a first preset value, and simultaneously outputting a second output signal representing high level;
specifically, the method comprises the following steps: in this embodiment, when it is determined that the first output signal is in a rising edge state, setting a flag bit of the rising edge, storing the first output signal to a current latch array, and controlling a counter to start counting;
when the number of the first output signals stored in the current latch array is judged to reach a first preset value according to the count value of the counter, clearing the rising edge zone bit and the counter, carrying out AND operation on the first output signals in the current latch array, and generating an operation result;
and when the operation result is judged to be 1, clearing the latch array and outputting a second output signal representing high level.
It should be noted that the first preset value may be 15 (but is not limited thereto), and it should be understood that 15 first output signals are stored for and operation, if the operation result is 1, it indicates that all the periodically stored data are high level, and it proves that the data are stable high level signals, and a second output signal indicating high level is output.
S104, storing the first output signal to a current latch array when the first output signal is judged to be in a falling edge state, and outputting a second output signal representing low level after the latch array is cleared;
it should be noted that, when the first output signal is determined to be in a falling edge state, 15 cycles after the latch rising trigger are mainly used to determine whether the high and low levels are stable and do not jump, and after the storage is completed by 15 cycles, the falling edge flag is cleared, and a low level, that is, a 0 signal, is output by filtering once. It should be understood that the period is calculated from the edge, so the period needs to be calculated after the rising edge is triggered, and of course, in other embodiments, the period may also be directly started for storage, and is not limited herein.
S105, judging whether the second output signal is in a rising edge state or a falling edge state
It should be noted that determining the edge state of the second output signal is similar to determining the edge state of the first output signal, and details are not repeated here.
S106, when the second output signal is judged to be in a rising edge state, storing the second output signal to a current accumulator for accumulation, clearing the accumulator when the accumulation times of the accumulator reach a second preset value, and outputting a third output signal according to the accumulation value of the accumulator; the second preset value is greater than the first preset value
Specifically, in this embodiment, when it is determined that the second output signal is in a rising edge state, the rising edge flag bit is set, and meanwhile, the second output signal is stored in the current accumulator for accumulation, and the counter is controlled to start counting;
when the accumulated times reach a second preset value according to the count value of the counter, clearing the rising edge zone bit and the counter;
and clearing the accumulator and outputting a third output signal according to the accumulated value of the accumulator.
More specifically: when the accumulated value of the accumulator is judged to be larger than a preset threshold value, outputting a third output signal representing high level;
and outputting a third output signal representing low level when the accumulated value of the accumulator is judged to be less than the preset threshold value.
It should be noted that the second preset value may be 600 (but is not limited thereto), and it should be understood that, the second output signal of 600 consecutive cycles is subjected to accumulation summation, after 600 cycles, the rising edge flag is cleared, and the calculator is cleared at the same time, if the accumulated value is within the range of 598-.
It should be noted that, in this embodiment, it can be understood that the first preset value and the second preset value may also be set by writing through external communication, and are not solidified by program write, so that more flexible parameter configuration is achieved.
S107, when the second output signal is judged to be in a falling edge state, the accumulator is cleared, and then a third output signal representing low level is output;
it should be noted that, the secondary filtering signal takes the output of the primary filtering signal as the input (i.e. the second output signal is taken as the input signal of the secondary filtering), and the latching manners adopted are different, because the signal period of the secondary filtering is longer, and the array latching manner is adopted, which will occupy a large amount of memory space, so the latching manner of accumulation summation is adopted, that is, the accumulation of the input signal level condition is carried out at the beginning of the rising edge trigger, the accumulation is carried out until the count value is full, and the accumulated value is judged whether to be greater than or equal to the count value, if yes, the high level condition is indicated, otherwise, the high level change exists in the middle; when descending, the flag bit and the count value of the rising edge are cleared, and meanwhile, delay judgment is also carried out, so that disturbance is prevented.
And S108, judging the current wire breaking condition according to the third output signal.
It should be noted that when the third output signal indicates a low level, it is determined that the gravity rod of the yarn feeder falls, and the system can quickly respond to stop, so as to avoid excessive yarn feeding.
The beneficial effects of the above embodiment at least include:
(1) converting the signal which can not be directly used by the original yarn feeder into a single signal which can be used;
(2) the triggering response time of the falling edge is controlled within 2-3 periods of actual interruption execution, if the interruption period is shortened, the response time is also shorter, and the yarn conveying is greatly protected.
Referring to fig. 2, a second embodiment of the present invention provides a yarn breakage detecting device for a yarn feeder, including:
a first output signal acquiring unit 201, configured to acquire a first output signal of the yarn feeder in a current period;
a first judging unit 202 for judging whether the first output signal is in a rising edge state or a falling edge state;
the first signal output unit 203 is configured to store the first output signal in a current latch array when it is determined that the first output signal is in a rising edge state, clear the latch array when the number of signals stored in the latch array reaches a first preset value, and output a second output signal indicating a high level at the same time;
a second signal output unit 204, configured to store the first output signal in a current latch array if it is determined that the first output signal is in a falling edge state, and output a second output signal indicating a low level after the latch array is cleared;
a second determining unit 205, configured to determine whether the second output signal is in a rising edge state or a falling edge state;
a third signal output unit 206, configured to store the second output signal in a current accumulator for accumulation if it is determined that the second output signal is in a rising edge state, clear the accumulator when the accumulation frequency of the accumulator reaches a second preset value, and output a third output signal according to an accumulated value of the accumulator; the second preset value is larger than the first preset value;
a fourth signal output unit 207, configured to output a third output signal indicating a low level after the accumulator is cleared when it is determined that the second output signal is in a falling edge state;
the fourth judging unit 208 judges the current line break condition according to the third output signal.
Preferably, the first signal output unit is specifically configured to:
when the first output signal is judged to be in a rising edge state, setting a flag bit of the rising edge, storing the first output signal to the current latch array, and controlling a counter to start counting;
when the number of the first output signals stored in the current latch array is judged to reach a first preset value according to the count value of the counter, clearing the rising edge zone bit and the counter, carrying out AND operation on the first output signals in the current latch array, and generating an operation result;
and when the operation result is judged to be 1, clearing the latch array and outputting a second output signal representing high level.
Preferably, the third signal output unit is specifically configured to:
when the second output signal is judged to be in a rising edge state, setting a rising edge flag bit, storing the second output signal to a current accumulator for accumulation, and controlling a counter to start counting;
when the accumulated times reach a second preset value according to the count value of the counter, clearing the rising edge zone bit and the counter;
and clearing the accumulator and outputting a third output signal according to the accumulated value of the accumulator.
Preferably, the outputting the third output signal according to the accumulated value of the accumulator specifically includes:
when the accumulated value of the accumulator is judged to be larger than a preset threshold value, outputting a third output signal representing high level;
and outputting a third output signal representing low level when the accumulated value of the accumulator is judged to be less than the preset threshold value.
A third embodiment of the present invention provides a broken yarn detection device of a yarn feeder, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements a broken yarn detection method of a yarn feeder as described in any one of the above items when executing the computer program.
A fourth embodiment of the present invention provides a readable storage medium storing a computer program, which can be executed by a processor of an apparatus on which the storage medium is located, to implement the method for detecting a broken yarn of a yarn feeder as described in any one of the above.
Based on the method, the device, the equipment and the readable storage medium for detecting the broken yarn of the yarn feeder, which are provided by the invention, the first output signal of the yarn feeder in the current period is obtained, whether the current first output signal is in a rising edge state or a falling edge state is judged, if yes, a second output signal representing high level is output, if not, a second output signal representing low level is output, whether the second output signal is in the rising edge state or the falling edge state is judged, when the second output signal is in the falling edge state, a third output signal representing low level is output, when the second output signal is in the rising edge state is judged, the second output signals of a plurality of periods are accumulated to generate an accumulated value, when the accumulated value is judged to be larger than a preset value, the third output signal representing high level is output, when the accumulated value is judged to be smaller than the preset value, the third output signal representing high level and low level is output, after the gravity rod of the yarn feeder is detected to fall down according to the output signal of the third period, the machine can be quickly responded to stop, and excessive yarn feeding is avoided.
Illustratively, the computer programs described in the third and fourth embodiments of the present invention may be partitioned into one or more modules, which are stored in the memory and executed by the processor to implement the present invention. The module or modules may be a series of computer program instruction segments capable of performing specific functions for describing the execution of the computer program in the thread breakage detection device implementing a yarn feeder. For example, the device described in the second embodiment of the present invention.
The Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like, the processor is a control center of the yarn feeder breakage detection method, and various interfaces and lines are used to connect the whole to realize the parts of the yarn feeder breakage detection method.
The memory can be used for storing the computer program and/or the module, and the processor realizes various functions of the yarn breakage detection method of the yarn feeder by operating or executing the computer program and/or the module stored in the memory and calling the data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, a text conversion function, etc.), and the like; the storage data area may store data (such as audio data, text message data, etc.) created according to the use of the cellular phone, etc. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
Wherein the implemented module, if implemented in the form of a software functional unit and sold or used as a stand-alone product, can be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
It should be noted that the above-described device embodiments are merely illustrative, where the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. In addition, in the drawings of the embodiment of the apparatus provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, and may be specifically implemented as one or more communication buses or signal lines. One of ordinary skill in the art can understand and implement it without inventive effort.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A method for detecting a broken yarn of a yarn feeder, comprising:
acquiring a first output signal of a yarn feeder in a current period;
determining whether the first output signal is in a rising edge state or a falling edge state;
when the first output signal is judged to be in a rising edge state, storing the first output signal to a current latch array, clearing the latch array when the number of signals stored in the latch array reaches a first preset value, and simultaneously outputting a second output signal representing high level;
when the first output signal is judged to be in a falling edge state, storing the first output signal to a current latch array, and outputting a second output signal representing low level after the latch array is cleared;
judging whether the second output signal is in a rising edge state or a falling edge state;
when the second output signal is judged to be in a rising edge state, storing the second output signal to a current accumulator for accumulation, clearing the accumulator when the accumulation times of the accumulator reach a second preset value, and outputting a third output signal according to the accumulation value of the accumulator; the second preset value is larger than the first preset value;
when the second output signal is judged to be in a falling edge state, the accumulator is cleared, and then a third output signal representing low level is output;
and judging the current wire breaking condition according to the third output signal.
2. The method for detecting the disconnection of the yarn feeder according to claim 1, wherein when the first output signal is determined to be in the rising edge state, the first output signal is stored in a current latch array, and when the number of signals stored in the latch array reaches a first preset value, the latch array is cleared, and a second output signal indicating a high level is output, specifically:
when the first output signal is judged to be in a rising edge state, setting a flag bit of the rising edge, storing the first output signal to the current latch array, and controlling a counter to start counting;
when the number of the first output signals stored in the current latch array is judged to reach a first preset value according to the count value of the counter, clearing the rising edge flag bit and the counter, carrying out AND operation on the first output signals in the current latch array, and generating an operation result;
and when the operation result is judged to be 1, clearing the latch array and outputting a second output signal representing high level.
3. The method for detecting the disconnection of the yarn feeder according to claim 1, wherein when the second output signal is determined to be in a rising edge state, the second output signal is stored in a current accumulator for accumulation, and when the accumulation number of the accumulator reaches a second preset value, the accumulator is cleared, and meanwhile, a third output signal is output according to an accumulation value of the accumulator specifically:
when the second output signal is judged to be in a rising edge state, setting a rising edge flag bit, storing the second output signal to a current accumulator for accumulation, and controlling a counter to start counting;
when the accumulated times reach a second preset value according to the count value of the counter, clearing the rising edge zone bit and the counter;
and clearing the accumulator and outputting a third output signal according to the accumulated value of the accumulator.
4. The method according to claim 3, wherein outputting the third output signal according to the accumulated value of the accumulator is specifically:
when the accumulated value of the accumulator is judged to be larger than a preset threshold value, outputting a third output signal representing high level;
and outputting a third output signal representing low level when the accumulated value of the accumulator is judged to be less than the preset threshold value.
5. A broken yarn detection device of a yarn feeder is characterized by comprising:
the first output signal acquisition unit is used for acquiring a first output signal of the yarn feeder in the current period;
a first judging unit for judging whether the first output signal is in a rising edge state or a falling edge state;
the first signal output unit is used for storing the first output signal to a current latch array when the first output signal is judged to be in a rising edge state, clearing the latch array when the number of signals stored in the latch array reaches a first preset value, and simultaneously outputting a second output signal representing high level;
the second signal output unit is used for storing the first output signal to the current latch array and outputting a second output signal representing low level after clearing the latch array when the first output signal is judged to be in a falling edge state;
a second judging unit for judging whether the second output signal is in a rising edge state or a falling edge state;
the third signal output unit is used for storing the second output signal to the current accumulator for accumulation when the second output signal is judged to be in a rising edge state, resetting the accumulator when the accumulation frequency of the accumulator reaches a second preset value, and outputting a third output signal according to the accumulation value of the accumulator; the second preset value is larger than the first preset value;
the fourth signal output unit is used for outputting a third output signal representing low level after the accumulator is cleared when the second output signal is judged to be in a falling edge state;
and the fourth judging unit judges the current wire breaking condition according to the third output signal.
6. The thread breakage detection device of a thread feeder according to claim 5, wherein the first signal output unit is specifically configured to:
when the first output signal is judged to be in a rising edge state, setting a flag bit of the rising edge, storing the first output signal to the current latch array, and controlling a counter to start counting;
when the number of the first output signals stored in the current latch array is judged to reach a first preset value according to the count value of the counter, clearing the rising edge zone bit and the counter, carrying out AND operation on the first output signals in the current latch array, and generating an operation result;
and when the operation result is judged to be 1, clearing the latch array and outputting a second output signal representing high level.
7. The thread breakage detection device of a thread feeder according to claim 5, wherein the third signal output unit is specifically configured to:
when the second output signal is judged to be in a rising edge state, setting a rising edge flag bit, storing the second output signal to a current accumulator for accumulation, and controlling a counter to start counting;
when the accumulated times reach a second preset value according to the count value of the counter, clearing the rising edge zone bit and the counter;
and clearing the accumulator and outputting a third output signal according to the accumulated value of the accumulator.
8. The device for detecting a breakage of a yarn feeder according to claim 7, wherein the outputting of the third output signal according to the accumulated value of the accumulator is specifically:
when the accumulated value of the accumulator is judged to be larger than a preset threshold value, outputting a third output signal representing high level;
and outputting a third output signal representing low level when the accumulated value of the accumulator is judged to be less than the preset threshold value.
9. A yarn feeder breakage detection apparatus comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, the processor implementing a yarn feeder breakage detection method according to any one of claims 1 to 4 when executing the computer program.
10. A readable storage medium, characterized in that a computer program is stored, which computer program can be executed by a processor of a device in which the storage medium is located, to implement a method of detecting a breakage of a yarn feeder according to any one of claims 1 to 4.
CN202210117313.XA 2022-02-08 2022-02-08 Yarn breakage detection method, device and equipment of yarn feeder and readable storage medium Active CN114481436B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210117313.XA CN114481436B (en) 2022-02-08 2022-02-08 Yarn breakage detection method, device and equipment of yarn feeder and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210117313.XA CN114481436B (en) 2022-02-08 2022-02-08 Yarn breakage detection method, device and equipment of yarn feeder and readable storage medium

Publications (2)

Publication Number Publication Date
CN114481436A true CN114481436A (en) 2022-05-13
CN114481436B CN114481436B (en) 2023-10-20

Family

ID=81479247

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210117313.XA Active CN114481436B (en) 2022-02-08 2022-02-08 Yarn breakage detection method, device and equipment of yarn feeder and readable storage medium

Country Status (1)

Country Link
CN (1) CN114481436B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6470713B1 (en) * 1999-03-03 2002-10-29 Iropa Ag Method and apparatus for monitoring run/stop conditions of a yarn
CN101666013A (en) * 2009-02-11 2010-03-10 宁波太阳纺织机械有限公司 Broken yarn detecting circuit for yarn feeder
US20120031148A1 (en) * 2010-08-04 2012-02-09 L.G.L. Electronics S.P.A. Method and apparatus for detecting accidental stops of the yarn on a knitting line
CN104514078A (en) * 2013-10-02 2015-04-15 美名格-艾罗有限公司 Method and device for monitoring the production of a knitting machine
CN207313856U (en) * 2017-10-29 2018-05-04 浙江三德纺织服饰有限公司 A kind of Thread-feeding device Yarn break checkout gear
CN113638117A (en) * 2021-09-17 2021-11-12 泉州精准机械有限公司 Electronic yarn conveying system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6470713B1 (en) * 1999-03-03 2002-10-29 Iropa Ag Method and apparatus for monitoring run/stop conditions of a yarn
CN101666013A (en) * 2009-02-11 2010-03-10 宁波太阳纺织机械有限公司 Broken yarn detecting circuit for yarn feeder
US20120031148A1 (en) * 2010-08-04 2012-02-09 L.G.L. Electronics S.P.A. Method and apparatus for detecting accidental stops of the yarn on a knitting line
CN104514078A (en) * 2013-10-02 2015-04-15 美名格-艾罗有限公司 Method and device for monitoring the production of a knitting machine
CN207313856U (en) * 2017-10-29 2018-05-04 浙江三德纺织服饰有限公司 A kind of Thread-feeding device Yarn break checkout gear
CN113638117A (en) * 2021-09-17 2021-11-12 泉州精准机械有限公司 Electronic yarn conveying system

Also Published As

Publication number Publication date
CN114481436B (en) 2023-10-20

Similar Documents

Publication Publication Date Title
CN110609780B (en) Data monitoring method and device, electronic equipment and storage medium
EP0128754A2 (en) Method for controlling task process and device thereof
CN108923972B (en) Weight-reducing flow prompting method, device, server and storage medium
CN112069939A (en) Event detection method and device, electronic equipment and storage medium
CN114481436A (en) Yarn breakage detection method, device and equipment for yarn feeder and readable storage medium
CN110627142B (en) Control method and device of water purifying dispenser, storage medium and water purifying dispenser
CN110737606B (en) Memory recovery processing method and device, electronic equipment and storage medium
CN110674149A (en) Service data processing method and device, computer equipment and storage medium
CN111949421B (en) SDK calling method, device, electronic equipment and computer readable storage medium
CN110633161B (en) Broadcast processing method and device
CN111203446B (en) Control method of distributing device and terminal equipment
CN108984330B (en) Method and device for controlling storage equipment and electronic equipment
CN109886631B (en) Method, device, equipment and medium for supervising express delivery person dispatch behaviors
CN111475223B (en) Management method and device for information reminding
CN114221910B (en) Data control method and device for transmission channel
CN110110502A (en) Anti-copy method, device and the removable storage device of audio file
CN111095030A (en) Determination device, multi-optical axis photoelectric sensor, method for controlling determination device, information processing program, and storage medium
CN115373294A (en) Wet curtain cleaning reminding method and device, storage medium and electrical equipment
JPS58169219A (en) Memory contents holding system of microcomputer
CN115639790A (en) Replacement reminding method and device for hairbrush driving device and electronic equipment
KR102151625B1 (en) Facility monitoring apparatus and facility monitoring method
CN112019445B (en) Method and device for controlling flow of intelligent equipment and intelligent equipment
JP7084013B2 (en) Production control equipment and production control method
CN112463297A (en) Virtual machine resource expansion method, device and related equipment
JP2014119959A (en) Progress management system and progress management device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant