A corner sewing parameter acquisition method and device, electronic device and storage medium
By controlling the needle's travel and rotation in a double-needle sewing machine to calculate corner sewing parameters, the problem of large sewing errors in existing technologies is solved, achieving high-precision and highly automated sewing results.
Patent Information
- Application Number
- CN202210047862.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-17
- Publication Date
- 2026-02-27
- Estimated Expiration
- 2042-01-17
AI Technical Summary
Existing double-needle sewing machines cannot accurately obtain parameters when sewing corners, resulting in large sewing errors and low automation.
By controlling the first and second sewing needles to travel in different directions with a stitch distance less than a preset threshold, recording the number of rotations of the main shaft, and combining the needle position to calculate the corner angle and length, the corner sewing parameters can be automatically obtained.
It improves sewing accuracy and automation, reduces errors caused by manual measurement, and ensures that the sewing distance is infinitely close to the actual distance.
Smart Images

Figure CN116479585B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of sewing machines, in particular to a corner sewing parameter acquisition method and device, an electronic device and a storage medium. BACKGROUND
[0002] A double-needle sewing machine is a sewing machine containing two needles, and the stitches formed by the double-needle sewing machine are two parallel lines. The double-needle sewing machine is widely used in the garment industry because of its high efficiency and neat parallel lines.
[0003] Most double-needle sewing machines on the market do not have a step pitch adjustment function, and it is easy to cause the current sewing pitch to be incompatible with the corner angle, needle position and other parameters. A small number of double-needle sewing machines have a step pitch adjustment function, but these double-needle sewing machines require the user to manually input the corner sewing parameters before sewing, otherwise the needle pitch or needle position of the corner sewing cannot be calculated normally. In actual application, there are different types of needle positions, such as 1 / 8 (3.2mm) and 7 / 8 (22.2mm). These needle positions are fixed gauge components and are mostly in imperial units. According to different needs, the user needs to replace the needle position. If there is no size marking on the needle position, the user can only obtain the needle position data by visual inspection or measurement. This way of obtaining needle position data may cause the user to input inaccurate needle position data. In addition, the corner angle is determined by the garment process to be sewn, and ordinary sewing workers and other users usually cannot obtain the corner angle data, which leads to the inability to calculate the needle pitch or needle position of the corner sewing.
[0004] How to obtain the corner sewing parameters of a double-needle sewing machine to improve the sewing accuracy of the double-needle sewing machine is a problem to be solved. SUMMARY
[0005] In this embodiment, a corner sewing parameter acquisition method, device, electronic device and storage medium are provided to solve the problem that the corner sewing parameters of a double-needle sewing machine cannot be obtained in the related art.
[0006] In a first aspect, a corner sewing parameter acquisition method is provided in this embodiment, applied to a double-needle sewing machine, and the method includes:
[0007] controlling a first needle and a second needle to travel to a first position along a first direction at a first pitch, obtaining a first number of rotations of a main shaft, forming a first trajectory, the first pitch being less than a preset threshold, and the first direction being consistent with a first side of a corner to be sewn;
[0008] controlling the first needle and the second needle to move to a second position along a second direction at the first needle pitch, obtaining a second number of rotations of the main shaft, at the second position, the second needle is located on the first track of the second needle, the second direction is consistent with a second side of the to-be-sewn corner;
[0009] obtaining a corner angle and a corner length of the to-be-sewn corner based on the first needle pitch, the first number of rotations, the second number of rotations and a needle pitch, the needle pitch being a distance between the first needle and the second needle.
[0010] In some embodiments, before the obtaining the corner angle and the corner length of the to-be-sewn corner based on the first needle pitch, the first number of rotations, the second number of rotations and the needle pitch, the method further comprises:
[0011] controlling the to-be-sewn fabric to rotate 90 degrees with the first position as a starting point;
[0012] controlling the first needle and the second needle to move to a third position along a third direction at the first needle pitch, obtaining a third number of rotations of the main shaft, at the third position, the second needle is located on the first track of the second needle;
[0013] obtaining the needle pitch based on the first needle pitch, the first number of rotations and the third number of rotations.
[0014] In some embodiments, the obtaining the needle pitch based on the first needle pitch, the first number of rotations and the third number of rotations comprises:
[0015] obtaining a first deviation number of rotations based on the first number of rotations and the third number of rotations;
[0016] obtaining the needle pitch based on the first needle pitch and the first deviation number of rotations.
[0017] In some embodiments, before the obtaining the corner angle and the corner length of the to-be-sewn corner based on the first needle pitch, the first number of rotations, the second number of rotations and the needle pitch, the method further comprises: obtaining the needle pitch pre-stored in a database.
[0018] In some embodiments, the obtaining the corner angle and the corner length of the to-be-sewn corner based on the first needle pitch, the first number of rotations, the second number of rotations and the needle pitch comprises:
[0019] obtaining a second deviation number of rotations based on the first number of rotations and the second number of rotations;
[0020] obtaining an inverse trigonometric function value of the corner angle based on the second deviation number of turns, the first stitch length, and the needle position;
[0021] obtaining the corner angle based on the inverse trigonometric function value.
[0022] In some embodiments, the obtaining the corner angle and the corner length of the corner to be sewn based on the first stitch length, the first number of turns, and the second number of turns comprises:
[0023] obtaining the corner length based on the corner angle, the first stitch length, the first number of turns, and the second number of turns.
[0024] In some embodiments, the obtaining the corner angle and the corner length of the corner to be sewn based on the first stitch length, the first number of turns, the second number of turns, and the needle position further comprises:
[0025] performing corner sewing on the fabric to be sewn based on the corner angle and the corner length.
[0026] In a second aspect, an embodiment provides a corner sewing parameter obtaining device, the device comprising:
[0027] a first advancing module configured to control a first needle and a second needle to advance to a first position along a first direction at a first stitch length to obtain a first number of turns of a main shaft, the first stitch length being less than a preset threshold, and the first direction being consistent with a first side of a corner to be sewn, and form a first track;
[0028] a second advancing module configured to control the first needle and the second needle to advance to a second position along a second direction at the first stitch length to obtain a second number of turns of the main shaft, the second needle being located on the first track of the second needle at the second position, and the second direction being consistent with a second side of the corner to be sewn;
[0029] a parameter calculating module configured to obtain a corner angle and a corner length of the corner to be sewn based on the first stitch length, the first number of turns, the second number of turns, and a needle position, the needle position being a distance between the first needle and the second needle.
[0030] In a third aspect, an embodiment provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, the processor implementing the corner sewing parameter obtaining method of the first aspect when executing the computer program.
[0031] In a fourth aspect, the present embodiment provides a storage medium having stored thereon a computer program which, when executed by a processor, implements the corner sewing parameter acquisition method of the first aspect.
[0032] Compared with the related art, the corner sewing parameter acquisition method, device, electronic device and storage medium provided in the present embodiment can obtain the corner angle and the corner length of the corner to be sewn by controlling the first needle and the second needle to travel to the first position in the first direction at the first needle pitch less than the preset threshold value, obtaining the first rotation number of the main shaft, forming the first trajectory, and traveling a second distance to a second position in a second direction to obtain the second rotation number of the main shaft, and further obtaining the corner angle and the corner length of the corner to be sewn according to the first needle pitch, the first rotation number, the second rotation number and the needle position. Sewing at the first needle pitch less than the preset threshold value can make the sewing size distance infinitely close to the real distance, reduce the sewing error, and determine the rotation number through the travel trajectory of the first needle pitch, and further obtain the corner angle and the corner length according to the first needle pitch, the rotation number and the needle position, so as to realize the measurement of the corner sewing parameter of the double-machine sewing machine without manual operation, and improve the sewing accuracy of the double-machine sewing machine.
[0033] The details of one or more embodiments of the present application are presented in the following drawings and description to make other features, objects and advantages of the present application more apparent. BRIEF DESCRIPTION OF DRAWINGS
[0034] The accompanying drawings illustrated herein are used to provide further understanding of the present application, constitute a part of the present application, the schematic embodiments of the present application and the description thereof are used to explain the present application, and do not constitute an improper limitation on the present application. In the drawings:
[0035] Figure 1 is a hardware structure block diagram of a terminal of a corner sewing parameter acquisition method provided by the present embodiment.
[0036] Figure 2 is a flowchart of a corner sewing parameter acquisition method provided by the present embodiment.
[0037] Figure 3 is a trajectory schematic diagram of a corner to be sewn provided by the present embodiment.
[0038] Figure 4 is another corner trajectory schematic diagram provided by the present embodiment.
[0039] Figure 5 is a stitch schematic diagram of pocket sewing provided by the present embodiment.
[0040] Figure 6 is a stitch exploded schematic diagram of pocket sewing provided by the present embodiment.
[0041] Figure 7 This is a structural block diagram of the corner sewing parameter acquisition device in this embodiment. Detailed Implementation
[0042] To better understand the purpose, technical solution, and advantages of this application, the application is described and illustrated below in conjunction with the accompanying drawings and embodiments.
[0043] Unless otherwise defined, the technical or scientific terms used in this application shall have the general meaning as understood by one of ordinary skill in the art to which this application pertains. Words such as “a,” “an,” “an,” “the,” “the,” and “these,” used in this application, do not indicate quantitative limitation and may be singular or plural. The terms “comprising,” “including,” “having,” and any variations thereof used in this application are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or device that comprises a series of steps or modules (units) is not limited to the listed steps or modules (units) but may include steps or modules (units) not listed, or may include other steps or modules (units) inherent to such processes, methods, products, or devices. The terms “connected,” “linked,” and “coupled,” used in this application, are not limited to physical or mechanical connections but may include electrical connections, whether direct or indirect. The term “multiple” used in this application refers to two or more. The "and / or" operator describes the relationship between related objects, 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. Typically, the character " / " indicates that the objects before and after it are in an "or" relationship. The terms "first," "second," and "third," etc., used in this application are merely for distinguishing similar objects and do not represent a specific ordering of the objects.
[0044] The method embodiments provided in this example can be executed on a terminal, computer, or similar computing device. For example, it can run on a terminal. Figure 1 This is a hardware structure block diagram of a terminal for a corner sewing parameter acquisition method provided in an embodiment of this application. For example... Figure 1 As shown, a terminal may include one or more ( Figure 1 Only one is shown in the diagram. A processor 102 and a memory 104 for storing data are also included. The processor 102 may be, but is not limited to, a microprocessor (MCU) or a programmable logic device (FPGA). The terminal may also include a transmission device 106 for communication functions and an input / output device 108. Those skilled in the art will understand that… Figure 1 The structure shown is for illustrative purposes only and does not limit the structure of the terminal described above. For example, the terminal may also include components that are larger than... Figure 1more or fewer components than those shown, or has a different configuration or arrangement of the components shown. The size, shape, and relative positioning of the components (including any mountings) shown in the drawings have been chosen to best illustrate the features of the embodiments herein. The specific numerical Figure 1 configurations shown.
[0045] The memory 104 can be used to store computer programs, such as software programs of application software and modules, such as the computer program corresponding to the corner sewing parameter acquisition method in the embodiment. The processor 102 can execute various functional applications and data processing, i.e., implement the method described above, by running the computer program stored in the memory 104. The memory 104 can include a high-speed random access memory, and can also include a non-volatile memory, such as one or more magnetic storage devices, flash memories, or other non-volatile solid-state memories. In some examples, the memory 104 can further include a memory remotely arranged with respect to the processor 102, and the remote memory can be connected to the terminal through a network. Examples of the network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.
[0046] The transmission device 106 is configured to receive or send data via a network. The network includes a wireless network provided by a communication provider of the terminal. In one example, the transmission device 106 includes a network interface controller (NIC) that can be connected to other network devices through a base station so as to be able to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module configured to communicate with the Internet in a wireless manner.
[0047] At present, a double-needle sewing machine with a stepwise needle pitch function needs a user to manually input corner sewing parameters, and further calculates the needle pitch or needle position of corner sewing according to the corner parameters input by the user. However, in actual application, the corner parameters input by the user are usually visually observed by the user or measured by a measuring tool. The corner parameters obtained in this way may cause errors in actual sewing due to inaccurate measurement, and the parameter acquisition method is complicated and has a low degree of automation.
[0048] Therefore, the embodiment provides a corner sewing parameter acquisition method, device, electronic device, and storage medium to solve the problem that the corner sewing parameters of a double-needle sewing machine cannot be automatically acquired in the related art.
[0049] In the embodiment, a corner sewing parameter acquisition method is provided, Figure 2 is a flowchart of the corner sewing parameter acquisition method provided by the embodiment of the present application, as shown in Figure 2 The flowchart includes the following steps:
[0050] Step S201, control the first needle and the second needle to travel to the first position along the first needle pitch in the first direction, get the first rotation number of the main shaft, and form the first trajectory.
[0051] Wherein, the first needle pitch is less than a preset threshold, and the first direction is consistent with the first side of the corner to be sewn.
[0052] Exemplarily, the preset threshold is 0.5mm, the double-needle sewing machine includes the first needle and the second needle, and before the double-needle sewing machine sews the fabric, the electronic device adjusts the first needle pitch a1 of the double-needle sewing machine to 0.4mm and the rotating speed to 800r / min.
[0053] It should be noted that the preset threshold is 0.5mm, the first needle pitch is 0.4mm, and the rotating speed is 800r / min in the present application, which is only used as an example for description. In actual application, the preset threshold can also be 0.4mm, the first needle pitch can also be 0.3mm, and the rotating speed can be 750r / min, or other values. That is, the preset threshold, the first needle pitch, and the rotating speed can be adaptively adjusted according to actual application, which is not limited herein.
[0054] Exemplarily, the fabric to be sewn is placed into the double-needle sewing machine, wherein the fabric to be sewn includes the trajectory of the corner to be sewn, as shown in Figure 3 , wherein the corner angle is a, the direction of points 5 to 1 and 4 to 2 is the first direction, the direction of points 1 to 2 and 3 to 4 is the second direction, the first needle corresponding to points 5 and 1 is the first needle, and the second needle corresponding to points 4 and 2 is the second needle. Figure 3 Control the first needle and the second needle to travel to the first position along the first needle pitch a1 in the first direction, at this time, the first needle reaches point 1, and the second needle reaches point 2, thereby forming the first trajectory of line 51 and line 42, and recording the first rotation number N1 of the main shaft.
[0055] Step S202, control the first needle and the second needle to travel to the second position along the first needle pitch in the second direction, get the second rotation number of the main shaft, and in the second position, the second needle is located on the first trajectory of the second needle.
[0056] Wherein, the second direction is consistent with the second side of the corner to be sewn.
[0057] It should be noted that the rotation number in the present application is the cumulative rotation number of the real-time rotation number of the main shaft of the double-needle sewing machine.
[0058] Exemplarily, when the first needle reaches point 1 and the second needle reaches point 2, the separation button of the double-needle sewing machine is pressed, the left separation button is pressed here, the one needle bar is separated, the other needle bar is in the lower needle stop state, the machine stops sewing, and the presser foot is lifted, which needs to be completed within one spindle rotation cycle.
[0059] The user rotates the fabric to be sewn to align the previously separated needle bar with the sewing track, and controls the first needle and the second needle to travel a second distance to a second position along the second direction at the first needle pitch a1, at this time, the second needle is located at point 4 on the line 42 of the first track, and the second rotation number N2 of the main shaft is recorded at this time.
[0060] Step S203: The corner angle and the corner length of the corner to be sewn are obtained based on the first needle pitch, the first rotation number, the second rotation number, and the needle pitch.
[0061] The needle pitch is the distance between the first needle and the second needle.
[0062] Exemplarily, if the distance between the first needle and the second needle is A, i.e., the distance from point 1 to point 2 is A, the corner angle and the corner length of the sewn corner are further calculated according to the first needle pitch, the first rotation number, the second rotation number, and the needle pitch.
[0063] In the above implementation process, the first rotation number of the main shaft is obtained by controlling the first needle and the second needle to travel along the first direction at the first needle pitch less than the preset threshold value, the second rotation number of the main shaft is obtained by controlling the first needle and the second needle to travel along the second direction at the first needle pitch less than the preset threshold value, so that the travel distance of the sewing needle can be accurately obtained according to the needle pitch less than the preset threshold value and the rotation number, the accuracy of obtaining the travel distance is improved, the corner angle and the corner length of the corner to be sewn are further determined according to the travel distance and the needle pitch, so that the corner parameters of the corner to be sewn are determined, the automation degree of the double-needle sewing machine is improved, and the sewing accuracy of the double-needle sewing machine is further improved.
[0064] In some embodiments, before obtaining the corner angle and the corner length of the corner to be sewn based on the first needle pitch, the first rotation number, the second rotation number, and the needle pitch, the following steps can also be included:
[0065] Step 1: Take the first position as the starting point, and control the fabric to be sewn to rotate 90 degrees.
[0066] Exemplarily, in the process of sewing the fabric to be sewn, the distance between the first needle and the second needle is fixed and does not change, i.e., the needle pitch A remains unchanged when the corner angle is at any value, in order to facilitate the determination of the needle pitch A, the corner angle is set to 90 degrees, Figure 4is another corner trajectory diagram provided by the embodiment of the present application, and the corner angle is 90 degrees. Figure 4
[0067] Taking the first position as a starting point, when the first needle is at point 1 and the second needle is at point 2, the cloth to be sewn is controlled to rotate 90 degrees.
[0068] Step 2: control the first needle and the second needle to travel to a third position along a third direction at a first needle pitch to obtain a third rotation number of the main shaft, and at the third position, the second needle is located on the first trajectory of the second needle.
[0069] For example, the first needle and the second needle are controlled to travel to the third position along the third direction at the first needle pitch a1 by a third distance, at this time, the second needle is located at point 4 on the line 42 of the first trajectory, and at this time, the third rotation number N3 of the main shaft is recorded.
[0070] Step 3: obtain the needle position based on the first needle pitch, the first rotation number and the third rotation number.
[0071] For example, the needle position is calculated according to the first needle pitch, the first rotation number and the third rotation number.
[0072] In the above implementation process, the corner angle is set to 90 degrees, and the first needle and the second needle are controlled to travel to the third position along the first direction at the first needle pitch by the third distance to obtain the third rotation number of the main shaft, so that the needle position can be obtained based on the first needle pitch, the first rotation number and the third rotation number, thereby realizing the acquisition of the needle position.
[0073] In some embodiments, obtaining the needle position based on the first needle pitch, the first rotation number and the third rotation number can include the following steps:
[0074] Step 1: obtain a first deviation number based on the first rotation number and the third rotation number.
[0075] For example, the first deviation number of the first rotation number and the third rotation number is N3-N1.
[0076] Step 2: obtain the needle position based on the first needle pitch and the first deviation number.
[0077] The product of the first deviation number and the first needle pitch is determined as the needle position.
[0078] As shown in Figure 4 , the corner angle is 90 degrees, so the distance A from point 1 to point 2 is equal to the distance from point 1 to point 3, that is, A=a1×(N3-N1).
[0079] In the implementation process, the first deviation number of the first rotation number and the third rotation number and the first stitch distance can be used to quickly determine the distance between the first needle and the second needle, thereby determining the needle position.
[0080] In some embodiments, the corner angle and the corner length of the corner to be sewn are obtained based on the first stitch distance, the first rotation number, the second rotation number, and the needle position, and the method further comprises: obtaining the needle position pre-stored in a database.
[0081] In an example, if the needle position data is pre-stored in the database, the needle position is obtained from the database when the fabric to be sewn is sewn.
[0082] In the implementation process, the needle position is pre-stored in the database, so that the needle position can be directly obtained from the database when the fabric to be sewn is sewn, thereby eliminating the need to determine the needle position parameters, and the sewing efficiency of the double-needle sewing machine is improved.
[0083] In some embodiments, the corner angle and the corner length of the corner to be sewn are obtained based on the first stitch distance, the first rotation number, and the second rotation number, and the method can comprise the following steps:
[0084] Step 1: obtaining the second deviation number based on the first rotation number and the second rotation number.
[0085] In an example, the difference between the first rotation number and the second rotation number is determined as the second deviation number, i.e., the second deviation number is N2-N1.
[0086] Step 2: obtaining the inverse trigonometric function value of the corner angle based on the second deviation number, the first stitch distance, and the needle position.
[0087] In an example, the product of the second deviation number and the first stitch distance is calculated, i.e., (N2-N1)×a1.
[0088] Further, the inverse trigonometric function value of the ratio of the needle position to the product is calculated
[0089] Step 3: obtaining the corner angle based on the inverse trigonometric function value.
[0090] In an example, the double inverse trigonometric function value is determined as the corner angle.
[0091] From Figure 3 It can be seen that Δ541 and Δ314 meet the conditions of right angle, hypotenuse, and equal sides, so Δ541 and Δ314 are congruent, and ∠341 is equal to ∠514. Similarly, Δ421 and Δ431 are congruent, and ∠341 is equal to ∠142, so the double ∠341 is equal to the corner angle α,
[0092] In the above implementation process, the inverse trigonometric function value of the corner angle is obtained by using the second deviation number of turns, the first needle distance, and the needle position, thereby enabling the determination of any corner angle.
[0093] In some of these embodiments, obtaining the corner angle and corner length of the corner to be sewn based on the first stitch length, the first number of rotations, and the second number of rotations includes obtaining the corner length based on the first stitch length, the first number of rotations, and the second number of rotations.
[0094] For example, such as Figure 3 As shown, in the actual corner sewing process, the sewing process is as follows: when the second needle reaches point 4 and the first needle reaches point 5, the second needle is controlled to separate, allowing the first needle to continue moving to point 1. The fabric to be sewn is then rotated by α degrees, and the first needle is controlled to automatically switch back to double-needle operation when it reaches point 6, thus achieving corner sewing. Therefore, the path of the first needle includes line segments 51 and 16. The distance from point 4 to point 6 is the needle position, and the distance from point 4 to point 5 is also the needle position. Therefore, △451 and △461 are congruent, that is, line segment 51 equals line segment 16, i.e., the corner length is L. 61 and L 51 .
[0095] The second deviation number of revolutions is obtained based on the first number of revolutions and the second number of revolutions. Furthermore, the corner length is obtained based on the second deviation number of revolutions and the first stitch pitch.
[0096] That is: L 61 = (N2-N1)×a1, therefore, L 51 =L 61 = (N2-N1)×a1.
[0097] In the above implementation process, the corner length of single-needle operation is calculated by the first stitch length, the first number of rotations, and the second number of rotations, so that in the actual corner sewing process, the single-needle operation of the double-needle sewing machine can be controlled according to the calculated corner length, thereby realizing the sewing of the corner length.
[0098] In some embodiments, after obtaining the corner angle and corner length of the corner to be sewn based on the first stitch length, the first number of rotations, the second number of rotations, and the needle position, the method further includes: sewing the corner of the fabric to be sewn based on the corner angle and the corner length.
[0099] Specifically, after obtaining the corner angle and corner length of the fabric to be sewn, the double-needle sewing machine is controlled to sew the corners of the fabric according to the obtained corner angle and corner length.
[0100] In the implementation process, after the corner sewing parameters are obtained, the double-needle sewing machine sews the corner of the fabric according to the obtained corner angle and the corner length, thereby improving the automation degree of the double-needle sewing machine.
[0101] Exemplarily, Figure 5 is a stitch schematic diagram of pocket sewing provided by the embodiment of the application, Figure 5 As shown, the double-needle sewing machine starts sewing from point a and ends at point h, wherein L1 is the distance of the first double-needle sewing, L2 is the distance of the second double-needle sewing, L3 is the distance of the third double-needle sewing, and L4 is the distance of the fourth double-needle sewing. Before sewing, the first needle pitch a1 of the double-needle sewing machine is adjusted, and all corner sewing parameters of the pocket sewing are obtained. Specifically, the double-needle of the double-needle sewing machine is controlled to move simultaneously, when the first needle reaches point b from point a, the actual rotation number n1 of the main shaft is obtained, further, the fabric is controlled to rotate along the pocket path, and the double-needle of the double-needle sewing machine is controlled to move simultaneously, when the second needle reaches point c, the actual rotation number n2 of the main shaft is obtained, and then L1=a1×(n1-n2), and the angle abc is obtained as α1 by the above corner angle obtaining method.
[0102] Further, the double-needle of the double-needle sewing machine is controlled to move simultaneously, when the first needle reaches point d, the actual rotation number n3 of the main shaft is obtained, the fabric is controlled to rotate along the pocket path, and the double-needle of the double-needle sewing machine is controlled to move simultaneously, when the second needle reaches point e, the actual rotation number n4 of the main shaft is obtained, and then L2=a1×(n3-n4), and the angle bdf is obtained as α2 by the above corner angle obtaining method.
[0103] Further, the double-needle of the double-needle sewing machine is controlled to move simultaneously, when the first needle reaches point f, the actual rotation number n5 of the main shaft is obtained, the fabric is controlled to rotate along the pocket path, and the double-needle of the double-needle sewing machine is controlled to move simultaneously, when the second needle reaches point g, the actual rotation number n6 of the main shaft is obtained, and then L3=a1×(n5-n6), and the angle dfh is obtained as α3 by the above corner angle obtaining method.
[0104] Further, the double-needle of the double-needle sewing machine is controlled to move simultaneously, when the first needle reaches point h, the actual rotation number n7 of the main shaft is obtained, and then L4=a1×n7, thereby obtaining all sewing parameters of the pocket sewing.
[0105] It should be noted that the actual rotation number in the embodiment of the application represents the number of actual rotations of the main shaft in the current travel distance.
[0106] Figure 6is a pocket sewing stitch decomposition schematic diagram provided by the embodiment of the application, as shown in 6, the pocket sewing stitch can be divided into 7 segments, M1, M3, M5, M7 represent the distance when double needle sewing, M2, M4, M6 represent the distance of the first single needle of each corner, and Figure 5 Correspondingly, M1=L1, M3=L2, M5=L3, M7=L4, M2=a1×n2, M4=a1×n4, M6=a1×n6.
[0107] In actual pocket sewing, the user steps on the front, the sewing machine automatically double needle sews M1 distance, controls the double needle sewing machine single needle separation, the first needle single needle runs M2 distance after the presser foot is lifted, rotates the sewing material, after rotating the sewing material, steps on the front, the first needle single needle runs M2 distance, and automatically switches back to double needle sewing, then automatically double needle sews M3 distance, and then automatically switches to a single needle rod, the single needle runs M4 distance after the presser foot is lifted, rotates the sewing material, after rotating the sewing material, steps on the front, the first needle single needle runs M4 distance, and automatically switches back to double needle sewing, then automatically double needle sews M5 distance, and then automatically switches to a single needle rod, the single needle runs M6 distance after the presser foot is lifted, rotates the sewing material, after rotating the sewing material, steps on the front, the first needle single needle runs M6 distance, and automatically switches back to double needle sewing, and finally double needle runs M7 distance, and the pocket sewing process is completed.
[0108] In the embodiment, a corner sewing parameter acquisition device is also provided, which is used to implement the above-mentioned embodiments and preferred embodiments, and will not be described again. The terms "module", "unit", "sub-unit" and the like used below can be a combination of software and / or hardware that can implement a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware is also possible and is conceived.
[0109] Figure 7 is a structure block diagram of the corner sewing parameter acquisition device of the embodiment, as shown in Figure 7 The device comprises:
[0110] The first advancing module 701 is configured to control the first needle and the second needle to advance to a first position along a first direction at a first needle pitch, obtain a first rotation number of the main shaft, form a first track, the first needle pitch is less than a preset threshold, and the first direction is consistent with a first side of the corner to be sewn.
[0111] The second advancing module 702 is configured to control the first needle and the second needle to advance to a second position along a second direction at the first needle pitch, obtain a second rotation number of the main shaft, and at the second position, the second needle is located on the first track of the second needle, and the second direction is consistent with a second side of the corner to be sewn.
[0112] The parameter calculation module 703 is configured to obtain a corner angle and a corner length of the to-be-sewn corner based on the first needle pitch, the first number of rotation turns, the second number of rotation turns, and the needle pitch, the needle pitch being a distance between the first needle and the second needle.
[0113] In some embodiments, the first travel module 701 is further configured to:
[0114] Take the first position as a starting point, and control the to-be-sewn fabric to rotate 90 degrees.
[0115] Control the first needle and the second needle to travel to a third position along a third direction at a first needle pitch, to obtain a third number of rotation turns of the main shaft, and at the third position, the second needle is located on the first track of the second needle.
[0116] Obtain the needle pitch based on the first needle pitch, the first number of rotation turns, and the third number of rotation turns.
[0117] In some embodiments, the first travel module 701 is specifically configured to:
[0118] Obtain a first deviation number of turns based on the first number of rotation turns and the third number of rotation turns.
[0119] Obtain the needle pitch based on the first needle pitch and the first deviation number of turns.
[0120] In some embodiments, the first travel module 701 is further configured to:
[0121] Obtain the needle pitch pre-stored in a database.
[0122] In some embodiments, the parameter calculation module 703 is specifically configured to:
[0123] Obtain a second deviation number of turns based on the first number of rotation turns and the second number of rotation turns.
[0124] Obtain an inverse trigonometric function value of the corner angle based on the second deviation number of turns, the first needle pitch, and the needle pitch.
[0125] Obtain the corner angle based on the inverse trigonometric function value.
[0126] In some embodiments, the parameter calculation module 703 is specifically configured to:
[0127] Obtain the corner length based on the first needle pitch, the first number of rotation turns, and the second number of rotation turns.
[0128] In some embodiments, the parameter calculation module 703 is further configured to:
[0129] Perform corner sewing on the to-be-sewn fabric based on the corner angle and the corner length.
[0130] It should be noted that the above various modules can be functional modules or program modules, which can be implemented by software or hardware. For the modules implemented by hardware, the above various modules can be located in the same processor; or the above various modules can also be located in different processors in any combination.
[0131] In the embodiment, an electronic device is also provided, including a memory and a processor, the memory stores a computer program, and the processor is configured to execute the computer program to perform the steps in any of the above method embodiments.
[0132] Optionally, the electronic device can further include a transmission device and an input / output device, wherein the transmission device is connected with the processor, and the input / output device is connected with the processor.
[0133] Optionally, in the embodiment, the processor can be configured to execute the following steps by the computer program:
[0134] S1, control the first sewing needle and the second sewing needle to travel to a first position along a first direction at a first needle pitch to obtain a first rotation number of the main shaft, form a first trajectory, the first needle pitch is less than a preset threshold, and the first direction is consistent with a first side of the to-be-sewn corner.
[0135] S2, control the first sewing needle and the second sewing needle to travel to a second position along a second direction at the first needle pitch to obtain a second rotation number of the main shaft, at the second position, the second sewing needle is located on the first trajectory of the second sewing needle, and the second direction is consistent with a second side of the to-be-sewn corner.
[0136] S3, based on the first needle pitch, the first rotation number, the second rotation number and a needle pitch, obtain a corner angle and a corner length of the to-be-sewn corner, the needle pitch being a distance between the first sewing needle and the second sewing needle.
[0137] It should be noted that the specific examples in the embodiment can refer to the examples described in the above embodiments and optional implementation manners, which will not be described herein again.
[0138] In addition, in combination with the corner sewing parameter acquisition method provided in the above embodiments, a storage medium can also be provided to implement the method in the embodiment. The storage medium stores a computer program; when the computer program is executed by a processor, any of the corner sewing parameter acquisition methods in the above embodiments is implemented.
[0139] It should be understood that the specific embodiments described herein are only used to explain this application, but not to limit it. According to the embodiments provided in the present application, all other embodiments obtained by those of ordinary skill in the art without creative labor are within the scope of protection of the present application.
[0140] It is apparent that the drawings depicted are only a few examples of embodiments of this application and that a person of ordinary skill in the art would be able to adapt this application to other similar situations without paying creative thought. In addition, it is understood that although the work done in the development of this application can be complex and long, certain modifications, such as design, manufacture or production, made by a person of ordinary skill in the art based on the technical content disclosed in this application should not be considered as a lack of disclosure.
[0141] The word "embodiment" in this application refers to the specific features, structures or characteristics described in conjunction with the embodiments can be included in at least one embodiment of this application. The phrase appears in various places in the specification does not necessarily mean the same embodiment, nor does it mean independence or alternative to other embodiments. It is clear or implicitly understood by those of ordinary skill in the art that the embodiments described in this application can be combined with other embodiments without conflict.
[0142] The above-described embodiments only express several implementation manners of this application, which are described in detail and specifically, but should not be understood as a limitation on the scope of patent protection. It should be noted that for those of ordinary skill in the art, without departing from the concept of this application, a number of modifications and improvements can be made, which are within the scope of protection of this application. Therefore, the scope of protection of this application should be subject to the appended claims.
Claims
1. A corner sewing parameter acquisition method applied to a double-needle sewing machine, characterized by, The method comprises: controlling the first needle and the second needle to travel to a first position along a first direction at a first needle pitch to obtain a first number of rotation of the main shaft, forming a first trajectory, the first needle pitch being less than a preset threshold, and the first direction being consistent with a first side of the to-be-sewn corner; controlling the first needle and the second needle to travel to a second position along a second direction at the first needle pitch to obtain a second number of rotation of the main shaft, the second needle being located on the first trajectory of the second needle at the second position, and the second direction being consistent with a second side of the to-be-sewn corner; obtaining a corner angle and a corner length of the to-be-sewn corner based on the first needle pitch, the first number of rotation, the second number of rotation and a needle position, the needle position being a distance between the first needle and the second needle.
2. The corner sewing parameter acquisition method according to claim 1, characterized by, Before the obtaining of the corner angle and the corner length of the to-be-sewn corner based on the first needle pitch, the first number of rotation, the second number of rotation and the needle position, the method further comprises: controlling the to-be-sewn fabric to rotate 90 degrees with the first position as a starting point; controlling the first needle and the second needle to travel to a third position along a third direction at the first needle pitch to obtain a third number of rotation of the main shaft, the second needle being located on the first trajectory of the second needle at the third position; obtaining the needle position based on the first needle pitch, the first number of rotation and the third number of rotation.
3. The corner sewing parameter acquisition method according to claim 2, characterized by, The obtaining of the needle position based on the first needle pitch, the first number of rotation and the third number of rotation comprises: obtaining a first deviation number of rotation based on the first number of rotation and the third number of rotation; obtaining the needle position based on the first needle pitch and the first deviation number of rotation.
4. The corner sewing parameter acquisition method according to claim 1, characterized by, Before the obtaining of the corner angle and the corner length of the to-be-sewn corner based on the first needle pitch, the first number of rotation, the second number of rotation and the needle position, the method further comprises: obtaining the needle position from a database.
5. The corner sewing parameter acquisition method according to any one of claims 2 to 4, characterized in that, The obtaining of the corner angle and the corner length of the to-be-sewn corner based on the first needle pitch, the first number of rotation, the second number of rotation and the needle position comprises: obtaining a second deviation number of rotation based on the first number of rotation and the second number of rotation; obtaining a value of an inverse trigonometric function of the corner angle based on the second deviation number of rotation, the first needle pitch and the needle position; obtaining the corner angle based on the value of the inverse trigonometric function.
6. The corner sewing parameter acquisition method according to claim 1, characterized by, The obtaining of the corner angle and the corner length of the to-be-sewn corner based on the first needle pitch, the first number of rotation, the second number of rotation and the needle position comprises: obtaining the corner length based on the first needle pitch, the first number of rotation and the second number of rotation.
7. The corner sewing parameter acquisition method according to claim 1, characterized by, After the obtaining of the corner angle and the corner length of the to-be-sewn corner based on the first needle pitch, the first number of rotation, the second number of rotation and the needle position, the method further comprises: performing corner sewing on the to-be-sewn fabric based on the corner angle and the corner length.
8. A corner sewing parameter acquisition apparatus characterized by comprising: The device comprises: The first advancing module is configured to control the first needle and the second needle to advance to a first position along a first direction at a first needle pitch to obtain a first number of rotation of the main shaft, form a first track, the first needle pitch being less than a preset threshold, and the first direction being consistent with a first side of the to-be-sewn corner; The second advancing module is configured to control the first needle and the second needle to advance to a second position along a second direction at the first needle pitch to obtain a second number of rotation of the main shaft, the second needle being located on the first track of the second needle at the second position, and the second direction being consistent with a second side of the to-be-sewn corner. The parameter calculation module is configured to obtain a corner angle and a corner length of the to-be-sewn corner based on the first needle pitch, the first number of rotation, the second number of rotation, and a needle pitch. 9.A computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the computer device is configured to perform the method according to any one of claims 1-8 when the computer program is executed by the processor. The computer program is executed by the processor to implement the steps of the corner sewing parameter acquisition method in any one of claims 1 to 7.
10. A computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to implement the steps of the corner sewing parameter acquisition method in any one of claims 1 to 7.
Citation Information
Patent Citations
Sewing machine
CN111575929A
Two-needle corner sewing machine
US4726307A