Automatic addressing method, device and equipment for needle selector and storage medium
Through the control system to collect the voltage value of the needle selector and automatically distribute the addressing information, the problem of high manual participation and low efficiency in the needle selector addressing in the existing technology is solved, automatic addressing is realized, and the efficiency is improved.
Patent Information
- Application Number
- CN202411156543.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-22
- Publication Date
- 2025-01-24
AI Technical Summary
In the prior art, the needle selector addressing method has high manual participation and low efficiency, and requires operators to have certain professional knowledge.
The control system sends collection instructions to the needle selector. The needle selector determines the voltage value of its terminals and feeds it back to the control system. The control system automatically assigns the addressing information of the needle selector based on the voltage value.
The automatic addressing of the needle selection is realized, reducing the manual participation and improving the efficiency of the addressing.
Smart Images

Figure CN119352221A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of knitting machinery, and in particular, relates to a method, device, equipment and storage medium for automatic addressing of a needle selector. Background Art
[0002] The needle selector is an important component for knitting machines. It is responsible for converting the jacquard instructions of the electronic control system into mechanical actions. During the knitting process, the needle selector selects different needles for knitting according to the required pattern or pattern, thereby achieving complex pattern design. On a knitting machine, there are usually multiple needle selectors, each of which is located in a different position and is responsible for controlling different areas of the needle bed.
[0003] In the prior art, the coding method of the needle selector relies on the operator to manually confirm the position of each needle selector through the human-machine interface and assign an address to it, or to set a hardware dip switch on each needle selector and the operator manually sets the address before installation.
[0004] However, the coding method of the needle selector in the prior art has a high degree of manual participation and requires operators to have certain professional knowledge to operate, resulting in high operating thresholds and low efficiency. Summary of the invention
[0005] The present application provides a method, device, equipment and storage medium for automatic addressing of a needle selector, so as to solve the defects of high manual participation and low efficiency in addressing of a needle selector in the prior art.
[0006] In a first aspect, the present application provides a method for automatically addressing a needle selector, which is applied to a knitting device, wherein the knitting device comprises: a control system and a plurality of needle selectors in a series voltage divider circuit, the method comprising:
[0007] The control system sends a collection instruction to the multiple needle selectors;
[0008] For any one of the plurality of needle selectors, the needle selector determines a voltage value of a corresponding terminal according to the acquisition instruction, and feeds the voltage value back to the control system;
[0009] The control system determines the addressing information of each needle selector according to the voltage values fed back by the multiple needle selectors.
[0010] Optionally, each needle selector is connected to a corresponding voltage detection element, and the needle selector determines the voltage value of the corresponding terminal according to the acquisition instruction, including:
[0011] The needle selector sends a detection instruction to the corresponding voltage detection element according to the acquisition instruction;
[0012] The needle selector receives a detection result fed back by a corresponding voltage detection element, and the detection result is used to indicate a voltage value of a connection terminal corresponding to the needle selector.
[0013] Optionally, the control system determines the addressing information of each needle selector according to the voltage values fed back by the multiple needle selectors, including:
[0014] The control system determines the position information of each needle selector on the series voltage divider circuit according to the voltage values fed back by the multiple needle selectors;
[0015] And according to the position information of the plurality of needle selectors, the addressing information of each needle selector is determined.
[0016] Optionally, the control system determines the position information of each needle selector on the series voltage divider circuit according to the voltage values fed back by the multiple needle selectors, including:
[0017] For any one of the multiple voltage values, the control system determines whether the voltage value matches a corresponding preset voltage range, where the preset voltage range is a normal voltage range corresponding to a target needle selector that feeds back the voltage value;
[0018] In the case where the voltage value matches the preset voltage range, the control system determines the position information of each needle selector on the series voltage divider circuit according to the voltage values fed back by the multiple needle selectors.
[0019] Optionally, the method further includes:
[0020] In the case where the voltage value does not match the preset voltage range, the control system generates an error prompt message and terminates the automatic addressing procedure.
[0021] Optionally, the control system sends a collection instruction to the multiple needle selectors, including:
[0022] When the control system is started, the control system starts initialization and generates a collection instruction;
[0023] The control system encodes the acquisition instruction to obtain an instruction code, wherein the transmission format of the instruction code is a preset format;
[0024] The control system sends the instruction code to the multiple needle selectors through the needle selector communication line.
[0025] In a second aspect, the present application provides a needle selector automatic addressing device, the device comprising:
[0026] A sending module, used for the control system to send a collection instruction to the multiple needle selectors;
[0027] A determination module, configured to determine, for any one of the plurality of needle selectors, a voltage value of a corresponding terminal according to the acquisition instruction;
[0028] The sending module is further used to feed back the voltage value to the control system;
[0029] The determination module is also used by the control system to determine the addressing information of each needle selector according to the voltage values fed back by the multiple needle selectors.
[0030] Optionally, the needle selector automatic addressing device further includes: a receiving module;
[0031] The sending module is also used for the needle selector to send a detection instruction to the corresponding voltage detection element according to the acquisition instruction;
[0032] The receiving module is used for the needle selector to receive the detection result fed back by the corresponding voltage detection element, and the detection result is used to indicate the voltage value of the connection terminal corresponding to the needle selector.
[0033] Optionally, the determination module is further used for the control system to determine the position information of each needle selector on the series voltage divider circuit according to the voltage values fed back by the multiple needle selectors;
[0034] The determination module is further used to determine the addressing information of each needle selector based on the position information of the multiple needle selectors.
[0035] Optionally, the needle selector automatic addressing device further includes: a judgment module;
[0036] The judgment module is used for the control system to judge, for any one of the multiple voltage values, whether the voltage value matches a corresponding preset voltage range, where the preset voltage range is a normal voltage range corresponding to a target needle selector that feeds back the voltage value;
[0037] The determination module is further configured to, when the voltage value matches the preset voltage range, determine, by the control system, the position information of each needle selector on the series voltage divider circuit according to the voltage values fed back by the multiple needle selectors.
[0038] Optionally, the needle selector automatic addressing device further includes: a processing module;
[0039] The processing module is used for generating an error prompt message and terminating the automatic addressing procedure when the voltage value does not match the preset voltage range.
[0040] Optionally, the processing module is further used to start initialization of the control system and generate a collection instruction when the control system is started;
[0041] The processing module is also used for the control system to encode the acquisition instruction to obtain an instruction code, and the transmission format of the instruction code is a preset format;
[0042] The sending module is also used for the control system to send the instruction code to the multiple needle selectors through the needle selector communication line.
[0043] In a third aspect, the present application provides a needle selector automatic addressing device, comprising:
[0044] Memory;
[0045] processor;
[0046] Wherein, the memory stores computer-executable instructions;
[0047] The processor executes the computer-executable instructions stored in the memory to implement the needle selector automatic addressing method as described in the first aspect and various possible implementations of the first aspect.
[0048] In a fourth aspect, the present application provides a computer storage medium having a computer program stored thereon, wherein the computer program is executed by a processor to implement the automatic addressing method for a needle selector as described in the first aspect and various possible implementations of the first aspect.
[0049] The present application provides a method, device, equipment and storage medium for automatic addressing of needle selectors, which are applied in the field of knitting machinery technology. The method is applied to knitting equipment, which includes: a control system and multiple needle selectors on a series voltage divider circuit, the control system sends a collection instruction to the multiple needle selectors; for any one of the multiple needle selectors, the needle selector determines the voltage value of the corresponding terminal according to the collection instruction, and feeds the voltage value back to the control system; the control system determines the addressing information of each needle selector according to the voltage values fed back by the multiple needle selectors, realizes automatic addressing, reduces manual participation, and improves efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0051] Figure 1 Schematic diagram of the process of the automatic addressing method of the needle selector provided in this application Figure 1 ;
[0052] Figure 2 Schematic diagram of the process of the automatic addressing method of the needle selector provided in this application Figure 2 ;
[0053] Figure 3 A schematic diagram of the structure of the automatic addressing device for the needle selector provided in this application;
[0054] Figure 4 This is a schematic diagram of the structure of the automatic addressing device for the needle selector provided in this application.
[0055] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0056] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the drawings in this application. Obviously, the described embodiments are part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0057] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in sequences other than those illustrated or described herein.
[0058] In the embodiments of the present application, the words "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0059] First, the terms involved in this application are explained.
[0060] Needle selector: The needle selector is an important component for all kinds of knitting machines to realize fully automatic jacquard. It is responsible for converting the jacquard instructions of the electronic control into mechanical actions. Each jacquard knitting machine has multiple sets of needle selectors. Each needle selector is located at a different position on the mechanical needle cylinder of the sock machine, resulting in different functions and actions of each needle selector. According to the needs of the actual working pattern, each needle selector needs to perform different actions. However, as a universal driving component, each needle selector module is the same, which requires that the needle selector must have its own coding address so that each needle selector can be distinguished. When the machine is running, it sends independent action instructions to each needle selector according to the instructions of the electronic control to complete the jacquard action.
[0061] Serial needle selector: The serial needle selector connects all the needle selectors of the entire machine through a communication line to form a serial execution network. Each needle selector has its own controller, which accepts the operation action instructions sent by the host computer and can perform position addressing according to the instructions sent by the host computer.
[0062] The needle selector is an indispensable key component of the knitting machine. Its main responsibility is to convert the jacquard instructions of the electronic control system into specific mechanical actions. During the knitting process, the needle selector accurately selects different needles for knitting according to the required pattern or pattern, thereby achieving complex and exquisite pattern design. On a knitting machine, multiple needle selectors are usually installed. Each needle selector is located in a different position and is responsible for controlling different needle bed areas to ensure that each needle in the knitting process can accurately complete its task and jointly create the desired pattern effect.
[0063] In the prior art, each knitting machine is equipped with multiple serial needle selectors, each of which has the same drive module. In order to distinguish each needle selector, the following two implementation methods are mainly used in the past:
[0064] 1. Manual addressing:
[0065] After the serial needle selector is powered on, the internal MCU of the serial needle selector will generate a unique identification code, and the unique identification code will remain unchanged for this needle selector. The host computer enters the equipment management human-computer interaction interface, and the host computer issues a query command to collect all the serial needle selector version information and unique identification codes below to the host computer. The host computer randomly selects an identification code and uses the communication command to make the needle selector with this unique identification code generate an action, or if the needle selector has an indicator light, let this needle selector light up, and other needle selectors remain silent, so that the operator can determine which needle selector is currently corresponding, and then manually force addressing according to the position of the needle selector on the machine, so that the addressing of the current needle selector can be obtained.
[0066] 2. Manual dialing:
[0067] Manual dialing is a hardware integrated dial switch on the serial needle selector. Each needle selector is manually dialed before being installed on the specific position of the machine. Corresponding to the serial number on the machine, the dial sets the corresponding number. Each needle selector can be distinguished by dialing, and the host computer can also obtain the specific address of each needle selector through communication instructions.
[0068] However, the addressing method of the needle selector in the prior art requires manual setting, which places requirements on the operator and requires the operator to master certain professional knowledge. The manual addressing scheme requires the operator to be familiar with the operating procedures, and the position of each needle selector must be accurately set. Once the registration position of the needle selector is incorrect, the needle selector needs to be deregistered first and then re-registered. If the needle selector needs to be replaced during debugging, the two needle selectors that are swapped need to be deregistered first, and then re-registered according to the process, which is cumbersome. In the manual dialing setting scheme, each needle selector must be manually dialed before installation, and the dialing setting must be correct. Once the dialing is repeated or the dialing is wrong, the entire weaving cannot run. This results in a high threshold and low efficiency for the addressing operation of the needle selector.
[0069] In response to the above problems, this application proposes a method for automatic addressing of needle selectors. This method sends a voltage acquisition instruction to each needle selector, and the needle selector determines the voltage on its terminal and feeds the voltage value back to the control system. The control system directly assigns an address to the needle selector according to the voltage value, realizes automatic addressing, reduces the operation threshold, and improves addressing efficiency.
[0070] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0071] Figure 1 A schematic diagram of a method for automatically addressing a needle selector provided in an embodiment of the application Figure 1 .like Figure 1 As shown, the automatic addressing method of the needle selector provided in this embodiment includes:
[0072] S101. The control system sends a collection instruction to multiple needle selectors.
[0073] Among them, the control system is initialized after power-on, and is ready for automatic addressing of the needle selector. During the initialization process, the control system will check its own status and configuration to ensure that it is in an operational state.
[0074] The control system generates a specific acquisition instruction to obtain the voltage value of the needle selector. The acquisition instruction will be encoded into a format suitable for the communication protocol. The control system sends the acquisition instruction to all connected needle selectors through the needle selector communication line.
[0075] S102. For any one of the multiple needle selectors, the needle selector determines the voltage value of the corresponding terminal according to the acquisition instruction, and feeds the voltage value back to the control system.
[0076] Among them, for any one of the multiple needle selectors, each needle selector starts to detect the voltage value on its own terminal after receiving the acquisition instruction. The circuit design in the needle selector makes a unique voltage value generated on the terminal of each needle selector, and the needle selector feeds back the detected voltage value to the control system through the communication line.
[0077] S103: The control system determines the addressing information of each needle selector according to the voltage values fed back by the multiple needle selectors.
[0078] Among them, after the control system receives the voltage values fed back by all needle selectors, the control system processes the voltage values fed back by multiple needle selectors. Each voltage value corresponds to a specific position. The control system determines the position of the needle selector in the circuit based on the voltage value and assigns an address to each needle selector. After the control system confirms that the addressing is correct, it stores the addressing information in the memory or persistent storage to complete the addressing of each needle selector.
[0079] This embodiment proposes an automatic addressing method for a needle selector, which is applied to a weaving device, wherein the weaving device includes: a control system and multiple needle selectors in a series voltage divider circuit, the control system sends collection instructions to the multiple needle selectors; for any one of the multiple needle selectors, the needle selector determines the voltage value of the corresponding terminal according to the collection instruction, and feeds the voltage value back to the control system; the control system determines the addressing information of each needle selector according to the voltage values fed back by the multiple needle selectors, thereby realizing automatic addressing, reducing manual participation, and improving efficiency.
[0080] Figure 2 This is a schematic diagram of a method for automatic addressing of a needle selector provided in an embodiment of the present application. Figure 2 This embodiment is in Figure 1 Based on the embodiment, the automatic addressing method of the needle selector is described in detail. Figure 2 As shown, the automatic addressing method of the needle selector provided in this embodiment includes:
[0081] S201. When the control system is started, the control system starts initialization and generates a collection instruction.
[0082] After the control system is started, basic hardware detection and software initialization are performed, such as loading necessary drivers and configuration parameters. The communication interface connected to the needle selector communication line is initialized to ensure stable data transmission with the needle selector. The hardware and software of the control system are self-checked to ensure that there are no faults or abnormalities.
[0083] The control system generates a command for voltage acquisition according to the predefined communication protocol. This command will be sent to all connected needle selectors so that they can measure and report the voltage value of their respective terminals.
[0084] S202: The control system encodes the collected instruction to obtain an instruction code.
[0085] The control system encodes the collected instructions to generate instruction codes, and the transmission format of the instruction codes is a preset format, such as binary format.
[0086] S203, the control system sends a command code to multiple needle selectors through the needle selector communication line.
[0087] The control system sends the acquisition command to all connected needle selectors through the needle selector communication line. Because the needle selectors are connected in series, only one command needs to be sent to reach all needle selectors.
[0088] S204 . For any one of the multiple needle selectors, send a detection instruction to a corresponding voltage detection element according to the acquisition instruction.
[0089] Wherein, for any one of the multiple needle selectors, the needle selector sends a detection instruction to a voltage detection element inside the needle selector according to the acquisition instruction, so that the voltage detection element inside the needle selector measures the voltage value on the wiring terminal connected thereto.
[0090] Because multiple needle selectors form a series voltage divider circuit, the voltage value is determined by the position of the needle selector in the circuit, and the measurement point of each needle selector has a unique voltage value.
[0091] S205. The needle selector receives the detection result fed back by the corresponding voltage detection element, where the detection result is used to indicate the voltage value of the connection terminal corresponding to the needle selector, and feeds back the voltage value to the control system.
[0092] The needle selector receives the voltage value fed back by the corresponding voltage detection element, and each needle selector feeds back the detected voltage value to the control system through the communication line.
[0093] S206. For any one of the multiple voltage values, the control system determines whether the voltage value matches the corresponding preset voltage range. If so, execute step S207; if not, execute step S208.
[0094] Among them, for any one of multiple voltage values, the control system determines whether the voltage value matches the corresponding preset voltage range, and the preset voltage range is the normal voltage range corresponding to the target selector for the feedback voltage value.
[0095] In a possible implementation, for selector 1, the preset voltage range may be 5V ± 10%. If the feedback voltage value V1 falls within the range of 5V ± 10%, it is considered that selector 1 is in the correct position; otherwise, the control system generates an error prompt message and aborts the automatic addressing program.
[0096] S207. The control system determines the position information of each selector on the series voltage division circuit according to the voltage values fed back by multiple selectors, and determines the addressing information of each selector according to the position information of multiple selectors.
[0097] Among them, since the position of each selector in the series circuit determines that the voltage value of its measurement point is unique, its position can be determined by the voltage value. When the voltage value matches the preset voltage range, the control system determines the position information of each selector on the series voltage division circuit according to the voltage value of each selector. The control system assigns a unique address to each selector according to the position information of each selector. After all selectors complete automatic addressing, the control system completes the automatic addressing program.
[0098] In a possible implementation, for the voltage values that match successfully, the control system determines the position information of each selector on the series voltage division circuit according to the voltage value of each selector.
[0099] For example, assuming V1 < V2 < V3 < V4 < V5 < V6, then the control system can determine the relative positions of each selector in the series circuit according to the order of these voltage values.
[0100] The control system assigns a unique address number to each selector according to the position information of each selector. For example, if the position voltage of selector 1 is V1, the control system assigns it the address: selector installed at position 1; if the position voltage of selector 2 is V2, it assigns it the address: selector installed at position 2.
[0101] S208. The control system generates an error prompt message and aborts the automatic addressing program.
[0102] This embodiment proposes a method for automatic addressing of selectors. This method starts and generates a collection instruction through the control system, encodes the collection instruction and sends it to all selectors; the selectors detect the voltage and feedback the results to the control system, and the control system verifies that the voltage value is not within the preset range and addresses the selectors corresponding to the voltage values, thereby realizing automatic addressing, reducing the manual participation degree and improving the efficiency.
[0103] Figure 3 A schematic diagram of the structure of a needle selector automatic addressing device provided in this application, such as Figure 3 As shown, the needle selector automatic addressing device 300 provided in this embodiment includes:
[0104] A sending module 301, used for the control system to send a collection instruction to the multiple needle selectors;
[0105] A determination module 302, configured to determine, for any one of the plurality of needle selectors, a voltage value of a corresponding terminal according to the acquisition instruction;
[0106] The sending module 301 is further used to feed back the voltage value to the control system;
[0107] The determination module 302 is further used by the control system to determine the addressing information of each needle selector according to the voltage values fed back by the multiple needle selectors.
[0108] Optionally, the needle selector automatic addressing device further includes: a receiving module 303;
[0109] The sending module 301 is also used for the needle selector to send a detection instruction to the corresponding voltage detection element according to the acquisition instruction;
[0110] The receiving module 303 is used for the needle selector to receive the detection result fed back by the corresponding voltage detection element, and the detection result is used to indicate the voltage value of the connection terminal corresponding to the needle selector.
[0111] Optionally, the determination module 302 is further used for the control system to determine the position information of each needle selector on the series voltage divider circuit according to the voltage values fed back by the multiple needle selectors;
[0112] The determination module 302 is further configured to determine addressing information of each needle selector based on the position information of the plurality of needle selectors.
[0113] Optionally, the needle selector automatic addressing device further includes: a judgment module 304;
[0114] The judgment module 304 is used for the control system to judge, for any one of the multiple voltage values, whether the voltage value matches a corresponding preset voltage range, where the preset voltage range is a normal voltage range corresponding to a target needle selector that feeds back the voltage value;
[0115] The determination module 302 is further configured to, when the voltage value matches the preset voltage range, determine, by the control system, the position information of each needle selector on the series voltage divider circuit according to the voltage values fed back by the multiple needle selectors.
[0116] Optionally, the needle selector automatic addressing device further includes: a processing module 305;
[0117] The processing module 305 is used for generating an error message and terminating the automatic addressing procedure when the voltage value does not match the preset voltage range.
[0118] Optionally, the processing module 305 is further configured to start initialization of the control system and generate a collection instruction when the control system is started;
[0119] The processing module 305 is also used for the control system to encode the acquisition instruction to obtain an instruction code, and the transmission format of the instruction code is a preset format;
[0120] The sending module 301 is also used for the control system to send the instruction code to the multiple needle selectors through the needle selector communication line.
[0121] Figure 4 This is a schematic diagram of the structure of a needle selector automatic addressing device provided in this application. Figure 4 As shown, the present application provides a needle selector automatic addressing device, and the needle selector automatic addressing device 400 includes: a receiver 401, a transmitter 402, a processor 403 and a memory 404.
[0122] Receiver 401, used for receiving instructions and data;
[0123] A transmitter 402, used for sending instructions and data;
[0124] Memory 404, for storing computer-executable instructions;
[0125] The processor 403 is used to execute the computer-executable instructions stored in the memory 404 to implement the various steps executed by the automatic addressing method for the needle selector in the above embodiment. For details, please refer to the relevant description in the above embodiment of the automatic addressing method for the needle selector.
[0126] Optionally, the memory 404 may be independent or integrated with the processor 403 .
[0127] When the memory 404 is independently provided, the electronic device further includes a bus for connecting the memory 404 and the processor 403 .
[0128] The present application also provides a computer storage medium, in which computer execution instructions are stored. When a processor executes the computer execution instructions, the automatic addressing method for a needle selector as performed by the automatic addressing device for a needle selector described above is implemented.
[0129] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those of ordinary skill in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0130] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.
[0131] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. A method for automatic addressing of a needle selector, characterized in that: Applied to a knitting device, the knitting device comprises: a control system and a plurality of needle selectors connected in series with a voltage divider circuit, the method comprising: The control system sends a collection instruction to the multiple needle selectors; For any one of the plurality of needle selectors, the needle selector determines a voltage value of a corresponding terminal according to the acquisition instruction, and feeds the voltage value back to the control system; The control system determines the addressing information of each needle selector according to the voltage values fed back by the multiple needle selectors.
2. The method according to claim 1, characterized in that Each needle selector is connected to a corresponding voltage detection element, and the needle selector determines the voltage value of the corresponding terminal according to the acquisition instruction, including: The needle selector sends a detection instruction to the corresponding voltage detection element according to the acquisition instruction; The needle selector receives a detection result fed back by a corresponding voltage detection element, and the detection result is used to indicate a voltage value of a connection terminal corresponding to the needle selector.
3. The method according to claim 1, characterized in that The control system determines the addressing information of each needle selector according to the voltage values fed back by the multiple needle selectors, including: The control system determines the position information of each needle selector on the series voltage divider circuit according to the voltage values fed back by the multiple needle selectors; And according to the position information of the plurality of needle selectors, the addressing information of each needle selector is determined.
4. The method according to claim 3, characterized in that The control system determines the position information of each needle selector on the series voltage divider circuit according to the voltage values fed back by the multiple needle selectors, including: For any one of the multiple voltage values, the control system determines whether the voltage value matches a corresponding preset voltage range, where the preset voltage range is a normal voltage range corresponding to a target needle selector that feeds back the voltage value; In the case where the voltage value matches the preset voltage range, the control system determines the position information of each needle selector on the series voltage divider circuit according to the voltage values fed back by the multiple needle selectors.
5. The method according to claim 4, characterized in that The method further comprises: In the case where the voltage value does not match the preset voltage range, the control system generates an error prompt message and terminates the automatic addressing procedure.
6. The method according to claim 1, characterized in that The control system sends a collection instruction to the plurality of needle selectors, including: When the control system is started, the control system starts initialization and generates a collection instruction; The control system encodes the acquisition instruction to obtain an instruction code, wherein the transmission format of the instruction code is a preset format; The control system sends the instruction code to the multiple needle selectors through the needle selector communication line.
7. An automatic addressing device for a needle selector, characterized in that: The device comprises: A sending module, used to control the system to send acquisition instructions to multiple needle selectors; A determination module, configured to determine, for any one of the plurality of needle selectors, a voltage value of a corresponding terminal according to the acquisition instruction; The sending module is further used to feed back the voltage value to the control system; The determination module is also used by the control system to determine the addressing information of each needle selector according to the voltage values fed back by the multiple needle selectors.
8. The device according to claim 7, characterized in that The device further comprises: a receiving module; The sending module is also used for the needle selector to send a detection instruction to the corresponding voltage detection element according to the acquisition instruction; The receiving module is used for the needle selector to receive the detection result fed back by the corresponding voltage detection element, and the detection result is used to indicate the voltage value of the connection terminal corresponding to the needle selector.
9. A needle selector automatic addressing device, characterized in that: include: Memory; processor; Wherein, the memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the automatic addressing method for a needle selector as described in any one of claims 1-6.
10. A computer storage medium, characterized in that: The computer storage medium stores computer execution instructions, which, when executed by a processor, are used to implement the automatic addressing method for a needle selector according to any one of claims 1 to 6.
Citation Information
Patent Citations
Needle selector address confirming method and system
CN103064309A
Addressing circuit, method and equipment
CN112688684A
Bus address distribution circuit and system based on resistance voltage division
CN213521962U
System for controlling piezoelectric actuator
JP1996218255A
Piezoelectric actuator control device and method thereof
WO2001048287A1