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

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

Info

Publication number
CN114481436B
CN114481436B CN202210117313.XA CN202210117313A CN114481436B CN 114481436 B CN114481436 B CN 114481436B CN 202210117313 A CN202210117313 A CN 202210117313A CN 114481436 B CN114481436 B CN 114481436B
Authority
CN
China
Prior art keywords
output signal
accumulator
rising edge
output
edge state
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.)
Active
Application number
CN202210117313.XA
Other languages
Chinese (zh)
Other versions
CN114481436A (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

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 application provides a yarn breakage detection method, a device, equipment and a readable storage medium of a yarn feeder, wherein the yarn breakage detection method, the device and the equipment are used for judging 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 the current first output signal is in the rising edge state or the falling edge state, outputting a second output signal representing a high level, if the current first output signal is not in the falling edge state, outputting a second output signal representing a low level, judging whether the second output signal is in the rising edge state, outputting a third output signal representing the low level, accumulating the second output signals in a plurality of periods and generating an accumulated value when the second output signal is in the rising edge state, outputting the third output signal representing the high level when the accumulated value is judged to be smaller than the preset value, and rapidly responding to stop after detecting that a gravity rod of the yarn feeder falls down, so as to avoid yarn feeding.

Description

Yarn breakage detection method, device and equipment of yarn feeder and readable storage medium
Technical Field
The application relates to the field of automatic control, in particular to a yarn breakage detection method, a yarn breakage detection device, yarn breakage detection equipment and a readable storage medium of a yarn feeder.
Background
The yarn feeding mechanism of the circular knitting machine consists of a yarn roll, a yarn feeder and other parts, wherein the yarn roll is led out, passes through a gravity rod of the yarn feeder, is wound on the yarn feeder for a plurality of circles, the yarn is easy to break or is conveyed completely in the yarn conveying process, the gravity rod on the yarn feeder can fall down at the moment, the yarn is ensured to be supplied by the plurality of circles of wound yarn on the yarn feeder, and once the yarn stored on the yarn feeder is insufficient, the problems of difficult wiring, reduced cloth surface quality, waste cloth formation and the like are caused, so that the system is required to respond immediately and stop when the gravity rod of the yarn feeder falls down, and excessive yarn conveying is avoided.
At present, most yarn feeders in the market are powered by alternating current, when yarns are not disconnected, a constant high-level signal is output before a gravity rod falls, when the yarns are disconnected, after the gravity rod falls, a pulse square wave alternating signal with high level and jumping 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 respond to shutdown immediately.
In view of this, the present application has been proposed.
Disclosure of Invention
The application discloses a broken line detection method, a device, equipment and a readable storage medium of a yarn feeder, which solve the problem that an output signal cannot be directly used and a system cannot immediately respond to shutdown by carrying out secondary processing on the signal of the yarn feeder.
The first embodiment of the application provides a broken yarn detection method of a yarn feeder, which comprises the following steps:
acquiring a first output signal of the yarn feeder in a current period;
judging 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, 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 representing high level is output;
storing the first output signal into a current latch array after judging that the first output signal is in a falling edge state, and outputting a second output signal representing low level after resetting the latch array;
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, the second output signal is stored in a current accumulator to be accumulated, and when the accumulation times of the accumulator reach a second preset value, the accumulator is cleared, and a third output signal is output according to the accumulation value of the accumulator; the second preset value is larger than the first preset value;
after judging that the second output signal is in a falling edge state, resetting the accumulator, and outputting a third output signal representing low level;
and judging the current disconnection condition according to the third output signal.
Preferably, when the first output signal is judged to be 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 representing 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 into 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 reaches a first preset value according to the count value of the counter, resetting the rising edge flag bit, resetting the counter, performing 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, the latch array is cleared, and a second output signal representing a high level is output.
Preferably, when the second output signal is judged to be in a rising edge state, the second output signal is stored in a current accumulator for accumulation, and when the accumulation times of the accumulator reach a second preset value, the accumulator is cleared, and a third output signal is output according to the accumulation value of the accumulator, which is specifically as follows:
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 into a current accumulator for accumulation, and controlling a counter to start and count;
when the accumulated times reach a second preset value according to the count value of the counter, resetting the rising edge flag bit and resetting the counter;
and resetting 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 is specifically:
outputting a third output signal representing a high level when it is determined that the accumulated value of the accumulator is greater than a preset threshold;
and outputting a third output signal representing a low level when the accumulated value of the accumulator is judged to be smaller than a preset threshold value.
A second embodiment of the present application provides a yarn breakage detection 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 configured to judge 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 into a current latch array when judging that the first output signal is 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 outputting a second output signal representing high level;
the second signal output unit is used for storing the first output signal into a current latch array when judging that the first output signal is in a falling edge state, and outputting a second output signal representing low level after resetting the latch array;
a second judging unit configured to judge 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 into a current accumulator for accumulation when judging that the second output signal is in a rising edge state, resetting 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;
a fourth signal output unit, configured to output a third output signal representing a low level after the accumulator is cleared when the second output signal is determined to be in a falling edge state;
and a fourth judging unit for judging the current disconnection 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 into 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 reaches a first preset value according to the count value of the counter, resetting the rising edge flag bit, resetting the counter, performing 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, the latch array is cleared, and a second output signal representing a high level is output.
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 into a current accumulator for accumulation, and controlling a counter to start and count;
when the accumulated times reach a second preset value according to the count value of the counter, resetting the rising edge flag bit and resetting the counter;
and resetting 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 is specifically:
outputting a third output signal representing a high level when it is determined that the accumulated value of the accumulator is greater than a preset threshold;
and outputting a third output signal representing a low level when the accumulated value of the accumulator is judged to be smaller than a preset threshold value.
A third embodiment of the present application provides a yarn breakage detection device for a yarn feeder, 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 breakage detection method for a yarn feeder as defined in any one of the above when executing the computer program.
A fourth embodiment of the present application provides a readable storage medium storing a computer program executable by a processor of a device in which the storage medium is located to implement a yarn breakage detection method of a yarn feeder according to any one of the above.
According to the yarn breakage detection method, device and equipment for the yarn feeder and the readable storage medium, 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 rising edge state or the falling edge state of the second output signal is judged, a third output signal representing low level is output when the second output signal is judged to be in the falling edge state, the second output signals in a plurality of periods are accumulated and accumulated to generate accumulated values, when the accumulated values are judged to be larger than a preset value, the third output signal representing high level is output when the accumulated values are judged to be smaller than the preset value, the third output signal representing high level is output, after the falling of a gravity rod of the yarn feeder is detected according to the output signal of the third period, rapid response stop is realized, and excessive yarn feeding is avoided.
Drawings
Fig. 1 is a schematic flow chart of a yarn breakage detection method of a yarn feeder according to a first embodiment of the present application;
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 application;
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
For a better understanding of the technical solution of the present application, the following detailed description of the embodiments of the present application refers to the accompanying drawings.
It should be understood that the described embodiments are merely some, but not all, embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The terminology used in the embodiments of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application 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 relationship describing the association of the associated objects, meaning that there may be three relationships, e.g., a and/or B, may represent: a exists alone, A and B exist together, and B exists alone. In addition, the character "/" herein generally indicates that the front and rear associated objects are an "or" relationship.
Depending on the context, the word "if" as used herein may be interpreted as "at … …" or "at … …" or "in response to a determination" or "in response to detection". Similarly, the phrase "if determined" or "if detected (stated condition or event)" may be interpreted as "when determined" or "in response to determination" or "when detected (stated condition or event)" or "in response to detection (stated condition or event), depending on the context.
References to "first\second" in the embodiments are merely to distinguish similar objects and do not represent a particular ordering for the objects, it being understood that "first\second" may interchange a particular order or precedence where allowed. It is to be understood that the "first\second" distinguishing objects may be interchanged where appropriate to enable the embodiments described herein to be implemented in sequences other than those illustrated or described herein.
Specific embodiments of the present application will be described in detail below with reference to the accompanying drawings.
The application discloses a broken line detection method, a device, equipment and a readable storage medium of a yarn feeder, which solve the problem that an output signal cannot be directly used and a system cannot immediately respond to shutdown by carrying out secondary processing on the signal of the yarn feeder.
Referring to fig. 1, a first embodiment of the present application provides a yarn breakage detection method of a yarn feeder, which may be executed by a yarn breakage detection device (hereinafter referred to as a detection device) of the yarn feeder, and in particular, by one or more processors in the detection device, so as to implement the following steps:
s101, acquiring a first output signal of a yarn feeder in a current period;
in this embodiment, the detection device may be a PLC controller, a single chip microcomputer, or other types of controllers, and may be configured to receive a signal output by the yarn feeder in real time, analyze the signal, and then output a control signal to control the system.
It should be noted that, be configured with yarn package lead-out wire on the gravity pole of yarn feeder, at yarn feeding in-process, the circumstances that broken string or yarn sent can appear, the gravity pole on the yarn feeder will fall this moment, and at this moment, the system should shut down immediately, avoids the yarn to carry too much, and then leads to cloth cover quality to reduce even form the problem such as waste cloth. However, in the prior art, most yarn feeders are powered by alternating current, a constant high-level signal is output before the yarn is not broken and the gravity rod falls, and when the yarn is broken and the gravity rod falls, a pulse square wave alternating signal with high level and jump 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 respond to shutdown rapidly.
In this embodiment, the output signal of the yarn feeder can be collected in real time, and it can be understood that, before the gravity rod falls, the output signal is a high level signal, and after the gravity rod falls, the output signal is a pulse square wave alternating signal of high level and jump. 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;
in this embodiment, the edge state is determined by comparing the end state of the previous period with the start state of the first output signal, specifically: and if the end of the previous circle is at a high level, the start of the first output signal is at a low level, the edge state of the first output signal is in a falling edge state, and similarly, if the end of the previous circle is at a low level, the start of the first output signal is at 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 into a current latch array, and when the number of signals stored in the latch array reaches a first preset value, resetting the latch array and outputting a second output signal representing high level;
specifically: in this embodiment, when the first output signal is determined to be in a rising edge state, a flag bit of a rising edge is set, and the first output signal is stored in a current latch array, and a counter is controlled to start counting;
when the number of the first output signals stored in the current latch array reaches a first preset value according to the count value of the counter, resetting the rising edge flag bit, resetting the counter, performing 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, the latch array is cleared, and a second output signal representing a high level is output.
It should be noted that the first preset value may be 15 (but is not limited thereto), and it should be understood that the first output signals stored in 15 are stored for performing the and operation, if the result of the operation is 1, it is indicated that the data stored in all periods are high level, and the current stable high level signal is proved, and the second output signal representing the high level is outputted.
S104, after judging that the first output signal is in a falling edge state, storing the first output signal into a current latch array, and resetting the latch array to obtain a second output signal representing low level;
when the first output signal is judged to be in a falling edge state, 15 periods after the rising trigger is latched are mainly used for judging whether the high level and the low level are stable and have no jump, and after 15 periods are full, the falling edge flag bit is cleared, and a low level, namely a 0 signal is output through one-time filtering. It should be understood that the period is counted from the edge, so it is necessary to wait until the rising edge is triggered to start counting, and of course, in other embodiments, the storing may be directly started, which 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, the edge state of the second output signal is judged to be similar to 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, the second output signal is stored in a current accumulator to be accumulated, when the accumulation times of the accumulator reach a second preset value, the accumulator is cleared, and a third output signal is output according to the accumulation value of the accumulator; the second preset value is larger than the first preset value
Specifically, in this embodiment, when the second output signal is determined to be in a rising edge state, a rising edge flag bit is set, and the second output signal is stored in a current accumulator to be accumulated, and the counter is controlled to start to count;
when the accumulated times reach a second preset value according to the count value of the counter, resetting the rising edge flag bit and resetting the counter;
and resetting the accumulator, and outputting a third output signal according to the accumulated value of the accumulator.
More specifically: outputting a third output signal representing a high level when it is determined that the accumulated value of the accumulator is greater than a preset threshold;
and outputting a third output signal representing a low level when the accumulated value of the accumulator is judged to be smaller than a preset threshold value.
It should be noted that the second preset value may be 600 (but not limited to this), it should be understood that the second output signals of 600 consecutive periods are summed together, and after 600 periods pass, the rising edge flag bit is cleared, and the calculator is cleared, and if the summed value is in the range of 598-600 (but not limited to this, the range may be 596-600), the state of the input is determined to be continuously high (there may be a disturbance in the allowing process resulting in a respective low level), and then the high level signal, i.e. the 1 signal, is output by the secondary filtering.
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 program-written and cured, so that more flexible parameter configuration is realized.
S107, after judging that the second output signal is in a falling edge state, resetting the accumulator, and outputting a third output signal representing low level;
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 secondary filtering input signal), and the latching modes adopted are different, because the period of the secondary filtering signal is longer, and the latching mode adopting array latching occupies a large amount of memory space, so that the latching mode adopting accumulation and summation is that the accumulation of the input signal level condition is carried out at the beginning of rising edge triggering, the accumulation is carried out until the count value is full, whether the accumulated value is equal to or greater than the count value is judged, if yes, the conditions of high level are all described, if not, the high-low level change exists in the middle is described; when the signal is 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.
S108, judging the current disconnection 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, the system can rapidly respond to stop, and excessive yarn feeding is avoided.
The beneficial effects of the above embodiment at least include:
(1) The original yarn feeder can not directly use signals and is converted into single usable signals;
(2) The trigger response time of the falling edge is controlled within 2-3 periods of actual interrupt execution, and if the interrupt period is shortened, the response time is shorter, so that the yarn conveying is greatly protected.
Referring to fig. 2, a second embodiment of the present application provides a yarn breakage detection device of a yarn feeder, comprising:
a first output signal obtaining unit 201, configured to obtain 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;
a first signal output unit 203, configured to store the first output signal into a current latch array when the first output signal is determined to be in a rising edge state, and 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 representing a high level;
a second signal output unit 204, configured to store the first output signal to a current latch array when the first output signal is determined to be in a falling edge state, and clear the latch array, and output a second output signal representing a low level;
a second judging unit 205, configured to judge 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 to a current accumulator for accumulation when the second output signal is determined to be in a rising edge state, clear the accumulator when the accumulation number of times of the accumulator reaches a second preset value, and output a third output signal according to the accumulation value of the accumulator; the second preset value is larger than the first preset value;
a fourth signal output unit 207, configured to, after determining that the second output signal is in a falling edge state, clear the accumulator, and output a third output signal representing a low level;
and a fourth judging unit 208, configured to judge the current disconnection 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 into 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 reaches a first preset value according to the count value of the counter, resetting the rising edge flag bit, resetting the counter, performing 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, the latch array is cleared, and a second output signal representing a high level is output.
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 into a current accumulator for accumulation, and controlling a counter to start and count;
when the accumulated times reach a second preset value according to the count value of the counter, resetting the rising edge flag bit and resetting the counter;
and resetting 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 is specifically:
outputting a third output signal representing a high level when it is determined that the accumulated value of the accumulator is greater than a preset threshold;
and outputting a third output signal representing a low level when the accumulated value of the accumulator is judged to be smaller than a preset threshold value.
A third embodiment of the present application provides a yarn breakage detection device for a yarn feeder, 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 breakage detection method for a yarn feeder as defined in any one of the above when executing the computer program.
A fourth embodiment of the present application provides a readable storage medium storing a computer program executable by a processor of a device in which the storage medium is located to implement a yarn breakage detection method of a yarn feeder according to any one of the above.
According to the yarn breakage detection method, device and equipment for the yarn feeder and the readable storage medium, 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 rising edge state or the falling edge state of the second output signal is judged, a third output signal representing low level is output when the second output signal is judged to be in the falling edge state, the second output signals in a plurality of periods are accumulated and accumulated to generate accumulated values, when the accumulated values are judged to be larger than a preset value, the third output signal representing high level is output when the accumulated values are judged to be smaller than the preset value, the third output signal representing high level is output, after the falling of a gravity rod of the yarn feeder is detected according to the output signal of the third period, rapid response stop is realized, and excessive yarn feeding is avoided.
Illustratively, the computer programs described in the third and fourth embodiments of the present application may be divided into one or more modules, which are stored in the memory and executed by the processor to complete the present application. The one or more modules may be a series of computer program instruction segments capable of performing a specific function for describing the execution of the computer program in the thread breakage detection device implementing a thread feeder. For example, the device described in the second embodiment of the present application.
The processor may be a central processing unit (Central Processing Unit, CPU), other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, which is a control center of the yarn breakage detection method of one yarn feeder, and the various interfaces and lines are used to connect the various parts of the whole yarn breakage detection method of one yarn feeder.
The memory may be used to store the computer program and/or the module, and the processor may implement various functions of a yarn breakage detection method of the yarn feeder by running or executing the computer program and/or the module stored in the memory and invoking 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 (such as a sound playing function, a text conversion function, etc.) required for at least one function, 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, memory, plug-in hard disk, smart Media Card (SMC), secure Digital (SD) Card, flash Card (Flash Card), at least one disk storage device, flash memory device, or other volatile solid-state storage device.
Wherein the modules may be stored in a computer readable storage medium if implemented in the form of software functional units and sold or used as a stand alone product. Based on this understanding, the present application may implement all or part of the flow of the method of the above embodiment, or may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and the computer program may implement the steps of each method embodiment described above when executed by a processor. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth. It should be noted that the computer readable medium contains content that can be appropriately scaled according to the requirements of jurisdictions in which such content is subject to legislation and patent practice, such as in certain jurisdictions in which such content is subject to legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunication signals.
It should be noted that the above-described apparatus embodiments are merely illustrative, and the units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. In addition, in the drawings of the embodiment of the device provided by the application, the connection relation between the modules represents that the modules have communication connection, and can be specifically implemented as one or more communication buses or signal lines. Those of ordinary skill in the art will understand and implement the present application without undue burden.
The present application is not limited to the above-mentioned embodiments, and any changes or substitutions that can be easily understood by those skilled in the art within the technical scope of the present application are intended to be included in the scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims (10)

1. A yarn breakage detection method of a yarn feeder, comprising:
acquiring a first output signal of the yarn feeder in a current period;
judging 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, 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 representing high level is output;
storing the first output signal into a current latch array after judging that the first output signal is in a falling edge state, and outputting a second output signal representing low level after resetting the latch array;
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, the second output signal is stored in a current accumulator to be accumulated, and when the accumulation times of the accumulator reach a second preset value, the accumulator is cleared, and a third output signal is output according to the accumulation value of the accumulator; the second preset value is larger than the first preset value;
after judging that the second output signal is in a falling edge state, resetting the accumulator, and outputting a third output signal representing low level;
and judging the current disconnection condition according to the third output signal.
2. The method for detecting a broken yarn of a yarn feeder according to claim 1, wherein when the first output signal is judged to be 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 representing 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 into 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 reaches a first preset value according to the count value of the counter, resetting the flag bit of the rising edge, resetting the counter, performing 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, the latch array is cleared, and a second output signal representing a high level is output.
3. The method for detecting yarn breakage of yarn feeder according to claim 1, wherein when the second output signal is judged to be in a rising edge state, the second output signal is stored in a current accumulator for accumulation, and when the accumulation times of the accumulator reach a second preset value, the accumulator is cleared, and a third output signal is output according to the accumulation value of the accumulator, specifically:
when the second output signal is judged to be in a rising edge state, setting a flag bit of the rising edge, storing the second output signal into a current accumulator for accumulation, and controlling a counter to start for counting;
when the accumulated times reach a second preset value according to the count value of the counter, resetting the flag bit of the rising edge and resetting the counter;
and resetting the accumulator, and outputting a third output signal according to the accumulated value of the accumulator.
4. A method for detecting breakage of yarn feeder according to claim 3, wherein said outputting a third output signal according to the accumulated value of said accumulator is specifically:
outputting a third output signal representing a high level when it is determined that the accumulated value of the accumulator is greater than a preset threshold;
and outputting a third output signal representing a low level when the accumulated value of the accumulator is judged to be smaller than a preset threshold value.
5. A yarn breakage detection device of a yarn feeder, 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 configured to judge 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 into a current latch array when judging that the first output signal is 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 outputting a second output signal representing high level;
the second signal output unit is used for storing the first output signal into a current latch array when judging that the first output signal is in a falling edge state, and outputting a second output signal representing low level after resetting the latch array;
a second judging unit configured to judge 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 into a current accumulator for accumulation when judging that the second output signal is in a rising edge state, resetting 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;
a fourth signal output unit, configured to output a third output signal representing a low level after the accumulator is cleared when the second output signal is determined to be in a falling edge state;
and a fourth judging unit for judging the current disconnection condition according to the third output signal.
6. The yarn breakage detection device of a yarn feeder as in claim 5, wherein said 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 into 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 reaches a first preset value according to the count value of the counter, resetting the flag bit of the rising edge, resetting the counter, performing 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, the latch array is cleared, and a second output signal representing a high level is output.
7. The yarn breakage detection device of a yarn feeder as in claim 5, wherein said third signal output unit is specifically configured to:
when the second output signal is judged to be in a rising edge state, setting a flag bit of the rising edge, storing the second output signal into a current accumulator for accumulation, and controlling a counter to start for counting;
when the accumulated times reach a second preset value according to the count value of the counter, resetting the flag bit of the rising edge and resetting the counter;
and resetting the accumulator, and outputting a third output signal according to the accumulated value of the accumulator.
8. The yarn breakage detection device of yarn feeder as in claim 7, wherein said outputting a third output signal based on the accumulated value of said accumulator is specifically:
outputting a third output signal representing a high level when it is determined that the accumulated value of the accumulator is greater than a preset threshold;
and outputting a third output signal representing a low level when the accumulated value of the accumulator is judged to be smaller than a preset threshold value.
9. A yarn breakage detection device for yarn feeders, characterized by 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 breakage detection method for yarn feeders 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 is executable by a processor of a device in which the storage medium is located, for implementing a yarn breakage detection method 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 CN114481436A (en) 2022-05-13
CN114481436B true 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 (5)

* 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
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2415916B1 (en) * 2010-08-04 2015-03-04 L.G.L. Electronics S.p.A. Method and apparatus for detecting accidental stops of the yarn on a knitting line

Patent Citations (5)

* 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
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
CN114481436A (en) 2022-05-13

Similar Documents

Publication Publication Date Title
CN108345524B (en) Application program monitoring method and application program monitoring device
EP0128754B1 (en) Method for controlling task process and device thereof
CN108366114B (en) Application addiction prevention method and device, terminal and computer readable storage medium
CN105094936A (en) Background application program cleaning method and device applied to mobile terminal
CN101385002B (en) Alarm management system
CN111776664B (en) Tobacco blocking early warning method and device
CN112069939A (en) Event detection method and device, electronic equipment and storage medium
CN114481436B (en) Yarn breakage detection method, device and equipment of yarn feeder and readable storage medium
CN103810823A (en) Alarm processing method and device
CN110627142B (en) Control method and device of water purifying dispenser, storage medium and water purifying dispenser
CN109413166B (en) Industrial gateway and data management method thereof
CN111949421B (en) SDK calling method, device, electronic equipment and computer readable storage medium
CN113038331A (en) Method and device for detecting wireless earphone in and out box
CN110633161B (en) Broadcast processing method and device
CN108984330B (en) Method and device for controlling storage equipment and electronic equipment
CN114221910B (en) Data control method and device for transmission channel
CN111475223B (en) Management method and device for information reminding
CN115373294A (en) Wet curtain cleaning reminding method and device, storage medium and electrical equipment
CN115549234A (en) Power management self-adaptive charging and discharging control method, system and equipment
KR102151625B1 (en) Facility monitoring apparatus and facility monitoring method
CN112463297A (en) Virtual machine resource expansion method, device and related equipment
CN109561342A (en) Set-top box flow rate protecting method, device, set-top box and storage medium
CN211604278U (en) Unusual intelligent broadcasting device of key process of system silk thread
CN112947841A (en) Method, device, equipment and storage medium for reading embedded flash memory data
CN112653236B (en) Method for studying and judging alarm information inside and outside transformer substation and storage medium

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