This application claims priority to Japanese Patent Application No. 2013-235284 filed on Nov. 13, 2013, the disclosure of which is herein incorporated by reference in its entirety.
The present disclosure relates to a sewing machine that is capable of embroidery sewing.
A cross stitch pattern is a pattern that uses an embroidery technique known as cross stitch. A cross stitch is typically formed by two stitches that intersect each other at their respective centers and thus form an X shape. The cross stitch pattern is a pattern in which a desired design is expressed by sewing a plurality of cross stitches side by side on a sewing workpiece. When a user sews a cross stitch pattern by hand, a sewing workpiece exclusively for cross stitching is used. The sewing workpiece exclusively for cross stitching is, for example, a woven fabric formed of warp threads and well threads, and is referred to as a special-purpose cloth. In the special-purpose cloth, intervals between interstices (small holes) that are formed between the warp threads and the well threads are relatively large and are equally spaced. Stitches of the cross stitch pattern are formed such that the interstices of the special-purpose cloth are connected to each other.
A device is known that creates embroidery data to sew a cross stitch pattern using a sewing machine.
When a cross stitch pattern is sewn by a sewing machine on the above-described special-purpose cloth in accordance with embroidery data, there may be displacement between positions of needle drop points of the cross stitch pattern and the interstices of the special-purpose cloth. However, it is complicated for a user to manually adjust the positions of the needle drop points of the cross stitch pattern and the interstices of the special-purpose cloth.
Various exemplary embodiments of the general principles described herein provide a sewing machine that provides an improved finish when a cross stitch pattern is sewn by the sewing machine on a special-purpose sewing workpiece in accordance with embroidery data.
Exemplary embodiments herein provide a sewing machine having a sewing mechanism, a movement mechanism, an imaging portion, a processor and a memory. The sewing mechanism is configured to be able to sew an embroidery pattern on a sewing workpiece. The movement mechanism is configured such that an embroidery frame that holds the sewing workpiece can be detachably mounted thereon, and is also configured to move the embroidery frame when the embroidery frame is mounted thereon. The imaging portion is configured to capture an image of the sewing workpiece that is held by the embroidery frame, and to generate image data. The memory is configured to store instructions that, when executed by the processor, cause the sewing machine to perform the following processes.
The sewing machine acquires sewing data to sew a cross stitch pattern. The cross stitch pattern is formed by arranging a plurality of cross stitches side by side. Each of the cross stitches are stitches that are formed on two line segments that intersect each other at their respective centers. The sewing machine sets a planned sewing position of the cross stitch pattern. The sewing machine identifies a position of at least one interstice on the sewing workpiece based on the generated image data. The sewing machine determines a sewing position of the cross stitch pattern based on the set planned sewing position, and on the identified position of the at least one interstice. The sewing machine corrects the sewing data based on the determined sewing position. The sewing machine drives the sewing mechanism and the movement mechanism based on the corrected sewing data, such that the cross stitch pattern is sewn on the sewing work piece.
Exemplary embodiments will be described below in detail with reference to the accompanying drawings in which:
Hereinafter, an embodiment will be explained with reference to the drawings. A mechanical configuration of a sewing machine 1 will be explained with reference to
As shown in
A needle plate (not shown in the drawings) is provided on the top surface of the bed portion 11. The needle plate has a needle hole (not shown in the drawings). Although not shown in the drawings, the sewing machine 1 is provided with a feed dog, a feed mechanism and a shuttle mechanism etc., underneath the needle plate (that is, inside the bed portion 11). When normal sewing and not embroidery sewing is being performed, the feed dog is driven by the drive mechanism and moves the sewing workpiece (such as a work cloth) by a predetermined amount. The shuttle mechanism causes an upper thread (not shown in the drawings) and a lower thread (not shown in the drawings) to become entwined, below the needle plate.
The sewing machine 1 is further provided with an embroidery frame movement mechanism (hereinafter referred to as a “movement mechanism”) 40. The movement mechanism 40 can be mounted on and detached from the bed portion 11 of the sewing machine 1.
An X-axis movement mechanism (not shown in the drawings) and an X-axis motor 83 (refer to
The liquid crystal display (hereinafter referred to as the LCD) 15 is provided in the front surface of the pillar 12. An image that includes various items, such as commands, illustrations, setting values and messages, is displayed on the LCD 15. A touch panel 26, which can detect a pressed position, is provided on the front surface side of the LCD 15. When a user performs a pressing operation on the touch panel 26 using his/her finger or a stylus pen (not shown in the drawings) the pressed position is detected by the touch panel 26. Based on the detected pressed position, a CPU 61 (refer to
A cover 16 that can be opened and closed is provided on an upper portion of the arm portion 13. In
As shown in
An image sensor 35 is provided inside the head portion 14. The image sensor 35 is, for example, a known complementary metal oxide semiconductor (CMOS) image sensor. The image sensor 35 captures an image of a predetermined image capture range and outputs image data of the captured image. The output image data is stored in a predetermined storage area of a RAM 63 (refer to
Operations of the sewing machine 1 will be explained briefly. At the time of embroidery sewing, the embroidery frame 50 is moved in the left-right direction (the X-axis direction) and in the front-rear direction (the Y-axis direction) by the movement, mechanism 40, while the needle bar up-and-down mechanism 34 and the shuttle mechanism (not shown in the drawings) are driven at the same time. In this manner, an embroidery pattern is sewn on the sewing workpiece 3 that is held by the embroidery frame 50, by the sewing needle 7 that is mounted on the needle bar 6. The embroidery pattern includes a plurality of types of patterns and cross stitch patterns. At the time of sewing a normal practical pattern that is not the embroidery pattern, the sewing is performed while the feed dog (not shown in the drawings) moves the sewing workpiece 3 in a slate in which the movement mechanism 40 is removed from the bed portion 11.
An electrical configuration of the sewing machine 1 will be explained with reference to
The CPU 61 performs overall control of the sewing machine 1 and performs various types of computations and processing related to sewing, in accordance with various programs stored in the ROM 62. Although not shown in the drawings, the ROM 62 is provided with a plurality of storage areas that include a program storage area and a pattern storage area. Various programs that are used to operate the sewing machine 1 are stored in the program storage area. The stored programs include, for example, a program that causes the sewing machine 1 to perform pattern sewing processing that will be explained later. Sewing data to perform sewing of various patterns are stored in the pattern storage area. The various patterns are cross stitch patterns, for example. Embroidery data includes a sewing order and coordinate data. The coordinate data represents coordinates on the embroider coordinate system (relative coordinates) of needle drop points that are used to sew the pattern. The needle drop points are points at which the sewing needle 7, which is disposed vertically above the needle hole (not shown in the drawings), pierces the sewing workpiece when the needle bar 6 is moved downward from above.
Storage areas that store computation results and the like from computational processing by the CPU 61 are provided in the RAM 63 as necessary. Various types of parameters and the like, for the sewing machine 1 to perform various types of processing, are stored in the flash memory 64. Drive circuits 71 to 74, the touch panel 26 the start/stop switch 29 and the image sensor 35 are connected to the I/O 66.
The sewing machine motor 81 is connected to the drive circuit 71 The drive circuit 71. drives the sewing machine motor 81 in accordance with a control signal from the CPU 61. In accordance with the driving of the sewing machine motor 81, the needle bar up-and-down mechanism 34 (refer to
A cross stitch pattern 100 will be explained with reference to
Pattern sewing processing will be explained with reference to
When the input of the start command is detected, the CPU 61 reads the program, which is used to execute the pattern sewing, processing and which is stored in the program storage area of the ROM 62 (refer to
As shown in
Although not shown in the drawings, for example, an illustration that represents the sewable area is displayed on the input screen, and, while referring to the illustration, the user can input a desired position within the sewable area as the planned sewing position of the pattern 100. The CPU 61 stands by until the input of the planned sewing position is detected (no at S4). When the input of the planned sewing position has been detected (yes at S4), the CPU 61 sets the input position as the planned sewing position and stores the planned sewing position in the RAM 63 (S5). In the present embodiment, the planned sewing position is represented by coordinates on the embroidery coordinate system of a reference point of the cross stitch pattern selected at S1. As the reference point, one of the needle drop points used to sew the cross stitch pattern is set. More specifically, one of the four needle drop points on the end points of one of the plurality of sets of crossed line segments that form the cross stitch pattern is set. The reference point may be a needle drop point that is set in advance for each of the cross stitch patterns and stored in a storage device, such as the ROM 62 or the like. Alternatively, the reference point may be as needle drop point that is specified by the user. In order to simplify the explanation, in the pattern 100 shown in
The CPU 61 controls the movement mechanism 40 and moves the embroidery frame 50 to an image capture position (S6), which is a position at which the planned sewing position of the cross stitch pattern selected at S1 is within the image capture range of the image sensor 35. More specifically, when the size of the cross stitch pattern is smaller than the image capture range, the CPU 61 sets, as the image capture position, a position in which the entire cross stitch pattern is within the image capture range. When the size of the cross stitch pattern is larger than the image capture range, the CPU 61 sets, as the image capture position, a position in which the reference point, of the cross stitch pattern is within the image capture range. The CPU 61 causes the image sensor 35 to generate image data representing the sewing workpiece 3 held by the embroidery frame 50 (S7). In the processing at S7. image data is acquired that represents an image 200 shown in
Based on the image data acquired at S7, the CPU 61 identifies a position (coordinates) an the embroidery coordinate system of one or more interstices among the plurality of interstices of the sewing workpiece 3 (S8). The CPU 61 of the present embodiment identifies positions of two of the interstices. At S8, by performing image processing using known technology, a plurality of interstices are identified from the image. For example, a Hough transform is applied to the image 200 and a Hough transformed image is generated. Next, non-maximum suppression processing is performed on the Hough transform image and local bright points (in a mask) of the Hough transformed image are extracted. Then, of the extracted bright points, threshold processing is performed to extract only the bright points having a brightness greater than a predetermined threshold value, and the interstices are thus extracted. Of the identified plurality of interstices, the CPU 61 calculates the interstice that is closest to the reference point 101 of the pattern 100 that has been arranged in the planned sewing position. The CPU 61 then sets that closest interstice as a first reference interstice 201 (refer to
Based on a result of identifying the position of the at least one or more interstices identified S8 and on the planned sewing position acquired at 85 the CPU 61 determines a sewing position of the pattern 100 (S9). The CPU 61 determines the sewing position of the pattern 100 as a position at which the reference point 101 of the pattern 100 is a position of one of the interstices of the sewing workpiece 3. Specifically, the CPU 61 sets the coordinates of the reference point 101 of the pattern 100 to the coordinates (X1, Y1) of the first reference interstice 201 identified at S8.
Based on a result of identifying the positions of the plurality of interstices identified by the processing at S8, the CPU 61 determines a sewing angle of the cross stitch pattern in the following manner (S10). As shown in
B=tan−1 ((Y2−Y1)/(X2−X1)) (1)
The CPU 61 sets a calculation result of the angle B as the sewing angle of the pattern 100.
Based on the identification result of the positions of the plurality of interstices identified by the processing at S8, the CPU 61 determines the length of each of the stitches included in the cross stitch pattern in the following manner (S11). The CPU 61 calculates a length L of a diagonal line of a virtual square 206, where a length of the side of the virtual square 206 is the distance between the first reference interstice 201 and the second reference interstice 202. More specifically, the CPU 61 can calculate the length L of the diagonal line using the following Expression (2).
L=√2×√((X2−X1)2+(Y2−Y1)2) (2)
The CPU 61 sets the calculated length L of the diagonal line as the length of each of the stitches representing the set of crossed line segments included in the cross Stitch pattern.
Based on the sewing position determined at S9, the sewing angle determined at S10, and the length of each of the stitches determined at S11, the CPU 61 corrects the sewing data acquired at S2 (S12). In other words, the CPU 61 corrects numerical values of the coordinates specifying the plurality of needle drop points included in the sewing data of the pattern 100. More specifically, the CPU 61 causes the sewing position, the sewing angle and the length of each of the stitches of the pattern 100 represented by the sewing data after the correction to match the sewing position, the sewing angle and the length of each of the stitches set by each of the above-described, processing steps. By the processing at S12, as will be explained later with reference to
Based on the corrected sewing data, the CPU 61 displays a preview screen, which shows the layout of the pattern 100, on the LCD 15 (S13). On the preview screen, an image is displayed that shows the layout of the pattern 100 when the pattern 100 is to be sewn based on the corrected sewing data. For example, as shown in
The CPU 61 stands by until the input of the command to start the sewing is detected (no at S14). The command to start the sewing is input, for example, by a panel operation or by depressing the start/stop switch 29. The user inputs the command start the sewing after verifying the layout of the pattern 100 by referring to the preview screen. When the input of the command to start the sewing has been detected (yes at S14), the CPU 61 drives the sewing portion 33 and the movement mechanism 40 and causes the pattern 100 to be sewn on the sewing workpiece 3 (S15). The CPU 61 then ends the pattern sewing processing.
The sewing machine 1 can determine the sewing position of the cross stitch pattern while taking into account the positions of the interstices of the sewing workpiece 3. The sewing machine 1 can determine the sewing angle of the cross stitch pattern while taking into account an array layout direction of the interstices of the sewing workpiece 3. The sewing machine 1 can expand or contract the cross stitch pattern based on the interval between the interstices of the sewing workpiece 3, and can automatically change the length of each of the stitches included in the cross stitch pattern. In comparison to a case in which consideration is not given to the positions of the interstices of the sewing workpiece 3, the sewing machine 1 can improve the finish when sewing cross stitch patterns on the special-purpose sewing workpiece 3. In comparison to a case in which consideration is not given to the array layout direction of the interstices of the sewing workpiece 3, the sewing machine 1 can improve the finish when sewing cross stitch patterns on the special-purpose sewing workpiece 3. In comparison to a case in which consideration is not given to the interval between the interstices adjacent to each other on the sewing workpiece 3, the sewing machine 1 can improve the finish when sewing cross stitch patterns on the special-purpose sewing workpiece 3. The sewing machine 1 identifies the positions of the interstices based on the image data in which the image capture range including the planned sewing position is captured, and the sewing machine 1 can thus more accurately identify the positions of the interstices around the planned sewing position. The sewing machine 1 corrects the sewing data based On the positions of the interstices that have been more accurately identified, and thus the sewing machine 1 can further improve the finish when sewing cross stitch patterns on the special-purpose sewing workpiece 3. The sewing machine 1 sets the sewing position, the sewing angle and the length of the stitches of the cross stitch pattern based on the result of identifying the positions of two of the interstices among the plurality of interstices of the sewing workpiece 3. The sewing machine 1 can minimize the processing required to identify the positions of the interstices and can correct the layout of the cross stitch pattern to match the positions of the interstices of the sewing workpiece 3 in a relatively short time.
The sewing machine of the present disclosure is not limited to the above-described embodiment and various modifications may be added without departing from the spirit and scope of the present disclosure. For example, any one of the following modifications (A) to (C) may be added as appropriate.
(A) The configuration of the sewing machine 1 may be changed as appropriate. The sewing machine 2 may be an industrial sewing machine or a multi-needle sewing machine. It is sufficient that the imaging, device be a device that can generate image data and input the data to a control portion 60.
(B) The program that includes the instructions to execute the pattern sewing processing shown in
(C) With respect to each of the steps of the pattern sewing processing shown in
(C-1) The sewing data acquired at 52 may be sewing data to sew a cross stitch pattern that has been edited by the user using a known method. The sewing data acquired at 52 may be sewing data that is stored in an external storage device that is electrically connected to the sewing machine 1. At S5, the method of setting the planned sewing position may be changed as appropriate. The sewing machine 1 need not necessarily receive the input of the planned sewing position from the user and may set the planned sewing position to a position (a center of the sewable area, for example) that is determined in advance.
(C-2) The CPU 61 may omit the processing at S6 and may perform the image capture of the sewing workpiece at S7, in this case, based on an assumption that the interstices of the sewing workpiece are formed at uniform intervals, the sewing machine 1 may cause the image sensor 35 to capture an image of the sewing workpiece at a position that is not related to the planned sewing position (a predetermined position that is set in advance, for example), and may calculate positions of the interstices in the vicinity of the planned sewing position based on the image data of the captured image.
(C-3) Each of the method for determining the sewing position at S9, the method for determining the sewing angle at S10 and the method for determining the length, of the stitches at S11 may be changed as appropriate. The number of interstices whose positions are identified at S8 and the method of selection etc. may be changed as appropriate, depending, on the processing from S9 onward. At S9, the sewing position may be determined based. on a result of identifying positions of a plurality of the interstices. At S10, the sewing angle may be determined based on a result of determining positions of three or more of the interstices. The processing at S10 may be omitted. For example, when the sewing workpiece is held by the embroidery frame in a state in which the interstices (small holes) of the sewing workpiece are arranged at uniform intervals in parallel to the X-axis on the embroidery coordinate system, even if the processing at S10 is omitted, the same effects as in the above-described embodiment can be obtained. At S11, the length of stitches may be determined based on a result of identifying positions of three or more of the interstices. The processing at S11 may be omitted. For example, when the length of the crossed line segments is set to match the interval between the interstices of the sewing workpiece, even when the processing at S11 is omitted, the same effects as in the above-described embodiment can be obtained. When the interstices are not arranged at uniform intervals, the sewing machine 1 may, for example, identify the positions of all the interstices in the vicinity around a planned sewing range and may change a position of each of the needle drop points to match a position of each of the corresponding interstices.
The apparatus and methods described above with reference to the various embodiments are merely examples. It goes without saying that they are not confined to the depicted embodiments. While various features have been described in conjunction with the examples outlined above, various alternatives, modifications, variations, and/or improvements of those features and/or examples may be possible. Accordingly, the examples, as set forth above, are intended to he illustrative. Various changes may he made without departing from the broad spirit and scope of the underlying principles.
Number | Date | Country | Kind |
---|---|---|---|
2013-235284 | Nov 2013 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
5399410 | Urase | Mar 1995 | A |
6004018 | Kawasato | Dec 1999 | A |
6370442 | Wang | Apr 2002 | B1 |
8948901 | Tokura | Feb 2015 | B2 |
9080268 | Yamada | Jul 2015 | B2 |
9249533 | Imaizumi | Feb 2016 | B2 |
20060015209 | Schweizer | Jan 2006 | A1 |
20070204779 | Naka | Sep 2007 | A1 |
20080017090 | Tashiro | Jan 2008 | A1 |
20100234979 | Katano | Sep 2010 | A1 |
20100242817 | Tokura | Sep 2010 | A1 |
20110094424 | Tokura | Apr 2011 | A1 |
20110107950 | Takahata | May 2011 | A1 |
20110146553 | Wilhelmsson | Jun 2011 | A1 |
20110226171 | Tokura | Sep 2011 | A1 |
20110295410 | Yamada | Dec 2011 | A1 |
20120048163 | Tokura | Mar 2012 | A1 |
20120191237 | Tokura | Jul 2012 | A1 |
20120222602 | Hishida | Sep 2012 | A1 |
20120234222 | Naka | Sep 2012 | A1 |
20120272884 | Tokura | Nov 2012 | A1 |
20130035780 | Abe | Feb 2013 | A1 |
20130074749 | Kato | Mar 2013 | A1 |
20130112127 | Tokura | May 2013 | A1 |
Number | Date | Country |
---|---|---|
A-2004-33324 | Feb 2004 | JP |
A-2010-213748 | Sep 2010 | JP |
A-2011-5180 | Jan 2011 | JP |
Number | Date | Country | |
---|---|---|---|
20150128835 A1 | May 2015 | US |