SEWING MACHINE

Abstract: A sewing machine has a feed mechanism (13, 31 to 35) for feeding cloth and a bight mechanism (45 to 49) for swinging a sewing needle (11) in a direction transverse to the cloth feeding direction. A plurality of switching devices (Qf1 to Qf10) is provided for selectively coupling to a feed control means (37, 83 to 103) a plurality of different amplitude reference signals for controlling the feed mechanism (13, 31 to 35), and a plurality of switching devices (Qb1 to Qb10) is provided for selectively coupling to a bight control means (43, 61 to 75) a plurality of different amplitude reference signals for controlling the bight mechanism (45 to 49), so as to produce a predetermined stitch pattern. A control, preferably formed by counter means (55, 77) responsive to a timing signal generated for each stitch in the pattern, is provided for selectively rendering conductive the switching devices.

Description: TITLE I SEWING MACHINE TECHNICAL FIELD The present invention relates to a sewing machine and more particularly to a sewing machine having electronic control means for controlling the feed of cloth and/or the stitch width amplitude. BACKGROUND ART Sewing machines have been provided with mechanisms for providing different patterns of stitches in cloth. Normally, each of the different patterns includes a plurality of stitches which may extend various distances laterally and along the feed path and the pattern is repeated after a predetermined number of stitches. Such stitch patterns are obtained by positioning the needle for each stroke thereof at a predetermined position on the cloth (positional coordinates), that is the sewing needle is moved sideways (stitch width or bight) a predetermined distance and the cloth is fed forward or backward a predetermined amount between strokes of the needle. Thus, each stitch pattern comprises a series of positional coordinates for the sewing needle. The required series of positional coordinates for a selected stitch pattern are contained in a memory apparatus in the sewing machine, which memory apparatus is read out upon command and the read out is applied to the feed and bight movement apparatus. The memory apparatus may be mechanical or electronic Prior art mechanical memory apparatus normally included. cams which were shaped to provide the desired series of positional coordinates. Electronic memories have included a digital type for storage of the series of positional coordinates. There are many disadvantages to using digital memories for storage of the positional coordinates. The bight and feed movement apparatus are operated by analog signals. The desired analog signals must be converted to digital form for sotrage, readout digitally and then reconverted to analog form, for use. This required a large number of integrated digital circuits which increased the cost of the sewing machine. DISCLOSURE OF THE INVENTTON According to the present invention, there is provided a sewing machine having feed means operable to feed cloth being sewn, and bight means for swinging a sewing needle in a direction transverse to the cloth feeding direction, the displacements caused by said feed and bight means during sewing being controllable by respective reference voltages supplied thereto so as to produce a predetermined stitch pattern, characterised by feed reference voltage generating means for generating a plurality of different feed reference voltages for causing different feed displacements, feed switching means for selectively applying said feed reference voltages to said feed means, bight reference voltage generating means for generating a plurality of different bight reference voltages for causing different bight displacements, bight switching means for selectively applying said bight reference voltages to said bight means, and means operable, for each stitch of said pattern, to control said feed and bight switching means so as to cause selected feed and bight reference voltages to be applied to said feed and bight means. Arrangements embodying the invention will now be described by way of example with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a view showing the major portion of a multiple pattern sewing machine embodying the present invention; Fig. 2 is a block diagram of one embodiment of the present invention; Figs. 3A and 3B show a schematic diagram of the major portionof the Fig. 2 embodiment; Fig. 4A is a view showing one example of a pattern for explaining the operation of the Fig. 2 embodiment; Fig. 4B is a view showing positional data of the respective stitches; Fig. 5 is a block diagram of another embodiment of the present invention; Fig. 6 is a block diagram of a further embodiment of the present invention; Fig. 7A is a view showing one example of a pattern for explaining the operation of the Fig. 6 embodiment; Fig. 7B is a view showing positional data of the respective stitches; ; Fig. 8 is a schematic diagram of the major portion of the Fig. 6 embodiment; Fig. 9 is a schematic diagram of a portion of Fig. 3A showing the keyboard and switch decorder in greater detail; Fig. 10 is a schematic diagram of a portion of Fig. 2 showing the analog switch and the manual bight control in greater detail. Fig. 11 is a block diagram of still another embodiment of the present invention; Fig. 12 shows a schematic diagram of a portion of the Fig. 11 embodiment; Figs. 13A and 13B shows in more detail a portion of Fig. 12; Figs. 14A and 14B are schematic diagrams of the reference voltage circuit and the analog switch of the Fig. 11 embodiment; and Fig. 15 is a schematic diagram of another embodiment of a circuit which may be employed for the bight resistor network and analog switch of Fig. 2. Fig. 16 is a schematic diagram of another embodiment of a circuit which may be employed for the feed resistor network and analog switch of the Fig. 2 embodiment; Figs. 17A, 17B and 17D show pattern examples for explaining the embodiments shown in Figs. 15 and 16, respectively; and Figs. 17C is a view showing positional data of the respective stitches of the pattern shown in Fig. 17B. DESCRIPTION or TEE P;REFEaRED EOOINE-NTS-: Fig. 1 is a mechanism diagram showing the major portion of a multiple pattern sewing machine to which the present invention is applied. Below a sewing machine bed 3 or inside a bracket arm 1, an unillustrated driving motor is installed. The rotation of this driving motor is transmitted, at a certain speed reduction ratio, to a main shaft or upper shaft 5 inside the bracket arm 1. As known in the art, the upper shaft 5 is connected to the various mechanism of the sewing machine. Connected to the upper shaft 5 is a crank mechanism 7 for reciprocating a needle bar 9 and hence a sewing needle ll-in the direction of arrow A. At the position of the sewing needle 11 on the bed 3, a feed dog 13 for cloth feed is disposed so that it can be displaced in the direction of an arrow E. Installed inside the bed 3 is a lower shaft 25 for driving the feed dog 13. A timing pulley 15 integrally rotatably fixed on the upper shaft 5 and a timing pulley 23 integrally rotatably fixed on the lower shaft 25 are interconnected by a timing belt 21. Therefore, as the upper shaft 5 is rotated, the lower shaft 25 is rotated, e.g., with double the rpm of the upper shaft. A gear wheel 27a, which is one of a pair of spiral gears 27, is integrally rotatably fixed on the lower shaft 25. The other gear wheel 27b in the pair 27 is rotatably supported on an unillustrated rotary shaft inside the bed 3. Therefore the rotation of the lower shaft 25 causes the rotation of the gear wheel 27b. At an eccentric position on the upper surface of the gear wheel 27b, one end of a connecting lever 29 is pivoted by a pin. The other end of the connecting lever 29 is rotatably fixed to one end of a feed regulator 31. The feed regulator 31 is curved in an arc and pivotally supported by a shaft 31a disposed at the middle of the curve. The regulator 31 has a U-shaped guide groove in which is slidably inserted a slide block (not shown) downwardly projecting from the lower surface of a slide plate 33. The other end of the slide plate 33 is attached to a feed bar 35 which is rotatably connected at one end 35a thereof to the bed 3 and fixed at the other end to the feed dog 13. The middle point of the slide plate 33 is attached to one end of a connecting lever 41. A connecting arm 39 is fixed at one end thereof on the rotary shaft 37a of a direct current motor 37, and the other end of the connecting lever 41 is pivotally connected to the other end of the connecting arm 39. The direct current motor 37 serves as a feed control motor. On the other hand, the bracket arm 1 contains a direct current motor 43 for bight control. Fixed to the rotary shaft 43a of the direct current motor 43 is one end of a connecting arm 45, the other end of which is pivotally connected to one end of a connecting lever 47. The other end of the connecting lever 47 is pivotally connected to a needle bar support 49 which is supported by a shaft 49a so as to be swingable in the direction of an arrow G. The movement of the needle bar support 49 causes the needle bar 9 to be oscillated generally in the direction of an arrow H. The operation of the arrangement constructed in the manner described above will now be outlined to the extent needed for the understanding of the present invention. First of all, the power is turned on. In response thereto, the driving motor is energized to rotate the upper shaft 5. The rotation of the upper shaft 5 is converted into a linear reciprocating motion by the crank mechanism 7, so that the needle bar 9 and hence the sewing needle 11 are reciprocated in the direction of an arrow A between the upper and lower dead points. The rotation of the upper shaft 5 causes the rotation of the timing pulley 15, which is transmitted to the timing pulley 3 by the timing belt 21, whereby the lower shaft 25 is driven for rotation. As a result, the gear wheel 27b in the pair of spiral gears 27 is rotated, whereby the connecting lever 29 pivotally connected thereto, i.e. the feed regulator 31, is swung in the directions of arrows B and C around the axis of the shaft 31a. In this case, the amplitude of the swing motion of the feed regulator 31 increases as the opposite ends of the swing box are approached. It does not swing at all at the swing center. Therefore, what position the slide plate 33 occupies in the feed regulator 31 determines the amount of displacement of the feed bar 35, i.e. of the feed dog 13 in the direction of an arrow E. If, therefore, the amount of rotation of the direct current motor 37 is controlled to displace the connecting lever 41 in the direction of an arrow D, then the amount of displacement of the feed dog 13, i.e., the amount of cloth feed, is controlled. In this case, if the slide plate 33 is positioned on the right side (the arrow B side), the feed is forward, while if it is positioned on the left side (the arrow C side), the feed is backward. Further, the direct current motor 43 is rotated through a certain angle, whereby the connecting lever 47 is moved in the direction of an arrow F and the needle bar support 49 is swung in the direction of an arrow G. Therefore, the sewing needle 11 is swung in the direction of an arrow H, thereby achieving the so-called zigzag sewing. The amplitude (bight) of the sewing needle 11 is controlled by controlling the angle of rotation of the direct current motor 43. Therefore, in this embodiment, by controlling the angles of rotation of the direct current motors 37 and 43 according to a coordinate position of a pattern to be sewn, the feed (arrow E) and bight (arrow H) are controlled. Although the direct current motors 37 and 43 for making an arcuate motion are employed in the Fig. 1 embodiment, alternatively linear type direct current motors for making a linear motion may be employed to control the position of the connecting levers 47 and 41 to adjust the amplitude and the feed amount. The pulley 15 comprises a magnet 17a (19a) which is partially embedded on the side surface of the pulley 15. A proximity switch 17b (19b), such as a Hall effect device, a lead switch, or the like, is installed on a bracket 17c (i9c) fixed n the arm 1, and in association with the magnet 17a (19a). Accordingly, the proximity switch 17b (19b) serves to generate one pulse per revolution of the above described shaft 5, i.e. one pulse per each downward movement of the needle 11. A bight pulse generator 17 (Figure 2) and a feed pulse generator 19 are thus implemented. It is pointed out that since the bight pulse generator 17 and a feed pulse generator 19 may be of any type that generates one timing pulse per each downward movement of the needle any other types such as photoelectric switch, a microswitch or the like may be utilized. Meanwhile, the bight pulse generator 17 is preferably structured such that one pulse is obtained in the course of the movement of the needle 11 about the upper dead point and the feed pulse generator 19 is preferably structured such that one pulse is obtained in the course of the movement of the needle 11 from its middle point to the upper dead point. Alternatively, the bight pulse generator 17 and the feed pulse generator 19 can be shared, by delaying the output of either the bight pulse generator 17 or the feed pulse generator 19 to provide a pseudo output of the other. Fig. 2 shows a block diagram of one embodiment of the present invention. The embodiment is shown comprising a pattern selecting switch 51 for the purpose of sewing a plurality of kinds of patterns. The pattern selecting switch 51 coMprises a keyboard matrix, which, as shown in Figs. 9, comprises a plurality of key switches PS1 through PSn associated with the patterns P1 through Pn, respectively. By closing a desired key switch associated with a pattern to be sewn, an associated pattern selecting signal is obtained by completing a circuit between an output terminal P1 through OP4 and an input terminal lPl through 1P4 of a switch decoder 53. The switch decoder 53 may include binary coded circuits, such as AND circuits, NAND circuits, etc. which serve to decode the pattern selecting signal from the pattern selecting switch 51, and provide two selection signals, one for the bight and one for feed of the pattern selected. The switch decoder 53 continues to provide the same pattern selection signals after a given pattern is s-elected until a different pattern is selected or a power supply switch is turned off. The bight selection signal and the feed selection signal from the switch decoder 53 are applied respectively to a bight resistance network 57 and a feed resistance network 79. The switch decoder 53 also provides a signal representative of the number of stitches of the pattern selected based on the selecting signal and this signal is applied, as shown in Fig. 9, to the counter 55 by means of one of a plurality of connections Q1 through Q10 and to counter 77 by one of a plurality of connections F1 through F10 to preset the same. The counters 55 and 77 are adapted to count in response to the bight pulse and the feed pulse, respectively, obtainable from the corresponding bight pulse generator 17 and the feed pulse generator 19, respectively, and provide a separate output from each counter for each count value. When the counters 55 and 77 count to a number equal to the number of stitches as preset by the switch decoder 53, the counters 55 and 77 are returned to the initial state, whereupon a new count is started. In this connection, the individual outputs Ql-Qlo of the counter 55 and the signal Ql-Qlo of the switch decoder 53 are applied to a binary coded circuit, not shown, the output of which is connected to the reset of the counter. Likewise, the individual outputs F1-Flo of the counter 77 and the signal Fl-Flo of the switch decoder 53 are applied to a binary coded circuit, not shown, the output of which is connected to the reset of the counter 77. Generally, the bight resistance network 57 and the feed resistance network 79 each comprises a group of voltage dividers each including a plurality of series connected resistors. One voltage divider is provided for each pattern supply and is adapted to be supplied with a/voltage across its end terminals such that a voltage corresonding to a coordinate position for each stitch in the pattern is obtained through resistance division of the supply voltage. As shown in Fig. 2, the outputs from the counters 55 and 77 are applied to analog switches 59 and 81, respectively. Each nf the analog switches 59 and 81 comprises a plurality of switching devices corresponding in number to the number of needle strokes in one cycle of the pattern, the switching devices being turned on in order by the count value outputs of the associated counter 55, 79. Accordingly, for each count of the counter 55, the analog switch 59 provides an output voltage, obtained from the bright resistance network 57, corresponding to a bight voltage associated with the coordinate position of one stitch of the selected pattern. Similarly, for each count of the counter 77, the analog switch 81 provides an output voltage, obtained from the feed resistance network 79, corresponding to the voltage associated with the feed amount (incremental) for one stitch of the selected pattern. The bight voltage from the analog switch 59 is applied through a buffer amplifier 61 to a manual bight control circuit 63 and an analog switch 65. The output voltage from the analog switch 81 is applied through a buffer amplifier 83 to an adder 89. The adder 89 serves to add the output voltage from the buffer amplifier 83 and the voltage obtained through a variable resistor 87 from a bias voltage source 85 to provide an output or feed voltage to a manual feed control circuit 91 and an analog switch 93. Analog switches 65 and 93 are conduction controlled by the control circuits 63 and 91, respectively, whereby a bight voltage and a feed voltage, as adjusted, are obtained. - A circuit which may be employed for the manual bight control circuit 63 and the analog switch 65 and for the manual feed control 91 and analog switch 91 is shown in Fig: 10. Initial operation of the manual control VR causes the manual switch MSS to close which, in turn, causes a clock pulse to be fed to the flip flop causing it to switch states. This change of state causes the field effect transis tor BQ2 to conduct, thereby providing the operator with manual control of the bight or feed. Moving the manual control to its off position, opens the switch MSW, causing the flip flop to switch states and turn on field effect transistor EQ1. The manual control is thus bypassed. The bight voltage from the analog switch 65 is selectively switched by means of a two-needle selection switch 67 and is applied to an adder 69, which is the input of a bight servo mechanism for controlling the displacement of the bight mechanism. The two-needle selection switch 67 is provided to reduce the bight voltage and thus change the bight width for preventing the needle from colliding with a needle plate. The feed voltage as adjusted from the analog switch 93 is applied to an adder 97, which is the input of a feed servo mechanism for controlling the displacement of the feed mechanism. The feed adder 97 is supplied with a control voltage from a manual forward/rearward control circuit 95. The forward/rearward control circuit 95 provides a manual control to coincide the forward stitch pitch and the rearward stitch pitch of a button hole, automatic reverse stitch pattern, and the like. The adder 69 receives a feed back voltage from a position detector 75, which indicates the position of the direct current motor 43, and adds the bight voltage from the above described two-needle selecting switch 67 and the above described feed back voltage to provide an output to a pre-amplifier 71. The output of the pre-amplifier 71 is coupled to a power amplifier which, in turn, drives the direct current motor 43. Similarly, the adder 97 adds the feed back voltage 'from a position detector 103, which indicates the position of the direct current motor 37, the feed back voltage from the analog switch 93 and the control voltage from the above described forward/rearward control circuit 95, to provide an output to a pre-amplifier 99. The output of the pre-amplifier 99 is coupled to a power amplifier 101 which, in turn, drives the direct current motor 37. Fig. 3A depicts in particular detail the bight resistance network 57, the analog switch 59 and the counter 55 shown in Fig. 2. Fig. 3B similarly shows in detail the feed resistance network 79, the analog switch 81 and the counter 77. The bight resistance network 57 and the feed resistance network 79 are similar in construction. Therefore, only the bight resistance network 57 shown in Fig. 3A is described in detail. The bight resistance network 57 comprises a plurality (n) of voltage divider circuits Rbl through Rbn, one associated with each kind of pattern that can be selected by means of the pattern selection switch 51. The voltage divider circuit Rbl comprises nine series connected resistors Rbll through Rbl9 for providing ten voltage drops or steps. Similarlv,the voltage divider circuit Rb2 also comprises nine series connected resistors Rb21 through Rb29. Similarly, the voltage divider circuit Rbn comprises nine series connected resistors Rbnl through Rbn9. The number and the resistance value of the resistors in each of these voltage divider circuits Rbl through Rbn is determined by the number of coordinate positions included in one cycle of the pattern associated with that voltage divider circuit. The upper ends of the voltage divider circuits Rbl through Rbn are connected through respective switches Sbl through Sbn to a voltage source +Vb. The lower ends of the voltage divider circuits Rbl through Rbn are connected to the aground. The switches Sbl through Sbn may be field effect transistors that are selectively rendered conductive in response to selection of a pattern on the pattern selection switch 51, i.e. the pattern selecting signal from the pattern selection switch 51 causes the switch decoder 53 to produce the pattern selection representing signal that turns on the switch Sbl through Sbn associated with the selected pattern. The analog switch 59 comprises ten field effect transistors Qbl through Qbl0 each serving as a switching device. The number of switching devices included in the analog switch 59 is determined by the maximum number of stitches included in one cycle of any pattern provided in pattern selection switch. However, for any particular pattern, the number of switching devices Qbl through QblO, connected to taps on the associated voltage divider circuit is equal to the number of stitches included in one cycle of that pattern. The gate electrode or the control electrode of each of the switching devices Qbl through QblO is individually connected to each of the output terminals 01 through Q10 of the counter 55, respectively. Accordingly, the switching devices Qbl through QblO are individually turned on by respective outputs Q1 through Q10 of the counter 55. The drain electrodes or the output electrodes of these switching devices Qbl through QblO are connected to a common bight voltage output terminal Vbout. The source electrodes or the input electrodes of the switching devices Qbl through QblO are connected to the proper taps of the respective voltage divider circuits Rbl through Rbn. The proper tap connection for a switching device is determined by the amount of bight movement required for the particular stitch associated with that switching device. For example, the first switching device, which is connected to tap 1 of voltage divider circuit Rblvmas be connected to tap 2 of voltage divider circuit Rb2, to tap 4 of voltage divider circuit Rb3, etc. Fig. 4A shows one example of a pattern to be sewn, wherein the abscissa indicates the feed or cloth feed amount while the ordinate indicates the bight or the stitch width amplitude. Fig. 4B shows data concerning positional information of the bight and feed of the pattern. The bight is absolutely set in its coordinate position and, in the pattern example shown, the maximum amplitude amount is equally divided into five. On the other hand, the feed is set by way of a relative displacement amount and, in the pattern example shown, the minimum feed amount, i.e. the absolute travel amount from the third to fourth position in the pattern example shown, is denoted as unity "1". As for the first stitch, the bight is the lowermost in the figure and the feed is "O" since the same is in a stationary state wherein no forward or backward (leftward or rightward in the figure) travel from the former stitch or the sixth stitch occurs. As for the second stitch, the coordinate position of the bight is the same position as first stitch while the feed comes forward by unit "2" in a relative manner from the first stitch to become "+2". Similarly, the positional-data of the bight and feed for the third to sixth stitches can be shown as numeral values as shown in Fig. 4B. = The relation between the resistance circuits Rbl and Rfl and the analog switches 59 and 81 shown in Figs. 3A and 3B is based on the pattern example shown in Figs. 4A and 4B. The pattern example in Fig. 4A is indicated as pattern P1, wherein for the first stitch the bight is "1" and the feed is "O", so that the input electrode of the switching device Qbl of the analog switch 59 is connected to the junction (1 ofathe corresponding resistance circuit Rbl and the input electrode of the switching device Qfl of the analog switch 81 is connected to the junction of the corresponding resistance circuit Rfl. For the second stitch, the bight remains the same "1" as the first stitch while the feed is "+2". Accordingly, the input electrode of the switching device Qb2 of the analog switch 59 is connected to the junction Q of the resistance circuit Rbl and the input electrode of the switching device Qf2 of the analog switch 81 is connected to the junction Q2 of the corresponding resistance circuit Rfl. For the third stitch of the pattern shown, the feed amount is "O" while the bight is in the position "3". Accordingly, the input electrode of the switching device Qb3 of the analog switch 59 is connected to the junction Q3 of the resistance circuit Tbl and the input electrode of the switching device Qf3 of the analog switch 81 is connected to the junction Similarly, for the fourth stitch of the pattern shown, the-bisht remains the same "3" as the third stitch, while the feed is the rearward "-1". For the fifth stitch, the bight is "5", while the feed is "0" since the feed is in the same position as the fourth stitch. For the sixth stitch, i.e. the final stitch of one cycle of the pattern example shown, the bight is the same as the fifth stitch, while the feed is "+2". Accordingly, the input electrodes of the switching devices Qb4 through. Qb6 of the analog switch 59 and the input electrodes of the switching devices Q±4 through Qf6 of the analog switch 81 are connected as shown in Figs. 3A and 3B. The operation of the embodiment shown in Figs. 2 and 3 is as follows. First a pattern to be sewn is selected by means of the pattern selecting switch 51. By way of an example, assume that the pattern P1, i.e. the pattern example shown in Fig. 4A is selected. Accordingly, a pattern signal representative of the pattern P1 is obtained from the switch decoder 53. Therefore, the associated switches Sbl and Sfl of the resistance network 57 and 79 are turned on. Accordingly, the voltages +Vb and Vf are applied only to the voltage divider circuits Rbl and Rfl, while the remaining voltage divider circuits Rb2 through Rbn and Rf2 through Rfn are not supplied with any voltage. The switch decoder 53 is responsive to selection of the pattern P1 by means of the pattern selection switch. 51 to provide a signal representative of the number of the stitches in one cycle of the pattern P1, the number "6" in the example shown, to the counters 55 and 77. Accordingly, these counters 55 and 77 are preset as a six-count counter. The driving motor is then energised, whereby the upper shaft 5 starts to rotate causing the bight pulse generator 17 and the feed pulse generator 19 to generate pulses. The first pulse obtained from the feed pulse generator 19 causes the feed counter 77 to advance one position to provide, for example, an output F1. Therefore, the switching device Qfl in the analog switch 81 is turned on and the output obtainable from the junction 5 of the voltage divider circuit Rfl is coupled through the switching device Qfl to the output voltage terminal Vfout. The output voltage is coupled to the adder where a negative polarity bias voltage provided by the bias voltage source 85 is added thereto. The bias voltage is of an amplitude such that the voltage after addition, which is a voltage representative of the feed "0", does not cause the direct current motor 37 shown in Figs. 1 and 2 to rotate. Accordingly, the feed dog 13 shown in Fig. 1 does not effect movement of the cloth. Thereafter the upper shaft 5 is rotated and one pulse is obtained from the bight pulse generator 17. Accordingly, the bight counter 55 advances one position and since it is synchronized with the feed counter 77 it provides an output Q1. Therefore, the switching device Qbl of the analog switch 59 is rendered conductive. Accordingly, the voltage representative of the bight position "1" which is obtained frdm the junction Q of the voltage divider circuit Rbl is coupled by the switching device Qbl to the bight output terminal Vbout. Accordingly, the direct current motor 43 shown in Figs. 1 and 2 is rotated in accordance with the amplitude of the bight output voltage whereby the needle bar support 49 is rotated to swing the needle 11 in the direction of arrow H to the 1 bight position. Accordingly, the needle 11 is stopped at the coordinate position of the first needle penetration in the pattern example shown in Fig. 4A. The upper shaft 5 is further rotated and the second pulse is obtained from the feed pulse generator 19. Accordingly, the output F2 is obtained from the counter 77 and the switching device Qf2 of the analog switch 81 is turned on. Therefore, the voltage from the junction Q of the voltage divider circuit Rfl is applied to the output terminal Vfout of the analog switch 81, whereby the direct current motor 37 is driven. The upper shaft 5 continues to rotate and the second pulse is obtained from the bight pulse generator 17. Accordingly, the output Q2 is obtained from the counter 55. Therefore, the switching device Qb2 of the analog switch'59 is turned on. Accordingly, the voltage from the junction Q of thetvoltage divider circuit Rbl is applied through the switching device Qb2 to the output terminal About. Therefore, the direct current motor 43 is driven, whereby the bight is determined. Thus, the feed voltage and the bight voltage associated with the successive needle positions of the pattern P1 are obtained in order in response to the pulse signals from the feed pulse generator-19 and the bight pulse generator 17. After the sixth pulse representative of the final stitch in the pattern P1 is obtained from the feed pulse generator 19 and the bight pulse generator 17, the next pulse, the seventh, returns the counters 77 and 55 to the initial state, whereupon the outputs F1 and Q1 are again provided. The resetting of the counters 77 and 55 is caused by the signal from the switch decoder 53. Although the bight resistance network 57 and the feed resistance network 79 shown in Figs. 3A and 3B each comprise a plurality of separate voltage divider circuits Rbl through Rbn and Rfl through Rfn, respectively, these plurality of voltage divider circuits may be arranged in a modular form by using integrated circuits (chips) containing a similar number of resistors, for example, five printed on each chip. The chips are combined as desired depending on the required performance of a sewing machine or a pattern to be sewn. Such chips have a temperature characteristic which is extremely stabilized and enhance the reliability of the circuit. Furthermore, the modular construction simplifies maintenance. Fig. 5 shows another embodiment of the present invention wherein the elements which are similar to those in the Fig. 2 embodiment are indicated with the same reference numerals. In Fig. 5, the bight voltage and the feed voltage obtained from the analog switches 65 and 93, respectively, are applied to voltage/puls-e converters 105 and 111, respectively. The voltage/pulse converters 105 and ili convert the analog signal applied thereto into a number of pulses corresponding to the bight voltage. The outputs of these voltage/pulse converters 105 and 111 are applied to pulse amplifiers 109 and 113, respectively. The pulse outputs of these pulse amplifiers 109 and 113 are respectively applied as driving signals to the pulse motor 43a for bight control and to the pulse motor 37a for the feed control. In the above described embodiments, a single bight counter 55 and a single feed counter 77 are provided for counting the stitches for the patterns to be sewn and a voltage divider is provided per each kind of pattern. Alternatively, a single voltage divider may be provided for the various kinds of patterns, while a plurality of counters, one for each kind of pattern, is provided. Such an embodiment is shown in Fig. 6. The embodiment shown in Fig. 6 is adapted to be capable of sewing a plurality (n) of patterns. To that end, a pattern selection switch 51 is provided. The pattern selection switch 51 comprises a plurality (n) of switches PS1 through PSn, such that selective operation of any switch causes a corresponding pattern selection signal to be provided. A pattern selection signal is applied to a counter group 203 as a counter designating signal. The counter group 203 comprises a plurality of counters CT1 through CTn, one for each pattern, the particular counter associated with a particular pattern being rendered operative by the counter designating signal. The counters CT1 through CTn are supplied with a clock signal by a pulse generator 201, which may be similar to the previously described pulse generator 17 or 19. The pulse generator 201 generates one pulse for each stitch. The signals from the operative counter in the counter group 203 are applied as switching control signals to the bight switching circuit 205 and to the feed switching circuit 215. The bight switching circuit 205 is responsive to the signal from the operative counter in the counter group 203 to selectively provide at its output one of a plurality of reference voltages supplied by the bight reference voltage generator 207. The feed switching circuit 215 is responsive to the signal from the operative counter of the counter group 203 to selectively provide at its output one of a plurality of reference voltages supplied from the feed reference voltage generator 217. The reference voltage obtained from the bight switching circuit 205 and corresponding to the bight position is applied through a bight fine adjusting variable resistor 209 to a servo-mechanism including a servo-amplifier 211, a servo-motor 43b, and a position detecting circuit 213. The feed reference voltage is applied through a feed fine adjusting variable resistor 219 to a servo-mechanism including a servo-amplifier 221, a servo-motor 37b, and a position detecting circuit 223. Fig. 8 shows a schematic diagram of the counter group 203, the bight switch 205, the bight reference voltage generator 207, the feed switch 215, and the feed reference voltage generator 217, shown in Fig. 6. The embodiment shows a case where the maximum bight and feed amplitude of the needle 11 is equally divided into seven, although the same may be increased or decreased as required. The counter group 203 comprises a plurality (n) of counters CT1 through CTn, which may be decimal counters, the number depending on the number of patterns. The maximum count on each counter is determined by the number of stitches in the associated pattern. The respective counters CT1 through CTn are rendered operative in response to the selection signals from the associated pattern selection switches OS1 through PSn. The operative counter steps once in response to each timing pulse from the timing pulse generator 201. The counter group 203 comprises common bight step output terminals bol through So7 and common feed step output terminals fol through fo7. These common output terminals bol through bo7 and fol through fo7 are individually and specifically connected to the output terminals of each counter CT1 through CTn based on the tight position and feed amount of the particular pattern associated with that counter CT1 through CTn. The outputs bol through bo7 of the above described counter group 203 are connected to the respective switching input terminals S1 through 57 included in the bight switching circuit 205. The input terminals S1 through S7 of the switching circuit 205 are connected to the respective control electrodes of the switching devices SW1 through SW7. The input electrodes of the switching devices SW1 through SW7 are connected to the respective analog voltage input terminals il through i7 of the switching circuit 205. The output electrodes of the switching devices SW1 through SW7 are connected to the bight reference voltage output terminal Vbout of the switching circuit 205. The bight reference voltage generator 207 comprises a stabilized voltage source STB which may be an integrated circuit. The stabilized voltage source STB is adapted to generate a direct current voltage +Vb, one output terminal of which rs connected to the ground GND. A voltage divider is connected between both output terminals of the voltage source STB, which voltage divider includes seven series connected resistors R1 through R7. The grounded output terminal is connected to the voltage input terminal il of the switching circuit 205, the series junction between the resistors R1 and R2 is connected to the voltage input terminal i2, the junction between the resistors R2 and R3 is connected to the input terminal i3, the junction between the resistors R3 and R4 is connected to the input terminal i4, the junction between the resistors R4 and R5 is connected to the input terminal i5, the junction between resistors R5 and R6 is connected to the input terminal i6 and the junction between the resistors R6 and R7 is connected to the input terminal i7. Accordingly, each of the voltage input terminals il through i7 is supplied with a different bight control reference voltage. In a like manner, as shown in Fig. 8, the counter output terminals fol through fo7 are connected to the respective switching input terminals S1 through S7 included in the feed switching circuit 215. The respective input terminals S1 through S7 of the switching circuit 215 are individually connected to the control electrodes of the corresponding switching devices SW1 through SW7. The input electrodes of the switching devices SW1 through SW7 are respectively connected to the analog voltage input terminals il through i7 of the feed switch 215. The output electrodes of the respective switching devices SW1 through SW7 are connected to the feed reference voltage output terminal Vfout of feed switch 215. The feed reference voltage generator 215 comprises a stabilized voltage source STF which may be an integrated circuit. The stabilized voltage source STF is adapted to generate a direct current voltage +Vf, one output terminal of which is connected to the ground GND. A voltage divider is connected between both output terminals of the voltage source STF which voltage divider includes seven series connected resistors R1 through R7. The grounded output terminal is connedted to the voltage input terminal il of the switching circuit 215, the series junction of the resistors R1 and R2 is connected to the voltage input terminal i2, the junction between the resistors R2 and R3 is connected to the input terminal i3, the junction between the resistors R3 and R4 is connected to the input terminal i4, the junction between the resistors R4 and R5 is. connected to the input terminal 15, the junction between the resistors R5 and R6 is connected to the input terminal i6, and the junction between the resistors R6 and R7 is connected to the input terminal i7. Accordingly, each of the voltage input terminals il through i7 is supplied with a different feed control reference voltage. Fig. 7A shows one example of a specific pattern for exprantion of the embodiment and Fig. 7B shows positional information of the pattern and the bight and feed associated therewith. In Fig. 7A, the ordinate direction shows the feed, which is constant step of "1", and the abscissa direction shows the bight position. The pattern example shown is adapted to complete one cycle stitch by seven steps or seven needle drop number. In the following, the embodiment shown in Figs. 6 and 8 will be described along with this specific pattern example. First one of the switches PS1 through PSn of the pattern selection switch 51 is selected to designate the pattern example shown in Fig. 7A. For convenience sake, it is assumed that, in the embodiment shown, the pattern shown in Fig. 7A is associated with the first counter C1. As shown in Fig. 7B, the step sequential bight iS "4", "4", "7", "4", "4", "1", "4" and the like and the feed is "1", "1", "1", "1", and the like. Therefore, the output terminals 1 through- 7 of the counter C1 are in turn connected through the common lines to the common output terminals bo4, bo4, bo7, bo4, bo4, bol, and bo4. At the same time, the output terminals 1 through 7 of the counter Cl are connected respectively through the common lines to the common output terminals fol, fol, fol, fol, fol, f6l and fol. In a sewing operation, a power source 51 is turned on and the switch PSl of the pattern selection switch 51 is operated, whereby only the counter C1 is enabled and is reset. When the driving motor rotates, the upper shaft 5 rotate, whereby the pulse generator 201 generates a timing pulse per each reciprocation of the needle 11. In operation, in the first step, the output terminal 1 of the counter C1 is the high level, while the remaining output terminals are the low level. Therefore, only the bight common output terminal bo4 becomes the high level. Accordingly, in the first step,the switching device SW4 of the bight switching circuit 205 is turned on responsive to the high level signal from the terminal bo4. Therefore, the divided voltage Vb4 is obtained as the first step bight reference voltage from the reference voltage output terminal Vbout of the switching circuit 205. At the same time, only the feed common output terminal fol comes the high level. Accordingly, in the first step, the switching device SW1 of the feed switching circuit 215 is turned on responsive to the high level signal from the terminal fol. Therefore, the ground voltage Vfl is obtained as the first step feed reference voltage from the reference voltage output terminal Vfout of the switching circuit 215. The first step bight reference voltage obtained from the bight switching circuit 205 is applied through the variable resistor 209 to the servo-amplifier 211. The first step feed reference voltage obtained from the feed switching circuit 215 is applied through the variable resistor 219 to the servo-amplifier 211. Therefore, the bight controlling servo-motor 43b is rotated by the angle associated with the bight position "4", i.e. the reference voltage Vb4, whereby the swing width in the arrow H direction of the needle 11 in Fig. 1 is controlled. The feed controlling servo-motor 37b is rotated by the angle associated with the feed amount "1", i.e. the reference voltage Vfl, whereby the displacement amount in the arrow E direction of the feed dog 13 in Fig. 1 is controlled. When the first step sewing operation thus described is completed, a second step timing pulse is obtained from the timing pulse generator 201. Accordingly, the output terminal 2 of the counter C1 becomes the high level. Therefore, the same operation as the first step is carried out. The same operation is repeated for seven steps. The counter is reset by the eighth timing pulse. In case of a one-cycle pattern stitch, the counter may be adapted such that the driving motor is stopped at the end of one cycle. In the embodiment shown in Figs. 11 to 14, wherein parts similar to those in Fig. 2 are indicated with the same reference numerals, a single voltage divider 230 and a single bight counter 55 are provided in bight circuit and a single voltage divider 232 and a single feed counter 77 are provided in the feed circuit. Programming of the bight and feed voltages for the various patterns is provided by a pair of switch matrices 234 and 236. As shown in Figs. 12 and 13, the bight switch matrix 234 and the feed switch matrix 236 include common column lines L1 to Ln. The column lines L1 to Ln correspond to the respective patterns P1 to Pn selectable by the pattern selection switch 51 and are enabled or supplied with a voltage by the above described signals P1 to Pn only when the pattern is selected. The bight switch matrix 234 comprises five sets rbl to rb5 of the row lines. The feed switch matrix 236 comprises five sets rfl to rf5 of the row lines. Each of the sets rbl to rb5 and rfl to rf5 of row lines includes ten row lines b10l-bllO to b501-b510 and f101-f1l0 to f501-f510 corresponding to the number of outputs of the counters 55 and 77, i.e. the maximum stitch number in one cycle of the pattern. The respective row lines blOl to b510 and flOl to f510 are connected to the column lines L1 to Ln in different manners for each of the column lines L1 to Ln to thereby implement a logical product switch matrices 234 and 236. Figs. 13A and 13B sh6w in more detail one of the sets of each of these matrices 234 and 236. Each connection between a row line and a column line, while being shown as a dot for convenience of illustration, is a field effect transistor with its gate electrode connected to the input of the row line, its source electrode connected to the control line, and its drain or output electrode connected to the output of the row line. As shown in Fig. 12, the outputs Q1 to Q10 of the counter 55 are respectively connected to the corresponding row lines B101 to Jello of the first set rbl, to the corresponding row lines b201 to b210 of the second set rb2, to the corresponding row lines b301 to b310 of the third set rb3, to the corresponding row lines b401 to b410 of the fourth set rb4, and to the corresponding row lines b501 to b510 of the fifth set rb5. Likewise, the outputs F1 to F10 of the counter 77 are respectively connected to the corresponding row lines flOl to f110 of the first set rfl, to the corresponding row lines f2Q1 to f210 of the second set rf2, to the corresponding row lines f301 to f310 of the third set ref3, to the corres'ponding row lines f401 to f410 of the fourth set rf4, and to the corresponding row lines f501 to f510 of the fifth set rf5. Accordingly, each time the corresponding counters 59 and 77 make a stepping operation, the corresponding row lines of the respective sets rbl to rb5 and rfl to rf5 are commonly designated. The logical product outputs of the intersections between the respective sets rbl to rb5 and- rfl and rf5 of the row lines and the column lines L1 to Ln are supplied to the terminals bl to b5 and fl to f5 which, in turn, are applied to the corresponding analog switches 65 and 85. Now referring to Figs. 14A and 14B, the bight reference voltage circuit 230, the analog switch 65, the feed reference voltage circuit 202 and the analog switch 85 will be described in detail. In the embodiment shown in Fig. 14A, the maximum amplitude of the bight of the sewing needle 11 is equally divided into five, although the number may be increased or decreased as necessary. The bight switch matrix 234 comprises five bight output terminals bl to b5, which are correspondingly and individually connected to the switching input terminals bl' to b5' included in the bight analog switch 65. The respective input terminals bl' to b5' of the analog switch 65 are individually connected to the control electrodes of the corresponding switching devices Sbl to Sb5, which may be field effect transistors. The respective input electrodes of the switching devices Sbl to Sb5 are individually connected to the respective analog. voltage input terminals ibl to ib5 from the respective resistor dividing points of the bight reference voltage circuit 230. The respective output electrodes of the switching devices Sbl to SbS are commonly connected to the bight output voltage terminal Vbout of the analog switch 65. The bight reference voltage circuit 230 comprises a stabilized voltage source STE implemented, for example, in an integrated circuit. The stabilized voltage source STB is structured to produce a direct current voltage +VB at one output terminal, while the other output terminal is connected to the ground GND. A series connection of five voltage dividing resistors Rbl to Rb5 is connected between the output terminals of the voltage source STB. The junction between resistors Rbl and Rb2'isconnected to the voltage input terminal ibl of the analog switch 65, the junction between the resistors Rb2 and Rb3 is connected to the voltage input terminaItgb2, the junction between the resistors Rb3 and Rb4 is connected to the input terminal ib3, the junction between the resistors Rb4 and Rb5 is connected to the input terminal. ib4, and the junction between the resistor Rb5 and the ground GND is connected to the input terminal ib5. Accordingly, the voltage input terminals ibl to ibS are supplied with a plurality of different reference voltages for bight control. Tho input terminal ibl is supplied with a voltage corresponding ta the bight coordinate "1" of the stitches, the input terminal ib2 is supplied' with 'a voltage corresponding to the bight coordinate "2 it, the 'input terminal ib3 is supplied with a voltage 'corresponding to the bight coordinate "3", the input terminal ib4 is supplied with a voltage corresponding to the bight coordinate "4", and the input terminal ib5 is supplied with a voltage corresponding to the bight coordinate "5". Fig. 14B shows a case where the maximum feed amount is equally divided into five, although the number may be increased or decreased as necessary. The feed switch matrix 236 comprises five feed output terminals fl to f5, which are correspondingly and individually connected to the switching input terminals f1' to f5' included in the feed analog switch 85. The details of the analog switch 85 and the reference voltage circuit 232 is substantially the same as that for bight shown in Fig. 14A and therefore a detailed description is omitted. The input terminal ifl is supplied with a voltage corresponding to the feed amount "-2" for each stitch, the input terminal if2 is supplied with a voltage corresponding to the feed amount "-1", the input terminal if3 is supplied with a voltage corresponding to the feed amount "Q", the input terminal if4 is supplied with a voltage corresponding to the feed amount +1", and the input terminal if5 is supplied with a voltage corresponding to the feed amount "+2". In the embodiment shown, the bight is controlled in terms of an absolute coordinate position and the feed is controlled in terms of a relative amount. Also, the sign of minus for the feed amount indicates backward feed, while the sign of plus for the feed amount indicates forward feed. Thus, the analog switch 65 serves to provide a voltage developed. in the bight reference voltage circuit 230 as a bight voltage corresponding to the coordinate position for each stitch. The analog switch 85 serves to provide a feed voltage corresponding to the coordinate position or the feed amount for each stitch. Xn the embodiment illustrated in Fig. 12, the row lines blOl to b510 are connected to the column line L1 to provide the bight voltages for the pattern P1 shown in Fig. 4A and the row lines flOl to f510 are connected to the column line L1 to provide the feed voltages for the pattern P1 shown in Fig. 4A. In the first stitch, the bight is the lowest, as viewed in Fig. 4A. The feed is in a still state without any shift forward and rearward, or leftward and rightward as viewed in the figure, from the immediately preceding stitch, i.e. the six stitch, and thus the feed is "O". Accordingly, the column line L1 corresponding to the pattern P1 of the feed switch matrix 236 and the row lines f301 corresponding to the first stitch are connected in a logical product fashion. The column line L1 of the bight switch matrix 234 and the row line blOl are similarly connected. In the second stitch, the bight remains the same 11 111 as the first stitch and the feed advances relatively by the unit "2" from the first stitch and thus the feed is "+2". Accordingly, the column line L1 of the matrix 236 and the row line f502 corresponding to the second stitch are connected in a logical product manner, and the column line L1 and the row line b102 are connected in a logical product fashion. In c se of the third stitch of the pattern, the feed amount is the same as that of the second stitch and remains on, and the bight is in.the position of "3". Accordingly, the column line L1 of the matrix 236 and the row line flO3 are connected in a logical product manner and thercoltunn line L1 and the row line b303 of the matrix 234 are connected in a logical product manner. Similarly, the positional data of the bight and feed from the fourth to the sixth can be shown by the numerical values shown in Fig. An. The operation of the embodiment shown in Pigs. 11 to 14 will be described in the following. First, a pattern being sewn is selected by the pattern selection switch 51. Let it b assumed that the pattern P1, i.e. the pattern example shown in Fig. 4A is selected by way of an example. Accordingly, the pattern signal P1 representing the pattern is obtained from the switch decoder 53. Therefore, the high level voltage is applied only to the column line Li of the switch matrices 234 and 236. The remaining column lines L2 to Ln are not supplied with any voltage. Thus, only the column line L1 corresponding to the pattern P1 is rendered active or effective. The foot controller pedal is then depressed, thereby a driving motor is rotated. Accordingly, the upper shaft 5 starts rotating and the bight pulse generator 17 and the feed pulse generator 19 are rendered in an operative state. Responsive to selection of the pattern P1 by means of the pattern selection switch 51, a signal indicating the number of stitches in one cycle of the pattern,-ox the number "6" in the embodiment shown is obtained from the switch decoder 53 and is applied to the counters 55 and 77. Accordingly, these counters 55 and 57 are preset to serve as a 6-nary counter. As the drive motor, not shown rotates, one pulse is obtained from the feed pulse generator 19. Accordinglye the feed counter 77 counts the pulse to provide the output Fl. Accordingly, the row lines flOl, f201, f301, f401, and f501 of the respective row line sets rfl to rf5 of the matrix 236 are commonly supplied with the high level. The column line L1 and the row line f301 are connected as shown in Figs. 12 and 13B. Therefore, a high level switching signal is obtained from the row line f301 and thus from the terminal f3. Accordingly, the switching device Sf3 of the analog switch 85 shown in Fig. 14B is turned on. Therefore, the voltage corresponding to the feed amount "0" obtainable from the feed reference voltage circuit 232 is supplied through the conducting switching device Sf3 to the feed voltage terminal Vfout. Since the voltage obtainable at the output terminal Vfout is a voltage indicating the feed "O", the directcurrent motor 37 shown in Figs. 1 and 2 does not rotate. Accordingly, the feed dog 13 shown in Fig. 1 does not feed the cloth. The upper shaft 5 is further rotated and a further pulse is obtained from the bight pulse generator 17. Accord ingLy, the counter 55 counts pulse to provide the output Q1. Therefore, the row lines blOl, b201, b301, b401 and b501 of the row line sets rbl to rb5 of the matrix 234 are commonly supplied with the high level. The column line L1 and the row line blOl are connected as shown in Figs. 12 and 13A. Therefore, a high level switching signal is obtained from the row line blOl and thus from the terminal bi. The switching device Sbl of the analog switch 65 shown in Fig. 14A is turned on. A voltage corresponding to the bight amount "1" obtainable from the bight reference voltage circuit 230 is supplied through the conducting switching device Sbl to the bight output terminal Vbout. The direct current motor 43 shown in Figs. 1 and 2 is rotated by the voltage, whereby the needle bar support is rotated and thus the sewing needle 11 is swung in the arrow H direction. Accordingly, the sewing needle is brought to the position of the first stitch of the pattern example shown in Fig. 4A. The upper shaft 5 is further rotated and the second pulse is obtained from the feed pulse generator 19. The output F2 is obtained from the counter 77 and the switching device Sf5 of the analog switch 85 is turned on. Accordingly, a voltage corresponding to the feed amount "+2" obtainable from the reference voltage circuit 232 is withdrawn at the output terminal Vfout of the analog switch 85, whereby the direct current motor 37 is driven thereby. The upper shaft 5 is further rotated and the second pulse is obtained from the bight pulse generator 17. The output Q2 is obtained from the counter 55. The switching device Sbl of the analog switch 65 is turned on. Accordingly, a voltage corresponding to the bight amount "1 is obtainable from the reference voltage circuit 230 is withdrawn through the switching device Sbl at the output terminal About. As a result, the direct current motor 43 is driven and the bight width is determined. Thus, the feed voltage and the bight voltage associated with the stitch are withdrawn responsive to the pulse signals for each stitch obtainable from the feed pulse generator 19 and the bight pulse generator 17. The direct current motor 37 for controlling the feed and the direct current motor 43 for controlling the bight are driven thereby, whereby a prescribed feed amount and the bight width, are achieved. When the sixth pulse indicating the final stitch of the pattern P1 is obtained from the feed pulse generator 19 and the bight pulse generator 17, the counters 77 and 55 return to the initial state, whereupon the outputs F1 and Q1 are obtained responsive to the seventh pulse. This is achieved by the presetting function of the switch decoder 53. In the embodiment shown in Figs. 11 to 14, the number of divisions of the coordinates for the feed and bight was five. If the number of divisions of the coordinate is selected to be the same for the feed and for the bight, the means for generating the different voltages including the stabilized voltage source can be commonly utilized for both the feed and bight. Figs. 15 and 16 show embodiments of circuits which may be utilized in place of the bight resistor network 57 and the analog switch 59 shown in Fig. 2. Similar circuits may be substituted for the feed resistor network 79 and the analog switch 81. Referring to Fig. 15, the analog switch 59 further comprises an analog switch group 590. Referring to Fig. 16, the analog switch 81 further comprises an analog switch group 810. The embodiment shown has been configured in such a circuit that is capable of sewing three patterns P1, P2 and P3 as shown in Figs. 17A, 17B and 17D. The bight resistor network or resistor chain 57 comprises a series connection of say twelve resistors, in which one end of the series connection is connected to the ground while the other end of the series connection is connected to receive a bight voltage Vb from a stabilized voltage source, not shown. The bight resistor network or resistor chain 57 comprises junctions Qto to e corresponding to the bight coordinate positions 0 to 12 shown in Figs. 17A, 17B and 17D. The first bight analog switch group 590 comprises one or more analog switches for each of the patterns P1, P2 and P3. For example, the pattern Pl is a straight stitch pattern as shown in Fig. 17A and to that end only one analog switch bl is provided. The pattern P2 is a stretch stitch pattern as shown in Fig. 17B and to that end six analog switches b21, b22, b23 b26 are provided. The pattern P3 is a zigzag stitch pattern shown in Fig. 17D and to that end two analog switches b31 and b32 are provided. Accordingly, the switch which is turned on responsive to the signal PT1 from the switch decorder 53 is connected to agate of the above described analog switch bl. The switch which is turned on responsive to the signal PT2 obtained from the switch decorder 53 is commonly connected to the gates of the analog switches b21, b22, b23 b26. The switch which is turned on responsive to the signal PT3 obtained from the switch decorder 53 is connected to the gates of the above described analog switches b31 and b32. On the other hand, the second bight analog switch group 59 comprises a plurality (n) of analog switches 591, 592, 593 59n. The analog switch group 59 is implemented by the analog switches of the number n corresponding to the stitches of the pattern having the largest number of stitches among the plurality of patterns being sewn. The respective analog switches 591 to 59n are supplied with the count signals C1 to Cn from the bight counter 55 shown in Fig. 2 to be enabled. The outputs of the respective analog switches 591 to 59n are commonly connected to the bight voltage withdrawing terminal Vbout. More specifically, the input of the analog switch bl corresponding to the pattern P1 included in the bight analog switch group 590 is connected to the junction 6 of the bight resistor chain 57 and the output of the analog switch bl corresponding to the pattern P1 is connected to the input of the analog switch 591 included in the bight analog switch group 59. Similarly, the analog switches b21, b22, b23, b24, b25 and b26 corresponding to the pattern P2 have the respective inputs connected to the junctions , 02, Qo, Go, Qo and 012 of the bight resistor chain 57 and the respective outputs connected to the input of the analog switch 591, the input of the analog switch 592, the input of the analog switch 593, the input of the analog switch 594, the input of the analog switch 595 and the input of,the analog switch 596 included in the analog switch group 59. The inputs of the analog switches b31 and b32 corresponding to the pattern P3 are connected to the junctions 12 and 0 of the bight resistor chain 57 and the outputs of the analog switches b31 and b32 corresponding to the pattern P3 are connected to the inputs of the analog switches 591 and 592 of the above described analog switch group 59. Such connection of the bight analog switch group 590 will be better understood with reference to the respective pattern diagrams shown in Figs. 17A, 17B and 17D. The feed analog switch group 810, the feed resistor network or resistor chain 79 and the feed analog switch group 81 may be similarly structured. More specifically, the feed resistor chain 79 comprises a series connection of twelve resistors, in which one end of the series connection is connected to the ground while the other end of the series connection is connected to receive a feed voltage Vf from a stabilized voltage source, not shown. The junctions -5, -4, -3, -2, -1, 0, +1, +2, +3, +4, +5 and +6, are adapted to generate voltages corresponding to the feed amounts as shown in Figs. 17A, 17B and 17D. The feed analog switch group 810 has an analog switch fl corresponding to the pattern P1, analog switches f21, f22, f23 f26 corresponding to the pattern P2 and an analog switch f3 corresponding to the pattern P3. The feed analog switch group 81 comprises a plurality (n) of analog switches 811 to 81n as in the case of the previously described bight analog switch group 59, such that the respective analog switches 811 to 81n are controlled responsive to the count signals C1 to Cn of the feed counter 77 shown in Fig. 2. The outputs of the respective analog switches 811 to 81n included in the feed analog switch group 81 are commonly connected to the feed voltage withdrawing terminal Vf out. The input of the analog switch fl included in the feed analog switch group 810 is connected to the junction 8 of the feed resistor chain 79 and the output of the analog switch fl is connected to the input of the analog switch 811 of the analog switch group 81. The inputs of the analog switches f21, f22, f23, f24, f25 and f26 are connected to the junctions Q+6, Q+6, Q6, , and G-6 respectively, of the resistor chain 79 and the outputs of the analog switches f21 to f26 are connected to the inputs of the analog switches 811, 812, 813, 814, 815 and 816, respectively. The input of the analog switch f3 is connected to the junction +2 of the resistor chain 79 and the output of the analog switch f3 is connected to the input of the analog switch 811. A bight voltage corresponding to the coordinate position for each stitch is withdrawn from the bight voltage withdrawing terminal Vbout of the above described bight analog switch group 59. On the other hand, a feed voltage corresponding to a feed amount for each stitch is withdrawn from the feed voltage withdrawing terminal Vf out of the feed analog switch group 81. Since the structural features were described, an operation of the embodiment will be described in the following. In operation, by way of an example, description will be made of a case in which a stretch stitch pattern as shown in Fig. 17B is to be sewn. To that end, first the pattern selection switch P2 corresponding to the stretch stitch pattern P2 included in the pattern selection switch 51 is depressed. Then a signal having information of the stitch number of the stretch stitch pattern n = 6 is fed to the bight counter 55 and the feed counter 77. At the same time, the signal PT2 corresponding to the pattern P2 is withdrawn from the switch decorder 53. The switch of the bight analog switch group 590 and the switch of the feed analog switch group 810 are turned on responsive to the signal PT2. If and when these switches are turned on, the signal is applied to the gates of the analog switches b21, b22, b23 b26, so that these analog switches b21 to b26 are turned on. The analog switches f21, f22, f23 f26 of the feed analog switch group 810 are also turned on. If and when the main shaft is rotated in such a situation, the bight pulse and the feed pulse are in succession generated by the bight pulse generator 17 and the feed pulse generator 19, respectively, in association with rotation of the main shaft 5 (Fig. 1). The bight pulse is applied to the bight counter 55 and the feed pulse is applied to the feed counter 77. Considering a case where the main shaft 5 makes one roration, the counters 55 and 77 both make a counting operation of "1", so that the signal C1 is obtained. Accordingly, the analog switch 591 of the bight analog switch group 59 and the analog switch 810 of the feed analog switch group 81 are turned on. Therefore, a voltage obtained from the junction &commat; or the bight resistor chain 57 through the analog switch b21 is withdrawn from the analog switch 591 and thus from the bight voltage withdrawing terminal Vbout. At the same time, a voltage obtained from the junction ±6of or the feed resistor chain 79 through the analog switch f21 is withdrawn from the analog switch 811 of the feed analog switch group 81 and thus from the feed voltage withdrawing terminal Vfout. Therefore, the direct current motors 43 and 37 are rotated responsive to the bight voltage and the feed voltage. When the main shaft 5 is rotated two times, the bight counter 55 and the feed counter 77 both make a count operation of "2", thereby to provide the signal C2. Accordingly a voltage obtained from the junction 12 of the bight resistor chain 57 through the analog switches b22 and 592 is withdrawn from the bight voltage withdrawing terminal About. A voltage obtained from the junction(+6)of &commat; or the feed resistor chain 79 through the analog switches f22 and 812 is withdrawn from the feed voltage withdrawing terminal Vf out. Accordingly, again the direct current motors 43 and 37 are controllably driven. Thereafter the main shaft 5 is similarly rotated three to six times, while the bight coordinate position and the feed amount as shown in Fig. 17C are attained, thereby to complete one cycle of the stretch stitch pattern. The same applies to the straight stitch operation as shown in Fig. 17A. In the case where the feed amount is constant +2 in the zigzag stitch pattern) as in case of such a zigzag stitch pattern as shown in Fig. 17D, it would be appreciated that since the number of the first feed analog switches may be one irrespective of the number of stitches of the pattern the signal from the switch decoder 53 to the feed counter 77 may be a signal of the count number "1" irrespective of the number of stitches of the pattern to sew a zigzag stitch pattern. It should be pointed out that such stitch patterns are shown only by way of an illustration and any other various patterns may be sewn with simplicity by properly changing the structure and connection of the analog switch group. Various changes and modifications may be made in the above described apparatus without deviating from the spirit of the scope of the present invention. For example, while a voltage divider circuit including resistors is employed for obtaining a plurality of reference voltages, other types of the circuits may be employed. In addition, although direct current motors, pulse motors or servo-motors are employed as displacement contolling means, solenoids may be employed. Various featues of the present invention are set forth in the following claims.

Claims: CLAIMS: 1. A sewing machine having feed means (13,31 to 35,37,83 to 1031 operable to feed cloth being sewn, and bight means (43,45 to 49, 61 to 75) for swinging a sewing needle in a direction transverse to the cloth feeding direction, the displacements caused by said feed and bight means during sewing being controllable by respective reference voltages applied thereto so as to produce a predetermined stitch pattern, 'characte'rised by feed reference voltage generating means (79) for generating a plurality of different feed reference voltages for causing different feed displacements, feed switching means C81) for selectively applying said feed reference voltages to said feed means (37,etc.), bight reference voltage generating means (57) for generating a plurality of different bight reference voltages for causing different bight displacements, bight switching means (59) for selectively applying said bight reference voltages to said bight means (43, etc.), and means (17,19,55,77) operable, for each stitch of said pattern, to control said feed and bight switching means (81,59) so as to cause selected feed and bight reference voltages to be applied to said feed and bight means (37,43, etc.). 2. A sewing machine as claimed in claim 1 characterised n that said control means comprises time signal generating means (17,197 for generating a time signal for each stitch in said pattern1 and counter means (55,77) for counting in response to said time signal and having an output for controlling said feed and bight switching means (81,59). 3. A sewing machine as claimed in claim 1 or 2, characterised in that said feed reference voltage generating means (79) and said bight reference voltage generating means (57) each include a voltage divider (Rfl,Rbl) having a plurality of taps-for supplying said plurality of reference voltages. 4. A sewing machine as claimed in claim 3, ch-aracterised in''that each said voltage divider (Rfl,Rbl) comprises a network formed by a series connection of a plurality of resistor components (Rfl1 to Rfl9, Rbll to Rb191 coupled to receive a predetermined voltage. across the ends of said series connection. 5. A sewing machine as claimed in claim 4, chara;cteris'e'd in at said series connection of resistor components is formed by a plurality of resistor elements formed on a chip. 6. A sewing machine as claimed in claim 2 or any claim appendent thereto, cha'ractertsed in that said counter means (55,77) has a maximum count equal to the number of stitches in the pattern. 7. A sewing machine as claimed in claim 6, characterised in that said timing signal generating means (17,19) comprises feed timing signal generating means (19) provided for said feed means (37,etc.) and bight timing signal generating means (17) provided for said bight means (43,etc.). 8. A sewing machine as claimed in claim 7, ch ràcterised in that said counter means (55,77) comprises feed counter means (77) operatively coupled to said feed switching means (81) for selectively rendering conductive switching devices (Qfl to QflO) of said feed switching means (81), and bight counter means (551 operatively coupled to said bight switching means (59) for selectively rendering conductive switching devices (Qbl to QblO) of said bight switching means (59). 9. A sewing machine as claimed in any one of the preceding claims, ckar-a-ct'e'rise'd by pattern selecting means (51) for selecting a desired one of a plurality of stitch patterns to be sewn, and wherein said feed reference voltage generating means (79) comprises a plurality of feed reference voltage generators (Rfl to Rfn) each associated with a respective one of said plurality of patterns being responsive to said pattern selecting means (51) to be selectively enabled for generating a plurality of different voltages for controlling said feed means (37,etc.), said bight reference voltage generating means (.57) comprises a plurality of bight reference voltage generators (Rbl to Rbn) each associated with a respective one of said plurality of patterns and being responsive to said pattern selecting means (5) to be selectively enabled for generating a plurality of different reference voltages for controlling said bight means (43, etc.), said feed switching means (81) includes a plurality of switching devices (Qfl to QflOr for selectively coupling said plurality of feed reference voltages from said selected feed reference voltage generator (Rfl to Rfn) to said feed means (37,etc.l, and said bight switching means (59) includes a plurality of switching devices (Qbl to QblO) for selectively coupling said plurality of bight reference voltages from said selected bight reference voltage generator (Rbl to Rbn) to said bight means (43,etc,). 10. A sewing machine as claimed in claim 9, characte-rised in that each said switching means (81,59) comprises a plurality of switching devices (Qfl to QflO, Qbl to QblO) the number of which is equal to the number of stitches in one cycle of the corresponding pattern to be sewn, each being coupled to a voltage output point, of a value corresponding to the coordinate position of each stitch, of the corresponding reference voltage generator (Rfl to RflO, Rbl to RblO). 11. A sewing machine 'as claimed in claim 9 or 10, as appendent to claim 2, characterised in that said counter means includes a plurality of counters (Figs. 6 and 8, CT1 to CTn) each for a respective stitch pattern and each operable to count in response to said timing signal, the output of each counter being operable to control the switching devices of said feed switching means and said bight switching means. 12. A sewing machine as claimed in any one of claims 8 to 11, -ch'a'racte-ris'ed in: that each of said switching devices is a field effect transistor. 13. A sewing machine as claimed in claim 9, chacterised 'in that said feed switching means (Fig.16) comprises a plurality of first switching devices (F1,F3,F23 to F26) each serially connected to one of a plurality of second swittiling devices (811 to 81n) for selectively coupling said plurality of feed reference voltages to said feed means, and said bight switching means (Fig. 15) comprises a plurality of first switching devices (b1,b21 to b25, b31,b32) each serially connected to one of a plurality of second switching devices (591 to 59n) for selectively coupling said plurality of bight reference voltages to said bight means, said pattern selecting means (51) being operable to selectively render conductive predetermined ones of said first switching devices, and said control means (17,19,55,77) being operable to selectively render conductive said second switching devices of said feed switching means and said bight switching means. 14. A sewing machine as claimed in claim 2, characterised in that said feed reference voltage generating means comprises a feed resistor network (Fig.14B, 232) including a series connection of a plurality of resistor elements adapted to be supplied with a voltage across the ends of said series connection, and said bight reference voltage generating means comprises a bight resistor network (Fig.l4A, 230) including a series connection of a plurality of resistor elements adapted to be supplied with a voltage across the ends of said series connection, the sewing machine further comprising: : a matrix (Fig.12, 234,236) including a plurality of column lines (L1 to Lnl and a plurality of sets of row lines (rfl to rf5, rbl to rub52, the number of sets of row lines corresponding to the number of reference voltages, the intersections between each column line and said row lines being selectively coupled in a logical product fashion in accordance with a respective one of a plurality of stitch patterns, said feed switching means including a plurality of switching devices (Sfl to Sf5 each adapted to be turned on in response to an output from a respective set of row lines of said matrix for selectively coupling the reference voltages of said feed resistor network to said feed means, said bight switching means including a plurality of switching devices (Sbl to <RTI ID=60.4> Sb51 each adapted to be turned on in response to an output from a respective set of row lines of said matrix for selectively coupling the reference voltages of said bight resistor network to said bight means, and said counter means being operable to selectively and sequentially render conductive the sets of row lines in said matrix. 15. A machine as claimed in claim 14, c-haracte-rised in'that said counter means is operable to count up to a number corresponding to the number of stitches in one cycle of a pattern being sewn. 16. A machine as claimed in claim 15, characterised in that the number of row lines in each set corresponds to the number of stitches. 17. A machine as claimed in any one of claims 14 to 16, characte-ris'e'd in that pattern selecting means (51) is provided for selecting any of said plurality of patterns, and means (53) responsive to said selection of said pattern selecting means is- provided for rendering effective the corresponding column line among said plurality of column lines ('L1 to Ln). 18. A machine as claimed in any one of claims 14 to 17, -cil & acteri-sed in tilat each of said resistor networks (230,232) comprises: a stabilized voltage source (STB,STF), and a resistor voltage dividing circuit (Rb1 to Rb5, Rf1 to Rf5) coupled to said stabilized voltage source for dividing the output of said stabilized voltage source into a plurality of voltage values. 19. A machine as claimed in any one of the preceding claims, characterised in that each of said feed and bight means comprises servo-amplifier means (99,101; 71,73) coupled to receive a respective control voltage, servo-motor means (37;432 coupled to be energized by the output of said servo-amplifier means, and position detecting means ClO3;?5) coupled to said servo-motor means for detecting a rotational position of said servo-motor means for feeding back the output to said servo-amplifier means. 20. A machine as claimed in any one of claims 1 to 18, characterised in' that each of said feed and bight means includes voltage/pulse converting means (111;1052 responsive to a respective control voltage for converting said control voltage into a train of pulses the number of which is associated with said control voltage, and pulse motor means (37a,43a)' coupled to said voltage/ pulse converter means to be energized by the pulses from said voltage/pulse converter means.

Inventors: MATSUMURA, NOBUYOSHI
Applicants: MARUZEN SEWING MACHINE CO. LTD
Application year: 1979
Main classification: G05B19
IPC codes: G05B19, D05B3, D05B19