Sewing machine and recording medium storing pattern data processing program
10053806 ยท 2018-08-21
Assignee
Inventors
Cpc classification
D05B19/10
TEXTILES; PAPER
International classification
D05B19/10
TEXTILES; PAPER
Abstract
A sewing machine that includes a storage unit to store a plurality of pieces of pattern data respectively corresponding to a plurality of embroidery patterns and is capable sewing an embroidery pattern on a work cloth on the basis of the pattern data, the sewing machine includes a controller to control the sewing machine to: select one piece of pattern data from the pattern data stored in the storage unit; extract a plurality of pieces of other pattern data from the pattern data stored in the storage unit randomly; generate images of a plurality of combined embroidery patterns as a combination of a plurality of embroidery patterns respectively corresponding to the plurality of pieces of other pattern data extracted by extracting and an embroidery pattern corresponding to the one piece of pattern data selected; and display the images of the combined embroidery patterns generated by the generating on a display.
Claims
1. A sewing machine that is capable of sewing a combined embroidery pattern on a work cloth on the basis of stored pattern data, the sewing machine comprising: a storage unit configured to store a plurality of pieces of pattern data respectively corresponding to a plurality of embroidery patterns, each of the plurality of pieces of pattern data being respectively associated with condition information, the condition information: specifying an embroidery pattern combinable with the embroidery pattern corresponding to the pattern data for which the condition information is associated; and being information for specifying a size of an embroidery pattern of the pattern data; and a controller configured to control the sewing machine to: select one piece of pattern data from the plurality of pieces of the pattern data stored in the storage unit; randomly extract a plurality of other pieces of the pattern data of other embroidery patterns determined to be combinable with the embroidery pattern corresponding to the selected one piece of pattern data on the basis of the condition information associated with the selected one piece of pattern data; generate images of a plurality of combined embroidery patterns as a combination of a plurality of embroidery patterns respectively corresponding to the extracted plurality of other pieces of the pattern data and an embroidery pattern corresponding to the selected one piece of pattern data; and display the images of the generated combined embroidery patterns on a display.
2. The sewing machine according to claim 1, wherein the plurality of pieces of embroidery pattern data stored in the storage unit is classified into a plurality of types of data depending on a form of a pattern, and the controller is configured to further control the sewing machine to: extract the plurality of other pieces of the pattern data from the stored pattern data that is classified into types other than a type into which the selected one piece of pattern data is classified.
3. The sewing machine according to claim 1, the controller being configured to further control the sewing machine to: extract the plurality of other pieces of the pattern data when the size of the embroidery pattern of the selected one piece of pattern data is equal to or greater than a predetermined ratio with respect to a size of a combinable region in the embroidery pattern of the plurality of other pieces of the pattern data on the basis of the condition information.
4. The sewing machine according to claim 1, the controller being configured to further control the sewing machine to: enlarge or reduce a size of an embroidery pattern of the extracted plurality of other pieces of the pattern data in accordance with the size of the embroidery pattern of the selected one piece of pattern data.
5. The sewing machine according to claim 4, the controller being configured to further control the sewing machine to: determine whether the size of combined embroidery patterns after the enlargement exceeds a maximum size with which sewing is enabled by the sewing machine, and when the size of the embroidery pattern of the extracted plurality of other pieces of the pattern data is enlarged, and when it is determined that the size of the combined embroidery patterns exceeds the maximum size, the embroidery pattern that was enlarged is excluded from a target of extraction by the extracting.
6. The sewing machine according to claim 4, the controller being configured to further control the sewing machine to: determine whether the size of combined embroidery patterns after the enlargement exceeds a maximum size with which sewing is enabled by the sewing machine, and when the size of the embroidery pattern of the extracted plurality of other pieces of the pattern data is enlarged in accordance with the size of the embroidery pattern of the selected one piece of pattern data, and when it is determined that the size of the combined embroidery patterns exceeds the maximum size, the embroidery pattern of the selected one piece of pattern data and the enlarged embroidery pattern are reduced.
7. A sewing machine that is capable of sewing a combined embroidery pattern on a work cloth on the basis of stored pattern data, the sewing machine comprising: a storage unit configured to store: a plurality of pieces of pattern data respectively corresponding to a plurality of embroidery patterns, each of the plurality of pieces of pattern data being respectively associated with condition information, the condition information: specifying an embroidery pattern combinable with the embroidery pattern corresponding to the pattern data for which the condition information is associated; and being information indicating a category classified depending on a design of an embroidery pattern of each piece of pattern data; and a correlation between one category and a category of pattern data of an embroidery pattern combinable with an embroidery pattern of pattern data classified into the one category; a controller configured to control the sewing machine to: select one piece of pattern data from the plurality of pieces of the pattern data stored in the storage unit; randomly extract a plurality of other pieces of the pattern data classified into a category corresponding to a category into which the embroidery pattern of the selected one piece of pattern data is classified; generate images of a plurality of combined embroidery patterns as a combination of a plurality of embroidery patterns respectively corresponding to the extracted plurality of other pieces of the pattern data and an embroidery pattern corresponding to the selected one piece of pattern data; and display the images of the generated combined embroidery patterns on a display.
8. The sewing machine according to claim 7, the controller being configured to further control the sewing machine to: display a plurality of combined embroidery patterns on one screen of the display.
9. The sewing machine according to claim 7, wherein the plurality of pieces of embroidery pattern data stored in the storage unit is classified into a plurality of types of data depending on a form of a pattern, and the controller is configured to further control the sewing machine to: extract the plurality of other pieces of the pattern data from pattern data classified into types other than a type into which the selected one piece of pattern data is classified.
10. A non-transitory storage medium storing a computer-executable program for causing a controller of a sewing machine to perform the following functions: accessing a plurality of pieces of stored pattern data respectively corresponding to a plurality of embroidery patterns, each of the plurality of pieces of pattern data being respectively associated with condition information, the condition information: specifying an embroidery pattern combinable with the embroidery pattern corresponding to the pattern data for which the condition information is associated; and being information indicating a category classified depending on a design of an embroidery pattern of each piece of pattern data; and accessing a stored correlation between one category and a category of pattern data of an embroidery pattern combinable with an embroidery pattern of pattern data classified into the one category; selecting one piece of pattern data from the plurality of pieces of the pattern data stored in the storage unit; randomly extracting a plurality of other pieces of the pattern data classified into a category corresponding to a category into which the embroidery pattern of the selected one piece of pattern data is classified; generating images of a plurality of combined embroidery patterns as a combination of a plurality of embroidery patterns respectively corresponding to the extracted plurality of other pieces of the pattern data and an embroidery pattern corresponding to the selected one piece of pattern data; and displaying the images of the generated combined embroidery patterns on a display.
11. The non-transitory storage medium according to claim 10, wherein: the plurality of pieces of embroidery pattern data stored in the storage unit is classified into a plurality of types of data depending on a form of a pattern; and the program further causes the controller to perform the function of extracting the plurality of other pieces of the pattern data from pattern data classified into types other than a type into which the selected one piece of pattern data is classified.
12. The non-transitory storage medium according to claim 10, wherein the program further causes the controller to perform the function of displaying a plurality of combined embroidery patterns on one screen of the display.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) Aspects of the disclosure are illustrated by way of example, and not by limitation, in the accompanying figures in which like reference characters may indicate similar elements.
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16)
(17)
(18)
(19)
(20)
(21)
DETAILED DESCRIPTION
(22) For a more complete understanding of the present disclosure, needs satisfied thereby, and the objects, features, and advantages thereof, reference now is made to the following descriptions taken in connection with the accompanying drawings. Hereinafter, illustrative embodiments will be described with reference to the accompanying drawings.
(1) First Embodiment
(23) For example, a first embodiment to which an embroidery sewing machine is applied will be described with reference to
(24) The sewing machine 1 according to this embodiment has a structure in which a sewing machine bed 2 extending in the X-direction in
(25) Although not illustrated in detail, a main shaft that is rotationally driven by a sewing machine motor 10 (see
(26) A cover 4a is mounted on an upper part of the arm part 4 so as to be openable and closable. A needle thread spool 14 is detachably set inside the cover 4a in the arm part 4 in order to supply a needle thread. A plurality of operation switches 15 is provided on a lower front of the arm part 4. These operation switches 15 include a start/stop key, a back stitch key, a needle up/down key, a thread cut key, a presser up/down key, and a speed adjusting knob, although a detailed description of these keys and knob will be omitted.
(27) A large-sized vertically-long full-color liquid crystal display (LCD) 16 serving as a display is provided on the front side of the pillar part 3. A touch panel 17 is provided on the surface of the LCD 16. When the user operates the touch panel 17 by touching, the user can select a desired one of practical patterns, embroidery patterns, and the like or cause the sewing machine 1 to execute various functions for sewing. As described later, when the touch panel 17 generates combined embroidery patterns, the touch panel 17 serves as a selection unit for the user to select pattern data.
(28) Although not illustrated in detail, a card slot 12 into which a memory card 11 (illustrated only in
(29) A needle plate (not illustrated) is provided on the upper surface of the sewing machine bed 2 so as to correspond to the needle bar 6. A shuttle mechanism, a feed dog driving mechanism, and the like are provided in the bed 2 so as to be located below the needle plate although none of them are illustrated. The shuttle mechanism accommodates a bobbin and serves to form stitches on a work cloth W in cooperation with the needle 7. The shuttle mechanism and the feed dog driving mechanism are driven by the sewing machine motor 10 serving as a drive source. Thus, the sewing machine motor 10, the needle bar driving mechanism, and the shuttle mechanism, among others, constitute a sewing mechanism for forming stitches on the work cloth.
(30) Further, a well-known embroidery machine 18 is detachably mounted on a left part of the sewing machine bed 2. In a state where the embroidery machine 18 is mounted on the sewing machine bed 2, and is electrically connected to a control device 25, which described later, of the sewing machine 1 via a connector 24 (see
(31) Specifically, the embroidery machine 18 includes a movable body 21 that is long in the front-back direction on the upper surface of the main body part 20, which is mounted on the sewing machine bed 2, in such a way that the movable body 21 is movable in the X-direction. Although not illustrated in detail, a carriage is provided on the upper side surface of the movable body 21 in such a way the carriage is movable in the Y-direction. The embroidery frame 19 is detachably mounted on the carriage. The embroidery machine 18 causes the movable body 21 to be freely movable in the X-direction by the X-axis motor 22 (see
(32) With the above structure, in the sewing machine 1, the needle bar 6 and the like that constitute the sewing mechanism are driven while the embroidery frame 19 that holds a work cloth is freely moved in the X-direction and the Y-direction, thereby making it possible to execute an embroidery sewing operation on the work cloth W. Further, in this embodiment, the use of the embroidery machine 18 enables the sewing machine 1 to sew an embroidery pattern on the work cloth W on the basis of the pattern data. At this time, the pattern data is composed mainly of data indicating a needle location position for sewing an embroidery pattern (an amount of movement of the embroidery frame 19 for each stitch), i.e., data indicating amounts of movement in the X-direction and Y-direction of the work cloth W held by the embroidery frame 19.
(33)
(34) The input interface 31 is connected to each of the touch panel 17 and the operation switch 15. Operation signals and the like for operating these components are input to the control device 25. The output interface 32 is connected to the LCD 16 via a drive circuit 35, and is also connected to the sewing machine motor 10 and the needle swinging pulse motor 13 via drive circuits 36 and 37, respectively. The control device 25 controls these components to execute the sewing operation. The output interface 32 is also connected to the connector 24, and the control device 25 also controls the embroidery machine 18. Thus, the control device 25 controls each mechanism of the sewing machine 1 to execute the sewing operation including sewing of an embroidery pattern.
(35) Pattern data is data for sewing an embroidery pattern on the work cloth W and is a set of block data in which the embroidery pattern is divided into, for example, a plurality of blocks. Pieces of block data include needle location position data, sewing order data, thread color data, and the like. The pieces of pattern data also include display data for displaying an embroidery pattern on the LCD 16. In this embodiment, pieces of pattern data respectively corresponding to a large number of embroidery patterns are stored in the ROM 28, the EEPROM 30, and the memory card 11, which serve as a storage unit.
(36) At this time, a plurality of pieces of pattern data is classified into any one of a plurality of types depending on the form of the embroidery pattern. Specifically, the pattern data is classified into one-point, kana (Japanese syllabary), alphabet, frame, or extended embroidery pattern. The extended embroidery pattern is an embroidery pattern based on the pattern data stored in the memory card 11. Among them, the one-point embroidery pattern is classified into a plurality of categories depending on the design. Specifically, the one-point embroidery pattern is classified into a plurality of categories such as animal, person, flower, vegetation, insect, butterfly, vehicle, food, small article, or various marks, and each piece of pattern data includes data indicating a category into which the pattern data is classified.
(37) In this embodiment, each piece of pattern data includes data indicating a size (width and height dimensions) of an embroidery pattern as condition information. In this case, the embroidery pattern classified into the type of frame also includes data indicating the size (width and height dimensions) of the rectangular region of the frame. Further, in this embodiment, each piece of pattern data includes, as condition information, data indicating information about combinable categories, i.e., a correlation between categories of a plurality of combinable patterns. Specifically, correlations between combinable categories, such as a correlation between flower and butterfly, a correlation between flower and vegetation, and a correlation between flower and girl, are stored in the ROM 28 or the EEPROM 30 as the condition information.
(38) As will be described in detail later, in this embodiment, the control device 25 executes the above-mentioned pattern data processing program, thereby executing processing for generating combined embroidery patterns. Specifically, the user selects a menu for embroidery sewing on a menu screen by operating the touch panel 17, and edits the embroidery patterns, in particular, instructs selection of random generation of combined embroidery patterns. The control device 25 executes processing for generating combined embroidery patterns.
(39) In the processing for generating combined embroidery patterns, the user first operates the touch panel 17 to, for example, select one piece of pattern data (referred to as main data) as main data in all pieces of pattern data, and designates the type (in this case, one-point or frame) of pieces of other pattern data (referred to as sub-data) to be combined with the main data. Then, the control device 25 randomly extracts a plurality of pieces of other pattern data (sub-data) combinable with the main data. Next, the control device 25 generates images of a plurality of combined embroidery patterns obtained by combining a plurality of embroidery patterns respectively corresponding to a plurality of extracted sub-data with the embroidery pattern corresponding to the main data, and displays the generated images of the combined embroidery patterns on the LCD 16.
(40) At this time, as illustrated in
(41) In this embodiment, the control device 25 randomly extracts sub-data, the sub-data determined to be combined with the main data is extracted in accordance with the condition information (data indicating the size of the embroidery pattern and data indicating combinable categories) included in each piece of pattern data of the main data and sub-data. This prevents the main data and sub-data from being inappropriately combined in terms of size. Alternatively, the main data and the sub-data whose categories can be combined are combined.
(42) In particular, in this embodiment, in the case of a combination of one-point as the type of the main data and frame as the type of the sub-data, when there is a possibility that the sizes of the embroidery patters are unbalanced, the control device 25 enlarges or reduces the size of one of the embroidery patterns on the basis of the data indicating the size of the pattern. Thus, the control device 25 also serves as a size change unit. However, there is a maximum size (corresponding to the size of the embroidery frame 19) with which sewing is enabled by the sewing machine 1. Accordingly, when the size of the combined embroidery pattern exceeds the maximum size, the combined embroidery pattern is excluded from the extraction target. Alternatively, the entire size is reduced so as to fall within the maximum size. Data of the maximum size with which sewing of each embroidery frame 19 is enabled is stored in, for example, the ROM 28.
(43) Next, the operation of the sewing machine 1 of this embodiment including the above-described structure will be described with reference to
(44) When the user intends to randomly generate combined embroidery patterns, the user operates an ion I for combined embroidery patterns by touching on the touch panel 17 on the embroidery pattern selection screen of the LCD 16 as illustrated in
(45) Referring to
(46) Specifically, in step S11, it is determined whether a predetermined number of images of combined embroidery patterns to be displayed as thumbnail images are generated. When the predetermined number of combined embroidery patterns are not generated yet (No in step S11), in step S12, one piece of pattern data (sub-data) is randomly extracted from the pattern data of the one-point pattern on the basis of the condition information combinable with the main data, i.e., category information that can be combined (extraction routine). In this case, since the main data belongs to the category of flower, sub-data is randomly extracted from the categories of the butterfly, vegetation, and girl as the pattern data that can be combined.
(47) In the subsequent step S13, the images of the combined embroidery patterns of the pattern of the main data and the pattern of the sub-data are generated (image generation routine). When the image generation processing is completed, the process returns to step S11, it is determined whether or not the predetermined number of images of combined embroidery patterns are generated, and the processing of steps S12 and S13 is repeated until the predetermined number of images are generated. Then, when the predetermined number of image of combined embroidery patterns obtained by combining the pattern of the main data and the pattern of the sub-data are generated (Yes in step S11), this sub-routine processing is completed and the process returns to
(48) Referring again to
(49) Details of the processing (step S22) for randomly extracting the frame pattern are illustrated in
(50) A reference value S for determining the enlargement or reduction of frame patterns will now be described.
(51) Referring to
(52) When the reference value S is equal to or greater than 50% (No in step S36), in step S37, the image of the frame pattern is generated by enlarging or reducing the size of the frame pattern in accordance with the reference value S (size change routine), and the process returns to
(53) Referring to
(54) Referring again to
(55) The frame patterns illustrated in
(56) Referring again to
(57) In
(58) Although not illustrated in
(59) Thus, according to this embodiment, the sewing machine 1 includes the ROM 28 and the like which store a plurality of pieces of pattern data respectively corresponding to a plurality of embroidery patterns, and is capable of sewing an embroidery pattern on the work cloth W on the basis of the pattern data. In the sewing machine 1, the pattern data processing program is executed to thereby make it possible to execute processing for generating combined embroidery patterns. At this time, while the user's preference is reflected in the embroidery pattern of one piece of pattern data as the main data, embroidery patterns, or sub-data, to be combined with the main data are randomly extracted. Therefore, combinations of various designs can be obtained while preventing the selection of the same type of design, and unexpected combinations of embroidery patterns that are not expected by the user can be obtained.
(60) At this time, a large number of pieces of pattern data are classified into any one of types (one-point, kana (Japanese syllabary), frame, etc.), and the plurality of sub-data is randomly extracted from the pattern data classified into types other than the type into which the main data is classified. Therefore, combinations of different types of embroidery patterns can be obtained. In many cases, it is not preferable to select a combination of the same type of embroidery patterns, and thus the selection of such a combination of patterns can be excluded.
(61) In particular, in this embodiment, the condition information for specifying the embroidery patterns combinable with a plurality of pieces of pattern data is provided so as to be associated with the main data. Accordingly, combinations of the pattern of the main data and the pattern of sub-data adaptable to the condition information can be obtained, and the acquisition of inappropriate combinations can be excluded in advance. More specifically, information for specifying the size of each embroidery pattern of pattern data is use as the condition information, which makes it possible to prevent the acquisition of inappropriate combinations for the size of the pattern of the main data and the pattern of the sub-data and obtain an appropriate combination in terms of size.
(62) In this case, only the embroidery patterns having a size that is equal to or greater than a predetermined ratio with respect to the size of the combinable region are extracted, thereby making it possible to excluding combinations of patterns with unbalanced sizes and obtain appropriate combinations. In addition, since the size of the embroidery pattern of sub-data can be enlarged or reduced, even when the sizes of the patterns become unbalanced in the standard size, favorable combined embroidery patterns in which the sizes of patterns are balanced can be obtained by enlarging or reducing the size of the sub-data.
(63) Although the sewing machine 1 has the maximum size with which sewing is enabled, in this embodiment, when the size of the enlarged combined embroidery pattern exceeds the maximum size, the sub-data is excluded from the extraction target. Thus, the extraction of inappropriate combinations can be prevented and combined embroidery patterns that can be sewn can be provided.
(64) In particular, in this embodiment, when the category information classified depending on the design of the embroidery pattern is stored as the condition information associated with the pattern data and the embroidery patterns are combined, sub-data can also be extracted based on the correlation between the categories of the embroidery combinable patterns. Consequently, an appropriate combination of categories of embroidery patterns, such as a combination of flower and butterfly, can be obtained, so that a wide variety of combined embroidery patterns can be obtained.
(65) Further, in this embodiment, a list of a plurality of combined embroidery patterns is displayed (displayed as thumbnail images) on one screen of the LCD 16, which allows the user to view the plurality of combined embroidery patterns on one screen and easily compare and review the combined embroidery patterns. Furthermore, the user's operation, such as page switching or selection, is facilitated as compared to a case where one or a small number of combined embroidery patterns are displayed on one screen.
(2) Other Embodiments
(66)
(67) In this step S51, the size of the combined embroidery pattern is reduced so that the pattern of the main data and the frame pattern of the sub-data fall within the maximum size with which sewing is enabled, and the process returns to
(68)
(69)
(70) In this case, when the user selects, for example, the combined embroidery pattern of the one-point pattern of broadcast tower and the frame pattern of elongated pentagonal patch shape, then a plurality of combined embroidery patterns for which a combination of colors is randomly changed is displayed as thumbnail images on the LCD 16, as illustrated in
(71) In addition, the present disclosure is not limited to the above embodiments and can be extended or modified in various ways. For example, the above embodiments illustrate a case where a one-point pattern is selected as main data and a plurality of frame patterns is randomly combined. However, the mode in which one frame pattern is selected as main data and a plurality of one-point patterns is randomly combined may be modified in various ways. The present disclosure can be implemented by changing the mechanical structure of the sewing machine, the type of the embroidery pattern, and the like in various ways without departing from the scope of the present disclosure.
(72) In the embodiments described above, a single CPU may perform all of the processes. Nevertheless, the disclosure may not be limited to the specific embodiment thereof, and a plurality of CPUs, a special application specific integrated circuit (ASIC), or a combination of a CPU and an ASIC may be used to perform the processes.
(73) The foregoing description and drawings are merely illustrative of the principles of the disclosure and are not to be construed in a limited sense. Various changes and modifications will become apparent to those of ordinary skill in the art. All such changes and modifications are seen to fall within the scope of the disclosure as defined by the appended claims.