Multi-head quilting machine spacing adjusting method, device and equipment and storage medium
By automatically calculating and adjusting the position of the pattern unit of the multi-head quilting machine, the problem of low production efficiency caused by manual adjustment of the head spacing is solved, and the efficient operation of the quilting machine is achieved.
Patent Information
- Application Number
- CN202510628253.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-15
- Publication Date
- 2025-08-15
AI Technical Summary
Existing multi-head quilting machines require manual adjustment of the head spacing, resulting in low production efficiency.
By obtaining the multi-head quilting machine patterns, analyzing each pattern unit in the pattern pattern, calculating the position of the quilting head, and generating control commands to drive the head to the target starting position, automatically adjusting the head spacing.
Improves production efficiency, avoids errors in manually adjusting the head spacing, and ensures the accuracy and consistency of the quilting process.
Smart Images

Figure CN120486042A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of quilting machines, and in particular to a method, device, equipment and storage medium for adjusting the spacing of a multi-head quilting machine. Background Art
[0002] There are several types of quilting machines on the market, including single-needle single-head quilting machines, double-head quilting machines and multi-head quilting machines with fixed head distance.
[0003] Although single-needle single-head quilting machines and double-head quilting machines have advantages in embroidering complex patterns, their speed is slow and not as fast as multi-head quilting machines. In addition, multi-head quilting machines with fixed head spacing cannot automatically adjust the head spacing according to the pattern, and the head spacing needs to be adjusted manually, resulting in low production efficiency. Summary of the Invention
[0004] The main purpose of the present invention is to solve the technical problem of low production efficiency of quilting machines.
[0005] A first aspect of the present invention provides a method for adjusting the spacing of a multi-head quilting machine, the method comprising:
[0006] Acquire a multi-head quilting machine pattern, and parse the multi-head quilting machine pattern to obtain each pattern unit in the pattern;
[0007] Calculating the position of the first quilting head according to the positions of the pattern units, and calculating the positions of the respective quilting heads according to the position of the first quilting head and the positions of the pattern units, wherein the quilting heads are correspondingly provided with origin sensors, and the origin sensors are used to confirm the starting position of the quilting heads;
[0008] generating control instructions according to the positions of the respective quilting machine heads;
[0009] The control instruction is sent to the machine head drive system, so that the machine head drive system drives each quilting machine head to the target starting position in sequence.
[0010] Optionally, in a first implementation of the first aspect of the present invention, calculating the position of the first quilting head according to the positions of the respective pattern units, and calculating the positions of the respective quilting heads according to the position of the first quilting head and the positions of the respective pattern units includes:
[0011] Calculating the required number of quilting machine heads according to each pattern unit;
[0012] Calculating the position of the first quilting machine head according to the positions of each pattern unit;
[0013] The positions of the respective quilting heads are calculated according to the position of the first quilting head, the positions of the respective pattern units and the required number of quilting heads.
[0014] Optionally, in a second implementation of the first aspect of the present invention, calculating the position of the first quilting head according to the positions of the pattern units includes:
[0015] According to each pattern unit, obtaining the position of the first row of pattern units;
[0016] The position of the first quilting machine head is calculated according to the position of the first row of pattern units.
[0017] Optionally, in a third implementation of the first aspect of the present invention, calculating the position of each quilting head according to the position of the first quilting head, the position of each pattern unit, and the required number of quilting heads includes:
[0018] Obtaining the position of the next row of pattern units adjacent to the first row of pattern units;
[0019] Calculating a coordinate difference between the first quilting head and the next row of pattern units according to the position of the first quilting head and the position of the next row of pattern units;
[0020] Calculating the position of the next quilting head according to the coordinate difference between the first quilting head and the next row of pattern units;
[0021] The position of the next row of pattern units is obtained, and the position of the next quilting head is calculated according to the position of the next row of pattern units and the position of the first quilting head, until all required quilting head positions are calculated.
[0022] Optionally, in a fourth implementation of the first aspect of the present invention, before obtaining a multi-head quilting machine pattern and parsing the multi-head quilting machine pattern to obtain each pattern unit in the pattern, the method further includes:
[0023] When the multi-head quilting machine is powered on, a reset command is sent to the machine head drive system;
[0024] The machine head driving system drives each quilting machine head to the corresponding origin sensor position in sequence according to the zeroing instruction.
[0025] Optionally, in a fifth implementation of the first aspect of the present invention, after sending the control instruction to the machine head drive system so that the machine head drive system drives each quilting machine head to the target starting position, the method further includes:
[0026] If the target quilting machine head position is to be adjusted, the first quilting machine head is adjusted to the leftmost pattern of the first row of pattern units;
[0027] Adjust the last quilting machine head to the rightmost pattern of the last row of pattern units;
[0028] Adjust the middle quilting machine head to the rightmost pattern or the leftmost pattern to adjust the target quilting machine head to the starting position of the target column pattern unit.
[0029] Optionally, in a sixth implementation of the first aspect of the present invention, the step of obtaining a multi-head quilting machine pattern and parsing the multi-head quilting machine pattern to obtain each pattern unit in the pattern includes:
[0030] Get the pattern file for the multi-head quilting machine;
[0031] Obtaining a multi-head quilting machine pattern according to the pattern file;
[0032] The multi-head quilting machine pattern is analyzed to obtain each pattern unit in the pattern.
[0033] The second aspect of the present invention provides a multi-head quilting machine spacing adjustment device, comprising: a memory and at least one processor, wherein instructions are stored in the memory, and the memory and the at least one processor are interconnected through lines; the at least one processor calls the instructions in the memory so that the multi-head quilting machine spacing adjustment device executes the above-mentioned multi-head quilting machine spacing adjustment method.
[0034] A third aspect of the present invention provides a computer-readable storage medium, in which instructions are stored. When the computer-readable storage medium is run on a computer, the computer executes the above-mentioned multi-head quilting machine spacing adjustment method.
[0035] In an embodiment of the present invention, a multi-head quilting machine pattern is obtained, and the multi-head quilting machine pattern is analyzed to obtain each pattern unit in the pattern pattern; the position of the first quilting head is calculated according to the position of each pattern unit, and the position of each quilting head is calculated according to the position of the first quilting head and the position of each pattern unit, and the quilting head is correspondingly installed with an origin sensor, and the origin sensor is used to confirm the starting position of the quilting head; according to the position of each quilting head, a control instruction is generated; the control instruction is sent to the head drive system, so that the head drive system drives each quilting head to the target starting position in turn. In the present invention, the pattern of a multi-head quilting machine is analyzed to obtain the position of each pattern unit, and the position of each quilting head is calculated based on the position of each pattern unit. The quilting head spacing can be automatically adjusted according to the calculated position of each quilting head, avoiding the problem of manual adjustment of the head spacing and poor manual adjustment accuracy, thereby improving production efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 Schematic diagram of an embodiment of a method for adjusting the spacing of a multi-head quilting machine according to an embodiment of the present invention;
[0037] Figure 2 Schematic diagram of a multi-needle quilting machine pattern in an embodiment of the present invention;
[0038] Figure 3 Schematic diagram of a multi-needle quilting machine in an embodiment of the present invention;
[0039] Figure 4 Schematic diagram of an embodiment of a spacing adjustment device for a multi-head quilting machine according to an embodiment of the present invention;
[0040] Figure 5 This is a schematic diagram of an embodiment of a multi-head quilting machine spacing adjustment device in an embodiment of the present invention. DETAILED DESCRIPTION
[0041] Embodiments of the present invention provide a method, device, equipment and storage medium for adjusting the spacing of a multi-head quilting machine.
[0042] The following describes embodiments of the present disclosure in more detail with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments described herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of protection of the present disclosure.
[0043] In the description of the embodiments disclosed herein, the term "including" and similar terms should be understood as open inclusion, i.e., "including but not limited to." The term "based on" should be understood as "based, at least in part, on." The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment." The terms "first," "second," etc. may refer to different or the same objects. Other explicit and implicit definitions may also be included below.
[0044] For ease of understanding, the specific process of the embodiment of the present invention is described below. Figure 1 , an embodiment of a method for adjusting the spacing of a multi-head quilting machine in an embodiment of the present invention includes:
[0045] S100: Acquire a multi-head quilting machine pattern, and analyze the multi-head quilting machine pattern to obtain each pattern unit in the pattern.
[0046] In this embodiment, it is first necessary to obtain the pattern files required by the quilting machine. These files are usually stored in a specific format (such as DAT files) and can be generated by the control system of the computer quilting machine or CAD plate-making software. The pattern files can be transferred to the quilting machine via a USB flash drive or other storage device for storage and call. The target quilting image is preprocessed and edge extracted, and then the image is divided into several ordered point contours using a contour tracking algorithm. The data structure in the pattern file is parsed using CAD plate-making software or other special software. By identifying the data structure in the pattern file, the basic graphics elements (such as straight lines and circles) are extracted and converted into instructions that can be recognized by the quilting machine. The stitch points of the pattern are evenly distributed within the threshold range to ensure the quality of quilting, and the basic graphics elements are combined into complete pattern units, and precise sewing is achieved through the control system of the quilting machine. The pattern unit structure is as follows: Figure 2 As shown, each circle represents a pattern unit.
[0047] S200, calculating the position of the first quilting head according to the position of each pattern unit, and calculating the position of each quilting head according to the position of the first quilting head and the position of each pattern unit.
[0048] In this embodiment, the quilting head is a key component for quilting operation, and each quilting head is responsible for embroidering a specific pattern unit on the fabric. Figure 3 As shown, each quilting head corresponds to an origin sensor installed on the frame. In order to ensure the accuracy and consistency of the entire quilting process, the starting position of each quilting head, that is, the origin position, needs to be accurately determined. The function of the origin sensor is to help the head determine its starting position so that it can be accurately aligned when embroidering the pattern. The origin sensor can determine the relative distance of the head by adjusting the installation position. Each head corresponds to an origin sensor. The relative position of the origin sensor is the relative distance of the head. The relative distance of the head can also be determined (changed) by changing the relative lateral distance of the corresponding head from the corresponding origin sensor. First, the position of the first quilting head is calculated based on the position of each pattern unit. The position of this first quilting head is usually a reference starting point for the entire quilting area. Once the position of the first quilting head is determined, the positions of other heads can be calculated based on the position of the first head and the relative positions between them. Specifically, the relative positions of the other machine heads and the first quilting machine head are calculated according to the positions of the various pattern units, and then the positions of the other machine heads are obtained according to the relative positions of the other machine heads and the first quilting machine head.
[0049] S300, generating control instructions according to the positions of each quilting machine head.
[0050] In this embodiment, first, it is necessary to clarify the position of each quilting head, that is, the target starting position of each quilting head, and generate corresponding control instructions based on the current position and target starting position of the quilting head. These instructions need to include parameters such as the distance, direction, and speed that each head needs to move.
[0051] S400, sending a control instruction to the machine head driving system, so that the machine head driving system drives each quilting machine head to the target starting position in sequence.
[0052] In this embodiment, the generated control instructions are sent to the head drive system. The head drive system usually includes components such as a servo motor and a controller, which are responsible for performing specific motion operations. After receiving the control instructions, the head drive system will drive each quilting head to a specified starting position according to the parameters in the instruction. During this process, it is necessary to ensure that each head can accurately reach the target position and maintain stable and precise movement throughout the process. During the whole process, it is also necessary to monitor the movement state of each head in real time and adjust the control instructions based on the feedback information to ensure the accuracy and stability of the movement.
[0053] In an optional embodiment of the first aspect of the present invention, calculating the position of the first quilting head according to the position of each pattern unit, and calculating the position of each quilting head according to the position of the first quilting head and the position of each pattern unit includes:
[0054] The required number of quilting heads is calculated according to each pattern unit; the position of the first quilting head is calculated according to the position of each pattern unit; the position of each quilting head is calculated according to the position of the first quilting head, the positions of each pattern unit and the required number of quilting heads.
[0055] In this embodiment, first, the number of quilting heads required is calculated. According to the number of pattern columns of the current pattern unit, the number of quilting heads required can be determined. For example, if the number of pattern columns of the pattern unit is n, then n quilting heads are required to complete the sewing of the entire pattern unit. Figure 2 As shown, the current pattern has four rows of pattern units, so four quilting heads are required. Next, the position of the first quilting head is calculated based on the position of the first row of pattern units. Assuming the coordinates of the upper left corner of the first row of pattern units are (x0, y0), quilting heads typically need to be aligned with the pattern units. Therefore, the position of the first quilting head can be set to the same as the upper left corner of the first row of pattern units, that is, (x0, y0). Based on the position of the first quilting head and the arrangement of the pattern units, the positions of the remaining quilting heads can be calculated.
[0056] In an optional embodiment of the first aspect of the present invention, calculating the position of the first quilting head according to the positions of each pattern unit includes:
[0057] According to each pattern unit, the position of the first row of pattern units is obtained; according to the position of the first row of pattern units, the position of the first quilting machine head is calculated.
[0058] In this embodiment, the multi-head quilting machine pattern to be processed (such as Figure 2 ) for analysis. Each pattern has a starting point, and multiple heads work simultaneously. Such a pattern has a certain symmetry. The first pattern on the leftmost (or rightmost) side of the pattern is used as the first quilting head position. Specifically, first, it is necessary to clarify the arrangement of the pattern units. The pattern units are arranged according to certain rules. For example, assuming that the pattern units are arranged according to the X-axis and Y-axis, and each pattern unit has a certain coordinate, the coordinate list of a pattern unit is as follows:
[0059] First pattern unit: X=100, Y=1000
[0060] Second pattern unit: X=110, Y=1100
[0061] The third pattern unit: X=100, Y=1120
[0062] The fourth pattern unit: X=200, Y=1000
[0063] From the above data, it can be obtained that the position of the first row of pattern units is X=100. Specifically, the first row of pattern units includes the following coordinates: (100, 1000), (100, 1120).
[0064] Next, the position of the first quilting head needs to be calculated based on the position of the first row of pattern units. The position of the first quilting head is the same as the first position of the first row of pattern units, that is, X=100, Y=1000.
[0065] In an optional embodiment of the first aspect of the present invention, according to the position of the first quilting head, the positions of the pattern units and the required number of quilting heads, calculating the positions of the quilting heads includes:
[0066] Obtain the position of the next row of pattern units adjacent to the first row of pattern units; calculate the coordinate difference between the first quilting head and the next row of pattern units based on the position of the first quilting head and the position of the next row of pattern units; calculate the position of the next quilting head based on the coordinate difference between the first quilting head and the next row of pattern units; obtain the position of the next row of pattern units, and calculate the position of the next quilting head based on the position of the next row of pattern units and the position of the first quilting head, until all required quilting head positions are calculated.
[0067] In this embodiment, first, the position of the first row of pattern units needs to be determined. Then, based on each pattern unit, the position of the next row of pattern units adjacent to it needs to be found. After determining the position of the first quilting head, the coordinate difference between the position of the first quilting head and the next row of pattern units is calculated. For example, if the position of the pattern unit is (x1, y1) and the position of the first quilting head is (x0, y0), the coordinate difference is:
[0068] Δx=x1-x0,Δy=y1-y2
[0069] According to the above coordinate difference, the position of the next quilting head can be calculated. For example, if the position of the first quilting head is (x n ,y n ), then the position of the next quilting machine head is: (x n +Δx,y n +Δy).
[0070] The position of the next row of pattern units is found. Using the position of the next row of pattern units and the position of the first quilting head, the coordinate difference is calculated again and the position of the quilting head is updated. The position of the pattern units in subsequent rows is obtained and the position of each quilting head is calculated, until all the required positions are calculated. Through these steps, the required number of quilting heads and the specific position of each head can be accurately calculated, thus ensuring the efficiency and accuracy of the quilting process.
[0071] In an optional embodiment of the first aspect of the present invention, before obtaining a multi-head quilting machine pattern and parsing the multi-head quilting machine pattern to obtain each pattern unit in the pattern, the method further includes:
[0072] When the multi-head quilting machine is powered on, a zeroing command is sent to the machine head drive system; the machine head drive system drives each quilting head to the corresponding origin sensor position in sequence according to the zeroing command.
[0073] In the present embodiment, each time the multi-head quilting machine is powered on, the system will send a return-to-zero instruction to the head drive system. According to the return-to-zero instruction, the head drive system moves each quilting head to the corresponding origin sensor position in sequence for return to zero. This process ensures that each head can accurately return to its mechanical zero position, thereby ensuring the accuracy and consistency of subsequent processing. Specifically, the return-to-zero operation needs to be carried out according to a certain sequence. First, the leftmost head (the first head) is returned to zero, then the left second head, and so on, until the last head on the right completes the return to zero. This sequential return-to-zero operation is to avoid interference and ensure that each head can be accurately in place. Each time the multi-head quilting machine is powered on, it is necessary to perform the return-to-zero operation again, because power failure will cause the head position memory to be lost, and the return-to-zero operation is the key step to re-establish these memories. After the return to zero is completed, the head can enter normal working state, otherwise it may cause error or equipment failure.
[0074] In an optional embodiment of the first aspect of the present invention, after sending a control instruction to the head drive system so that the head drive system drives each quilting head to the target starting position, the method further includes:
[0075] To adjust the target quilting head position, adjust the first quilting head to the leftmost pattern in the first row of pattern units; adjust the last quilting head to the rightmost pattern in the last row of pattern units; adjust the middle quilting head to the rightmost pattern or the leftmost pattern to adjust the target quilting head to the starting position of the target row of pattern units.
[0076] In this embodiment, when changing the position of the machine head, first adjust the position of the first quilting machine head (the leftmost machine head) so that it reaches the leftmost pattern of the first row of pattern units. Then adjust the last quilting machine head (the rightmost machine head) so that it reaches the rightmost pattern of the last row of pattern units. Then adjust the middle machine head to perform machine head adjustment. Specifically, adjust the middle machine head to the leftmost pattern of the first row of pattern units or the rightmost pattern of the last row of pattern units to adjust the target quilting machine head to the starting position of the target row of pattern units. For example, if the second machine head needs to be adjusted, and the adjusted position coincides with the position of the third machine head, the third machine head needs to be moved to the right first, and then the second machine head needs to be moved to the position it needs to reach, and then the third head needs to be adjusted. In this way, it is ensured that the positions of the machines do not overlap, thereby automatically adjusting the positions.
[0077] In an optional embodiment of the first aspect of the present invention,
[0078] Obtain a multi-head quilting machine pattern and parse the multi-head quilting machine pattern to obtain the pattern units including:
[0079] Obtain a pattern file of a multi-head quilting machine; obtain a pattern of the multi-head quilting machine according to the pattern file; and parse the pattern of the multi-head quilting machine to obtain each pattern unit in the pattern.
[0080] In this embodiment, the pattern file of the multi-head quilting machine can be obtained through various channels. For example, the pattern file can be created and edited through computer quilting machine programming software, the obtained pattern file can be imported into the quilting machine, and the pattern file can be parsed. During the pattern file parsing process, image processing technology can be used to extract the outline of the pattern and vectorize it. For example, through edge detection algorithm and corner point detection algorithm, the complex pattern can be decomposed into basic graphics elements (such as straight lines, arcs, curves, etc.), and the stitch points can be evenly distributed to obtain each pattern unit in the pattern.
[0081] See also Figure 4 The second aspect of the present invention provides a multi-head quilting machine spacing adjustment device, the multi-head quilting machine spacing adjustment device comprising:
[0082] The pattern analysis module 10 is used to obtain the multi-head quilting machine pattern and analyze the multi-head quilting machine pattern to obtain each pattern unit in the pattern;
[0083] The head position calculation module 20 is used to calculate the position of the first quilting head according to the position of each pattern unit, and calculate the position of each quilting head according to the position of the first quilting head and the position of each pattern unit. The quilting head is correspondingly equipped with an origin sensor, which is used to confirm the starting position of the quilting head;
[0084] A control instruction generating module 30 is used to generate control instructions according to the position of each quilting machine head;
[0085] The position driving module 40 is used to send control instructions to the machine head driving system, so that the machine head driving system drives each quilting machine head to the target starting position in sequence.
[0086] In an optional embodiment of the second aspect of the present invention, the head position calculation module 20 is also used to calculate the required number of quilting heads based on each pattern unit; calculate the position of the first quilting head based on the position of each pattern unit; calculate the position of each quilting head based on the position of the first quilting head, the positions of each pattern unit and the required number of quilting heads.
[0087] In an optional embodiment of the second aspect of the present invention, the head position calculation module 20 is further used to obtain the position of the first row of pattern units based on each pattern unit; and calculate the position of the first quilting head based on the position of the first row of pattern units.
[0088] In an optional embodiment of the second aspect of the present invention, the head position calculation module 20 is also used to obtain the position of the next row of pattern units adjacent to the first row of pattern units; calculate the coordinate difference between the first quilting head and the next row of pattern units based on the position of the first quilting head and the position of the next row of pattern units; calculate the position of the next quilting head based on the coordinate difference between the first quilting head and the next row of pattern units; obtain the position of the next row of pattern units, and calculate the position of the next quilting head based on the position of the next row of pattern units and the position of the first quilting head, until all required quilting head positions are calculated.
[0089] In an optional embodiment of the second aspect of the present invention, the multi-head quilting machine spacing adjustment device also includes a zeroing instruction generation module, which is used to send a zeroing instruction to the machine head drive system when the multi-head quilting machine is powered on; the machine head drive system drives each quilting head to the corresponding origin sensor position in sequence according to the zeroing instruction.
[0090] In an optional embodiment of the second aspect of the present invention, the multi-head quilting machine spacing adjustment device also includes a head position adjustment module, which is used to adjust the target quilting head position, thereby adjusting the first quilting head to the leftmost pattern of the first column pattern unit; adjusting the last quilting head to the rightmost pattern of the last column pattern unit; adjusting the middle quilting head to the rightmost pattern or the leftmost pattern to adjust the target quilting head to the starting position of the target column pattern unit.
[0091] In an optional embodiment of the second aspect of the present invention, the pattern parsing module 10 is also used to obtain a pattern file of a multi-head quilting machine; obtain a multi-head quilting machine pattern based on the pattern file; and parse the multi-head quilting machine pattern to obtain each pattern unit in the pattern pattern.
[0092] Figure 5It is a structural diagram of a multi-head quilting machine spacing adjustment device provided by an embodiment of the present invention. The multi-head quilting machine spacing adjustment device 500 may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 510 (for example, one or more processors) and a memory 520, and one or more storage media 530 (for example, one or more massive storage devices) storing application programs 533 or data 532. Among them, the memory 520 and the storage medium 530 can be short-term storage or persistent storage. The program stored in the storage medium 530 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations on the multi-head quilting machine spacing adjustment device 500. Furthermore, the processor 510 can be configured to communicate with the storage medium 530 to execute a series of instruction operations in the storage medium 530 on the multi-head quilting machine spacing adjustment device 500.
[0093] The multi-head quilting machine spacing adjustment device 500 may further include one or more power supplies 540, one or more wired or wireless network interfaces 550, one or more input and output interfaces 560, and / or one or more operating systems 531, such as Windows Server, Mac OS X, Unix, Linux, FreeBSD, etc. It will be understood by those skilled in the art that Figure 5 The structure of the multi-head quilting machine spacing adjustment device shown does not constitute a limitation on the multi-head quilting machine spacing adjustment device, and may include more or fewer components than shown in the figure, or a combination of certain components, or a different arrangement of components.
[0094] The present invention also provides a computer-readable storage medium, which can be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. The computer-readable storage medium stores instructions, and when the instructions are run on a computer, the computer executes the steps of the multi-head quilting machine spacing adjustment method.
[0095] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in conjunction with an instruction execution system, device or equipment. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium can include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0096] In addition, although adopting specific order to describe each operation, this should be understood as requiring such operation to be carried out in the specific order shown or in sequential order, or requiring that all illustrated operations should be carried out to obtain desired results. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although comprising some specific implementation details in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of separate embodiment can also be implemented in a single implementation in combination. On the contrary, the various features described in the context of a single implementation also can be implemented in a plurality of implementations individually or in the mode of any suitable subcombination.
[0097] Although the subject matter has been described in language specific to structural features and / or methodological logical acts, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms of implementing the claims.
Claims
1. A method for adjusting the spacing of a multi-head quilting machine, characterized in that: The multi-head quilting machine spacing adjustment method includes: Acquire a multi-head quilting machine pattern, and parse the multi-head quilting machine pattern to obtain each pattern unit in the pattern; Calculating the position of the first quilting head according to the positions of the pattern units, and calculating the positions of the respective quilting heads according to the position of the first quilting head and the positions of the pattern units, wherein the quilting heads are correspondingly provided with origin sensors, and the origin sensors are used to confirm the starting position of the quilting heads; generating control instructions according to the positions of the respective quilting machine heads; The control instruction is sent to the machine head drive system, so that the machine head drive system drives each quilting machine head to the target starting position in sequence.
2. The method for adjusting the spacing of a multi-head quilting machine according to claim 1, wherein: Calculating the position of the first quilting head according to the positions of the pattern units, and calculating the positions of the respective quilting heads according to the position of the first quilting head and the positions of the pattern units includes: Calculating the required number of quilting machine heads according to each pattern unit; Calculating the position of the first quilting machine head according to the positions of each pattern unit; The positions of the respective quilting heads are calculated according to the position of the first quilting head, the positions of the respective pattern units and the required number of quilting heads.
3. The method for adjusting the spacing of a multi-head quilting machine according to claim 2, wherein: Calculating the position of the first quilting head according to the positions of the pattern units includes: According to each pattern unit, obtaining the position of the first row of pattern units; The position of the first quilting machine head is calculated according to the position of the first row of pattern units.
4. The method for adjusting the spacing of a multi-head quilting machine according to claim 2, wherein: Calculating the positions of the respective quilting heads according to the position of the first quilting head, the positions of the respective pattern units, and the required number of quilting heads includes: Obtaining the position of the next row of pattern units adjacent to the first row of pattern units; Calculating a coordinate difference between the first quilting head and the next row of pattern units according to the position of the first quilting head and the position of the next row of pattern units; Calculating the position of the next quilting head according to the coordinate difference between the first quilting head and the next row of pattern units; The position of the next row of pattern units is obtained, and the position of the next quilting head is calculated according to the position of the next row of pattern units and the position of the first quilting head, until all required quilting head positions are calculated.
5. The method for adjusting the spacing of a multi-head quilting machine according to claim 1, wherein: The method further includes: obtaining a multi-head quilting machine pattern, parsing the multi-head quilting machine pattern, and obtaining each pattern unit in the pattern; When the multi-head quilting machine is powered on, a reset command is sent to the machine head drive system; The machine head driving system drives each quilting machine head to the corresponding origin sensor position in sequence according to the zeroing instruction.
6. The method for adjusting the spacing of a multi-head quilting machine according to claim 1, wherein: After sending the control instruction to the machine head drive system so that the machine head drive system drives each quilting machine head to the target starting position, the method further includes: If the target quilting machine head position is to be adjusted, the first quilting machine head is adjusted to the leftmost pattern of the first row of pattern units; Adjust the last quilting machine head to the rightmost pattern of the last row of pattern units; Adjust the middle quilting machine head to the rightmost pattern or the leftmost pattern to adjust the target quilting machine head to the starting position of the target column pattern unit.
7. The method for adjusting the spacing of a multi-head quilting machine according to claim 1, wherein: The method of obtaining a multi-head quilting machine pattern and parsing the multi-head quilting machine pattern to obtain each pattern unit in the pattern includes: Get the pattern file for the multi-head quilting machine; Obtaining a multi-head quilting machine pattern according to the pattern file; The multi-head quilting machine pattern is analyzed to obtain each pattern unit in the pattern.
8. A multi-head quilting machine spacing adjustment device, characterized in that: The multi-head quilting machine spacing adjustment device includes: A pattern parsing module is used to obtain a multi-head quilting machine pattern and parse the multi-head quilting machine pattern to obtain each pattern unit in the pattern; a head position calculation module, configured to calculate the position of the first quilting head according to the positions of the pattern units, and to calculate the positions of the respective quilting heads according to the position of the first quilting head and the positions of the pattern units, wherein the quilting heads are correspondingly provided with origin sensors, and the origin sensors are configured to confirm the starting positions of the quilting heads; A control instruction generating module, configured to generate control instructions according to the positions of the respective quilting machine heads; The position driving module is used to send the control instruction to the head driving system, so that the head driving system drives each quilting head to the target starting position in sequence.
9. A multi-head quilting machine spacing adjustment device, characterized in that: The multi-head quilting machine spacing adjustment device includes: a memory and at least one processor, the memory storing instructions, the memory and the at least one processor being interconnected via a circuit; The at least one processor calls the instructions in the memory so that the multi-head quilting machine spacing adjustment device executes the multi-head quilting machine spacing adjustment method as described in any one of claims 1-7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by the processor, the method for adjusting the spacing of a multi-head quilting machine as described in any one of claims 1 to 7 is implemented.