Wire cutting control method, device, apparatus and storage medium

By acquiring the position information of the sewing table and the pattern in the round-head buttonhole machine, controlling the movement of the sewing table and fixing the thread end, and automatically adjusting the thread end length, the problem of inconsistent thread end length in the prior art is solved, and production efficiency is improved.

CN118065065BActive Publication Date: 2026-07-24ZHUJI XINGDAHAO SCI & TECH DEV +1
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
ZHUJI XINGDAHAO SCI & TECH DEV
Filing Date
2024-02-06
Publication Date
2026-07-24

AI Technical Summary

Technical Problem

In existing technologies, when round-head buttonhole machines cut threads, the inconsistent lengths of the patterns result in inconsistent lengths of the leftover thread ends, which need to be manually removed, leading to low production efficiency.

Method used

By obtaining the initial position of the sewing table, the length of the sewing pattern, and the target tail position, the moving distance and direction of the sewing table under the sewing pattern are determined. The sewing table is controlled to move to the target tail position, and the thread end fixing device is used to fix the sewing thread between the rotating body base and the target tail position. The bottom thread cutter is controlled to perform the thread cutting action to ensure that the length of the remaining thread ends is consistent.

Benefits of technology

It achieves automatic control of the length of leftover thread without the need for manual trimming, thus improving production efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118065065B_ABST
    Figure CN118065065B_ABST
Patent Text Reader

Abstract

The application provides a thread cutting control method, device, equipment and storage medium, including: after the cloth cutting process is completed, obtaining the initial position of the sewing table, the length of the sewing pattern and the target tail position; determining the moving distance and the moving direction corresponding to the sewing table of the sewing pattern according to the initial position of the sewing table, the length of the sewing pattern and the target tail position; controlling the sewing table to move in the moving direction by the moving distance, so that the tail of the sewing pattern is located at the target tail position; controlling the thread head fixing equipment to start, so that the thread head fixing equipment fixes the sewing thread between the rotating body base and the target tail position, and controlling the bottom thread scissors to perform the thread cutting action. The method improves the production efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of textile technology, and in particular to a method, apparatus, equipment and storage medium for controlling thread cutting. Background Technology

[0002] A round-head buttonhole machine is an industrial sewing machine specifically designed for sewing buttonholes in medium-thickness garments. After sewing, the round-head buttonhole machine needs to perform actions such as trimming the top thread, cutting the fabric, and trimming the bottom thread. The round-head buttonhole machine is equipped with a thread-trimming mechanism, which is fixed to the sewing table and used to trim the bottom thread.

[0003] In practical applications, the fabric cutting and thread trimming actions are performed continuously. After the fabric cutting action is completed, the position of the sewing table and the position of the thread trimming mechanism remain fixed. The heads of different sewing patterns are all located at the reference position of the sewing table during thread trimming.

[0004] In existing technologies, the length of the pattern varies for different sewing patterns. The distance between the thread cutting mechanism and the head of the pattern remains constant. Therefore, the length of the thread left after cutting is inconsistent and needs to be manually trimmed to achieve the required thread length, resulting in low production efficiency. Summary of the Invention

[0005] This application provides a thread-cutting control method, apparatus, device, and storage medium to solve the technical problem of low sewing efficiency.

[0006] In a first aspect, this application provides a thread-cutting control method applied to a round-head buttonhole machine. The round-head buttonhole machine includes a sewing table, bobbin shears, a thread-end fixing device, and a rotating base. The relative distance between the bobbin shears and the sewing table is a fixed value. The thread-cutting control method includes: after the fabric cutting process is completed, obtaining the initial position of the sewing table, the length of the sewing pattern, and the target tail position; wherein, the head of the sewing pattern is fixed on the sewing table; the length of the sewing pattern is the distance between the initial position of the sewing table and the initial position of the tail of the sewing pattern; determining the moving distance and moving direction of the sewing table under the sewing pattern according to the initial position of the sewing table, the length of the sewing pattern, and the target tail position; controlling the sewing table to move the distance corresponding to the moving distance according to the moving direction, so that the tail of the sewing pattern is located at the target tail position; controlling the thread-end fixing device to start, so that the thread-end fixing device fixes the sewing thread between the rotating base and the target tail position, and controlling the bobbin shears to perform a thread-cutting action.

[0007] In some embodiments, determining the moving distance and moving direction of the sewing platform under the sewing pattern based on the initial position of the sewing platform, the length of the sewing pattern, and the target tail position includes: calculating the initial position of the tail of the sewing pattern based on the initial position of the sewing platform and the length of the sewing pattern; calculating the distance between the initial position of the tail of the sewing pattern and the target tail position to obtain the moving distance; if the moving distance is not 0, determining whether the initial position of the tail of the sewing pattern is located behind the target tail position; if the initial position of the tail of the sewing pattern is located behind the target tail position, setting the moving direction to forward; otherwise, setting the moving direction to backward.

[0008] In some embodiments, determining whether the initial position of the tail of the sewing pattern is located behind the target tail position includes: determining whether the length of the sewing pattern is greater than the length of a reference pattern; wherein the length of the reference pattern is the distance between the initial position of the sewing table and the target tail position.

[0009] In some embodiments, before obtaining the initial position of the sewing platform, the length of the sewing pattern, and the target tail position, the method further includes: determining an adjustment parameter value for the thread cutting position based on the length of the sewing pattern and the required length of the thread end left in the sewing pattern; and determining the target tail position based on the position of the rotating body base and the adjustment parameter value for the thread cutting position, wherein the adjustment parameter value for the thread cutting position is the distance between the rotating body base and the target tail position.

[0010] In some embodiments, after controlling the bobbin shears to perform the thread-cutting action, the method further includes: after the thread cutting is completed, controlling the thread end fixing device to close, and controlling the sewing table to move to the initial position of the sewing table.

[0011] Secondly, this application provides a thread-cutting control device applied to a round-head buttonhole machine. The round-head buttonhole machine includes a sewing table, a bobbin shear, a thread end fixing device, and a rotating base. The relative distance between the bobbin shear and the sewing table is a fixed value. The thread-cutting control device includes: an acquisition module, used to acquire the initial position of the sewing table, the length of the sewing pattern, and the target tail position after the fabric cutting process is completed; wherein, the head of the sewing pattern is fixed on the sewing table; the length of the sewing pattern is the distance between the initial position of the sewing table and the initial position of the tail of the sewing pattern; A determining module is used to determine the moving distance and moving direction of the sewing platform under the sewing pattern based on the initial position of the sewing platform, the length of the sewing pattern, and the target tail position; a first control module is used to control the sewing platform to move the distance corresponding to the moving distance according to the moving direction, so that the tail of the sewing pattern is located at the target tail position; a second control module is used to control the thread fixing device to start, so that the thread fixing device fixes the sewing thread between the rotating body base and the target tail position, and controls the bobbin shears to perform the thread cutting action.

[0012] In some embodiments, the first determining module includes: a first calculation unit, configured to calculate the initial position of the tail of the sewing pattern based on the initial position of the sewing table and the length of the sewing pattern; a second calculation unit, configured to calculate the distance between the initial position of the tail of the sewing pattern and the target tail position to obtain the moving distance; a judging unit, configured to judge whether the initial position of the tail of the sewing pattern is located behind the target tail position if the moving distance is not 0; and a setting unit, configured to set the moving direction to forward if the initial position of the tail of the sewing pattern is located behind the target tail position; otherwise, set the moving direction to backward.

[0013] In some embodiments, the determining unit is specifically used to: determine whether the length of the sewing pattern is greater than the length of a reference pattern; wherein the length of the reference pattern is the distance between the initial position of the sewing table and the target tail position.

[0014] In some embodiments, the device further includes: a second determining module, configured to: determine an adjustment parameter value for the thread cutting position based on the length of the sewing pattern and the required length of the thread end left in the sewing pattern; and determine the target tail position based on the position of the rotating body base and the adjustment parameter value for the thread cutting position, wherein the adjustment parameter value for the thread cutting position is the distance between the rotating body base and the target tail position.

[0015] In some embodiments, the device further includes a third control module, configured to control the thread end fixing device to close after the thread cutting is completed, and to control the sewing table to move to the initial position of the sewing table.

[0016] Thirdly, this application provides an electronic device, including: a processor, and a memory communicatively connected to the processor; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory to implement the method described above.

[0017] Fourthly, this application provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the method described above.

[0018] In the thread-cutting control method, apparatus, equipment, and storage medium provided in this application, after the fabric cutting process is completed, firstly, the initial position of the sewing table, the length of the sewing pattern, and the target tail position are obtained; then, based on the initial position of the sewing table, the length of the sewing pattern, and the target tail position, the corresponding moving distance and moving direction of the sewing table under the sewing pattern are determined; then, the sewing table is controlled to move a moving distance according to the moving direction so that the tail of the sewing pattern is located at the target tail position; finally, the thread-end fixing device is controlled to start so that the thread-end fixing device fixes the sewing thread between the rotating body base and the target tail position, and the bobbin shears are controlled to perform the thread-cutting action. In this application, the target tail position is determined based on the actual required length of the remaining thread. The moving distance and direction of the sewing table under the sewing pattern are determined according to the initial position of the sewing table, the length of the sewing pattern, and the target tail position. Controlling the sewing table movement moves the tail of the sewing pattern to the target tail position for thread trimming, thus controlling the length of the remaining thread. By fixing the thread between the rotating base and the target tail position using a thread-fixing device, and controlling the bobbin shears to perform the thread-cutting action, the required length of remaining thread can be obtained, eliminating the need for manual trimming and improving production efficiency. Attached Figure Description

[0019] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0020] Figure 1 A top view showing the cutting position and pattern position of an example round-head buttonhole machine;

[0021] Figure 2 A side view showing the cutting position and pattern position of an example round-head buttonhole machine;

[0022] Figure 3 This is a flowchart illustrating a wire-cutting control method provided in Embodiment 1 of this application;

[0023] Figure 4 A top view of the cutting position and pattern position provided in Embodiment 1 of this application;

[0024] Figure 5 This is a top view schematic diagram of the movement of the lower sewing table for different sewing patterns provided in Embodiment 1 of this application;

[0025] Figure 6 This is a schematic diagram of the structure of a wire-cutting control device provided in Embodiment 3 of this application;

[0026] Figure 7 This is a schematic diagram of the structure of the electronic device provided in Embodiment 3 of this application.

[0027] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation

[0028] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0029] It should be noted that the brief descriptions of terms in this application are only for the convenience of understanding the embodiments described below, and are not intended to limit the embodiments of this application. Unless otherwise stated, these terms should be understood in their ordinary and common meaning.

[0030] The terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish similar or related objects or entities and do not necessarily imply a specific order or sequence, unless otherwise indicated. It should be understood that such terms can be used interchangeably where appropriate, for example, to implement the application in a sequence other than those given in the embodiments illustrated or described herein.

[0031] Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover but not exclude inclusion. For example, a product or device that includes a series of components is not necessarily limited to those explicitly listed, but may include other components not explicitly listed or inherent to such product or device. As used in this application, the term "module" means any known or subsequently developed hardware, software, firmware, artificial intelligence, fuzzy logic, or combination of hardware and / or software code capable of performing the functions associated with that element.

[0032] The term "round-head buttonhole machine" used in the embodiments of this application refers to an industrial sewing machine specifically designed for sewing buttonholes in medium-thickness garments. "Round-head" refers to the circular shape of the buttonhole's front end. A round-head buttonhole machine system generally consists of nine main mechanisms: a feeding mechanism, a hook mechanism, a needle bar mechanism, a fabric stretching mechanism, a hook and shuttle mechanism, a cutting mechanism, a slide mechanism, and a thread separating mechanism.

[0033] In the existing control logic, the shape of the opening after the fabric cutting action is determined by the cutter fixed to the base. Therefore, once the mechanical position of the cutter is determined, the cutting position remains unchanged. In practice, the position of the sewing table after sewing is completed is determined by the cutting position; therefore, the position of the sewing table remains unchanged after the fabric cutting action. In practical applications, round-head buttonhole machines are equipped with a thread-cutting mechanism, which is fixed to the sewing table. Therefore, the position of the thread-cutting mechanism remains unchanged after the fabric cutting action. Furthermore, the position where the bobbin thread appears is fixed to the base of the sewing machine head and cannot be adjusted arbitrarily. Therefore, this structure means that the length of the thread end after the bobbin thread is cut is entirely determined by the position of the bobbin thread scissors mechanism.

[0034] Currently, in control systems, the wire-cutting action is performed continuously after the cutting action, which means that the position of the wire being cut is passively followed to a fixed position. Figure 1 This is a top view showing the cutting position and pattern position of an example round-head buttonhole machine. Figure 2 This is a side view showing the cutting position and pattern position of an example round-head buttonhole machine. (Example:) Figure 1 As shown, the reference position for cutting the thread is determined by the head position of the pattern, which is also the reference position of the fabric cutter. Meanwhile, the distance between the tail position of the pattern (the point where the thread emerges from the fabric after sewing) and the scissors is entirely determined by the length of the pattern. Furthermore, as... Figure 2 As shown, pattern 1 is a short pattern, and pattern 2 is a long pattern, with the position of the rotating base remaining unchanged. It can be seen that before thread cutting, the sewing table needs to be positioned to ensure the heads of pattern 1 and pattern 2 are aligned (this is to ensure the opening position of the rounded ends remains consistent when cutting the fabric). Simultaneously, the thread cutting position is determined by the sewing table and is also in a fixed position; therefore, for patterns of different lengths, the length of the remaining thread will vary. For example... Figure 2As shown, because pattern 1 is shorter, the exposed bottom line is longer when cutting the thread, and the thread ends left at both ends are also longer after cutting; because pattern 2 is longer, the exposed bottom line is shorter when cutting the thread, and the thread ends left at both ends are also shorter after cutting.

[0035] In actual sewing operations, the reference position of the sewing table is consistent with the position of the pattern head when cutting the thread, and the position of the thread cutting mechanism remains unchanged. However, the length and shape of the sewing pattern will constantly change according to the production requirements. This means that after sewing, the relative distance between the bobbin thread and the rotating base is constantly changing, that is, the exposed bobbin thread length is constantly changing after sewing. After cutting the thread, the length of the remaining thread is uncontrollable. In addition, the thread left on the rotating base will be transferred to the fabric during the next sewing. This means that after the next sewing, the thread left on the fabric will include the thread left on one side of the rotating base during the previous thread cutting, as well as the thread left on the fabric after this thread cutting. Therefore, after sewing, an additional operation is required to cut off the excess thread.

[0036] In existing technologies, the length of the pattern varies for different sewing patterns. The distance between the thread cutting mechanism and the head of the pattern remains constant. Therefore, the length of the thread left after cutting is inconsistent and needs to be manually trimmed to achieve the required thread length, resulting in low production efficiency.

[0037] The network detection method provided in this application aims to solve the above-mentioned technical problems of the prior art. In various embodiments of this application, the target tail position is determined according to the actual required length of the thread end. Based on the initial position of the sewing table, the length of the sewing pattern, and the target tail position, the corresponding moving distance and direction of the sewing table under the sewing pattern are determined, and the movement of the sewing table is controlled to move the tail of the sewing pattern to the target tail position for thread cutting, thus controlling the length of the remaining thread end. By fixing the sewing thread between the rotating body base and the target tail position using a thread end fixing device, and controlling the bottom thread cutters to perform the thread cutting action, the required length of remaining thread end can be obtained, eliminating the need for manual trimming and improving production efficiency.

[0038] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.

[0039] Example 1

[0040] Figure 3This is a flowchart illustrating a thread-cutting control method provided in Embodiment 1 of this application. The thread-cutting control method is applied to a round-head buttonhole machine, which includes a sewing table, bobbin thread cutters, a thread end fixing device, and a rotating base. The relative distance between the bobbin thread cutters and the sewing table is a constant. Figure 3 As shown, the wire-cutting control method includes the following steps:

[0041] Step 301: After the fabric cutting process is completed, obtain the initial position of the sewing table, the length of the sewing pattern, and the target tail position; wherein, the head of the sewing pattern is fixed on the sewing table; the length of the sewing pattern is the distance between the initial position of the sewing table and the initial position of the tail of the sewing pattern.

[0042] Step 302: Based on the initial position of the sewing table, the length of the sewing pattern, and the target tail position, determine the corresponding moving distance and direction of the sewing table under the sewing pattern;

[0043] Step 303: Control the sewing table to move the distance corresponding to the above moving distance in the above moving direction, so that the tail of the sewing pattern is located at the target tail position;

[0044] Step 304: Start the thread-fixing device to fix the thread between the rotating body base and the target tail position, and control the bottom thread cutters to perform the thread-cutting action.

[0045] In practical applications, the execution entity of this wire-cutting control method can be a wire-cutting control device. There are various ways to implement a wire-cutting control device. For example, it can be implemented through a computer program, such as application software; or, for example, a chip. It can also be implemented as a medium storing the relevant computer program, such as a USB flash drive or cloud storage; or, it can be implemented through a physical device that integrates or installs the relevant computer program, such as a server.

[0046] In this embodiment, the fabric cutting and thread trimming processes are handled separately. The fabric cutting process is the same as the prior art and will not be described in detail here. After the fabric cutting process is completed, before the thread trimming process is executed, the tail of the sewing pattern is moved to the target tail position, and then the thread trimming is controlled.

[0047] It should be noted that after the fabric cutting process is completed, the cutting position remains unchanged, and the initial position of the sewing table is determined by the cutting position. Therefore, the initial position of the sewing table is the same for different sewing patterns. In practice, the head of the sewing pattern is fixed on the sewing table; therefore, the initial position of the head is the same for different sewing patterns. However, because the lengths of different sewing patterns are different, the initial positions of the tails are different. The length of a sewing pattern is the distance between the head and tail of the pattern. Since the initial position of the head of the sewing pattern remains unchanged after the fabric cutting process, and this initial position coincides with the initial position of the sewing table, the length of the sewing pattern is the distance between the initial position of the sewing table and the initial position of the tail.

[0048] Specifically, after the fabric cutting process in step 301 is completed, the initial position of the sewing table, the length of the sewing pattern, and the target tail position are obtained. For example, the initial position of the sewing table can be calculated based on the fabric cutting position after the fabric cutting process is completed. The length of the sewing pattern is preset. For example, before the round-head buttonhole machine starts working, the sewing requirements are determined, including the style and length of the sewing pattern. When controlling the round-head buttonhole machine, parameters such as the style and length of the sewing pattern need to be set to control the sewing. Therefore, the length of the sewing pattern can be obtained from the sewing requirements. The target tail position can be set according to the actual required length of thread ends. In practice, the position of the rotating base is fixed, the initial position of the head of the sewing pattern is determined, and the target tail position is set according to the length of the sewing pattern and the actual required length of thread ends.

[0049] Based on the above explanation, the length of the sewing pattern is the distance between the head and tail of the sewing pattern. Furthermore, the initial position of the head of the sewing pattern is consistent with the initial position of the sewing table. Therefore, after determining the initial position of the sewing table and the length of the sewing pattern, the initial position of the tail of the sewing pattern can be obtained by calculation.

[0050] Specifically, in step 302, the moving distance and direction of the sewing table under the sewing pattern are determined based on the initial position of the sewing table, the length of the sewing pattern, and the target tail position. For example, if the initial position of the sewing table is set as the origin, after the fabric cutting process is completed, the initial position of the head of the sewing pattern is at the origin. Therefore, after determining the length of the sewing pattern, the initial position of the tail of the sewing pattern can be determined. Furthermore, based on the initial position and the target tail position of the sewing pattern, the moving distance and direction of the tail of the sewing pattern from the initial position to the target tail position can be determined, that is, the moving distance and direction of the sewing table under the sewing pattern.

[0051] In this embodiment, the method for calculating the moving distance and direction of the sewing table corresponding to the sewing pattern is not specifically limited. As an example, in one example, after determining the target tail position, the target head position is determined according to the length of the sewing pattern, that is, the position of the head of the sewing pattern when the tail of the sewing pattern moves to the target tail position; further, the moving distance and direction of the sewing table corresponding to the sewing pattern are determined according to the target head position and the initial position of the sewing table (that is, the initial position of the head of the sewing pattern).

[0052] Specifically, in step 303, the sewing table is moved along the aforementioned moving direction by the distance corresponding to the aforementioned moving distance, so that the tail of the sewing pattern is located at the target tail position. For example, after determining the moving distance and moving direction of the sewing table corresponding to the sewing pattern, a corresponding action command is generated and sent to the drive system of the motor in the round-head buttonhole machine, controlling the motor to drive the sewing table to move along the aforementioned moving direction by the distance corresponding to the aforementioned moving distance. It should be understood that after the sewing table moves along the aforementioned moving direction by the distance corresponding to the aforementioned moving distance, the tail of the sewing pattern is located at the target tail position.

[0053] Specifically, in step 304, the thread-fixing device is activated to secure the thread between the rotating base and the target tail position, and the bobbin shears are controlled to perform a thread-cutting action. For example, the thread-fixing device can be a thread-grabbing mechanism. After activation, it can secure both the thread ends left over from the previous sewing and the exposed thread from the current sewing, ensuring that the thread between the rotating base and the tail of the sewing pattern remains fixed and does not bend. Furthermore, controlling the bobbin shears to perform the thread-cutting action yields the required length of the remaining thread.

[0054] To better understand the wire-cutting control method in this embodiment, the following will be combined with... Figure 4 To explain, Figure 4 This is a top view of the cutting position and pattern position provided in Embodiment 1 of this application. Figure 4 As shown, the initial position of the head of the sewing pattern is consistent with the initial position of the sewing table. The length of the sewing pattern is relatively short, and the initial position of the tail of the sewing pattern is to the right of the target tail position.

[0055] Specifically, after the fabric cutting process is completed, the initial position of the sewing table, the length of the sewing pattern, and the target tail position are obtained; based on the initial position of the sewing table and the length of the sewing pattern, the initial position of the tail of the sewing pattern is determined; the distance between the initial position and the target tail position of the sewing pattern is calculated to determine the corresponding movement distance of the sewing table under the sewing pattern; for example... Figure 4As shown, the initial position of the tail of the sewing pattern is to the right of the target tail position. Therefore, the sewing table moves to the left. The sewing table is moved a distance corresponding to the distance mentioned above in the above direction so that the tail of the sewing pattern is located at the target tail position. The thread-fixing device is activated to fix the thread between the rotating base and the target tail position, and the bobbin shears are controlled to perform a thread-cutting action.

[0056] It should be noted that, as Figure 4 As shown, although the bobbin thread scissors move with the sewing table after the sewing table moves, the distance between the bobbin thread scissors and the tail of the sewing pattern does not change. However, the length of the exposed part of the thread between the rotating base and the tail of the sewing pattern is reduced. By fixing the device and controlling the bobbin thread scissors to perform the thread cutting action, the thread ends left after cutting can be effectively shortened.

[0057] In this embodiment, the target tail position is determined based on the actual required length of the remaining thread. It can be understood that by determining the moving distance and direction of the sewing table under the sewing pattern based on the initial position of the sewing table, the length of the sewing pattern, and the target tail position, and controlling the movement of the sewing table to move the tail of the sewing pattern to the target tail position for thread trimming, the length of the remaining thread can be controlled. By fixing the thread between the rotating base and the target tail position using a thread-fixing device, and controlling the bobbin shears to perform the thread-cutting action, the required length of remaining thread can be obtained, eliminating the need for manual trimming and improving production efficiency.

[0058] Based on the above examples, this application does not limit the method for determining the moving distance and direction of the sewing table corresponding to the sewing pattern. For example, based on the initial position of the sewing table and the length of the sewing pattern, the initial position of the tail of the sewing pattern can be calculated. Then, based on the initial position of the tail of the sewing pattern and the target tail position, the moving distance and direction of the tail of the sewing pattern from the initial position to the target tail position can be determined, i.e., the moving distance and direction of the sewing table corresponding to the sewing pattern. As an example, in one possible implementation, step 302 includes:

[0059] Calculate the initial position of the tail of the sewing pattern based on the initial position of the sewing table and the length of the sewing pattern.

[0060] Calculate the distance between the initial position of the tail of the sewing pattern and the target tail position to obtain the moving distance;

[0061] If the movement distance is not 0, determine whether the initial position of the tail of the sewing pattern is behind the target tail position.

[0062] If the initial position of the tail of the sewing pattern is behind the target tail position, then set the movement direction to forward; otherwise, set the movement direction to backward.

[0063] In practical applications, the moving distance and direction of the sewing table vary depending on the sewing pattern. Figure 5 This is a top view schematic diagram illustrating the movement of the sewing table for different sewing patterns provided in Embodiment 1 of this application. Figure 5 As shown, for short patterns, the initial position of the tail of the short pattern is behind the target tail position. Therefore, for short patterns, the corresponding movement direction of the sewing table should be forward. For long patterns, the initial position of the tail of the long pattern is in front of the target tail position. Therefore, for long patterns, the corresponding movement direction of the sewing table should be backward.

[0064] Based on the above explanation, after the fabric cutting process is completed, the initial position of the heads of different sewing patterns is the same, all located at the initial position of the sewing table. For example, by defining the initial position of the sewing table as the origin, the horizontal direction of the sewing table as the X-axis, and the vertical direction of the sewing table as the Y-axis, the coordinate values ​​of the target tail position can be obtained. Based on the length of the sewing pattern, the coordinate values ​​corresponding to the initial position of the tail of the sewing pattern can be calculated.

[0065] Furthermore, based on the coordinates of the target tail position and the initial position of the sewing pattern's tail, and using the distance calculation formula between two points, the distance between the target tail position and the initial position of the sewing pattern's tail is calculated; that is, the distance the tail of the sewing pattern needs to move. In practice, the length of the sewing pattern remains constant during the movement of the sewing table, and the head of the sewing pattern is fixed to the sewing table. Therefore, calculating the distance the tail of the sewing pattern needs to move determines the corresponding movement distance of the sewing table.

[0066] Understandably, when the movement distance is 0, the initial position of the tail of the sewing pattern is the target tail position, and the sewing table does not need to move. Conversely, if the movement distance is not 0, it means that the initial tail position of the current sewing pattern is some distance from the target tail position, such as... Figure 4 As shown, the orientation of long and short patterns relative to the target tail position is different. For long patterns, the initial tail of the pattern is in front of the target tail position, and the sewing table needs to be moved backward. For short patterns, the initial tail of the pattern is behind the target tail position, and the sewing table needs to be moved forward.

[0067] In this embodiment, the target tail position is determined based on the actual required length of the remaining thread. It is understood that the initial position of the tail of the sewing pattern is calculated based on the initial position of the sewing table and the length of the sewing pattern; the moving distance is obtained by calculating the distance between the initial position and the target tail position; when the moving distance is not zero, the moving direction can be determined by judging the relative orientation between the initial position and the target tail position; based on this, controlling the sewing table to move the tail of the sewing pattern to the target tail position for thread trimming controls the length of the remaining thread; by fixing the thread between the rotating base and the target tail position using a thread-fixing device, and controlling the bobbin shears to perform the thread-cutting action, the required length of remaining thread can be obtained, eliminating the need for manual trimming and improving production efficiency.

[0068] Based on the above example, the direction of movement of the sewing table needs to be determined according to the directional relationship between the initial position of the tail of the sewing pattern and the target tail position. Specifically, the method for determining the directional relationship between the initial position of the tail of the sewing pattern and the target tail position is not specifically limited. As an example, in one instance, determining whether the initial position of the tail of the sewing pattern is behind the target tail position includes: defining the initial position of the sewing table as the origin, defining the horizontal direction of the sewing table as the X-axis, and defining the vertical direction of the sewing table as the Y-axis to obtain the coordinate values ​​of the target tail position; calculating the coordinate values ​​corresponding to the initial position of the tail of the sewing pattern based on its length; and determining the directional relationship between the initial position of the tail of the sewing pattern and the target tail position based on the coordinate values ​​corresponding to the initial position of the tail of the sewing pattern and the coordinate values ​​of the target tail position.

[0069] Optionally, in another example, determining whether the initial position of the tail of the sewn pattern is located behind the target tail position includes:

[0070] Determine whether the length of the sewing pattern is greater than the reference pattern length; where the reference pattern length is the distance between the initial position of the sewing table and the target tail position.

[0071] In practical applications, after the fabric cutting process is completed, the initial position of the sewing table is fixed, and the head of the sewing pattern is fixed on the sewing table. Therefore, the initial position of the head of the sewing pattern is fixed. Specifically, if the length of the sewing pattern is greater than the length of the reference pattern, it means that the initial position of the tail of the sewing pattern is behind the target position; if the length of the sewing pattern is less than the length of the reference pattern, it means that the initial position of the tail of the sewing pattern is in front of the target position.

[0072] In this embodiment, the target tail position is determined based on the actual required length of the remaining thread. It is understood that the initial position of the tail of the sewing pattern is calculated based on the initial position of the sewing table and the length of the sewing pattern; the moving distance is obtained by calculating the distance between the initial position and the target tail position; if the moving distance is not zero, the relative orientation between the initial position and the target tail position is determined by judging whether the length of the sewing pattern is greater than the length of the reference pattern, thus determining the moving direction; based on this, controlling the sewing table to move the tail of the sewing pattern to the target tail position for thread trimming controls the length of the remaining thread; by fixing the thread between the rotating base and the target tail position using a thread-fixing device, and controlling the bobbin shears to perform the thread-cutting action, the required length of remaining thread can be obtained, eliminating the need for manual trimming and improving production efficiency.

[0073] Optionally, regarding the method for determining the moving distance and direction of the sewing table corresponding to the sewing pattern, as an example, in one possible implementation, step 302 above includes:

[0074] The target head position is determined based on the target tail position and the length of the sewing pattern. The target head position is the position of the head of the sewing pattern when the tail of the sewing pattern moves to the target tail position.

[0075] Calculate the distance between the initial position of the suture table and the target head position to obtain the movement distance;

[0076] If the movement distance is not 0, determine whether the initial position of the sewing platform is behind the target head position;

[0077] If the initial position of the sewing platform is behind the target head position, then set the movement direction to forward; otherwise, set the movement direction to backward.

[0078] Based on the above example, the head of the sewing pattern is fixed on the sewing table. Therefore, the initial position of the sewing table is the initial position of the head of the sewing pattern, and the target head position is the position of the sewing table when the tail of the sewing pattern moves to the target tail position.

[0079] In this embodiment, the target tail position is determined based on the actual required length of the remaining thread. It can be understood that the target head position is calculated based on the target tail position and the length of the sewing pattern; the moving distance is obtained by calculating the distance between the initial position of the sewing table and the target head position; the moving direction is determined by judging the relative orientation of the initial position of the sewing table and the target head position; based on this, controlling the movement of the sewing table to move the tail of the sewing pattern to the target tail position for thread trimming controls the length of the remaining thread; by fixing the thread between the rotating base and the target tail position using a thread-fixing device, and controlling the bobbin shears to perform the thread-cutting action, the required length of remaining thread can be obtained, eliminating the need for manual trimming and improving production efficiency.

[0080] In practical applications, the required length of thread tail for sewing patterns can be determined according to actual needs. For example, the required thread tail length may be the shortest for different sewing patterns; or, for different sewing patterns, the required thread tail length may be the same. This application can dynamically adjust the target tail position based on the length of the sewing pattern and the required thread tail length. As an example, in one possible implementation, before step 301, the thread cutting control method further includes:

[0081] Determine the adjustment parameter value for the thread cutting position based on the length of the sewing pattern and the required length of the thread tail.

[0082] The target tail position is determined based on the adjustment parameters of the position of the rotating body base and the shearing position. The adjustment parameter of the shearing position is the distance between the rotating body base and the target tail position.

[0083] In practical applications, the position of the rotating base remains fixed, and the relative positions of the sewing table and the bobbin shears remain unchanged. (Combined with...) Figure 4 When the target tail position is fixed, for long patterns, the sewing table needs to be moved to the right to move the tail of the long pattern to the target tail position. At this time, the bobbin shears also move to the right with the sewing table, and the thread end fixing device fixes the thread between the rotating body base and the target tail position, and controls the bobbin shears to perform the thread cutting action. Compared with directly cutting the thread and sewing the pattern without moving the sewing table, the length of the leftover thread is reduced. For short patterns, the sewing table needs to be moved to the left to move the tail of the short pattern to the target tail position. At this time, the bobbin shears also move to the left with the sewing table, and the thread end fixing device fixes the thread between the rotating body base and the target tail position, and controls the bobbin shears to perform the thread cutting action. Compared with directly cutting the thread and sewing the pattern without moving the sewing table, the length of the leftover thread is increased.

[0084] Specifically, for different sewing patterns, when the required thread length is the shortest, the target tail position needs to be set further away from the base of the rotating body; that is, the adjustment parameter value for the thread cutting position should be larger. For different sewing patterns with the same required thread length, the target tail position needs to be set closer to the rotating body for longer patterns compared to shorter patterns; that is, the adjustment parameter value for the thread cutting position for longer patterns is smaller than that for shorter patterns.

[0085] In this embodiment, the target tail position is dynamically adjusted according to the length of the sewing pattern and the required length of the thread end left by the sewing pattern. This can control the length of the thread end left by the sewing pattern, ensure that the length of the thread end left by the rotating body is adjustable, and prevent the thread from coming loose when sewing starts again due to the thread end being too short.

[0086] In practice, the position of the rotating base remains unchanged. Therefore, the target tail position can be determined based on the adjustment parameters of the rotating base position and the thread cutting position. In this embodiment, the target tail position is dynamically adjusted according to the length of the sewing pattern and the required length of the remaining thread. Based on this, the moving distance and direction of the sewing platform under the sewing pattern are determined according to the initial position of the sewing table, the length of the sewing pattern, and the target tail position. The movement of the sewing platform is controlled to move the tail of the sewing pattern to the target tail position for thread cutting, thus controlling the length of the remaining thread. By fixing the thread between the rotating base and the target tail position with a thread-fixing device and controlling the bobbin shears to perform the thread cutting action, the required length of remaining thread can be obtained, eliminating the need for manual trimming and improving production efficiency.

[0087] Furthermore, in one possible implementation, after step 304, the method further includes:

[0088] After the thread is cut, the thread end fixing device is turned off, and the sewing table is moved back to its initial position.

[0089] In this embodiment, after the thread is cut, the thread end fixing device is turned off, and the sewing table is moved to its initial position so that the next sewing operation can be carried out, thus improving the reliability of production.

[0090] In the thread-cutting control method provided in this embodiment, after the fabric cutting process is completed, firstly, the initial position of the sewing table, the length of the sewing pattern, and the target tail position are obtained; then, based on the initial position of the sewing table, the length of the sewing pattern, and the target tail position, the corresponding moving distance and moving direction of the sewing table under the sewing pattern are determined; then, the sewing table is controlled to move the moving distance according to the moving direction so that the tail of the sewing pattern is located at the target tail position; finally, the thread-end fixing device is controlled to start so that the thread-end fixing device fixes the sewing thread between the rotating body base and the target tail position, and the bobbin shears are controlled to perform the thread-cutting action. In this embodiment, the target tail position is determined based on the actual required length of the remaining thread. The moving distance and direction of the sewing table under the sewing pattern are determined according to the initial position of the sewing table, the length of the sewing pattern, and the target tail position. Controlling the sewing table to move the tail of the sewing pattern to the target tail position for thread trimming controls the length of the remaining thread. By fixing the thread between the rotating base and the target tail position using a thread-fixing device, and controlling the bobbin shears to perform the thread-cutting action, the required length of remaining thread can be obtained, eliminating the need for manual trimming and improving production efficiency.

[0091] Example 2

[0092] Figure 6 This is a schematic diagram of a thread-cutting control device provided in Embodiment 3 of this application, applied to a round-head buttonhole machine. The round-head buttonhole machine includes a sewing table, a bobbin thread cutter, a thread end fixing device, and a rotating base. The relative distance between the bobbin thread cutter and the sewing table is a fixed value. Figure 6 As shown, the wire-cutting control device includes:

[0093] The acquisition module 61 is used to acquire the initial position of the sewing table, the length of the sewing pattern, and the target tail position after the fabric cutting process is completed; wherein, the head of the sewing pattern is fixed on the sewing table; the length of the sewing pattern is the distance between the initial position of the sewing table and the initial position of the tail of the sewing pattern.

[0094] The first determining module 62 is used to determine the moving distance and moving direction of the sewing table under the sewing pattern based on the initial position of the sewing table, the length of the sewing pattern and the target tail position.

[0095] The first control module 63 is used to control the sewing table to move a distance corresponding to the moving distance in the moving direction, so that the tail of the sewing pattern is located at the target tail position.

[0096] The second control module 64 is used to control the start of the thread-fixing device so that the thread-fixing device fixes the sewing thread between the rotating body base and the target tail position, and controls the bottom thread cutters to perform the thread-cutting action.

[0097] In this embodiment, the fabric cutting and thread trimming processes are handled separately. The fabric cutting process is the same as the prior art and will not be described in detail here. After the fabric cutting process is completed, before the thread trimming process is executed, the tail of the sewing pattern is moved to the target tail position, and then the thread trimming is controlled.

[0098] It should be noted that after the fabric cutting process is completed, the cutting position remains unchanged, and the initial position of the sewing table is determined by the cutting position. Therefore, the initial position of the sewing table is the same for different sewing patterns. In practice, the head of the sewing pattern is fixed on the sewing table; therefore, the initial position of the head is the same for different sewing patterns. However, because the lengths of different sewing patterns are different, the initial positions of the tails are different. The length of a sewing pattern is the distance between the head and tail of the pattern. Since the initial position of the head of the sewing pattern remains unchanged after the fabric cutting process, and this initial position coincides with the initial position of the sewing table, the length of the sewing pattern is the distance between the initial position of the sewing table and the initial position of the tail.

[0099] Specifically, module 61 is used to acquire the initial position of the sewing table, the length of the sewing pattern, and the target tail position after the fabric cutting process is completed. For example, the initial position of the sewing table can be calculated based on the fabric cutting position after the fabric cutting process is completed. The length of the sewing pattern is preset. For example, before the round-head buttonhole machine starts working, the sewing requirements are determined, including the style and length of the sewing pattern. When controlling the round-head buttonhole machine, parameters such as the style and length of the sewing pattern need to be set to control the sewing. Therefore, the length of the sewing pattern can be obtained from the sewing requirements. The target tail position can be set according to the actual required length of thread ends. In practice, the position of the rotating base is fixed, the initial position of the head of the sewing pattern is determined, and the target tail position is set according to the length of the sewing pattern and the actual required length of thread ends.

[0100] Based on the above explanation, the length of the sewing pattern is the distance between the head and tail of the sewing pattern. Furthermore, the initial position of the head of the sewing pattern is consistent with the initial position of the sewing table. Therefore, after determining the initial position of the sewing table and the length of the sewing pattern, the initial position of the tail of the sewing pattern can be obtained by calculation.

[0101] Specifically, the first determining module 62 is used to determine the moving distance and direction of the sewing table under the sewing pattern based on the initial position of the sewing table, the length of the sewing pattern, and the target tail position. For example, if the initial position of the sewing table is set as the origin, after the fabric cutting process is completed, the initial position of the head of the sewing pattern is at the origin. Therefore, after determining the length of the sewing pattern, the initial position of the tail of the sewing pattern can be determined. Furthermore, based on the initial position and the target tail position of the sewing pattern, the moving distance and direction of the tail of the sewing pattern from the initial position to the target tail position can be determined, that is, the moving distance and direction of the sewing table under the sewing pattern.

[0102] In this embodiment, the method for calculating the moving distance and direction of the sewing table corresponding to the sewing pattern is not specifically limited. As an example, in one example, after determining the target tail position, the target head position is determined according to the length of the sewing pattern, that is, the position of the head of the sewing pattern when the tail of the sewing pattern moves to the target tail position; further, the moving distance and direction of the sewing table corresponding to the sewing pattern are determined according to the target head position and the initial position of the sewing table (that is, the initial position of the head of the sewing pattern).

[0103] Specifically, the first control module 63 controls the sewing table to move a distance corresponding to the aforementioned moving distance in the aforementioned moving direction, so that the tail of the sewing pattern is located at the target tail position. For example, after determining the moving distance and moving direction of the sewing table corresponding to the sewing pattern, a corresponding action command is generated and sent to the drive system of the motor in the round-head buttonhole machine, controlling the motor to drive the sewing table to move a distance corresponding to the aforementioned moving distance in the aforementioned moving direction. It should be understood that after controlling the sewing table to move a distance corresponding to the aforementioned moving distance in the aforementioned moving direction, the tail of the sewing pattern is located at the target tail position.

[0104] Specifically, the second control module 64 is used to control the thread-fixing device to start, so that the thread-fixing device fixes the sewing thread between the rotating body base and the target tail position, and controls the bobbin shears to perform the thread-cutting action. For example, the thread-fixing device can be a thread-grabbing mechanism. After the fixing device is started, it can uniformly fix the thread ends left after the previous sewing and the exposed sewing thread after the current sewing, ensuring that the sewing thread between the rotating body base and the tail of the sewing pattern is fixed and does not bend. Furthermore, controlling the bobbin shears to perform the thread-cutting action can obtain the actual required length of the remaining thread ends.

[0105] In this embodiment, the target tail position is determined based on the actual required length of the remaining thread. It can be understood that the first determining module 62 determines the moving distance and direction of the sewing table under the sewing pattern based on the initial position of the sewing table, the length of the sewing pattern, and the target tail position. The first control module 63 controls the sewing table to move the tail of the sewing pattern to the target tail position for thread trimming, thus controlling the length of the remaining thread. The second control module 64 uses a thread-fixing device to fix the thread between the rotating base and the target tail position, and controls the bobbin shears to perform the thread-cutting action, obtaining the required length of remaining thread without the need for manual trimming, thereby improving production efficiency.

[0106] Optionally, in one possible implementation, the first determining module 62 includes:

[0107] The first calculation unit is used to calculate the initial position of the tail of the sewing pattern based on the initial position of the sewing table and the length of the sewing pattern.

[0108] The second calculation unit is used to calculate the distance between the initial position of the tail of the sewn pattern and the target tail position to obtain the moving distance;

[0109] The judgment unit is used to determine whether the initial position of the tail of the sewing pattern is behind the target tail position if the moving distance is not 0.

[0110] The setting unit is used to set the movement direction to forward if the initial position of the tail of the sewing pattern is behind the target tail position; otherwise, the movement direction is set to backward.

[0111] In practical applications, the distance and direction of movement of the sewing table differ depending on the sewing pattern. For example... Figure 5 As shown, for short patterns, the initial position of the tail of the short pattern is behind the target tail position. Therefore, for short patterns, the corresponding movement direction of the sewing table should be forward. For long patterns, the initial position of the tail of the long pattern is in front of the target tail position. Therefore, for long patterns, the corresponding movement direction of the sewing table should be backward.

[0112] Based on the above explanation, after the fabric cutting process is completed, the initial position of the heads of different sewing patterns is the same, all located at the initial position of the sewing table. For example, by defining the initial position of the sewing table as the origin, the horizontal direction of the sewing table as the X-axis, and the vertical direction of the sewing table as the Y-axis, the coordinate values ​​of the target tail position can be obtained. Based on the length of the sewing pattern, the coordinate values ​​corresponding to the initial position of the tail of the sewing pattern can be calculated.

[0113] Furthermore, based on the coordinates of the target tail position and the initial position of the sewing pattern's tail, and using the distance calculation formula between two points, the distance between the target tail position and the initial position of the sewing pattern's tail is calculated; that is, the distance the tail of the sewing pattern needs to move. In practice, the length of the sewing pattern remains constant during the movement of the sewing table, and the head of the sewing pattern is fixed to the sewing table. Therefore, calculating the distance the tail of the sewing pattern needs to move determines the corresponding movement distance of the sewing table.

[0114] Understandably, when the movement distance is 0, the initial position of the tail of the sewing pattern is the target tail position, and the sewing table does not need to move. Conversely, if the movement distance is not 0, it means that the initial tail position of the current sewing pattern is some distance from the target tail position, such as... Figure 4 As shown, the orientation of long and short patterns relative to the target tail position is different. For long patterns, the initial tail of the pattern is in front of the target tail position, and the sewing table needs to be moved backward. For short patterns, the initial tail of the pattern is behind the target tail position, and the sewing table needs to be moved forward.

[0115] In this embodiment, the target tail position is determined based on the actual required length of the remaining thread. It is understood that the first calculation unit calculates the initial position of the tail of the sewing pattern based on the initial position of the sewing table and the length of the sewing pattern; the second calculation unit obtains the moving distance by calculating the distance between the initial position of the tail of the sewing pattern and the target tail position; when the moving distance is not zero, the judgment unit determines the moving direction by judging the relative orientation between the initial position of the tail of the sewing pattern and the target tail position; based on this, the first control module 63 controls the sewing table to move the tail of the sewing pattern to the target tail position for thread trimming, thus controlling the length of the remaining thread; the second control module 64 uses a thread-fixing device to fix the thread between the rotating base and the target tail position, and controls the bobbin shears to perform the thread-cutting action, obtaining the required length of remaining thread, eliminating the need for manual trimming and improving production efficiency.

[0116] Optionally, in one possible implementation, the aforementioned determination unit is specifically used to: define the initial position of the sewing table as the origin, define the horizontal direction of the sewing table as the X-axis, and define the vertical direction of the sewing table as the Y-axis to obtain the coordinate value of the target tail position; calculate the coordinate value corresponding to the initial position of the tail of the sewing pattern based on the length of the sewing pattern; and determine the orientation relationship between the initial position of the tail of the sewing pattern and the target tail position based on the coordinate value corresponding to the initial position of the tail of the sewing pattern and the coordinate value of the target tail position.

[0117] Optionally, in one possible implementation, the above-mentioned determination unit is specifically used for:

[0118] Determine whether the length of the sewing pattern is greater than the reference pattern length; where the reference pattern length is the distance between the initial position of the sewing table and the target tail position.

[0119] In practical applications, after the fabric cutting process is completed, the initial position of the sewing table is fixed, and the head of the sewing pattern is fixed on the sewing table. Therefore, the initial position of the head of the sewing pattern is fixed. Specifically, if the length of the sewing pattern is greater than the length of the reference pattern, it means that the initial position of the tail of the sewing pattern is behind the target position; if the length of the sewing pattern is less than the length of the reference pattern, it means that the initial position of the tail of the sewing pattern is in front of the target position.

[0120] In this embodiment, the target tail position is determined based on the actual required length of the remaining thread. It is understood that the first calculation unit calculates the initial position of the tail of the sewing pattern based on the initial position of the sewing table and the length of the sewing pattern; the second calculation unit obtains the moving distance by calculating the distance between the initial position of the tail of the sewing pattern and the target tail position; if the moving distance is not zero, the judgment unit determines the relative orientation between the initial position of the tail of the sewing pattern and the target tail position by judging whether the length of the sewing pattern is greater than the length of the reference pattern, and then the setting unit can determine the moving direction; based on this, the first control module 63 controls the sewing table to move the tail of the sewing pattern to the target tail position for thread trimming, thus controlling the length of the remaining thread; the second control module 64 uses a thread-fixing device to fix the sewing thread between the rotating base and the target tail position, and controls the bobbin shears to perform the thread-cutting action, obtaining the required length of remaining thread, eliminating the need for manual trimming and improving production efficiency.

[0121] Optionally, regarding the method for determining the moving distance and direction of the sewing table corresponding to the sewing pattern, as an example, in one possible implementation, the first determining module 62 is specifically used for:

[0122] The target head position is determined based on the target tail position and the length of the sewing pattern. The target head position is the position of the head of the sewing pattern when the tail of the sewing pattern moves to the target tail position.

[0123] Calculate the distance between the initial position of the suture table and the target head position to obtain the movement distance;

[0124] If the movement distance is not 0, determine whether the initial position of the sewing platform is behind the target head position;

[0125] If the initial position of the sewing platform is behind the target head position, then set the movement direction to forward; otherwise, set the movement direction to backward.

[0126] Based on the above example, the head of the sewing pattern is fixed on the sewing table. Therefore, the initial position of the sewing table is the initial position of the head of the sewing pattern, and the target head position is the position of the sewing table when the tail of the sewing pattern moves to the target tail position.

[0127] In this embodiment, the target tail position is determined based on the actual required length of the remaining thread. It is understood that the first determining module 62 calculates the target head position based on the target tail position and the length of the sewing pattern; it obtains the moving distance by calculating the distance between the initial position of the sewing table and the target head position; and it determines the moving direction by judging the relative orientation between the initial position of the sewing table and the target head position. Based on this, the first control module 63 controls the sewing table to move the tail of the sewing pattern to the target tail position for thread trimming, thus controlling the length of the remaining thread. The second control module 64 uses a thread-fixing device to fix the sewing thread between the rotating base and the target tail position, and controls the bobbin shears to perform the thread-cutting action, obtaining the required length of remaining thread without the need for manual trimming, thereby improving production efficiency.

[0128] Optionally, in one possible implementation, the above-described apparatus further includes:

[0129] The second determining module is used to: determine the adjustment parameter value of the thread cutting position based on the length of the sewing pattern and the required length of the thread tail of the sewing pattern; and determine the target tail position based on the position of the rotating body base and the adjustment parameter value of the thread cutting position, wherein the adjustment parameter value of the thread cutting position is the distance between the rotating body base and the target tail position.

[0130] In practical applications, the position of the rotating base remains fixed, and the relative positions of the sewing table and the bobbin shears remain unchanged. (Combined with...) Figure 4 When the target tail position is fixed, for long patterns, the sewing table needs to be moved to the right to move the tail of the long pattern to the target tail position. At this time, the bobbin shears also move to the right with the sewing table, and the thread end fixing device fixes the thread between the rotating body base and the target tail position, and controls the bobbin shears to perform the thread cutting action. Compared with directly cutting the thread and sewing the pattern without moving the sewing table, the length of the leftover thread is reduced. For short patterns, the sewing table needs to be moved to the left to move the tail of the short pattern to the target tail position. At this time, the bobbin shears also move to the left with the sewing table, and the thread end fixing device fixes the thread between the rotating body base and the target tail position, and controls the bobbin shears to perform the thread cutting action. Compared with directly cutting the thread and sewing the pattern without moving the sewing table, the length of the leftover thread is increased.

[0131] Specifically, for different sewing patterns, when the required thread length is the shortest, the target tail position needs to be set further away from the base of the rotating body; that is, the adjustment parameter value for the thread cutting position should be larger. For different sewing patterns with the same required thread length, the target tail position needs to be set closer to the rotating body for longer patterns compared to shorter patterns; that is, the adjustment parameter value for the thread cutting position for longer patterns is smaller than that for shorter patterns.

[0132] In this embodiment, the target tail position is dynamically adjusted according to the length of the sewing pattern and the required length of the thread end left by the sewing pattern. This can control the length of the thread end left by the sewing pattern, ensure that the length of the thread end left by the rotating body is adjustable, and prevent the thread from coming loose when sewing starts again due to the thread end being too short.

[0133] In practice, the position of the rotating base remains unchanged. Therefore, the target tail position can be determined based on the adjustment parameters of the rotating base position and the thread cutting position. In this embodiment, the second determining module dynamically adjusts the target tail position according to the length of the sewing pattern and the required length of the remaining thread. Based on this, the first determining module 62 determines the moving distance and direction of the sewing platform under the sewing pattern according to the initial position of the sewing platform, the length of the sewing pattern, and the target tail position. The first control module 63 controls the sewing platform to move the tail of the sewing pattern to the target tail position for thread cutting, thus controlling the length of the remaining thread. The second control module 64 fixes the sewing thread between the rotating base and the target tail position using a thread-fixing device and controls the bobbin shears to perform the thread cutting action, obtaining the required length of remaining thread without the need for manual trimming, thereby improving production efficiency.

[0134] Optionally, in one possible implementation, the above-described apparatus further includes:

[0135] The third control module is used to control the thread end fixing device to close after the thread is cut, and to control the sewing table to move to the initial position of the sewing table.

[0136] In this embodiment, after the thread is cut, the thread end fixing device is turned off, and the third control module controls the sewing table to move to its initial position so that the next sewing operation can be run, thus improving the reliability of production.

[0137] In the thread-cutting control device provided in this embodiment, after the fabric cutting process is completed, the acquisition module acquires the initial position of the sewing table, the length of the sewing pattern, and the target tail position; the first determining module determines the moving distance and moving direction of the sewing table corresponding to the sewing pattern based on the initial position of the sewing table, the length of the sewing pattern, and the target tail position; the first control module controls the sewing table to move the moving distance according to the moving direction so that the tail of the sewing pattern is located at the target tail position; the second control module controls the thread-fixing device to start so that the thread-fixing device fixes the sewing thread between the rotating body base and the target tail position, and controls the bobbin shears to perform the thread-cutting action. In this embodiment, the target tail position is determined according to the actual required length of the remaining thread. Understandably, the first determining module determines the moving distance and direction of the sewing table based on the initial position of the sewing table, the length of the sewing pattern, and the target tail position. The first control module controls the movement of the sewing table to move the tail of the sewing pattern to the target tail position for thread trimming, thus controlling the length of the remaining thread. The second control module uses a thread-fixing device to fix the sewing thread between the rotating base and the target tail position, and controls the bobbin shears to perform the thread-cutting action, which can obtain the required length of remaining thread, eliminating the need for manual trimming and improving production efficiency.

[0138] Example 3

[0139] Figure 7 This is a schematic diagram of the structure of the electronic device provided in Embodiment 3 of this application, as shown below. Figure 7 As shown, the electronic device includes:

[0140] The processor 71 and main control device also include a memory 72; it may also include a communication interface 73 and a bus 74. The processor 71, memory 72, and communication interface 73 can communicate with each other via the bus 74. The communication interface 73 can be used for information transmission. The processor 71 can call logical instructions stored in the memory 72 to execute the methods of the above embodiments.

[0141] Furthermore, the logic instructions in the aforementioned memory 72 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium.

[0142] The memory 72, as a computer-readable storage medium, can be used to store software programs and computer-executable programs, such as program instructions / modules corresponding to the methods in the embodiments of this application. The processor 71 executes functional applications and data processing by running the software programs, instructions, and modules stored in the memory 72, thereby implementing the methods in the above-described method embodiments.

[0143] The memory 72 may include a program storage area and a data storage area. The program storage area may store the operating system and application programs required for at least one function; the data storage area may store data created based on the use of the terminal device. Furthermore, the memory 72 may include high-speed random access memory and may also include non-volatile memory.

[0144] This application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the method in any of the embodiments. For example, the computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, or optical data storage device.

[0145] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily essential to this application.

[0146] It should be further noted that although the steps in the flowchart are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowchart may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the sub-steps or stages of other steps.

[0147] It should be understood that the above-described device embodiments are merely illustrative, and the device of this application can also be implemented in other ways. For example, the division of units / modules in the above embodiments is only a logical functional division, and there may be other division methods in actual implementation. For example, multiple units, modules, or components may be combined, or integrated into another system, or some features may be ignored or not executed.

[0148] Furthermore, unless otherwise specified, the functional units / modules in the various embodiments of this application can be integrated into one unit / module, or each unit / module can exist physically separately, or two or more units / modules can be integrated together. The integrated units / modules described above can be implemented in hardware or as software program modules.

[0149] When integrated units / modules are implemented in hardware, the hardware can be digital circuits, analog circuits, etc. The physical implementation of the hardware structure includes, but is not limited to, transistors, memristors, etc. Unless otherwise specified, the processor can be any suitable hardware processor, such as a CPU, GPU, FPGA, DSP, and ASIC, etc. Unless otherwise specified, the storage unit can be any suitable magnetic or magneto-optical storage medium, such as Resistive Random Access Memory (RRAM), Dynamic Random Access Memory (DRAM), Static Random Access Memory (SRAM), Enhanced Dynamic Random Access Memory (EDRAM), High-Bandwidth Memory (HBM), Hybrid Memory Cube (HMC), etc.

[0150] If the integrated unit / module is implemented as a software program module and sold or used as an independent product, it can be stored in a computer-readable storage device (CMD). Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a memory and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned memory includes various media capable of storing program code, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard drive, magnetic disk, or optical disk.

[0151] In the above embodiments, the descriptions of each embodiment have their own emphasis. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments. The technical features of the above embodiments can be combined arbitrarily. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as these combinations of technical features do not contradict each other, they should be considered within the scope of this specification.

[0152] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this application are indicated by the following claims.

[0153] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.

Claims

1. A wire-cutting control method, characterized in that, include: Applied to a round-head buttonhole machine, the round-head buttonhole machine includes a sewing table, a bottom thread cutter, a thread end fixing device, and a rotating base, wherein the relative distance between the bottom thread cutter and the sewing table is a constant value; The wire-cutting control method includes: After the fabric cutting process is completed, the initial position of the sewing table, the length of the sewing pattern, and the target tail position are obtained; wherein, the head of the sewing pattern is fixed on the sewing table; the length of the sewing pattern is the distance between the initial position of the sewing table and the initial position of the tail of the sewing pattern, and the initial position of the sewing table is determined by the fabric cutting position. Based on the initial position of the sewing platform and the length of the sewing pattern, calculate the initial position of the tail of the sewing pattern; calculate the distance between the initial position of the tail of the sewing pattern and the target tail position to obtain the corresponding moving distance of the sewing platform; if the moving distance is not 0, determine whether the length of the sewing pattern is greater than the length of the reference pattern; wherein, the length of the reference pattern is the distance between the initial position of the sewing platform and the target tail position. If the length of the sewing pattern is greater than the length of the reference pattern, it indicates that the initial position of the tail of the sewing pattern is behind the target position; if the length of the sewing pattern is less than the length of the reference pattern, it indicates that the initial position of the tail of the sewing pattern is in front of the target position. If the initial position of the tail of the sewn pattern is behind the target tail position, the movement direction is set to forward; otherwise, the movement direction is set to backward. The sewing table is controlled to move a distance corresponding to the moving distance in the moving direction, so that the tail of the sewing pattern is located at the target tail position; The thread-fixing device is activated to fix the sewing thread between the rotating body base and the target tail position. The bottom thread scissors are then controlled to perform a thread-cutting action. The target tail position is dynamically adjusted according to the length of the sewing pattern and the required length of the remaining thread, which controls the length of the remaining thread and ensures that the length of the remaining thread on the rotating body is adjustable, preventing the thread from coming loose during the next sewing start due to the thread being too short.

2. The method according to claim 1, characterized in that, Before obtaining the initial position of the sewing table, the length of the sewing pattern, and the target tail position, the method further includes: The adjustment parameter value for the thread cutting position is determined based on the length of the sewing pattern and the required length of the thread tail. The target tail position is determined based on the position of the rotating body base and the adjustment parameter value of the cutting position, wherein the adjustment parameter value of the cutting position is the distance between the rotating body base and the target tail position.

3. The method according to claim 1 or 2, characterized in that, After controlling the bottom thread cutters to perform the thread-cutting action, the method further includes: After the thread is cut, the thread end fixing device is turned off, and the sewing table is moved to its initial position.

4. A wire-cutting control device, characterized in that, This invention is applied to a round-head buttonhole machine, which includes a sewing table, thread cutters, a thread end fixing device, and a rotating base. The relative distance between the thread cutters and the sewing table is constant. The thread cutting control device includes: The acquisition module is used to acquire the initial position of the sewing table, the length of the sewing pattern, and the target tail position after the fabric cutting process is completed; wherein, the head of the sewing pattern is fixed on the sewing table; the length of the sewing pattern is the distance between the initial position of the sewing table and the initial position of the tail of the sewing pattern, and the initial position of the sewing table is determined by the fabric cutting position. The first determining module is used to calculate the initial position of the tail of the sewing pattern based on the initial position of the sewing platform and the length of the sewing pattern; calculate the distance between the initial position of the tail of the sewing pattern and the target tail position to obtain the corresponding moving distance of the sewing platform; if the moving distance is not 0, determine whether the length of the sewing pattern is greater than the length of a reference pattern; wherein, the length of the reference pattern is the distance between the initial position of the sewing platform and the target tail position, if the length of the sewing pattern is greater than the length of the reference pattern, it means that the initial position of the tail of the sewing pattern is behind the target position, if the length of the sewing pattern is less than the length of the reference pattern, it means that the initial position of the tail of the sewing pattern is in front of the target position; if the initial position of the tail of the sewing pattern is behind the target tail position, the moving direction is set to forward; otherwise, the moving direction is set to backward. The first control module is used to control the sewing table to move a distance corresponding to the moving distance in the moving direction, so that the tail of the sewing pattern is located at the target tail position; The second control module is used to control the start of the thread-fixing device so that the thread-fixing device fixes the sewing thread between the rotating body base and the target tail position, and controls the bottom thread scissors to perform the thread-cutting action. The target tail position is dynamically adjusted according to the length of the sewing pattern and the required length of the left thread of the sewing pattern, so as to control the length of the left thread of the sewing pattern, ensuring that the length of the left thread of the rotating body is adjustable, and preventing the thread from coming loose due to the thread being too short when sewing again.

5. An electronic device, characterized in that, include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory to implement the method as described in any one of claims 1 to 3.

6. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 1 to 3.