This application claims priority to Japanese Patent Application No. 2009-236916, filed Oct. 14, 2009, the content of which is hereby incorporated herein by reference in its entirety.
The present disclosure relates to a sewing machine that includes a transfer device that moves a work cloth and a computer-readable medium that stores a sewing machine control program.
In recent years, in the field of quilting, free motion sewing has been performed in which stitches are sewn using a sewing machine while freely moving a work cloth by a user's manual operation. When free motion sewing is performed, a feed dog of the sewing machine does not protrude from an upper surface of a needle plate, and the feed dog does not feed the work cloth. It may be difficult for a user who is unfamiliar with free motion sewing to perform an operation to move the work cloth to a desired position. Therefore, stitches may not be formed in the desired position. To address this, a sewing machine has been proposed that has a function to perform free motion sewing by moving an embroidery frame, by which a work cloth is held, according to a user's command. With this type of sewing machine, the embroidery frame is moved based on an output signal in accordance with an operation state of an operation device such as a mouse, and stitches are formed. When a mouse is used as the operation device, a movement amount and a movement direction of the embroidery frame are respectively determined based on a movement amount and a movement direction of the mouse.
When a pointing device such as a mouse is used as the operation device, it may be difficult for the user to move the operation device by a desired amount in a desired direction. For example, even when the user desires to output the same output signal from the operation device for a certain time period by performing an operation to move the operation device in the same direction at the same movement speed, in actuality, the movement direction or the movement speed may be changed during the operation. When the user desires to output the same output signal from the operation device for the certain time period, a wide working space may be necessary to move the operation device.
Various exemplary embodiments of the broad principles derived herein provide a sewing machine and a computer-readable medium storing a sewing machine control program that allow free motion sewing to be performed by a simple operation.
Exemplary embodiments provide a sewing machine that includes a transfer device that is adapted to move a work cloth, a sewing device that moves a needle bar, to a bottom end of which a needle can be attached, up and down, and an operation device that includes an operation member and that outputs an output signal in accordance with a tilting operation of the operation member. The operation member is adapted to be operated by a user. The output signal specifies a position where a unit stitch formed by at least one stitch is sewn. The sewing machine also includes a unit data generation device that generates unit data being data for forming the unit stitch, the number of sets of unit data being based on the output signal output by the operation device, and a sewing data generation device that generates sewing data in accordance with the output signal output by the operation device and the unit data generated by the unit data generation device. The sewing data includes coordinate data that specify a movement direction and a movement amount of the work cloth. The sewing machine further includes a transfer control device that causes the work cloth to be moved by driving the transfer device in accordance with the sewing data generated by the sewing data generation device, and a sewing control device that causes the unit stitch to be sewn on the work cloth by driving the sewing device in accordance with the sewing data generated by the sewing data generation device.
Exemplary embodiments also provide a computer-readable medium storing a control program executable on a sewing machine. The program includes instructions that cause a computer to perform the steps of receiving an output signal that is in accordance with a tilting operation of an operation member and that specifies a position where a unit stitch is sewn. The operation member is adapted to be operated by a user. The unit stitch is formed by at least one stitch. The program also includes instructions that cause the computer to perform the steps of generating unit data being data for forming the unit stitch, the number of sets of the unit data being based on the received output signal, and generating sewing data in accordance with the received output signal and the generated unit data. The sewing data includes coordinate data that specify a movement direction and a movement amount of a work cloth. The program further includes instructions that cause the computer to perform the steps of causing the work cloth to be moved by driving a transfer device in accordance with the generated sewing data, and causing the unit stitch to be sewn on the work cloth by driving a sewing device in accordance with the generated sewing data. The transfer device is adapted to move the work cloth. The sewing device moves a needle bar, to a bottom end of which a needle can be attached, up and down.
Exemplary embodiments will be described below in detail with reference to the accompanying drawings in which:
Hereinafter, an embodiment will be explained in order with reference to the drawings. The drawings are used for explaining technical features that can be used in the present disclosure, and the device configuration, the flowcharts of various types of processing, and the like that are described are simply explanatory examples that does not limit the present disclosure to only the configuration, the flowcharts, and the like.
A physical configuration of a sewing machine 1 will be explained with reference to
A feed dog (not shown in the drawings), a feed mechanism (not shown in the drawings), a pulse motor 78 (refer to
A sewing machine motor 79 (refer to
A top cover 21 is provided in the longitudinal direction of the arm 4. The top cover 21 is axially supported at the rear upper edge of the arm 4 such that the top cover 21 may be opened and closed around the right-left directional shaft. A thread spool housing 23 is provided close to the middle of the top of the arm 4 under the top cover 21. The thread spool housing 23 is a recessed portion for accommodating a thread spool 20 that supplies a thread to the sewing machine 1. A spool pin 22, which projects toward the head 5, is provided on an inner face of the thread spool housing 23 on the pillar 3 side. The thread spool 20 may be attached to the spool pin 22 when the spool pin 22 is inserted through the insertion hole (not shown in the drawings) that is formed in the thread spool 20. Although not shown in the drawings, the thread of the thread spool 20 may be supplied as an upper thread to the needle 7 through a plurality of thread guide portions (not shown in the drawings) provided on the head 5. The sewing machine 1 includes, as the thread guide portions, a tensioner (not shown in the drawings), a thread take-up spring (not shown in the drawings), and a thread take-up lever (not shown in the drawings), for example. The tensioner and the thread take-up spring adjust the thread tension of the upper thread. The thread take-up lever is driven reciprocally up and down and pulls the upper thread up. The needle 7, the thread take-up lever, and the shuttle are driven in synchronization, and thereby a stitch is formed on the work cloth by the upper thread and the lower thread.
A pulley (not shown in the drawings) is provided on a right side surface of the pillar 3. The pulley is used to manually rotate the drive shaft (not shown in the drawings). The pulley causes the needle bar 6 to be moved up and down. A joystick 90, which is provided separately from the main body 85, is connected to the right side surface of the pillar 3. The joystick 90 includes a first lever 91, a second lever 92, a first button 93, a second button 94, and a box 95. The first lever 91 and the second lever 92 are bar-shaped operation members that are held by the cuboid box 95. The first lever 91 and the second lever 92 can be tilted to a direction through 360 degrees. The first button 93 and the second button 94 are circular when viewed in a plan view. During execution of normal processing, the joystick 90 functions as an operation device to input a command in a similar manner to the touch panel 16. On the other hand, as described below, during execution of main processing in which free motion sewing is performed, the joystick 90 is used to instruct a movement direction and a movement distance (a movement amount) of an embroidery frame 32 in accordance with a tilting operation of the first lever 91. An output signal that is output from the joystick 90 will be described in detail below.
A front cover 59 is provided on a front surface of the head 5 and the arm 4. A sewing start/stop switch 41, a speed controller 43, and other operation switches are provided on the front cover 59. The sewing start/stop switch 41 is used to issue a command to start or stop sewing. If the sewing start/stop switch 41 is pressed when the sewing machine 1 is stopped, the operation of the sewing machine 1 is started. If the sewing start/stop switch 41 is pressed when the sewing machine 1 is operating, the operation of the sewing machine 1 is stopped. The speed controller 43 is used to adjust the rotation speed of the drive shaft (not shown in the drawings).
The embroidery unit 30 will be explained with reference to
A main electrical configuration of the sewing machine 1 will be explained with reference to
The CPU 61 conducts main control over the sewing machine 1, and performs various types of computation and processing in accordance with programs stored in the ROM 62 and the like. The ROM 62 includes a plurality of storage areas including a program storage area and a unit data storage area. The program storage area stores a plurality of programs including a mode setting program and a main program, which are executed by the CPU 61. The mode setting program is a program for executing mode setting processing that will be described below. The main program is a program for executing the main processing that will be described below. The unit data storage area stores a plurality of types of unit data. The unit data are data for sewing a unit stitch. The unit stitch is a minimum unit of a stitch formed by at least one stitch. In the present embodiment, data including single stitch data for sewing a running stitch and two stitch data for sewing a zigzag stitch are stored as the unit data in the unit data storage area. The unit data will be described in more detail below.
The RAM 63 is a storage element that can be read from and written to as desired. The RAM 63 stores, for example, computation results obtained when various types of programs stored in the program storage area are executed. The EEPROM 64 is a storage element that can be read from and written to. The EEPROM 64 stores various parameters that are used when various types of programs stored in the program storage area are executed. A card slot 17 is connected to the external access RAM 65. The card slot 17 can be connected to a memory card 18. It is possible to read and write information from and to the memory card 18 by connecting the card slot 17 and the memory card 18.
The sewing start/stop switch 41, the speed controller 43, drive circuits 70 to 75, the joystick 90, and the touch panel 16 are connected to the input/output interface 66. The drive circuit 70 drives the pulse motor 77. The pulse motor 77 is a drive source of the needle bar swinging mechanism (not shown in the drawings). The drive circuit 71 drives the pulse motor 78 for adjusting a feed amount. The drive circuit 72 drives the sewing machine motor 79. The sewing machine motor 79 is a drive source of the drive shaft (not shown in the drawings). The drive circuit 73 to 75 respectively drives the X axis motor 81, the Y axis motor 82, and the LCD 10. The joystick 90 outputs an output signal that corresponds to an operation member to the control portion 60 via the input/output interface 66. As described above, the joystick 90 includes the first lever 91, the second lever 92, the first button 93, and the second button 94 as the operation members. Another element (not shown in the drawings) may be connected to the input/output interface 66 as appropriate.
The unit data stored in the ROM 62 will be explained below. The unit data include a stitch number m and m sets of initial coordinate data. The stitch number m indicates the number of stitches that form a unit stitch. The m sets of initial coordinate data are used for generating coordinate data to specify a relative position of a stitch that forms the unit stitch. The initial coordinate data include initial X coordinate data and initial Y coordinate data, which are represented by relative coordinates of an embroidery coordinate system 100 (refer to
As shown in
Sewing data that are generated in accordance with an operation state of the joystick 90 will be explained with reference to
Sewing data for forming reinforcement stitches (hereinafter referred to as “reinforcement stitch data”) will be explained with reference to
An output signal in accordance with an operation state of each of the operation members included in the joystick 90 will be explained. Each of the first lever 91 and the second lever 92 outputs an output signal in accordance with a tilt direction and a tilt amount (an angle) of each of the levers 91 and 92 to the control portion 60. The output signal of the first lever 91 of the present embodiment includes vector data (x, y) of a coordinate system 200 of the first lever 91 shown in
A tilt direction θ is expressed by an angle between a vector on the Xc axis extending from the origin point of the coordinate system 200 to the plus side of the Xc axis (in the direction of the arrow indicating the Xc axis) on an Xc-Yc plane and a line obtained by projecting the extending direction of the first lever 91 from the plus side of the Zc axis (from above the box 95) onto the Xc-Yc plane. The tilt direction θ is expressed such that a counterclockwise angle is a plus angle. The tilt direction θ is obtained as θ=tan−1(y/x) using vector data. A tilt amount T is expressed by a step value that is determined in accordance with an angle between the extending direction of the first lever 91 and a vector on the Zc axis extending from the origin point of the coordinate system 200 to the plus side of the Zc axis. The tilt amount T of the present embodiment takes one of 128 step values from 0 to 127. Specifically, the tilt amount T corresponds to the length of the vector expressed by the vector data, and is obtained as T=√(x2+y2). The output signal of the second lever 92 includes vector data similar to the vector data of the first lever 91. Each of the first button 93 and the second button 94 outputs an output signal in accordance with whether each of the buttons 93 and 94 is operated to the control portion 60 (refer to
An overview of processing when free motion sewing is performed will be explained. When free motion sewing is performed, the mode setting processing shown in
In the present embodiment, the type of a stitch formed by free motion sewing is set to one of a running stitch and a zigzag stitch in accordance with whether the second button 94 has been operated. Specifically, if the second button 94 has not been operated, the running stitch is set as the stitch type. If the second button 94 has been operated, the zigzag stitch is set as the stitch type. When a command to perform free motion sewing is input, the mode setting processing shown in
The mode setting processing shown in
If the first button 93 has not been operated (no at step S5), processing at step S35 (which will be described below) is performed. If the first button 93 has been operated (yes at step S5), the reinforcement stitch data are generated (step S10). The generated reinforcement stitch data are stored in the RAM 63. The reinforcement stitch data are generated every time the operation mode of the sewing machine 1 is switched by the processing at step S10 being performed. In the processing at step S10, the reinforcement stitch data are generated based on the reinforcement stitch data (refer to
The EEPROM 64 is referred to, and a determination is made as to whether the sewing mode has been set as a current operation mode of the sewing machine 1 (step S20). If the sewing mode has been set as the operation mode (YES at step S20), the non-sewing mode is set as the operation mode (step S25). If the non-sewing mode has been set as the operation mode (NO at step S20), the sewing mode is set as the operation mode (step S30). The set operation mode is stored in the EEPROM 64.
When the first button 93 has not been operated (NO at step S5), when the non-sewing mode has been set as the operation mode (step S25), or when the sewing mode has been set as the operation mode (step S30), a determination is made as to whether a command to terminate processing in free motion sewing has been input (step S35). The command to terminate the processing in free motion sewing is input by a panel operation, for example. If the command to terminate the processing has not been input (NO at step S35), the processing returns to step S5. If the command to terminate the processing has been input (YES at step S35), the mode setting processing is terminated.
The main processing shown in
The EEPROM 64 is referred to, and a determination is made as to whether the operation mode of the sewing machine 1 is the sewing mode (step S60). The operation mode of the sewing machine 1 is set in the above-described mode setting processing. If the operation mode of the sewing machine 1 is the sewing mode (YES at step S60), a determination is made as to whether the second button 94 has been operated (step S65). It is determined whether the second button 94 has been operated based on the output signal that is output from the second button 94 to the control portion 60. If the second button 94 has been operated (YES at step S65), the unit data for forming the zigzag stitch shown in
When the unit data are generated (step S70 or step S75), 1 is set as a parameter n (step S80). The parameter n is stored in the RAM 63. Next, n-th initial coordinate data are acquired which are included in the unit data generated in the processing at one of step S70 and step S75 (step S85). The acquired initial coordinate data are stored in the RAM 63. For example, in a case where the unit data shown in
In accordance with an scale ratio stored in the EEPROM 64, at least one of enlargement processing and reduction processing is performed on the data acquired at step S85 (step S90). The processed data are stored in the RAM 63. In the present embodiment, the scale ratio of the data is 1.
Based on the tilt direction θ acquired at step S55, the data (Xn, Yn) on which at least one of the enlargement processing and the reduction processing has been performed in the processing at step S90 are converted to coordinate data (step S95). The coordinate data (Xn′, Yn′) generated by the conversion processing are stored in the RAM 63. A first example is considered where 60 degrees is acquired as the tilt direction θ in the processing at step S55 and the initial coordinate data 122 shown in
A determination is made as to whether the operation mode of the sewing machine 1 is the sewing mode (step S100). The processing performed when the operation mode of the sewing machine 1 is the non-sewing mode (NO at step S100) will be described below. If the operation mode of the sewing machine 1 is the sewing mode (YES at step S100), the sewing data are generated (step S105). The generated sewing data are stored in the RAM 63. The sewing data are generated by adding an identification code to the coordinate data converted in the processing at step S95. For example, sewing data 221 shown in
Based on the sewing data generated in the processing at step S105, a control signal is output to the drive circuits 72 to 74, and one stitch is formed (step S110). In the processing at step S110, the rotation speed of the drive shaft (not shown in the drawings) is controlled to be equal to the speed set in the EEPROM 64. In a case where the main processing is repeatedly performed, stitches shown by arrows in
The tilt amount T of the first lever 91 is acquired (step S115). The acquired tilt amount T is stored in the RAM 63. As described above, the tilt amount T is acquired based on the output signal that is output from the first lever 91 to the control portion 60. Next, based on the tilt amount T acquired in the processing at step S115, the rotation speed of the drive shaft per unit of time (hereinafter referred to as the “rotation speed”) is set (step S120). The set rotation speed is stored in the EEPROM 64. In the present embodiment, the tilt amount T, which is expressed by 128 steps from 0 to 127, is classified into eight groups. The rotation speed is set that is associated in advance with each of the classified groups. The associated relationship between the rotation speed and each of the groups classified in accordance with the tilt amount T is stored in the EEPROM 64. For example, in a case where the tilt amount T is one of the values from 0 to 15, 70 rpm is set as the rotation speed. In a case where the tilt amount T is one of the values from 112 to 127, 400 rpm is set as the rotation speed. The rotation speed set in the processing at step S120 is referred to when the processing at step S110 is performed in the next cycle.
If the operation mode of the sewing machine 1 is the non-sewing mode in the processing at step S100 (NO at step S100), transfer data is generated (step S130). The generated transfer data is stored in the RAM 63. The transfer data is generated by adding an identification code to the coordinate data generated in the processing at step S95. For example, transfer data 231 shown in
In the same manner as the processing at step S115, the tilt amount T of the first lever 91 is acquired (step S140). The acquired tilt amount T is stored in the RAM 63. Next, based on the tilt amount T acquired in the processing at step S140, an acquisition frequency of the output signal from the first lever 91 is set (step S145). The acquisition frequency defines a frequency of executing the processing from step S50 to step S145. The processing from step S50 to step S145 is executed at a frequency that is set based on the tilt amount T, so that the embroidery frame 32 is moved by a distance that corresponds to the tilt amount T in the sewing machine 1. In the present embodiment, the tilt amount T, which is expressed by 128 steps from 0 to 127, is classified into eight groups in the same manner as the processing at step S120. The acquisition frequency is set that is associated in advance with each of the classified groups. The associated relationship between the acquisition frequency and each of the groups classified in accordance with the tilt amount T is stored in the EEPROM 64. For example, in a case where the tilt amount T is one of the values from 0 to 15, 70 (times per minute) is set as the acquisition frequency. In the case where the tilt amount T is one of the values from 112 to 127, 400 (times per minute) is set as the acquisition frequency. The acquisition frequency set in the processing at step S145 is referred to when the processing at step S165 (which will be described below) is performed.
When the rotation speed is set (step S120) or when the acquisition frequency of the output signal from the first lever 91 is set (step S145), a determination is made as to whether the last initial coordinate data which are included in the unit data generated in the processing at one of step S70 and step S75 have been acquired in the processing at step S85 (step S160). If the last initial coordinate data have not been acquired in the processing at step S85 (NO at step S160), n is incremented by one and the processing returns to step S85. If the last initial coordinate data have been acquired in the processing at step S85 (YES at step S160), a determination is made as to whether a command to terminate processing in free motion sewing has been input (step S165). If the command to terminate the processing has not been input (NO at step S165), the processing returns to step S50. In a case where the acquisition frequency has been set in the processing at step S145, the processing returns to step S50 after a time period corresponding to the set acquisition frequency has elapsed. If the command to terminate the processing has been input (YES at step S165), the main processing is terminated.
According to the above-described sewing machine 1, by performing a tilting operation of the first lever 91, positions of stitches formed by free motion sewing may be input with an easy operation as compared with a known sewing machine. For example, when it is desired that the same output signal is output from the first lever 91 for a certain time period, the user may tilt the first lever 91 in a certain direction at a certain angle for the certain time period. The user may operate the first lever 91 without moving the joystick 90. Therefore, as compared to a case where a pointing device is used as the operation device, the space necessary to operate the operation device may be reduced. In the sewing machine 1, stitches having an even length that are formed by unit stitches may be sewn by free motion sewing.
With the sewing machine 1, when the first button 93 is operated in the mode setting processing shown in
With the sewing machine 1, unit stitches may be formed to follow the tilting operation of the first lever 91 in the processing at step S120 shown in
The sewing machine 1 according to the present disclosure is not limited to the above-described embodiment, and various types of modifications may be made within the scope of the present disclosure. For example, the modifications (A) to (D) described below may be made as appropriate.
(A) The shape and configuration of the sewing machine 1 can be modified as appropriate. For example, the sewing machine may be a multi-needle sewing machine that includes a plurality of needle bars. For example, in place of the embroidery unit 30, the sewing machine may include, as a transfer device, a feed mechanism provided with a function to move a work cloth in the feed direction and the width direction of a unit pattern, namely, a feed mechanism that moves the work cloth in the front-rear direction and the right-left direction.
(B) The shape and configuration of the joystick 90 can be modified as appropriate. For example, the joystick 90 may include only the first lever 91. For example, the first lever 91 may be adapted to be tillable in predetermined directions (for example, eight directions). For example, the output signal of the first lever 91 may be any signal as long as the tilt amount and the tilt direction of the first lever 91 can be identified. This also applies to the output signal of the second lever 92.
(C) The processing performed in the mode setting processing can be modified as appropriate. For example, in the processing at step S5 shown in
(D) The processing performed in the main processing can be modified as appropriate. For example, modifications (D-1) to (D-5) described below may be made to the main processing.
(D-1) The output signal of the first lever 91 may be acquired at a predetermined interval in the main processing. In such a case, the unit data sets whose number is based on the tilt amount T of the first lever 91 may be generated at one time. Thus, the sewing machine may generate sewing data for forming stitches having the length specified by the tilting operation of the first lever 91 by unit stitches, in the same manner as the main processing of the above-described embodiment. For example, the type of the unit data acquired by the processing at step S70 or step S75 may be modified as appropriate. Specifically, for example, in addition to single stitch data for sewing a running stitch and two stitch data for sewing a zigzag stitch that are shown in the above-described embodiment, the unit data may be data for a decorative stitch including a plurality of stitches, examples of which are shown in
(D-2) The method to generate the coordinate data in the processing at step S95 shown in
(D-3) The method to set the rotation speed in the processing at step S120 and the method to set the acquisition frequency in the processing at step S145 may be modified as appropriate. For example, the relationship between the tilt amount T of the first lever 91 and the rotation speed of the drive shaft may be modified as appropriate. For example, the rotation speed of the drive shaft may be calculated in the processing at step S120 by substituting the tilt amount T acquired by the processing at step S115 into a predetermined calculation formula. For example, the method to generate the transfer data may be modified as appropriate. For example, the transfer data may be generated without using the unit data. In such a case, for example, the output signal (vector data, for example) from the first lever 91 may be converted to coordinate data included in the transfer data by substituting the output signal into a predetermined calculation formula. In a case where there is no need to move the embroidery frame 32 as the processing in the non-sewing mode, the processing from steps S130 to S145 may be omitted.
(D-4) In the sewing machine 1, the type of the unit data to be generated is set depending on whether the second button 94 has been operated in the processing at step S65. The type of the unit data may be set depending on an operation state of another operation device. In the same manner as the modified example (C), the other operation device may be a device that interfaces with the user. For example, the type of the unit data to be generated may be set in accordance with the tilt direction of the second lever 92. For example, a plurality of tilt directions (for example, eight directions) may be set, and types of the unit data may be respectively allocated to the tilt directions. In such a case, it is possible to increase the number of the unit data that can be set in the processing at step S65. For example, in processing other than the main processing, the unit data may be generated that has been set in advance in accordance with the output signal from the second button 94. For example, in a case where there is no need to change the type of the unit data during sewing, the processing at step S65 may be omitted.
(D-5) A stitch position indication line that indicates the position where stitches are to be formed by free motion sewing, and a stitch line that indicates the position of stitches that have been formed by free motion sewing may be displayed on the LCD 10. Further, in a case where a sewing command is issued after the user has confirmed the stitch position indication line, stitches may be formed by free motion sewing in the position indicated by the stitch position indication line. For example, Japanese Laid-Open Patent Publication No. 2008-246186 discloses a sewing machine that causes an LCD to display the stitch position indication line and the stitch line, and a sewing machine in which stitches are formed by free motion sewing in the position indicated by the stitch position indication line in a case where a sewing command is issued, the relevant portions of which are incorporated by reference.
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 be illustrative. Various changes may be made without departing from the broad spirit and scope of the underlying principles.
Number | Date | Country | Kind |
---|---|---|---|
2009-236916 | Oct 2009 | JP | national |