Embroidery control method, device, apparatus and storage medium
Patent Information
- Application Number
- CN202410621880.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-20
- Publication Date
- 2026-10-27
- Estimated Expiration
- 2044-05-20
AI Technical Summary
[0005]本申请提供一种刺绣控制方法、装置、设备及存储介质,用以解决现有技术中,刺绣机进行大幅面的绣品绣作时,绣作的不同区域内,绣品的绣作效果存在差异的问题
Smart Images

Figure CN118345568B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of embroidery machine technology, and in particular to an embroidery control method, device, equipment and storage medium. Background Technology
[0002] As the embroidery machine's production area demand increases, the length and width of the embroidery frame also increase. In related technologies, multiple machine heads can be spliced together before embroidery to meet the production needs of large-format embroidery.
[0003] This implementation method can easily lead to differences in the embroidery effect produced by the embroidery machine in different areas. For example, the embroidery machine may not embroider consistently in different areas, resulting in inconsistent embroidery. Moreover, this difference becomes more pronounced as the embroidery area expands, which in turn seriously affects the quality of the embroidery.
[0004] Therefore, in the existing technology, the problem of different embroidery effects in different areas is generally improved by modifying the mechanical structure. However, improving the mechanical structure is costly and has limited effect. Summary of the Invention
[0005] This application provides an embroidery control method, apparatus, equipment, and storage medium to solve the problem in the prior art that when an embroidery machine performs large-format embroidery, the embroidery effect varies in different areas of the embroidery.
[0006] Firstly, this application provides an embroidery control method, comprising:
[0007] Determine the stitch data to be embroidered, and determine the target coordinate values of the stitch data to be embroidered relative to the embroidery frame;
[0008] From the multiple positional partitions included in the embroidery frame, determine the target partition corresponding to the target coordinate value;
[0009] Determine the embroidery frame adjustment parameters that match the target partition, and adjust the embroidery frame based on the matching embroidery frame adjustment parameters to perform embroidery.
[0010] In one example, determining the embroidery frame adjustment parameters that match the target partition includes:
[0011] Determine the embroidery frame adjustment weights that match the target partition;
[0012] Based on the matching embroidery frame adjustment weight, the initial adjustment parameters are adjusted to obtain the matching embroidery frame adjustment parameters.
[0013] In one example, the number of initial adjustment parameters is multiple; adjusting the initial adjustment parameters based on the matching embroidery frame adjustment weight to obtain the matching embroidery frame adjustment parameters includes:
[0014] Determine the embroidery frame adjustment weight that matches each of the initial adjustment parameters;
[0015] Based on the embroidery frame adjustment weights that match each of the initial adjustment parameters, the initial adjustment parameters are weighted and summed to obtain the matching embroidery frame adjustment parameters.
[0016] In one example, before determining the stitch data to be embroidered, the method further includes:
[0017] The embroidery frame is partitioned according to a pre-set partitioning pattern to obtain the multiple position partitions;
[0018] Set corresponding initial adjustment parameters for each of the location partitions.
[0019] In one example, the pre-set partitioning pattern represents a single-row partitioning pattern; the partitioning of the embroidery frame according to the pre-set partitioning pattern to obtain the multiple position partitions includes:
[0020] Each row within the area where the embroidery frame is located is defined as a position partition, resulting in the plurality of position partitions.
[0021] In one example, the pre-set partitioning pattern represents a region partitioning pattern; the partitioning of the embroidery frame according to the pre-set partitioning pattern to obtain the multiple position partitions includes:
[0022] Determine the first coordinate value obtained after moving the embroidery frame based on the initial adjustment parameters, and determine the second coordinate value determined according to the embroidery pattern;
[0023] The regions where the difference between the first coordinate value and the second coordinate value meets the error requirement are identified as the same location partitions, thus obtaining the multiple location partitions.
[0024] In one example, the method further includes:
[0025] If, based on the embroidery attributes, the stitch data to be embroidered is determined to be the end stitch data, then the embroidery is terminated.
[0026] Secondly, this application provides an embroidery control device, comprising:
[0027] The first determining unit is used to determine the stitch data to be embroidered and to determine the target coordinate value of the stitch data to be embroidered relative to the embroidery frame.
[0028] The second determining unit is used to determine the target partition corresponding to the target coordinate value from the multiple position partitions included in the embroidery frame;
[0029] An embroidery unit is used to determine the embroidery frame adjustment parameters that match the target partition, and to adjust the embroidery frame based on the matching embroidery frame adjustment parameters to perform embroidery.
[0030] In one example, the embroidery unit is used for:
[0031] Determine the embroidery frame adjustment weights that match the target partition;
[0032] Based on the matching embroidery frame adjustment weight, the initial adjustment parameters are adjusted to obtain the matching embroidery frame adjustment parameters.
[0033] In one example, the embroidery unit is used for:
[0034] When there are multiple initial adjustment parameters, determine the embroidery frame adjustment weight that matches each initial adjustment parameter;
[0035] Based on the embroidery frame adjustment weights that match each of the initial adjustment parameters, the initial adjustment parameters are weighted and summed to obtain the matching embroidery frame adjustment parameters.
[0036] In one example, the device also includes:
[0037] An initialization module is used to partition the embroidery frame according to a pre-set partitioning pattern before determining the stitch data to be embroidered, thereby obtaining the multiple position partitions.
[0038] Set corresponding initial adjustment parameters for each of the location partitions.
[0039] In one example, the initialization module is used for:
[0040] When the pre-set partitioning mode represents a single-row partitioning mode, each row within the area where the embroidery frame is located is determined as a position partition, resulting in the multiple position partitions.
[0041] In one example, the initialization module is used for:
[0042] In the case where the pre-set partitioning mode represents the area partitioning mode, a first coordinate value is determined after moving the embroidery frame based on the initial adjustment parameters, and a second coordinate value is determined according to the embroidery pattern.
[0043] The regions where the difference between the first coordinate value and the second coordinate value meets the error requirement are identified as the same location partitions, thus obtaining the multiple location partitions.
[0044] In one example, the device is also used for:
[0045] If, based on the embroidery attributes, the stitch data to be embroidered is determined to be the end stitch data, then the embroidery is terminated.
[0046] Thirdly, this application provides an electronic device, including: a processor, and a memory communicatively connected to the processor;
[0047] The memory stores computer-executed instructions;
[0048] The processor executes computer execution instructions stored in the memory to implement the method described in the first aspect.
[0049] 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 in the first aspect.
[0050] Fifthly, this application provides a computer program product comprising: computer execution instructions stored in a readable storage medium, wherein at least one processor of an electronic device can read the computer execution instructions from the readable storage medium, and the at least one processor executes the computer execution instructions to cause the electronic device to perform the method described in the first aspect.
[0051] The embroidery control method, apparatus, equipment, and storage medium provided in this application can, after determining the stitch data to be embroidered, first determine the target coordinate value of the stitch data relative to the embroidery frame, and then determine the target partition to which the stitch data belongs based on the target coordinate value. This allows the embroidery frame to be adjusted based on embroidery frame adjustment parameters matching the target partition for embroidery. This implementation method can compensate for inconsistencies in embroidery caused by differences in embroidery frame load by adopting differentiated control schemes for different positions of the embroidery frame. This not only saves on the cost of mechanical improvements but also significantly improves the consistency of the embroidery, thereby enhancing the quality of the embroidery. Attached Figure Description
[0052] 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.
[0053] Figure 1 This application provides an embroidery schematic diagram of a large-format embroidery machine.
[0054] Figure 2 This application provides an embroidery schematic diagram of a single-head embroidery machine according to an embodiment of the present application;
[0055] Figure 3 A flowchart illustrating an embroidery control method provided in an embodiment of this application;
[0056] Figure 4 A flowchart illustrating another embroidery control method provided in an embodiment of this application;
[0057] Figure 5 A schematic diagram illustrating the implementation process of an embroidery control method provided in this application embodiment;
[0058] Figure 6 A schematic diagram of an embroidery frame provided for an embodiment of this application;
[0059] Figure 7 This is a schematic diagram of the structure of an embroidery control device provided in an embodiment of this application;
[0060] Figure 8 This is a schematic diagram of another embroidery control device provided in an embodiment of this application;
[0061] Figure 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.
[0062] 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
[0063] 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.
[0064] In this document, the term "and / or" merely describes a relationship, indicating that three relationships can exist. For example, A and / or B can represent three cases: A alone, A and B simultaneously, and B alone. Furthermore, the term "at least one" in this document means any combination of at least two of any one or more elements. For example, including at least one of A, B, and C can mean including any one or more elements selected from the set consisting of A, B, and C.
[0065] First, the terms used in this application will be explained.
[0066] Main shaft: During the operation of the embroidery machine, the machine embroiders one stitch for every revolution of the main shaft. Each component of the embroidery machine completes its respective action during the rotation of the main shaft, ensuring the normal operation of the machine.
[0067] Embroidery pattern: Also called embroidery template, it is an electronic file that describes the production steps required for a computerized embroidery machine to produce the designed embroidery, including stitches, color changes, special instruction codes, and other data. The embroidery machine's computer controls the machine to perform the embroidery process via the embroidery template.
[0068] Embroidery frame: The embroidery frame on an embroidery machine is used to hold the fabric to be embroidered taut. During embroidery, the needle of the embroidery machine moves up and down vertically following the machine head; the embroidery machine computer converts the coordinate values of the pattern stitches into electrical signals, which control the embroidery frame to move horizontally and backward, thereby automatically embroidering on the fabric. The motor and the embroidery frame are connected and fixed by a belt and guide rail.
[0069] Moving frame angle: When an embroidery machine makes each stitch, the embroidery frame moves once. The moving frame angle parameter refers to the main axis angle corresponding to the start of the movement of the embroidery frame when the current stitch is being made.
[0070] Moving frame curve: During the embroidery process, the embroidery machine's electrical control uses the moving frame curve to control the starting and stopping process of the embroidery frame motor. Changes in the moving frame curve can affect the dynamic acceleration and deceleration process of the embroidery frame.
[0071] Embroidery: Embroidery products made by embroidery machine according to embroidery pattern are usually called embroidery products.
[0072] Currently, the demand for embroidery machines is increasing, and the length and width of embroidery frames are also increasing. When splicing machines and other ultra-large format embroidery machines are embroidering different areas of the embroidery frame, the embroidery effect will be different, and this difference will become more and more obvious as the machine's size increases.
[0073] In related technologies, the problem of inconsistent embroidery effects caused by embroidering different areas when using ultra-large format embroidery machines is generally addressed by improving the mechanical structure of the embroidery machine. For example, this can be achieved by increasing the number of drive rails to balance the load, adding auxiliary crossbeams, strengthening the embroidery frame to prevent deformation, or adding a tail drive. However, these methods of improving the mechanical structure are not only costly but also have limited effectiveness, making it difficult to achieve the desired results.
[0074] In one example, Figure 1 This is a schematic diagram of an embroidery machine provided as an embodiment of this application. (See attached diagram.) Figure 1As shown, large-format embroidery frames can be constructed by connecting them. When embroidering on an embroidery machine, the motor typically controls the embroidery frame's left-right movement (i.e.,...). Figure 1 The translation in the X direction (as shown) and the translation of the embroidery frame in the forward and backward directions (i.e., Figure 1 The simplified structure shown (using a drive connection for Y-direction translation) enables automatic embroidery on the fabric within the embroidery frame. However, this method can easily lead to inconsistencies in the embroidery work on the upper, middle, and lower parts of the frame.
[0075] In one example, Figure 2 This is a schematic diagram of an embroidery machine provided as an embodiment of this application. (See attached diagram.) Figure 2 As shown, when embroidering on a single-head embroidery machine, the embroidery frame can be controlled to move left and right by the motor (i.e., ... Figure 2 The X direction (as shown) and the forward and backward directions (i.e.) Figure 2 The Y-direction translation shown is used for embroidery. Although this single-head embroidery machine does not cause inconsistencies in the embroidery work at the top, middle and bottom, differences in the embroidery work are prone to occur in the four corner areas of the embroidery frame.
[0076] The embroidery control method provided in this application aims to compensate for the load differences at different positions of the embroidery frame through electronic control without increasing mechanical costs, thereby solving the above-mentioned technical problems of the prior art.
[0077] 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.
[0078] Figure 3 This is a flowchart illustrating an embroidery control method provided in an embodiment of this application, as shown below. Figure 3 As shown, the embroidery control method includes:
[0079] S301. Determine the stitch data to be embroidered, and determine the target coordinate value of the stitch data to be embroidered relative to the embroidery frame.
[0080] In one example, before embroidering, the origin of the embroidery frame can be determined. For instance, the origin can be determined using sensors or customized via software. After determining the origin, the stitch data to be embroidered can be identified. Based on this data, the absolute position of the stitch data relative to the origin within the embroidery frame can be determined, yielding the aforementioned target coordinate values.
[0081] In one example, before determining the target coordinates of the stitch data to be embroidered relative to the embroidery frame, it is possible to first determine whether the stitch data to be embroidered is the end stitch data. If it is determined that it is not the end stitch data, then the target coordinates of the stitch data to be embroidered relative to the embroidery frame can be determined.
[0082] In one example, when determining whether the stitch data to be embroidered is the end stitch data, you can first determine the embroidery attribute corresponding to the stitch data to be embroidered, and then determine whether the stitch data to be embroidered is the end stitch data based on the embroidery attribute corresponding to the stitch data to be embroidered.
[0083] In one example, embroidery attributes include at least the stitch order, stitch type (e.g., the stitch type can be plain stitch, quilted stitch, tatami stitch, etc.), and stitch color of the stitch data to be embroidered. In this case, the stitch order can be used to determine whether the stitch data to be embroidered is the end stitch, and the stitch type and stitch color can be used to guide the embroidery process.
[0084] S302. From the multiple positional partitions included in the embroidery frame, determine the target partition corresponding to the target coordinate value.
[0085] Among them, the location partition represents the different positions of the embroidery frame.
[0086] In one example, after locating the origin of the embroidery frame, it can be divided into multiple positional partitions. For example, each row in the embroidery frame can be designated as a positional partition. Alternatively, the embroidery frame can be customized with different partitions. For instance, each corner area of the embroidery frame can be designated as a positional partition, and the area outside the corner areas can be designated as another positional partition. The number of positional partitions included in the embroidery frame is not limited here; the choice depends on the specific needs.
[0087] In one example, after determining the target coordinate value corresponding to the stitch data to be embroidered, the location partition to which the stitch data to be embroidered belongs, i.e., the target partition, can be determined based on the location partition to which the target coordinate value belongs.
[0088] S303. Determine the embroidery frame adjustment parameters that match the target partition, and adjust the embroidery frame based on the matching embroidery frame adjustment parameters to perform embroidery.
[0089] In one example, different embroidery frame adjustment parameters can be set for different positional sections included in the embroidery frame. At this time, the embroidery frame adjustment parameters that match the target section can be determined to adjust the embroidery frame for embroidery.
[0090] In one example, the embroidery frame adjustment parameters may include, but are not limited to: frame angle, frame curve, and servo driver parameters.
[0091] As described above, in this embodiment, after determining the stitch data to be embroidered, the target coordinates of the stitch data relative to the embroidery frame are first determined. Then, based on the target coordinates, the target partition to which the stitch data belongs is determined. This allows the embroidery frame to be adjusted based on embroidery frame adjustment parameters matching the target partition for embroidery. This implementation method can compensate for inconsistencies in embroidery caused by differences in frame load by adopting differentiated control schemes for different positions of the embroidery frame. This not only saves on mechanical improvement costs but also significantly improves the consistency of the embroidery, thereby enhancing its quality.
[0092] Figure 4 A flowchart illustrating another embroidery control method provided in this application embodiment is shown below. Figure 4 As shown, the embroidery control method includes:
[0093] S401. The embroidery frame is partitioned according to the preset partitioning mode to obtain multiple position partitions.
[0094] S402, Set the corresponding initial adjustment parameters for each location partition.
[0095] In one example, after the embroidery pattern is determined and the embroidery frame is installed, the embroidery frame is first positioned at its origin. Then, based on the origin, the embroidery frame is partitioned according to a pre-set partitioning pattern to obtain multiple position partitions.
[0096] In one example, the embroidery frame is divided into zones according to a pre-set zoning pattern. This aims to address inconsistencies in the embroidery across different areas of the frame by segmenting areas prone to producing inconsistent embroidery. Therefore, a matching zoning pattern can be selected based on the type of embroidery machine to create multiple positional zones. Then, different embroidery frame adjustment parameters are applied to each zone, and these parameters are determined based on the initial adjustment parameters.
[0097] For example, for embroidery machines with splicing heads, the embroidery frame can be divided into sections by row, while for single-head embroidery machines, the embroidery frame can be divided into sections by area. Here, there are no specific restrictions on the type of embroidery machine or the selected pre-set partitioning mode, as long as it can be implemented.
[0098] In one example, assuming that the pre-set partitioning mode represents a single-row partitioning mode, when partitioning the embroidery frame according to the pre-set partitioning mode, each row in the area where the embroidery frame is located can be determined as a position partition, resulting in multiple position partitions.
[0099] In one example, the pre-set partitioning mode represents the area partitioning mode. When the embroidery frame is partitioned according to the pre-set partitioning mode, the first coordinate value obtained after moving the embroidery frame based on the initial adjustment parameters and the second coordinate value determined according to the embroidery pattern can be determined. Then, the area where the difference between the first coordinate value and the second coordinate value meets the error requirement is determined as the same position partition, resulting in multiple position partitions.
[0100] In one example, the initial adjustment parameters set for each position partition can be the same or different. For instance, if the pre-set partitioning pattern represents a single-row partitioning pattern, different initial adjustment parameters can be set for each row of the embroidery frame. Alternatively, the same initial adjustment parameters can be set for the first and second rows of the embroidery frame, and different initial adjustment parameters can be set for the third and fourth rows, and so on.
[0101] This implementation method first divides the embroidery frame into multiple positional zones, thereby identifying in advance the areas within the embroidery frame that are prone to causing inconsistencies in the embroidery. Then, corresponding initial adjustment parameters are set for each positional zone, ensuring that, under ideal conditions, the embroidery frame can be moved for embroidery by using the initial adjustment parameters set for each positional zone. This achieves a simple and effective way to avoid inconsistencies in the embroidery in different areas within the embroidery frame.
[0102] In one example, after setting the initial adjustment parameters for each section of the embroidery frame, the embroidery machine can begin embroidering. Specifically, the steps described in S403 and thereafter can be performed.
[0103] S403. Determine the stitch data to be embroidered, and determine the target coordinate value of the stitch data to be embroidered relative to the embroidery frame.
[0104] In one example, this step can be referred to the content described in S301 above, and will not be repeated in detail here.
[0105] S404. From the multiple positional partitions included in the embroidery frame, determine the target partition corresponding to the target coordinate value.
[0106] Among them, the location partition represents the different positions of the embroidery frame.
[0107] In one example, this step can be referred to the content described in S302 above, and will not be repeated in detail here.
[0108] S405. Determine the embroidery frame adjustment weight that matches the target partition; wherein, the embroidery frame adjustment weight is used to determine the value of the embroidery frame adjustment parameter.
[0109] S406. Based on the matching embroidery frame adjustment weight, adjust the initial adjustment parameters to obtain the matching embroidery frame adjustment parameters.
[0110] The initial adjustment parameters represent the pre-set parameters used to control the movement of the embroidery frame within the target partition.
[0111] In one example, the value of the embroidery frame adjustment parameter can be any value between 0% and 100%, including 0% and 100%. In this case, the preset initial adjustment parameter can be adjusted through the embroidery frame adjustment parameter so that the determined embroidery frame adjustment parameter is more matched with the current load of the embroidery machine, thereby further improving the quality of the embroidery.
[0112] In one example, since the embroidery frame adjustment parameters correspond to the initial adjustment parameters, for example, the embroidery frame adjustment parameters (i.e., the initial adjustments) include, but are not limited to, the following parameters: moving frame angle, moving frame curve, and servo driver parameters. In this case, there are multiple initial adjustment parameters. When adjusting the initial adjustment parameters based on matching embroidery frame adjustment weights to obtain matching embroidery frame adjustment parameters, the embroidery frame adjustment weights matching each initial adjustment parameter can be determined first. Then, based on the matching embroidery frame adjustment weights, a weighted summation of each initial adjustment parameter is performed to obtain the matching embroidery frame adjustment parameters.
[0113] In one example, when the embroidery frame adjustment parameters include the moving frame angle, the moving frame curve, and the servo driver parameters, the resulting matching embroidery frame adjustment parameters can be expressed as shown in the following formula (1).
[0114] E=E1*F1+E2*F2+E3*F3 (1)
[0115] Where E represents the embroidery frame adjustment parameter, E1 represents the moving frame angle control strategy, E2 represents the moving frame curve control strategy, E3 represents the servo parameter control strategy, and F1, F2 and F3 are the corresponding embroidery frame adjustment weights.
[0116] In the above implementation, the initial adjustment parameters can be dynamically compensated according to actual needs by adjusting the embroidery frame parameters, thereby making the determined embroidery frame adjustment parameters more accurate.
[0117] S407. Adjust the embroidery frame based on the matching embroidery frame adjustment parameters, and then perform embroidery.
[0118] In one example, if the stitch data to be embroidered and the corresponding embroidery attributes are determined after identifying the stitch data to be embroidered and the embroidery attributes, and the stitch data to be embroidered is determined to be the ending stitch data based on the embroidery attributes, then the embroidery is ended.
[0119] In one example, Figure 5 This is a schematic diagram illustrating the implementation process of an embroidery control method provided in an embodiment of this application. Figure 6 This is a schematic diagram of an embroidery frame provided in an embodiment of this application.
[0120] like Figure 5 As shown, after determining the embroidery pattern and frame, the frame can be positioned at its origin. Then, the frame can be divided into sections to create multiple positional zones. For example, in a single-row section pattern, the section can be divided into sections... Figure 6 The M rows and N columns shown are divided into M regions, resulting in M location partitions.
[0121] Next, you can first set the initial adjustment parameters for the partition where the origin is located, and then further set the initial adjustment parameters for the M regions within the embroidery frame.
[0122] Next, the embroidery machine can begin embroidering. At this point, the stitch data to be embroidered can be determined. If, based on the embroidery attributes corresponding to the stitch data to be embroidered, it is determined that the stitch data to be embroidered is not the end stitch data, then the target coordinate value of the stitch data to be embroidered relative to the embroidery frame is determined, and the target partition to which the stitch data to be embroidered belongs is determined according to the target coordinate value.
[0123] Then, by determining the embroidery frame adjustment weight that matches the target partition, the matching embroidery frame adjustment parameters can be determined, and the embroidery can be started based on the matching embroidery frame adjustment parameters.
[0124] Once the current stitch data for embroidery is completed, the next stitch data for embroidery can be obtained.
[0125] If the stitch data to be embroidered is determined to be the end stitch data, then the embroidery is stopped.
[0126] Figure 7 This is a schematic diagram of the structure of an embroidery control device provided in an embodiment of this application, as shown below. Figure 7 As shown, the embroidery control device 700 includes:
[0127] The first determining unit 701 is used to determine the stitch data to be embroidered and to determine the target coordinate value of the stitch data to be embroidered relative to the embroidery frame.
[0128] The second determining unit 702 is used to determine the target partition corresponding to the target coordinate value from the multiple position partitions included in the embroidery frame.
[0129] Embroidery unit 703 is used to determine the embroidery frame adjustment parameters that match the target zone, and adjust the embroidery frame based on the matching embroidery frame adjustment parameters to perform embroidery.
[0130] Figure 8 This is a schematic diagram of another embroidery control device provided in an embodiment of this application, as shown below. Figure 8 As shown, the embroidery control device 800 includes:
[0131] The first determining unit 801 is used to determine the stitch data to be embroidered and to determine the target coordinate value of the stitch data to be embroidered relative to the embroidery frame.
[0132] The second determining unit 802 is used to determine the target partition corresponding to the target coordinate value from the multiple position partitions included in the embroidery frame.
[0133] Embroidery unit 803 is used to determine the embroidery frame adjustment parameters that match the target zone, and adjust the embroidery frame based on the matching embroidery frame adjustment parameters to perform embroidery.
[0134] In one example, embroidery unit 803 is used for:
[0135] Determine the embroidery frame adjustment weights that match the target partition;
[0136] Based on the matching embroidery frame adjustment weights, the initial adjustment parameters are adjusted to obtain the matching embroidery frame adjustment parameters.
[0137] In one example, embroidery unit 803 is used for:
[0138] When there are multiple initial adjustment parameters, determine the embroidery frame adjustment weight that matches each initial adjustment parameter;
[0139] Based on the embroidery frame adjustment weights that match each initial adjustment parameter, the initial adjustment parameters are weighted and summed to obtain the matching embroidery frame adjustment parameters.
[0140] In one example, the device also includes:
[0141] The initialization module 804 is used to partition the embroidery frame according to a pre-set partitioning mode before determining the stitch data to be embroidered, so as to obtain multiple position partitions.
[0142] Set the corresponding initial adjustment parameters for each location partition.
[0143] In one example, module 804 is initialized for:
[0144] Given a pre-defined partitioning pattern representing a single-row partitioning pattern, each row within the area containing the embroidery frame is defined as a position partition, resulting in multiple position partitions.
[0145] In one example, module 804 is initialized for:
[0146] Given a pre-set partitioning pattern representing a region partitioning pattern, determine the first coordinate value obtained after moving the embroidery frame based on the initial adjustment parameters, and determine the second coordinate value determined according to the embroidery pattern.
[0147] The region where the difference between the first and second coordinate values meets the error requirement is identified as the same location partition, resulting in multiple location partitions.
[0148] In one example, the device is also used for:
[0149] If the stitch data to be embroidered is determined to be the end stitch data based on the embroidery attributes, then the embroidery is terminated.
[0150] Figure 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application, such as... Figure 9 As shown, the electronic device 900 includes: a memory 901 and a processor 902; the memory 901 and the processor 902 are communicatively connected.
[0151] Memory 901; used to store computer-executable instructions that can be executed by processor 902.
[0152] The processor 902 is configured to execute computer execution instructions stored in the memory 901 to implement the method provided in the above embodiments.
[0153] The electronic device also includes a receiver 903 and a transmitter 904. The receiver 903 is used to receive instructions and data sent by an external device, and the transmitter 904 is used to send instructions and data to an external device.
[0154] This application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, perform the steps of the embroidery control method described in the above-described method embodiments. The storage medium can be either volatile or non-volatile computer-readable storage.
[0155] This application also provides a computer program product that carries computer execution instructions. The computer execution instructions include instructions that can be used to execute the steps of the embroidery control method in the above method embodiments. For details, please refer to the above method embodiments, which will not be repeated here.
[0156] 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.
[0157] 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.
[0158] 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.
[0159] 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.
[0160] 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.
[0161] 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 an electronic 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.
[0162] 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 the combination of these technical features does not contradict each other, it should be considered within the scope of this specification.
[0163] 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.
[0164] 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. An embroidery control method, characterized in that, Applied to an embroidery machine controller, the method includes: Determine the stitch data to be embroidered, and determine the target coordinate values of the stitch data to be embroidered relative to the embroidery frame; From the multiple positional partitions included in the embroidery frame, determine the target partition corresponding to the target coordinate value; Determine the embroidery frame adjustment parameters that match the target partition, and adjust the embroidery frame based on the matching embroidery frame adjustment parameters to perform embroidery; the embroidery frame adjustment parameters include, but are not limited to: moving frame angle, moving frame curve and servo driver parameters; The determination of the embroidery frame adjustment parameters that match the target partition includes: Determine the embroidery frame adjustment weights that match the target partition; Based on the matching embroidery frame adjustment weight, the initial adjustment parameters are adjusted to obtain the matching embroidery frame adjustment parameters; The number of initial adjustment parameters is multiple; the adjustment of the initial adjustment parameters based on the matching embroidery frame adjustment weight to obtain the matching embroidery frame adjustment parameters includes: Determine the embroidery frame adjustment weight that matches each of the initial adjustment parameters; Based on the embroidery frame adjustment weights that match each of the initial adjustment parameters, the initial adjustment parameters are weighted and summed to obtain the matching embroidery frame adjustment parameters.
2. The method according to claim 1, characterized in that, Before determining the stitch data to be embroidered, the method further includes: The embroidery frame is partitioned according to a pre-set partitioning pattern to obtain the multiple position partitions; Set corresponding initial adjustment parameters for each of the location partitions.
3. The method according to claim 2, characterized in that, The pre-set partitioning pattern represents a single-row partitioning pattern; the partitioning process of the embroidery frame according to the pre-set partitioning pattern to obtain the multiple position partitions includes: Each row within the area where the embroidery frame is located is defined as a position partition, resulting in the plurality of position partitions.
4. The method according to claim 2, characterized in that, The pre-set partitioning pattern represents the regional partitioning pattern; the partitioning process of the embroidery frame according to the pre-set partitioning pattern to obtain the multiple position partitions includes: Determine the first coordinate value obtained after moving the embroidery frame based on the initial adjustment parameters, and determine the second coordinate value determined according to the embroidery pattern; The regions where the difference between the first coordinate value and the second coordinate value meets the error requirement are identified as the same location partitions, thus obtaining the multiple location partitions.
5. The method according to any one of claims 1-4, characterized in that, The method further includes: If, based on the embroidery attributes, the stitch data to be embroidered is determined to be the end stitch data, then the embroidery is terminated.
6. An embroidery control device applied to the embroidery control method according to any one of claims 1-5, characterized in that, include: The first determining unit is used to determine the stitch data to be embroidered and to determine the target coordinate value of the stitch data to be embroidered relative to the embroidery frame. The second determining unit is used to determine the target partition corresponding to the target coordinate value from the multiple position partitions included in the embroidery frame; An embroidery unit is used to determine the embroidery frame adjustment parameters that match the target partition, and to adjust the embroidery frame based on the matching embroidery frame adjustment parameters to perform embroidery.
7. 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 embroidery control method as described in any one of claims 1 to 5.
8. 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 embroidery control method as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Method and device for adjusting tabouret driving gain of embroidery machine based on displacement graphic method
CN113832625A
Large-mage divided embroidery data generating device
JP2001224876A
Method for setting thread tension in embroidering machine
KR1020130107732A
Apparatus and program stored on a computer readable medium for processing embroidery data
US20050234584A1