JP2009201621A - Sewing machine and sewing machine control program - Google Patents

Sewing machine and sewing machine control program Download PDF

Info

Publication number
JP2009201621A
JP2009201621A JP2008045439A JP2008045439A JP2009201621A JP 2009201621 A JP2009201621 A JP 2009201621A JP 2008045439 A JP2008045439 A JP 2008045439A JP 2008045439 A JP2008045439 A JP 2008045439A JP 2009201621 A JP2009201621 A JP 2009201621A
Authority
JP
Japan
Prior art keywords
sewing
needle
sewing machine
head
waiting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2008045439A
Other languages
Japanese (ja)
Inventor
Hiroyuki Suzuki
裕之 鈴木
Shoichi Taguchi
彰一 田口
Masayuki Iwata
将之 岩田
Kei Kawase
啓 川瀬
Yoshio Sugiura
好生 杉浦
Motoshi Kishi
素志 岸
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2008045439A priority Critical patent/JP2009201621A/en
Priority to US12/379,414 priority patent/US20090266282A1/en
Publication of JP2009201621A publication Critical patent/JP2009201621A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • DTEXTILES; PAPER
    • D05SEWING; EMBROIDERING; TUFTING
    • D05BSEWING
    • D05B19/00Programme-controlled sewing machines
    • D05B19/02Sewing machines having electronic memory or microprocessor control unit
    • D05B19/04Sewing machines having electronic memory or microprocessor control unit characterised by memory aspects
    • D05B19/10Arrangements for selecting combinations of stitch or pattern data from memory ; Handling data in order to control stitch format, e.g. size, direction, mirror image

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Textile Engineering (AREA)
  • Sewing Machines And Sewing (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a sewing machine capable of setting a sewing condition by a simple method, having no need of changing and setting the sewing condition in the middle of sewing, and having no need of post-processing after sewing, and a sewing machine control program. <P>SOLUTION: Marking needles 501-504 corresponding to a sewing pattern are used to fix working cloth 60. The sewing machine photographs the head parts 511-514 of the marking needles 501-504 by an image sensor, recognizes the shape by image processing, specifies the sewing pattern corresponding to the shape, and executes sewing processing. By that, blind stitching is executed in the case of recognizing the head part 511 in a "star" shape, zigzag stitching is executed in the case of recognizing the head part 512 in a "triangular" shape, straight stitching is executed in the case of recognizing the head part 513 in a "round" shape, and the sewing processing is stopped in the case of recognizing the head part 514 in an "×" shape. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明はミシン及びミシン制御プログラムに関する。そしてより詳細には、加工布上に配置された標識に基づいて縫製を実行するミシン、及びミシン制御プログラムに関する。   The present invention relates to a sewing machine and a sewing machine control program. More specifically, the present invention relates to a sewing machine that executes sewing based on a mark arranged on a work cloth, and a sewing machine control program.

従来から、ミシンを用いて縫製対象である加工布を縫製する場合には、加工布にチャコペン、仕付け糸、待ち針等で縫製する箇所に印を付け、この印に従って縫製を行うことが一般的に行われている。この場合、縫製者は、加工布につけられた印を目安にして加工布を移動させながら、適宜、縫製条件(縫製速度や縫い方等)を自分で変更しつつ縫製を行う必要があるため、複雑な模様を縫製するためには、操作を習熟することが必要となる。   Conventionally, when sewing a work cloth that is to be sewn using a sewing machine, it is common to mark the work cloth with a chaco pen, sewing thread, waiting needle, etc., and perform sewing according to this mark. Has been done. In this case, the sewer needs to perform sewing while changing the sewing conditions (sewing speed, sewing method, etc.) by himself / herself appropriately while moving the work cloth with reference to the mark on the work cloth. In order to sew a complex pattern, it is necessary to master the operation.

このような中、加工布上に描かれた基線を撮像し、その基線幅や基線色を検知して対応するステッチ幅と糸色を特定することにより、基線に沿った種々の縫目模様の縫製を自動的に行うことが可能なミシンが提案されている(例えば、特許文献1参照)。
特開2007−289653号公報
Under such circumstances, by imaging the base line drawn on the work cloth, detecting the base line width and base line color and specifying the corresponding stitch width and thread color, various stitch patterns along the base line A sewing machine capable of automatically performing sewing has been proposed (see, for example, Patent Document 1).
JP 2007-289653 A

しかしながら、特許文献1に記載のミシンでは、縫製が行われた後、加工布上に描かれた基線を消去する必要があるという問題点があった。   However, the sewing machine described in Patent Document 1 has a problem in that it is necessary to erase the base line drawn on the work cloth after sewing.

本発明は上記課題を解決するためになされたものであり、簡易な方法で縫製条件を設定することが可能であるとともに、縫製条件の変更設定を縫製途中で行う必要がなく、縫製後の後処理が不要なミシン、及びミシン制御プログラムを提供することを目的とする。   The present invention has been made in order to solve the above-mentioned problems, and it is possible to set the sewing conditions by a simple method, and it is not necessary to change and set the sewing conditions during the sewing. It is an object to provide a sewing machine that does not require processing and a sewing machine control program.

上記課題を解決するために、請求項1に係る発明のミシンは、縫針が装着された針棒と、当該針棒を上下方向に駆動させる針棒機構をミシン主軸を介して駆動するミシンモータとから構成される縫製手段により、加工布上に縫製を行うミシンであって、縫製条件を特定するために前記加工布上に配置された標識を撮像可能な撮像手段と、前記撮像手段により撮像された結果得られる像の形態的特徴を判別する判別手段と、前記形態的特徴と、縫製条件に関する情報である縫製条件情報とを対応付けて記憶する縫製条件記憶手段と、前記判別手段により判別された前記形態的特徴に対応する縫製条件情報を、前記縫製条件記憶手段から読み出す読み出し手段と、前記読み出し手段によって読み出された前記縫製条件情報に基づいて縫製条件を特定し、前記縫製手段を制御して縫製を行う制御手段とを備えている。   In order to solve the above-described problems, a sewing machine according to a first aspect of the present invention includes a needle bar on which a sewing needle is attached, a sewing machine motor that drives a needle bar mechanism that drives the needle bar in the vertical direction via a sewing machine main shaft. A sewing machine that performs sewing on a work cloth by means of sewing means configured to include an image pickup means capable of picking up an image of a marker arranged on the work cloth in order to specify sewing conditions; and an image picked up by the image pickup means Discriminating means for discriminating the morphological characteristics of the image obtained as a result, sewing condition storage means for storing the morphological characteristics in association with sewing condition information which is information relating to the sewing conditions, and the discriminating means. The sewing condition information corresponding to the morphological feature is read out from the sewing condition storage means, and the sewing condition is specified based on the sewing condition information read out by the reading means. And, and a control means for controlling to sewing the sewing means.

また、請求項2に係る発明のミシンは、請求項1に記載の発明の構成に加え、前記判別手段は、前記形態的特徴として、前記標識の形状、色彩、及び密集度のうち少なくとも1つを判別することを特徴とする。   According to a second aspect of the present invention, in addition to the configuration of the first aspect of the invention, the discriminating means has at least one of the shape, color, and density of the sign as the morphological feature. It is characterized by distinguishing.

また、請求項3に係る発明のミシンは、請求項1又は2に記載の発明の構成に加え、前記針棒を布送り方向に対して左右方向に揺動させる針振り機構を駆動する針振り用モータと、ミシンベッド上の前記加工布を所定の送り量で移送する布送り機構の送り量を調整する送り量調整用モータとをさらに備え、前記縫製条件情報は、前記ミシン主軸の回転速度に関するデータである縫製速度データ、前記針振り機構による前記縫針の左右方向の移動量に関するデータである針振り量データ、及び前記布送り機構による前記加工布の送り量に関するデータである送り量データのうち少なくとも1つを含み、前記制御手段は、前記ミシンモータ、前記針振り用モータ、及び前記送り量調整用モータのうち少なくとも1つを制御することを特徴とする。   Further, the sewing machine of the invention according to claim 3 is a needle swing that drives a needle swing mechanism that swings the needle bar in the left-right direction with respect to the cloth feed direction in addition to the configuration of the invention according to claim 1 or 2. And a feed amount adjusting motor that adjusts the feed amount of a cloth feed mechanism that transports the work cloth on the sewing bed at a predetermined feed amount, and the sewing condition information is the rotational speed of the sewing machine main shaft. Sewing speed data that is data related to the sewing machine, needle swing amount data that is data related to the amount of movement of the sewing needle in the left-right direction by the needle swing mechanism, and feed amount data that is data related to the feed amount of the work cloth by the cloth feed mechanism Including at least one of them, and the control means controls at least one of the sewing machine motor, the needle swinging motor, and the feed amount adjusting motor.

また、請求項4に係る発明のミシンは、請求項1乃至3のいずれかに記載の発明の構成に加え、前記標識は、頭部と針部とを有する待ち針であることを特徴とする。   A sewing machine according to a fourth aspect of the invention is characterized in that, in addition to the configuration of the invention according to any one of the first to third aspects, the marker is a waiting needle having a head portion and a needle portion.

また、請求項5に係る発明のミシンは、請求項1乃至3のいずれかに記載の発明の構成に加え、前記標識は、一方の面に粘着層を有したラベル上のシールであることを特徴とする。   The sewing machine of the invention according to claim 5 is characterized in that, in addition to the configuration of the invention according to any of claims 1 to 3, the label is a seal on a label having an adhesive layer on one side. Features.

また、請求項6に係る発明のミシン制御プログラムは、請求項1乃至5のいずれかに記載のミシンの各種処理手段としてコンピュータを機能させる。   According to a sixth aspect of the present invention, there is provided a sewing machine control program that causes a computer to function as various processing means of the sewing machine according to any one of the first to fifth aspects.

請求項1に係る発明のミシンでは、予め加工布に配置された標識に基づいて縫製条件が特定され、縫製が実行される。従って、作業中に縫製作業を中断して縫製条件を設定する操作が不要となるため、縫製操作に慣れていない初心者等であっても、縫製条件が複雑に組み合わされた模様を縫製することが可能となる。   In the sewing machine according to the first aspect of the invention, the sewing conditions are specified on the basis of the markers previously arranged on the work cloth, and the sewing is executed. Therefore, since the operation of interrupting the sewing operation during the operation and setting the sewing conditions is unnecessary, even a beginner who is not familiar with the sewing operation can sew a pattern in which the sewing conditions are combined in a complicated manner. It becomes possible.

また、請求項2に係る発明のミシンでは、標識の形状、色彩、及び、密集度の少なくとも1つの形態的特徴が、あらかじめ縫製条件に対応付けられている。従って、請求項1に記載の発明の効果に加えて、標識が加工布に配置されている状態で、縫製条件を視覚的に認識し易くなるため、縫製操作に慣れていない初心者であっても、容易に複雑な模様の縫製を行うことが可能となる。   In the sewing machine according to the second aspect of the present invention, at least one morphological feature of the shape, color, and density of the sign is associated with the sewing conditions in advance. Therefore, in addition to the effect of the invention according to claim 1, since it becomes easy to visually recognize the sewing condition in a state where the mark is arranged on the work cloth, even a beginner who is not familiar with the sewing operation This makes it possible to easily sew complex patterns.

また、請求項3に係る発明のミシンでは、請求項1又は2に記載の発明の効果に加えて、所望の位置に標識を配置しておくだけで、縫製速度、針振り量、及び布送り量といった各縫製条件を容易に設定することが可能となるため、初心者でも容易に複雑な模様の縫製を行うことが可能となる。   Further, in the sewing machine of the invention according to claim 3, in addition to the effect of the invention of claim 1 or 2, the sewing speed, the amount of needle swing, and the cloth feed can be obtained only by placing a marker at a desired position. Since each sewing condition such as the amount can be easily set, even a beginner can easily sew a complicated pattern.

また、請求項4に係る発明のミシンでは、標識が待ち針により構成されているため、請求項1乃至3のいずれかに記載の発明の効果に加えて、縫製時に加工布を止めるために使用される待ち針を、縫製条件を特定するための標識としても使用することができる。このことによって、別途標識を配置する手間を省くことが可能となる。また、加工布への縫製が行われた後、配置されている標識を容易に取り除くことが可能となる。   Further, in the sewing machine of the invention according to claim 4, since the mark is constituted by a waiting needle, in addition to the effect of the invention according to any one of claims 1 to 3, it is used for stopping the work cloth at the time of sewing. The waiting needle can also be used as an indicator for specifying the sewing conditions. As a result, it is possible to save the trouble of separately arranging the signs. In addition, after the sewing to the work cloth, the arranged marker can be easily removed.

また、請求項5に係る発明のミシンでは、標識がラベル上のシートにより構成されているため、請求項1乃至3のいずれかに記載の発明の効果に加えて、加工布への縫製が行われた後、貼付されている標識を容易に取り除くことが可能となる。   Further, in the sewing machine of the invention according to claim 5, since the sign is constituted by a sheet on the label, in addition to the effect of the invention according to any one of claims 1 to 3, sewing to the work cloth is performed. After being broken, the attached label can be easily removed.

また、請求項6に係る発明のミシン制御プログラムでは、請求項1乃至5のいずれかに記載の発明の効果に加えて、ミシンの各種処理手段としてコンピュータを機能させることが可能となる。   Further, in the sewing machine control program of the invention according to claim 6, in addition to the effect of the invention according to any one of claims 1 to 5, the computer can function as various processing means of the sewing machine.

<第一の実施の形態> <First embodiment>

以下、本発明を具体化したミシン1の第一の実施の形態について、図面を参照して説明する。なお、これらの図面は、本発明が採用しうる技術的特徴を説明するために用いられるものであり、記載されている装置の構成、各種処理のフローチャートなどは、特に特定的な記載がない限り、それのみに限定する趣旨ではなく、単なる説明例である。   Hereinafter, a first embodiment of a sewing machine 1 embodying the present invention will be described with reference to the drawings. These drawings are used for explaining the technical features that can be adopted by the present invention, and the configuration of the apparatus described, the flowcharts of various processes, etc., unless otherwise specified. It is not intended to be limited to that, but merely an illustrative example.

まず、図1および図2を参照して、本実施形態に係るミシン1の物理的構成について説明する。図1は、ミシン1の斜視図であり、図2は、アーム部4の先端部であるアーム頭部4aの拡大図である。図1に示すように、ミシン1は、ベッド部2と、ベッド部2の右端部分にベッド部2から垂直方向に立設された脚柱部3と、脚柱部3の上端部から左方向へベッド部2に対向して延びるアーム部4と、アーム部4の先端部であるアーム頭部4aとを構成の主体とする。なお、ミシン1を操作するオペレータ(縫製者)が位置する側を前方とし、その反対側を後方とする。また、脚柱部3が位置する側を右方とし、その反対側を左方とする。   First, the physical configuration of the sewing machine 1 according to the present embodiment will be described with reference to FIGS. 1 and 2. FIG. 1 is a perspective view of the sewing machine 1, and FIG. 2 is an enlarged view of an arm head portion 4 a that is a tip portion of the arm portion 4. As shown in FIG. 1, the sewing machine 1 includes a bed portion 2, a leg column portion 3 erected vertically from the bed portion 2 at the right end portion of the bed portion 2, and a left direction from the upper end portion of the leg column portion 3. The main part of the configuration is an arm part 4 that extends opposite to the bed part 2 and an arm head part 4 a that is a tip part of the arm part 4. In addition, let the side in which the operator (sewing person) who operates the sewing machine 1 is located be the front, and the opposite side is the back. The side on which the pedestal 3 is located is the right side, and the opposite side is the left side.

ベッド部2には、針板11と、開閉可能な針板蓋12とが設けられている。針板11には後述の送り歯(図示外)が出没可能な角穴34が形成されている。また、針板11の下部には、下糸用ボビン(図示外)を収容する釜機構(図示外)が設けられ、針板蓋12を外した状態で、下糸用ボビンの着脱が可能となるよう構成されている。また、針板11の下部には、縫製対象である加工布を所定の送り量で移送するための送り歯(図示外)と、この送り歯を駆動する布送り機構(図示外)と、送り量を調整する送り量調整用モータ76(図3参照)とが設けられている。また、脚柱部3の下方にはミシンモータ77(図3参照)が設けられており、ミシンモータ77の駆動力が、駆動ベルト(図示外)を介してアーム部4内を左右方向へ伸びるミシン主軸(図示外)に伝達される。また、ミシンモータ77の駆動力は、ミシン主軸の途中部に設けられた伝達機構(図示外)により、ベッド部2内を左右方向に伸びる下軸(図示外)にも伝達されるようになっている。このような構成により、後述の針棒8や天秤機構(図示外)、釜機構(図示外)、布送り機構等が同期駆動される。   The bed 2 is provided with a needle plate 11 and a needle plate lid 12 that can be opened and closed. The needle plate 11 is formed with a square hole 34 in which a feed dog (not shown), which will be described later, can protrude and retract. Further, a hook mechanism (not shown) for accommodating a bobbin for lower thread (not shown) is provided below the needle plate 11, and the bobbin for lower thread can be attached and detached with the throat plate cover 12 removed. It is comprised so that it may become. Further, below the needle plate 11, a feed dog (not shown) for transferring the work cloth to be sewn at a predetermined feed amount, a cloth feed mechanism (not shown) for driving the feed dog, and a feed A feed amount adjusting motor 76 (see FIG. 3) for adjusting the amount is provided. A sewing machine motor 77 (see FIG. 3) is provided below the pedestal 3 and the driving force of the sewing machine motor 77 extends in the left-right direction in the arm 4 via a driving belt (not shown). It is transmitted to the sewing machine main shaft (not shown). Further, the driving force of the sewing machine motor 77 is transmitted to a lower shaft (not shown) extending in the left-right direction in the bed portion 2 by a transmission mechanism (not shown) provided in the middle of the sewing machine main shaft. ing. With such a configuration, a needle bar 8, a balance mechanism (not shown), a shuttle mechanism (not shown), a cloth feed mechanism, etc., which will be described later, are driven synchronously.

図1に示すように、脚柱部3には、縦長の液晶ディスプレイ10が設けられており、模様の設定や編集等、縫製作業に必要な各種の機能を実行させる機能名や、各種のメッセージ等が表示される。この液晶ディスプレイ10の前面にはタッチパネル111(図3参照)が備えられており、液晶ディスプレイ10に表示された項目を指や専用のペンで選択すると、タッチパネル111によりどの項目が選択されたかが感知される。これにより、液晶ディスプレイ10を介して種々の指示を入力することができる。また、脚柱部3の右側面には、コネクタ108(図3参照)が設けられている。このコネクタ108を介して、各種データや、各種プログラムをミシン1内部に取り込んだり、ミシン1外部に出力したりすることが可能である。   As shown in FIG. 1, the pedestal 3 is provided with a vertically long liquid crystal display 10, and function names and various messages for executing various functions necessary for sewing work such as pattern setting and editing. Etc. are displayed. A touch panel 111 (see FIG. 3) is provided on the front surface of the liquid crystal display 10. When an item displayed on the liquid crystal display 10 is selected with a finger or a dedicated pen, the touch panel 111 senses which item is selected. The As a result, various instructions can be input via the liquid crystal display 10. A connector 108 (see FIG. 3) is provided on the right side surface of the pedestal 3. Via this connector 108, various data and various programs can be taken into the sewing machine 1 or output to the outside of the sewing machine 1.

アーム部4の上部には、アーム部4の左右全長にわたって開閉カバー6が取り付けられている。この開閉カバー6は、アーム部4の左右方向の軸回りに開閉するよう、アーム部4の上側背面部に枢支されている。図1に示すように開閉カバー6を開くと、アーム部4の上面中央部近傍には、上糸が巻回された糸駒21を収容する凹部である糸駒収容部15が設けられており、糸駒収容部15の右側面から、糸駒21を支持するための糸立棒17がアーム部4に平行に設けられている。また、アーム頭部4aの下部には、縫針16(図2参照)が装着された針棒8が配設されている。そして、アーム頭部4a内には、縫針16が装着された針棒8を上下方向に駆動させる針棒機構(図示外)と、この針棒8を左右方向に揺動させる針振り用モータ78(図3参照)と、天秤機構(図示外)とが設けられている。さらに、針棒8の後方には、加工布を押える押え足13(図2参照)を下端に備えた押え棒14(図2参照)が設けられている。また、アーム部4には、糸駒21から引き出される上糸を、糸調子機構、糸取りバネ、および天秤(いずれも図示外)等を経由して、最終的に縫針16まで案内する糸案内溝7が設けられている。さらに、アーム部4の前面には、縫製動作の開始および停止を指示するための縫製開始・停止スイッチ91、返し縫いを指示する返し縫いスイッチ92、縫針16の位置を上下に切り換える針上下スイッチ93、縫製速度を設定する速度調整摘み94等、各種の縫製動作を指示するための複数の操作キー9が設けられている。   An opening / closing cover 6 is attached to the upper portion of the arm portion 4 over the entire length of the arm portion 4. The opening / closing cover 6 is pivotally supported on the upper back surface portion of the arm portion 4 so as to open / close around the left / right axis of the arm portion 4. As shown in FIG. 1, when the opening / closing cover 6 is opened, a thread spool accommodating portion 15, which is a recess for accommodating the thread spool 21 around which the upper thread is wound, is provided near the center of the upper surface of the arm portion 4. From the right side surface of the yarn spool accommodating portion 15, a spool pin 17 for supporting the yarn spool 21 is provided in parallel to the arm portion 4. In addition, a needle bar 8 on which a sewing needle 16 (see FIG. 2) is mounted is disposed below the arm head 4a. In the arm head 4a, a needle bar mechanism (not shown) that drives the needle bar 8 on which the sewing needle 16 is mounted in the vertical direction, and a needle swing motor 78 that swings the needle bar 8 in the horizontal direction. (See FIG. 3) and a balance mechanism (not shown). Further, a presser bar 14 (see FIG. 2) having a presser foot 13 (see FIG. 2) for pressing the work cloth at the lower end is provided behind the needle bar 8. Further, in the arm portion 4, a thread guide groove for finally guiding the upper thread drawn from the thread spool 21 to the sewing needle 16 via a thread tension mechanism, a thread take-up spring, a balance (not shown), and the like. 7 is provided. Further, on the front surface of the arm portion 4, a sewing start / stop switch 91 for instructing start and stop of a sewing operation, a reverse stitching switch 92 for instructing reverse stitching, a needle up / down switch 93 for switching the position of the sewing needle 16 up and down, and sewing A plurality of operation keys 9 for instructing various sewing operations, such as a speed adjustment knob 94 for setting the speed, are provided.

また、図2に示すように、アーム頭部4aにおける、針棒8の前方で且つ正面視にて針棒8のやや右方には、イメージセンサ30が、押え足13に形成された針落ち穴13aを含むその近傍の位置を撮影できるように取り付けられている。なお、針落ち穴13aは、縫針16が挿通可能な穴である。イメージセンサ30は、CMOSセンサ及び制御回路を備えており、CMOSセンサで画像を撮影する。本実施の形態では、図2に示すように、ミシン1の図示しないフレームに支持フレーム31が取り付けられており、その支持フレーム31にイメージセンサ30が固定されている。   In addition, as shown in FIG. 2, an image sensor 30 is formed on the presser foot 13 at the front of the needle bar 8 and slightly to the right of the needle bar 8 in the front view in the arm head 4 a. It is attached so that a position in the vicinity including the hole 13a can be photographed. The needle drop hole 13a is a hole through which the sewing needle 16 can be inserted. The image sensor 30 includes a CMOS sensor and a control circuit, and takes an image with the CMOS sensor. In the present embodiment, as shown in FIG. 2, a support frame 31 is attached to a frame (not shown) of the sewing machine 1, and the image sensor 30 is fixed to the support frame 31.

次に、図3を参照して、ミシン1の電気的構成について説明する。図3は、ミシン1の電気的構成を示すブロック図である。図3に示すように、ミシン1の制御系は、制御部100を核としている。制御部100は、CPU101、ROM102、RAM103、EEPROM104、外部アクセスRAM105、入力インターフェース(I/F)106、および出力I/F107から構成され、これらはバス110により相互に接続されている。そして、入力I/F106には、前述の縫製開始・停止スイッチ91、返し縫いスイッチ92、針上下スイッチ93、速度調整摘み94(いずれも図1参照)、タッチパネル111、およびイメージセンサ30(図2参照)がそれぞれ接続されている。また、出力I/F107には、送り歯による加工布の送り量を調整するための送り量調整用モータ76と、ミシンモータ77と、針棒8(図1参照)を左右方向に駆動する針振り用モータ78と、液晶ディスプレイ10(図1参照)とをそれぞれ駆動する駆動回路71、駆動回路72、駆動回路73、駆動回路74が接続されている。また、外部アクセスRAM105にはコネクタ108が接続されており、コネクタ108を介して、外部アクセスRAM105に記憶された情報をミシン1の外部に出力することができる。   Next, the electrical configuration of the sewing machine 1 will be described with reference to FIG. FIG. 3 is a block diagram showing an electrical configuration of the sewing machine 1. As shown in FIG. 3, the control system of the sewing machine 1 has the control unit 100 as a core. The control unit 100 includes a CPU 101, a ROM 102, a RAM 103, an EEPROM 104, an external access RAM 105, an input interface (I / F) 106, and an output I / F 107, which are connected to each other via a bus 110. The input I / F 106 includes the above-described sewing start / stop switch 91, reverse stitching switch 92, needle up / down switch 93, speed adjustment knob 94 (see FIG. 1), touch panel 111, and image sensor 30 (see FIG. 2). ) Are connected to each other. The output I / F 107 includes a feed amount adjusting motor 76 for adjusting the feed amount of the work cloth by the feed dog, a sewing machine motor 77, and a needle for driving the needle bar 8 (see FIG. 1) in the left-right direction. A drive circuit 71, a drive circuit 72, a drive circuit 73, and a drive circuit 74 for driving the swing motor 78 and the liquid crystal display 10 (see FIG. 1) are connected to each other. A connector 108 is connected to the external access RAM 105, and information stored in the external access RAM 105 can be output to the outside of the sewing machine 1 via the connector 108.

制御部100のCPU101は、ミシン1の主制御を司り、読み出し専用の記憶素子であるROM102の制御プログラム記憶領域201(図4参照)に記憶された各種のプログラムに従って、演算及び処理を実行するものである。また、RAM103は、任意に読み書き可能な記憶素子であり、各種のデータを一時的に記憶する記憶領域が設けられている。   The CPU 101 of the control unit 100 is responsible for the main control of the sewing machine 1 and executes operations and processes in accordance with various programs stored in the control program storage area 201 (see FIG. 4) of the ROM 102 which is a read-only storage element. It is. The RAM 103 is an arbitrarily readable / writable storage element, and is provided with a storage area for temporarily storing various data.

次に、図4を参照して、ROM102に設けられている記憶領域について説明する。図4は、ROM102に設けられている記憶領域を示す模式図である。図4に示すように、ROM102には、制御プログラム記憶領域201、初期設定情報記憶領域202、縫製条件記憶領域203、可能縫製条件記憶領域204、及びその他の記憶領域が設けられている。   Next, a storage area provided in the ROM 102 will be described with reference to FIG. FIG. 4 is a schematic diagram showing a storage area provided in the ROM 102. As shown in FIG. 4, the ROM 102 includes a control program storage area 201, an initial setting information storage area 202, a sewing condition storage area 203, a possible sewing condition storage area 204, and other storage areas.

これらの領域のうち、制御プログラム記憶領域201には、CPU101(図3参照)が待ち針50の頭部51(図6参照、後述)の形態的特徴認識処理や縫製制御処理(図8、及び図9参照)を実行するために必要な制御プログラムが記憶されている。また、初期設定情報記憶領域202には、CPU101の電源投入時やリセット発生時において読み出される初期設定情報が記憶されており、例えば縫製条件情報(後述)の初期値等が記憶されている。また、縫製条件記憶領域203には、縫製条件に関する情報である縫製条件情報が、認識された頭部51の形態的特徴のそれぞれに対応され記憶されている。縫製条件には、縫製模様、針振り量、布送り量、及び縫製速度が含まれている(図5参照、後述)。CPU101は、縫製条件記憶領域203に記憶されている複数の縫製条件情報のうちいずれかを選択して読み出し、RAM103の駆動縫製条件記憶領域(図示外、後述)に記憶する。そして、記憶した縫製条件情報に基づいて駆動回路71〜73(図3参照)を制御し、送り量調整用モータ76(図3参照)、ミシンモータ77(図3参照)、及び針振り用モータ78(図3参照)を駆動させている。   Among these areas, in the control program storage area 201, the CPU 101 (see FIG. 3) performs morphological feature recognition processing and sewing control processing (see FIGS. 8 and 8) of the head 51 of the waiting needle 50 (see FIG. 6). 9) is stored. A control program necessary for executing (9) is stored. The initial setting information storage area 202 stores initial setting information that is read when the CPU 101 is powered on or reset. For example, initial values of sewing condition information (described later) are stored. In the sewing condition storage area 203, sewing condition information, which is information related to the sewing conditions, is stored corresponding to each of the recognized morphological features of the head 51. The sewing conditions include a sewing pattern, a needle swing amount, a cloth feed amount, and a sewing speed (see FIG. 5, described later). The CPU 101 selects and reads one of a plurality of pieces of sewing condition information stored in the sewing condition storage area 203 and stores it in a drive sewing condition storage area (not shown, described later) of the RAM 103. Then, the drive circuits 71 to 73 (see FIG. 3) are controlled based on the stored sewing condition information, the feed amount adjusting motor 76 (see FIG. 3), the sewing machine motor 77 (see FIG. 3), and the needle swinging motor. 78 (see FIG. 3) is driven.

次に、RAM103に設けられている記憶領域について説明する。RAM103には、図示しないが、駆動縫製条件記憶領域、及びその他の記憶領域が設けられている。駆動縫製条件記憶領域には、実行中の縫製処理の縫製条件(縫製模様、針振り量、布送り量、縫製速度)が記憶される。CPU101(図3参照)は、駆動縫製条件記憶領域に記憶されている縫製条件情報のうち針振り量を参照し、針振り量に応じた針振り用モータ78(図3参照)の駆動量を算出する。そして、算出した駆動量に基づいて駆動回路73(図3参照)を制御している。また、記憶されている縫製条件情報のうち布送り量を参照し、布送り機構による送り歯の布送り量が記憶された布送り量となるような送り量調整用モータ76(図3参照)の駆動量を算出する。そして、算出した駆動量に基づいて駆動回路71を制御している。また、縫製条件情報のうち縫製速度に基づいて、ミシン主軸の回転速度がこの縫製速度になるようなミシンモータ77の回転速度を算出する。そして、算出した回転速度となるように駆動回路72を制御している。   Next, a storage area provided in the RAM 103 will be described. Although not shown, the RAM 103 is provided with a drive sewing condition storage area and other storage areas. In the drive sewing condition storage area, sewing conditions (sewing pattern, needle swing amount, cloth feed amount, sewing speed) of the sewing process being executed are stored. The CPU 101 (see FIG. 3) refers to the needle swing amount in the sewing condition information stored in the drive sewing condition storage area, and determines the drive amount of the needle swing motor 78 (see FIG. 3) according to the needle swing amount. calculate. The drive circuit 73 (see FIG. 3) is controlled based on the calculated drive amount. Further, the feed amount adjustment motor 76 (see FIG. 3) is referred to by referring to the cloth feed amount in the stored sewing condition information and the cloth feed amount of the feed dog by the cloth feed mechanism becomes the stored fabric feed amount. Is calculated. Then, the drive circuit 71 is controlled based on the calculated drive amount. Further, based on the sewing speed in the sewing condition information, the rotational speed of the sewing machine motor 77 is calculated so that the rotational speed of the sewing machine main shaft becomes the sewing speed. And the drive circuit 72 is controlled so that it may become the calculated rotational speed.

次いで、ROM102の縫製条件記憶領域203に記憶されている縫製条件情報の詳細について、図5を参照して説明する。図5は、ROM102の縫製条件記憶領域203を示す模式図である。なお、第一の実施の形態においては、待ち針50の頭部51(図6参照)の形態的特徴として頭部51の平面視形状を認識することによって、縫製条件を特定している。縫製条件記憶領域203には、縫製を実行する場合に必要となる縫製条件(縫製模様、針振り量、布送り量、縫製速度)が、頭部51の平面視形状毎に記憶されている。具体的には、図5に示すように、縫製条件として、縫製模様301、針振り量302、布送り量303、及び縫製速度304が記憶されており、これらの縫製条件が、待ち針50の頭部51の平面視形状別に記憶されている。   Next, details of the sewing condition information stored in the sewing condition storage area 203 of the ROM 102 will be described with reference to FIG. FIG. 5 is a schematic diagram showing the sewing condition storage area 203 of the ROM 102. In the first embodiment, the sewing condition is specified by recognizing the plan view shape of the head 51 as a morphological feature of the head 51 (see FIG. 6) of the waiting needle 50. The sewing condition storage area 203 stores sewing conditions (sewing pattern, needle swing amount, cloth feed amount, sewing speed) necessary for executing sewing for each shape of the head 51 in plan view. Specifically, as shown in FIG. 5, a sewing pattern 301, a needle swing amount 302, a cloth feed amount 303, and a sewing speed 304 are stored as sewing conditions, and these sewing conditions are stored in the head of the waiting needle 50. It is stored for each plan view shape of the part 51.

例えば、図5に示す例では、待ち針50の頭部51(図6参照)の平面視形状が「丸」である場合における縫製模様301は「直線」、針振り量302は「0mm」、布送り量303は「2.5mm」、縫製速度304は「低速(70rpm)」と記憶されている。また、頭部51の平面視形状が「ハート」である場合における縫製模様301は「直線」、針振り量302は「0mm」、布送り量303は「2.5mm」、縫製速度304は「高速(750rpm)」と記憶されている。また、頭部51の平面視形状が「三角」である場合における縫製模様301は「ジグザグ」、針振り量302は「2.0mm」、布送り量303は「1.4mm」、縫製速度304は「中速(410rpm)」と記憶されている。また、頭部51の平面視形状が「四角」である場合における縫製模様301は「ジグザグ」、針振り量302は「3.5mm」、布送り量303は「1.4mm」、縫製速度304は「高速(750rpm)」と記憶されている。また、頭部51の平面視形状が「星」である場合における縫製模様301は「まつり縫い」、針振り量302は「0mm」、布送り量303は「2.0mm」、縫製速度304は「低速(70rpm)」と記憶されている。また、頭部51の平面視形状が「×字」である場合には、縫製制御処理を停止させるために、縫製模様に「停止」が記憶されている。第一の実施の形態におけるミシン1(図1参照)のCPU101(図3参照)は、加工布上に突き刺された待ち針50の頭部51をイメージセンサ30(図2参照)により撮影し、その形状を認識する。そして、認識した形状に対応する縫製条件を縫製条件記憶領域203を参照することによって特定している。   For example, in the example shown in FIG. 5, the sewing pattern 301 is “straight line”, the needle swing amount 302 is “0 mm” when the shape of the head 51 (see FIG. 6) of the waiting needle 50 is “round”. The feed amount 303 is stored as “2.5 mm”, and the sewing speed 304 is stored as “low speed (70 rpm)”. Further, when the shape of the head 51 in plan view is “heart”, the sewing pattern 301 is “straight line”, the needle swing amount 302 is “0 mm”, the cloth feed amount 303 is “2.5 mm”, and the sewing speed 304 is “ “High speed (750 rpm)” is stored. Further, when the shape of the head 51 in plan view is “triangle”, the sewing pattern 301 is “zigzag”, the needle swing amount 302 is “2.0 mm”, the cloth feed amount 303 is “1.4 mm”, and the sewing speed 304 Is stored as “medium speed (410 rpm)”. When the shape of the head 51 in plan view is “square”, the sewing pattern 301 is “zigzag”, the needle swing amount 302 is “3.5 mm”, the cloth feed amount 303 is “1.4 mm”, and the sewing speed 304 Is stored as “high speed (750 rpm)”. Further, when the shape of the head 51 in plan view is “star”, the sewing pattern 301 is “festival stitching”, the needle swing amount 302 is “0 mm”, the cloth feed amount 303 is “2.0 mm”, and the sewing speed 304 is “Low speed (70 rpm)” is stored. When the shape of the head 51 in plan view is “x”, “stop” is stored in the sewing pattern in order to stop the sewing control process. The CPU 101 (see FIG. 3) of the sewing machine 1 (see FIG. 1) in the first embodiment photographs the head 51 of the waiting needle 50 pierced on the work cloth with the image sensor 30 (see FIG. 2). Recognize the shape. Then, the sewing condition corresponding to the recognized shape is specified by referring to the sewing condition storage area 203.

次に、図6を参照して、本実施の形態において使用される待ち針50の一例について説明する。図6は、待ち針50の物理的構成を示した平面図である。図6に示すように、待ち針50は、頭部51と、頭部51に接続された先端が尖った針部52とから構成されている。針部52は加工布に突き刺して止めるための部位である。頭部51は、プラスチック等で形成された板状部であり、針部52における尖端と反対側の端部に接続されている。図6に示す例においては、頭部51の平面視形状が「丸」である待ち針50が示されている。第一の実施の形態態においては、頭部51の平面視形状が異なる複数の待ち針50が加工布に突き刺され加工布に固定される。   Next, an example of the waiting needle 50 used in the present embodiment will be described with reference to FIG. FIG. 6 is a plan view showing a physical configuration of the waiting needle 50. As shown in FIG. 6, the waiting needle 50 includes a head 51 and a needle 52 having a sharp tip connected to the head 51. The needle part 52 is a part for piercing and stopping the work cloth. The head 51 is a plate-like portion formed of plastic or the like, and is connected to the end of the needle 52 that is opposite to the tip. In the example illustrated in FIG. 6, a waiting needle 50 in which the shape of the head 51 in plan view is “round” is illustrated. In the first embodiment, a plurality of waiting needles 50 having different shapes in plan view of the head 51 are pierced into the work cloth and fixed to the work cloth.

次に、図7を参照して、加工布60に固定された待ち針501〜504の様子について説明する。図7は、待ち針501〜504が固定されている状態でミシン1にセットされた加工布60の様子を示した図である。なお、オペレータが想定している縫製箇所を図中一点鎖線61にて示している。   Next, with reference to FIG. 7, the state of the waiting needles 501 to 504 fixed to the work cloth 60 will be described. FIG. 7 is a view showing a state of the work cloth 60 set on the sewing machine 1 in a state where the waiting needles 501 to 504 are fixed. In addition, the sewing part which the operator assumes is shown with the dashed-dotted line 61 in the figure.

図7においては、オペレータが、加工布60の右端に沿った直線状の一点鎖線61に沿って後方から前方に向けて縫製を行いたい場合(加工布60は、前方から後方に移送される)を想定している。このような場合、待ち針501〜504は、一点鎖線61に対して針部521〜524が直交し、加工布60の右端側から左方に針部521〜524の先端を向けた状態で加工布60に突き刺され固定される。そして、一点鎖線61の右側に待ち針501〜504の頭部511〜514が配置される。このように待ち針501〜504を配置することにより、イメージセンサ30(図2参照)の撮像領域内の押え足13の右方を、待ち針501〜504の頭部511〜514が、送り歯で加工布60が移送されるのに伴い、順次移動する。このようにミシン1(図1参照)が待ち針501〜504の頭部511〜514を撮影しながらその形状を認識し、縫製を行う。   In FIG. 7, the operator wants to sew from the rear to the front along the straight alternate long and short dash line 61 along the right end of the work cloth 60 (the work cloth 60 is transferred from the front to the rear). Is assumed. In such a case, the waiting needles 501 to 504 are made of a work cloth in a state where the needle parts 521 to 524 are orthogonal to the alternate long and short dash line 61 and the tips of the needle parts 521 to 524 are directed leftward from the right end side of the work cloth 60. 60 is inserted and fixed. The heads 511 to 514 of the waiting needles 501 to 504 are arranged on the right side of the alternate long and short dash line 61. By arranging the waiting needles 501 to 504 in this way, the heads 511 to 514 of the waiting needles 501 to 504 are processed with a feed dog on the right side of the presser foot 13 in the imaging region of the image sensor 30 (see FIG. 2). As the cloth 60 is transferred, it moves sequentially. In this way, the sewing machine 1 (see FIG. 1) recognizes the shape of the heads 511 to 514 of the waiting needles 501 to 504, and performs sewing.

例えば、図7に示す例においては、後方から前方にむけて順番に合計4本の待ち針501〜504が加工布60に突き刺され固定されている。このようにして、待ち針501〜504の針部521〜524によって加工布60が固定されるとともに、所定の縫い方で縫い始める位置や縫い終わる位置が特定される。具体的には、上方から「星」形状の待ち針501、「三角」形状の待ち針502、「丸」形状の待ち針503、「×字」形状の待ち針504の順に配置されている。   For example, in the example shown in FIG. 7, a total of four waiting needles 501 to 504 are inserted into the work cloth 60 and fixed in order from the rear to the front. In this manner, the work cloth 60 is fixed by the needle portions 521 to 524 of the waiting needles 501 to 504, and the position at which sewing is started and the position at which sewing is finished are specified. Specifically, a “star” shaped waiting needle 501, a “triangular” shaped waiting needle 502, a “round” shaped waiting needle 503, and an “×” shaped waiting needle 504 are arranged in this order from the top.

次いで、図8及び図9を参照して、ミシン1が備えるCPU101(図3参照)にて実行される縫製制御処理のフローチャートについて説明する。図8は、待ち針50の頭部51(図6参照)の形態的特徴に基づいて縫製を行う縫製制御処理のメインフローチャートであり、図9は、待ち針50の頭部51の形態的特徴に基づいて縫製条件を特定する縫製条件特定処理のサブルーティンフローチャートである。なお、図8および図9に示す処理を実行させるプログラムはROM102の制御プログラム記憶領域201(図4参照)に記憶されており、CPU101が実行する。   Next, with reference to FIG. 8 and FIG. 9, a flowchart of the sewing control process executed by the CPU 101 (see FIG. 3) provided in the sewing machine 1 will be described. FIG. 8 is a main flowchart of a sewing control process for performing sewing based on the morphological characteristics of the head 51 (see FIG. 6) of the waiting needle 50. FIG. 9 is based on the morphological characteristics of the head 51 of the waiting needle 50. 10 is a subroutine flowchart of a sewing condition specifying process for specifying a sewing condition. 8 and 9 is stored in a control program storage area 201 (see FIG. 4) of the ROM 102, and is executed by the CPU 101.

はじめに、図8を参照して、縫製制御処理のメインフローチャートについて説明する。図8のメインフローチャートは、オペレータによってミシン1の電源がONされると起動される処理である。   First, a main flowchart of the sewing control process will be described with reference to FIG. The main flowchart of FIG. 8 is a process that is started when the operator turns on the sewing machine 1.

図8に示すように、メインフローチャートが起動されると、はじめに、ミシン1の初期化処理が実行される。初期化処理では、CPU101によってROM102の初期設定情報記憶領域202より初期設定情報が読み出され(S11)、ここで読み出された初期設定情報のうち縫製条件の初期情報(縫製模様、針振り量、布送り量、縫製速度)がRAM103の駆動縫製条件記憶領域に記憶される。またこの状態で、液晶ディスプレイ10のタッチパネル111、速度調整摘み94等を介して各種設定情報が入力された場合には、入力された設定情報が縫製条件として駆動縫製条件記憶領域に記憶される。CPU101は、駆動縫製条件記憶領域に記憶された縫製条件情報に基づいて縫製制御処理を実行するため、この時点で駆動縫製条件記憶領域に記憶されている縫製模様、針振り量、布送り量、及び縫製速度(「駆動縫製条件」という。)が、デフォルト状態において実行される縫製制御処理の縫製条件となる。   As shown in FIG. 8, when the main flowchart is activated, first, initialization processing of the sewing machine 1 is executed. In the initialization process, the CPU 101 reads out the initial setting information from the initial setting information storage area 202 of the ROM 102 (S11), and among the initial setting information read out here, initial information on the sewing conditions (sewing pattern, needle swing amount). , The cloth feed amount and the sewing speed) are stored in the drive sewing condition storage area of the RAM 103. Further, in this state, when various setting information is input via the touch panel 111 of the liquid crystal display 10, the speed adjustment knob 94, etc., the input setting information is stored as a sewing condition in the drive sewing condition storage area. Since the CPU 101 executes the sewing control process based on the sewing condition information stored in the drive sewing condition storage area, the sewing pattern, needle swing amount, cloth feed amount stored in the drive sewing condition storage area at this time, The sewing speed (referred to as “drive sewing condition”) is the sewing condition of the sewing control process executed in the default state.

次いで、CPU101は、縫製開始・停止スイッチ91が一度押下げられたか否かによって、縫製開始が指示されたか否かを判断する(S13)。そして、オペレータにより縫製開始が指示されるまで待機し(S13:NO→S13)、オペレータにより縫製開始指示がなされた場合(S13:YES)、次いで、CPU101は、縫製終了が指示されたか否かを判断する(S14)。縫製開始・停止スイッチ91が再度押下げられた場合、縫製終了が指示されたと判断して(S14:YES)、新たな縫製を行う場合のために、実行中の縫製処理を停止し(S12)、再び設定情報の取得処理(S11)に戻る。   Next, the CPU 101 determines whether or not the sewing start has been instructed based on whether or not the sewing start / stop switch 91 has been pressed once (S13). Then, the CPU 101 waits until the sewing start is instructed by the operator (S13: NO → S13). When the sewing start instruction is made by the operator (S13: YES), the CPU 101 then determines whether or not the sewing end is instructed. Judgment is made (S14). If the sewing start / stop switch 91 is pressed again, it is determined that the end of sewing has been instructed (S14: YES), and the sewing process being executed is stopped for a new sewing (S12). Then, the process returns to the setting information acquisition process (S11) again.

縫製開始・停止スイッチ91が再度押下げられていない場合(S14:NO)、次いで、イメージセンサ30により撮影可能領域内に配置されている加工布60、及び待ち針50の頭部51が撮影される。そして得られる像情報を画像処理し、待ち針50の頭部51の形態的特徴認識処理が実行される(S15)。第一の実施の形態においては、頭部51の形状を認識する処理(形状認識処理)が実行される。ここで実行される形状認識処理は、例えば以下のようにして実行される。はじめに、2値化処理により、撮影の結果得られた像情報を2値化し、加工布に対して明度が大きい待ち針50の頭部51の位置情報を抽出する。明度の閾値は、p−タイル法、モード法、判別分析法、可変閾値法等により決定される。次いで、エッジ検出により像情報の明暗境界部分(エッジ)の位置情報を特定し、待ち針50の頭部51と加工布60との境界線部分の位置情報が抽出される。エッジ検出に使用されるフィルタとして、1次微分フィルタやラプラシアンフィルタ等が使用される。次いで、ハフ変換により曲線や直線を形成するエッジが抽出され、待ち針50の頭部51の形状が特定される。そして得られた形状が所定の形状と同一であるかが判断されることによって、待ち針50の頭部51の形状が認識される。   When the sewing start / stop switch 91 is not depressed again (S14: NO), the work cloth 60 arranged in the imageable region and the head 51 of the waiting needle 50 are then photographed by the image sensor 30. . The obtained image information is subjected to image processing, and morphological feature recognition processing of the head 51 of the waiting needle 50 is executed (S15). In the first embodiment, processing for recognizing the shape of the head 51 (shape recognition processing) is executed. The shape recognition process performed here is performed as follows, for example. First, image information obtained as a result of photographing is binarized by binarization processing, and position information of the head 51 of the waiting needle 50 having a high brightness with respect to the work cloth is extracted. The lightness threshold is determined by a p-tile method, a mode method, a discriminant analysis method, a variable threshold method, or the like. Next, the position information of the light / dark boundary part (edge) of the image information is specified by edge detection, and the position information of the boundary line part between the head 51 of the waiting needle 50 and the work cloth 60 is extracted. As a filter used for edge detection, a primary differential filter, a Laplacian filter, or the like is used. Next, an edge forming a curve or a straight line is extracted by the Hough transform, and the shape of the head 51 of the waiting needle 50 is specified. Then, by determining whether the obtained shape is the same as the predetermined shape, the shape of the head 51 of the waiting needle 50 is recognized.

また、上述の画像処理においては、イメージセンサ30により撮影された像情報全体のうち、押え足13の右側の部分の像情報が選択されて形状認識処理が実行される。このようにすることで、ちょうど押え足13の針落ち穴13aの右側を待ち針50の頭部51が通過する場合にその形状が認識されるため、このタイミングで縫製条件を変更することが可能となる(S23、図9参照、後述)。   Further, in the above-described image processing, the shape recognition process is executed by selecting the image information of the right part of the presser foot 13 from the entire image information photographed by the image sensor 30. By doing so, since the shape is recognized when the head 51 of the waiting needle 50 passes just to the right of the needle drop hole 13a of the presser foot 13, the sewing conditions can be changed at this timing. (S23, see FIG. 9, described later).

形状認識処理の結果、CPU101が待ち針50の頭部51の形状を特定できない場合(S17:NO)、イメージセンサ30の撮影可能領域内に待ち針50の頭部51が存在しないものと判断し、RAM103の駆動縫製条件記憶領域に記憶されている駆動縫製条件に基づいて縫製が実行される(S19)。そしてS14に戻り、縫製開始・停止スイッチ91の監視処理(S14)と、待ち針50の頭部51の検出処理及び形状認識処理(S15)が繰り返し実行される。   If the CPU 101 cannot identify the shape of the head 51 of the waiting needle 50 as a result of the shape recognition process (S17: NO), it is determined that the head 51 of the waiting needle 50 does not exist within the imageable region of the image sensor 30, and the RAM 103 The sewing is executed based on the driving sewing conditions stored in the driving sewing condition storage area (S19). Then, the process returns to S14, and the monitoring process (S14) of the sewing start / stop switch 91 and the detection process and the shape recognition process (S15) of the head 51 of the waiting needle 50 are repeatedly executed.

形状認識処理の結果、待ち針50の頭部51の形状を特定できた場合(S17:YES)、ROM102の縫製条件記憶領域203を読み出して参照し(S18)、待ち針50の頭部51の平面視形状より特定される縫製条件を、RAM103の駆動縫製条件記憶領域に記憶する。次いで、CPU101は、特定した待ち針50の頭部51の形状が「×字」であるかどうかを判断する。待ち針50の頭部51の形状が「×字」である場合、RAM103の駆動縫製条件記憶領域に記憶した縫製模様は「停止」であり、継続中の縫製制御処理を終了する必要がある。そこで、このような場合は(S21:YES)、CPU101は、継続実行中の縫製を停止し(S27)、一連の縫製制御処理を終了し、新たな縫製を行う場合のために、再び設定情報の取得処理(S11)に戻る。   As a result of the shape recognition process, when the shape of the head 51 of the waiting needle 50 can be specified (S17: YES), the sewing condition storage area 203 of the ROM 102 is read and referenced (S18), and the plan view of the head 51 of the waiting needle 50 is obtained. The sewing conditions specified by the shape are stored in the drive sewing condition storage area of the RAM 103. Next, the CPU 101 determines whether or not the shape of the head 51 of the specified waiting needle 50 is “X”. When the shape of the head 51 of the waiting needle 50 is “X”, the sewing pattern stored in the drive sewing condition storage area of the RAM 103 is “stop”, and the ongoing sewing control process needs to be terminated. Therefore, in such a case (S21: YES), the CPU 101 stops the ongoing sewing (S27), ends the series of sewing control processes, and again performs setting information for the case where new sewing is performed. The process returns to (11).

一方、CPU101が特定した待ち針50の頭部51の形状が「×字」以外である場合(S21:NO)、縫製条件特定処理(S23、図9参照)に移行する。縫製条件特定処理においては、待ち針50の頭部51の平面視形状に対応する縫製条件をROM102の縫製条件記憶領域203に記憶されている縫製条件に基づいて決定し、縫製制御処理を実行する。   On the other hand, when the shape of the head 51 of the waiting needle 50 specified by the CPU 101 is other than “X” (S21: NO), the process proceeds to the sewing condition specifying process (S23, see FIG. 9). In the sewing condition specifying process, the sewing condition corresponding to the planar view shape of the head 51 of the waiting needle 50 is determined based on the sewing condition stored in the sewing condition storage area 203 of the ROM 102, and the sewing control process is executed.

次いで、縫製条件特定処理のサブルーティンフローチャートについて、図9を参照して説明する。縫製条件特定処理では、図9に示すように、CPU101は、認識した待ち針50の頭部51の形状が、ROM102の縫製条件記憶領域203にて定義されている待ち針50の頭部51の平面視形状である「丸」「ハート」「三角」「四角」「星」「×字」のいずれかに合致するか否かを判断する(S31)。いずれにも合致しない場合、認識した待ち針50の頭部51により特定される縫製条件は、ROM102の可能縫製条件記憶領域204に記憶されている縫製条件を超えた値であると判断する(S31:NO)。このような場合には、ミシン1では待ち針50の頭部51により特定される縫製条件に基づく縫製は実行不可能であるため、CPU101は、液晶ディスプレイ10に縫製を継続することが不可能である旨を通知するために、「このミシンでは縫製を行うことはできません。」等のエラーメッセージを表示させる(S47)。そして、縫製を停止させることを示すフラグである縫製停止フラグに「1」を記憶して「ON」とし(S49)、縫製条件特定処理を終了して縫製制御処理(図8参照)に戻る。   Next, a subroutine flowchart of the sewing condition specifying process will be described with reference to FIG. In the sewing condition specifying process, as shown in FIG. 9, the CPU 101 has a plan view of the head 51 of the waiting needle 50 whose shape of the recognized head 51 of the waiting needle 50 is defined in the sewing condition storage area 203 of the ROM 102. It is determined whether or not the shape matches any of “circle”, “heart”, “triangle”, “square”, “star”, and “x” (S31). If none of them match, it is determined that the sewing condition specified by the recognized head 51 of the waiting needle 50 exceeds the sewing condition stored in the possible sewing condition storage area 204 of the ROM 102 (S31: NO). In such a case, since the sewing machine 1 cannot perform sewing based on the sewing conditions specified by the head 51 of the waiting needle 50, the CPU 101 cannot continue sewing on the liquid crystal display 10. In order to notify that, an error message such as "sewing cannot be performed with this sewing machine" is displayed (S47). Then, “1” is stored in the sewing stop flag, which is a flag indicating that the sewing is to be stopped, to be “ON” (S49), the sewing condition specifying process is terminated, and the process returns to the sewing control process (see FIG. 8).

一方、特定した待ち針50の頭部51の平面視形状が「丸」「ハート」「三角」「四角」「星」「×字」のいずれかに合致し、ミシン1による縫製が実行可能であると判断した場合には(S31:YES)、次いで、RAM103の駆動縫製条件記憶領域に記憶されている駆動縫製条件と、新たに特定される縫製条件とを比較し、双方の縫製条件の異同を判断する(S33,S37,S41)。   On the other hand, the plan view shape of the head 51 of the specified waiting needle 50 matches any of “circle”, “heart”, “triangle”, “square”, “star”, and “x”, and sewing with the sewing machine 1 can be executed. (S31: YES), the drive sewing condition stored in the drive sewing condition storage area of the RAM 103 is compared with the newly specified sewing condition, and the difference between the two sewing conditions is determined. Judgment is made (S33, S37, S41).

はじめに、CPU101は、縫製条件のうち縫製速度を判断する。ROM102の縫製条件記憶領域203を参照し、待ち針50の頭部51の平面視形状より特定される縫製速度と、RAM103の駆動縫製条件記憶領域に記憶されている縫製速度とが同一である場合(S33:YES)、RAM103の駆動縫製条件記憶領域に記憶されている縫製速度に変更を加えることなくS37に移行する。一方、待ち針50の頭部51の平面視形状より特定される縫製速度と、駆動縫製条件記憶領域に記憶されている縫製速度とが相違する場合(S33:NO)、特定された縫製速度を駆動縫製条件記憶領域に記憶されている縫製速度に上書きして記憶する(S35)。このことにより、ミシン主軸の回転速度がこの縫製速度になるようにミシンモータ77の回転速度が設定される。そしてS37に移行する。   First, the CPU 101 determines a sewing speed among the sewing conditions. Referring to the sewing condition storage area 203 of the ROM 102, when the sewing speed specified by the plan view shape of the head 51 of the waiting needle 50 is the same as the sewing speed stored in the drive sewing condition storage area of the RAM 103 ( (S33: YES), the process proceeds to S37 without changing the sewing speed stored in the drive sewing condition storage area of the RAM 103. On the other hand, when the sewing speed specified from the shape of the head 51 of the waiting needle 50 is different from the sewing speed stored in the drive sewing condition storage area (S33: NO), the specified sewing speed is driven. The sewing speed stored in the sewing condition storage area is overwritten and stored (S35). As a result, the rotational speed of the sewing machine motor 77 is set so that the rotational speed of the sewing machine spindle becomes the sewing speed. Then, the process proceeds to S37.

次いで、S37においては、CPU101は、縫製条件のうち針振り量を判断する(S37)。ROM102の縫製条件記憶領域203を参照し、待ち針50の頭部51の平面視形状より特定される針振り量と、RAM103の駆動縫製条件記憶領域に記憶されている針振り量とが同一である場合(S37:YES)、駆動縫製条件記憶領域に記憶されている針振り量に変更を加えることなくS41に移行する。一方、待ち針50の頭部51の平面視形状より特定される針振り量と、駆動縫製条件記憶領域に記憶されている針振り量とが相違する場合(S37:NO)、特定された針振り量を駆動縫製条件記憶領域に記憶されている針振り量に上書きして記憶する(S39)。このことにより、針振り機構による針棒8の針振り量がこの針振り量となるような駆動量が算出され、針振り用モータ78の駆動量が設定される。そしてS41に移行する。   Next, in S37, the CPU 101 determines a needle swing amount among the sewing conditions (S37). Referring to the sewing condition storage area 203 of the ROM 102, the amount of needle swing specified from the plan view shape of the head 51 of the waiting needle 50 is the same as the amount of needle swing stored in the drive sewing condition storage area of the RAM 103. In the case (S37: YES), the process proceeds to S41 without changing the needle swing amount stored in the drive sewing condition storage area. On the other hand, if the amount of needle swing specified from the plan view shape of the head 51 of the waiting needle 50 is different from the amount of needle swing stored in the drive sewing condition storage area (S37: NO), the specified needle swing is determined. The amount is overwritten and stored on the needle swing amount stored in the drive sewing condition storage area (S39). Thus, a drive amount is calculated such that the needle swing amount of the needle bar 8 by the needle swing mechanism becomes this needle swing amount, and the drive amount of the needle swing motor 78 is set. Then, the process proceeds to S41.

次いで、S41においては、CPU101は、縫製条件のうち布送り量を判断する(S41)。ROM102の縫製条件記憶領域203を参照し、待ち針50の頭部51の平面視形状より特定された布送り量と、RAM103の駆動縫製条件記憶領域に記憶されている布送り量とが同一である場合(S41:YES)、駆動縫製条件記憶領域に記憶されている布送り量に変更を加えることなくS45に移行する。一方、待ち針50の頭部51の平面視形状より特定された布送り量と、駆動縫製条件記憶領域に記憶されている布送り量とが相違する場合(S41:NO)、特定された布送り量を駆動縫製条件記憶領域に記憶されている布送り量に上書きして記憶する(S43)。このことにより、布送り機構による送り歯の布送り量がこの布送り量となる駆動量が算出され、送り量調整用モータ76の駆動量が設定される。そしてS45に移行する。   Next, in S41, the CPU 101 determines the cloth feed amount among the sewing conditions (S41). Referring to the sewing condition storage area 203 of the ROM 102, the cloth feed amount specified from the plan view shape of the head 51 of the waiting needle 50 is the same as the cloth feed amount stored in the drive sewing condition storage area of the RAM 103. In the case (S41: YES), the process proceeds to S45 without changing the cloth feed amount stored in the drive sewing condition storage area. On the other hand, when the cloth feed amount specified from the plan view shape of the head 51 of the waiting needle 50 is different from the cloth feed amount stored in the drive sewing condition storage area (S41: NO), the specified cloth feed is determined. The amount is overwritten and stored on the cloth feed amount stored in the drive sewing condition storage area (S43). As a result, a driving amount in which the cloth feed amount of the feed dog by the cloth feeding mechanism becomes this cloth feed amount is calculated, and the drive amount of the feed amount adjusting motor 76 is set. Then, the process proceeds to S45.

S45では、CPU101は、RAM103の駆動縫製条件記憶領域に記憶した縫製模様、縫製速度、針振り量、及び布送り量に基づいて、駆動回路71〜73を制御し、送り量調整用モータ76、ミシンモータ77、及び針振り用モータ78を駆動させることによって、加工布60上に縫製を実行する(S45)。そして縫製制御処理(図8参照)に戻る。   In S45, the CPU 101 controls the drive circuits 71 to 73 based on the sewing pattern, the sewing speed, the needle swing amount, and the cloth feed amount stored in the drive sewing condition storage area of the RAM 103, and the feed amount adjusting motor 76, By sewing the sewing machine motor 77 and the needle swinging motor 78, sewing is performed on the work cloth 60 (S45). Then, the process returns to the sewing control process (see FIG. 8).

縫製制御処理では、図8に示すように、縫製処理停止フラグがONされているか否かが判断される(S25)。そして、縫製処理停止フラグがONされている場合は(S25:YES)、認識された待ち針50の頭部51により縫製条件が特定できなかった場合であるため、縫製を停止する必要がある。そこで縫製を終了(S27)し、新たな縫製を行う場合のために、再び設定情報の取得処理(S11)に戻る。一方、縫製処理停止フラグがOFFである場合には(S25:NO)、S14に戻って縫製処理を継続する。   In the sewing control process, as shown in FIG. 8, it is determined whether or not the sewing process stop flag is ON (S25). If the sewing processing stop flag is ON (S25: YES), the sewing condition cannot be specified by the recognized head portion 51 of the waiting needle 50, so that the sewing needs to be stopped. Therefore, the sewing is finished (S27), and the process returns to the setting information acquisition process (S11) again in order to perform new sewing. On the other hand, when the sewing process stop flag is OFF (S25: NO), the process returns to S14 and the sewing process is continued.

次に、図10を参照し、図8及び図9に示すフローチャートに基づいて縫製制御処理がなされる場合における、具体的な手順について説明する。図10は、図7に示すように待ち針50が配置された場合において加工布60に施された縫製模様を示している。オペレータは、ミシン1による縫製に先立ち、縫い合わせたい加工布60上の、縫い合わせを行いたい位置の右側に待ち針501〜504の頭部511〜514が位置するように待ち針501〜504を突き刺して加工布60に止める。図10に示す例では、待ち針501〜504の頭部511〜514の平面視形状が、上方から順に「星」(頭部511)「三角」(頭部512)「丸」(頭部513)「×字」(頭部514)となるように合計4本の待ち針501〜504が配置されている。   Next, a specific procedure in the case where the sewing control process is performed based on the flowcharts shown in FIGS. 8 and 9 will be described with reference to FIG. FIG. 10 shows a sewing pattern applied to the work cloth 60 when the waiting needle 50 is arranged as shown in FIG. Prior to sewing with the sewing machine 1, the operator pierces the waiting needles 501 to 504 so that the heads 511 to 514 of the waiting needles 501 to 504 are positioned on the right side of the position to be sewn on the work cloth 60 to be sewn. Stop at 60. In the example shown in FIG. 10, the planar shapes of the heads 511 to 514 of the waiting needles 501 to 504 are “star” (head 511) “triangle” (head 512) “circle” (head 513) in order from above. A total of four waiting hands 501 to 504 are arranged so as to be “x” (head 514).

はじめに、一点鎖線61の上端部から縫製が開始される(S11、S13)。縫製制御処理が開始される(S13:YES)と、ミシン1のイメージセンサ30により加工布60の撮影がなされる(S15)が、この状態において待ち針501の頭部511は検出されないため(S17:NO)、ミシン1の起動時においてROM102の初期設定情報記憶領域202より読み出され、RAM103の駆動縫製条件記憶領域に記憶された縫製模様、針振り量、布送り量、及び縫製速度の縫製条件に基づいて縫製が実行される(S19)。第一の実施の形態においては、縫製模様:直線、針振り量:0mm、布送り量:1.4mm、縫製速度:低速(70rpm)の各縫製条件に基づいて縫製が実行される。   First, sewing is started from the upper end portion of the alternate long and short dash line 61 (S11, S13). When the sewing control process is started (S13: YES), the work cloth 60 is photographed by the image sensor 30 of the sewing machine 1 (S15), but the head 511 of the waiting needle 501 is not detected in this state (S17: NO), sewing conditions of the sewing pattern, needle swing amount, cloth feed amount, and sewing speed read from the initial setting information storage area 202 of the ROM 102 and stored in the drive sewing condition storage area of the RAM 103 when the sewing machine 1 is started On the basis of the sewing, sewing is executed (S19). In the first embodiment, sewing is executed based on the sewing conditions: sewing pattern: straight line, needle swing amount: 0 mm, cloth feed amount: 1.4 mm, and sewing speed: low speed (70 rpm).

次いで、押え足13の針落ち穴13aが、「星」の頭部511を有する待ち針501が配置されている部分の左方に到達する。するとこのタイミングで、イメージセンサ30により待ち針501の頭部511が撮影され、形状が認識される(S15)。そして、「星」に対応する縫製条件がROM102の縫製条件記憶領域203より読み出され特定される(S17:YES)。その後、RAM103の駆動縫製条件記憶領域に記憶されている駆動縫製条件が、縫製模様:まつり縫い、針振り量:0mm、布送り量:2.0mm、縫製速度:低速(70rpm)に変更され(S33〜S43)、これらの縫製条件に基づいて縫製が実行される(S45)。   Next, the needle drop hole 13 a of the presser foot 13 reaches the left of the portion where the waiting needle 501 having the “star” head 511 is disposed. At this timing, the head 511 of the waiting needle 501 is photographed by the image sensor 30, and the shape is recognized (S15). Then, the sewing condition corresponding to “star” is read from the sewing condition storage area 203 of the ROM 102 and specified (S17: YES). After that, the drive sewing conditions stored in the drive sewing condition storage area of the RAM 103 are changed to the sewing pattern: festival stitch, needle swing amount: 0 mm, cloth feed amount: 2.0 mm, sewing speed: low speed (70 rpm) ( S33 to S43), sewing is executed based on these sewing conditions (S45).

次いで、押え足13の針落ち穴13aが、「三角」の頭部512を有する待ち針502が配置されている部分の左方に到達する。するとこのタイミングで、イメージセンサ30により待ち針502の頭部512が撮影され、形状が認識される(S15)。そして、「三角」形状に対応する縫製条件がROM102の縫製条件記憶領域203より読み出され特定される(S17:YES)。その後、RAM103の駆動縫製条件記憶領域に記憶されている駆動縫製条件が、縫製模様:ジグザグ、針振り量:2.0mm、布送り量:1.4mm、縫製速度:中速(410rpm)に変更され(S33〜S43)、これらの縫製条件に基づいて縫製が実行される(S45)。   Next, the needle drop hole 13 a of the presser foot 13 reaches the left of the portion where the waiting needle 502 having the “triangular” head 512 is disposed. At this timing, the head 512 of the waiting needle 502 is photographed by the image sensor 30, and the shape is recognized (S15). Then, the sewing condition corresponding to the “triangular” shape is read from the sewing condition storage area 203 of the ROM 102 and specified (S17: YES). Thereafter, the drive sewing conditions stored in the drive sewing condition storage area of the RAM 103 are changed to the sewing pattern: zigzag, needle swing amount: 2.0 mm, cloth feed amount: 1.4 mm, and sewing speed: medium speed (410 rpm). Then, sewing is executed based on these sewing conditions (S45).

次いで、押え足13の針落ち穴13aが、「丸」の頭部513を有する待ち針503が配置されている部分の左方に到達する。するとこのタイミングで、イメージセンサ30により待ち針503の頭部513が撮影され、形状が認識される(S15)。そして、「丸」形状に対応する縫製条件がROM102の縫製条件記憶領域203より読み出され特定される(S17:YES)。その後、RAM103の駆動縫製条件記憶領域に記憶されている駆動縫製条件が、縫製模様:直線、針振り量:0mm、布送り量:2.5mm、縫製速度:低速(70rpm)に変更され(S33〜S43)、これらの縫製条件に基づいて縫製が実行される(S45)。   Next, the needle drop hole 13 a of the presser foot 13 reaches the left of the portion where the waiting needle 503 having the “round” head 513 is disposed. At this timing, the head 513 of the waiting needle 503 is photographed by the image sensor 30, and the shape is recognized (S15). Then, the sewing condition corresponding to the “round” shape is read from the sewing condition storage area 203 of the ROM 102 and specified (S17: YES). Thereafter, the drive sewing conditions stored in the drive sewing condition storage area of the RAM 103 are changed to sewing pattern: straight line, needle swing amount: 0 mm, cloth feed amount: 2.5 mm, sewing speed: low speed (70 rpm) (S33). To S43), sewing is executed based on these sewing conditions (S45).

次いで、押え足13の針落ち穴13aが、「×字」の頭部514の待ち針504が配置されている部分の左方に到達する。するとこのタイミングで、イメージセンサ30により待ち針504の頭部514が撮影され、形状が認識される(S15)。そして、「×字」形状に対応する縫製条件がROM102の縫製条件記憶領域203より読み出され特定される(S17:YES)。ここで、「×字」に対応する縫製条件は「停止」であるため(S21:YES)、縫製は中断される(S27)。以上のように縫製が実行されることにより、加工布60における一点鎖線61上には、上方から順に「直線」「まつり縫い」「ジグザグ」「直線」の縫製模様にて縫製がなされる。   Next, the needle drop hole 13 a of the presser foot 13 reaches the left of the portion where the waiting needle 504 of the “×” head 514 is disposed. At this timing, the head 514 of the waiting needle 504 is photographed by the image sensor 30, and the shape is recognized (S15). Then, the sewing condition corresponding to the “x-shape” shape is read from the sewing condition storage area 203 of the ROM 102 and specified (S17: YES). Here, since the sewing condition corresponding to “x” is “stop” (S21: YES), the sewing is interrupted (S27). By performing the sewing as described above, the sewing is performed on the alternate long and short dash line 61 of the work cloth 60 in the order of “straight line”, “festival stitching”, “zigzag”, and “straight line”.

以上説明したように、あらかじめ縫製を施したい加工布に待ち針501〜504が配置され、この頭部511〜514が、ミシン1が備えるイメージセンサ30により撮影される。そして、撮影により得られる像情報から頭部51の形状が認識され、認識された形状に対応した縫製条件に基づいて縫製が実行される。このことによって、縫製の途中で縫製条件を変更する必要がなくなり、操作に習熟していないオペレータであっても、複雑な模様を縫製することが可能となる。
<第二の実施の形態>
As described above, the waiting needles 501 to 504 are arranged on the work cloth to be sewn in advance, and the heads 511 to 514 are photographed by the image sensor 30 provided in the sewing machine 1. Then, the shape of the head 51 is recognized from the image information obtained by photographing, and sewing is performed based on the sewing conditions corresponding to the recognized shape. This eliminates the need to change the sewing conditions in the middle of sewing, and even an operator who is not familiar with the operation can sew a complex pattern.
<Second Embodiment>

以下、本発明を具現化したミシン1の第二の実施の形態について、図面を参照して説明する。なお、これらの図面は、本発明が採用しうる技術的特徴を説明するために用いられるものであり、記載されている内容は、特に特定的な記載がない限り、それのみに限定する趣旨ではなく、単なる説明例である。また、第二の実施の形態は、先述した第一の実施の形態のうち形状認識処理(S15、図8参照)に関する処理が相違するのみであり、残りの部分は同一である。従って、重複する図1乃至図4、図8及び図9の説明は、以下においては省略している。   Hereinafter, a second embodiment of the sewing machine 1 embodying the present invention will be described with reference to the drawings. These drawings are used for explaining the technical features that can be adopted by the present invention, and the contents described are not intended to be limited only to them unless otherwise specified. It is merely an illustrative example. Further, the second embodiment is different from the first embodiment described above only in the process relating to the shape recognition process (S15, see FIG. 8), and the remaining part is the same. Therefore, the description of overlapping FIGS. 1 to 4, 8 and 9 is omitted in the following.

第二の実施の形態においては、第一の実施の形態と異なり、ミシン1が備えるROM102の縫製条件記憶領域203には、待ち針50の頭部51の色に縫製条件(縫製模様、針振り量、布送り量、縫製速度)が対応付けられ、記憶されている。そして、縫製が実行される際には、加工布に予め配置される待ち針50の頭部51がイメージセンサ30により撮影されてその色が判断され、各色に対応する縫製条件がROM102の縫製条件記憶領域203より読み出され特定される。そして、特定された縫製条件に基づいて縫製が実行される。   In the second embodiment, unlike the first embodiment, the sewing condition storage area 203 of the ROM 102 provided in the sewing machine 1 stores the sewing condition (sewing pattern, needle swing amount) in the color of the head 51 of the waiting needle 50. , Cloth feed amount, sewing speed) are associated and stored. When sewing is executed, the head 51 of the waiting needle 50 that is previously arranged on the work cloth is photographed by the image sensor 30 to determine the color, and the sewing conditions corresponding to each color are stored in the sewing condition storage in the ROM 102. It is read from the area 203 and specified. Then, sewing is executed based on the specified sewing conditions.

はじめに、ROM102の縫製条件記憶領域203に記憶されている縫製条件の詳細について、図11を参照して説明する。図11は、ROM102の縫製条件記憶領域203を示す模式図である。縫製条件記憶領域203には、縫製の際の縫製条件が待ち針50の頭部51の色毎に記憶されている。具体的には、図11に示すように、縫製条件として、縫製模様401、針振り量402、布送り量403、及び縫製速度404がそれぞれ記憶されている。   First, details of the sewing conditions stored in the sewing condition storage area 203 of the ROM 102 will be described with reference to FIG. FIG. 11 is a schematic diagram showing the sewing condition storage area 203 of the ROM 102. In the sewing condition storage area 203, sewing conditions at the time of sewing are stored for each color of the head 51 of the waiting needle 50. Specifically, as shown in FIG. 11, a sewing pattern 401, a needle swing amount 402, a cloth feed amount 403, and a sewing speed 404 are stored as sewing conditions.

例えば、図11に示す例では、待ち針50の頭部51の色が「青」である場合における縫製模様401は「直線」、針振り量402は「0mm」、布送り量403は「1.4mm」、縫製速度404は「低速(70rpm)」と記憶されている。また、待ち針50の頭部51の色が「黄」である場合における縫製模様401は「直線」、針振り量402は「0mm」、布送り量403は「1.4mm」、縫製速度404は「中速(410rpm)」と記憶されている。また、待ち針50の頭部51の色が「白」である場合における縫製模様401は「直線」、針振り量402は「0mm」、布送り量403は「2.5mm」、縫製速度404は「高速(750rpm)」と記憶されている。また、待ち針50の頭部51の色が「緑」ある場合における縫製模様401は「ジグザグ」、針振り量402は「2.0mm」、布送り量403は「1.4mm」、縫製速度404は「低速(70rpm)」と記憶されている。また、待ち針50の頭部51の色が「茶」である場合における縫製模様401は「ジグザグ」、針振り量402は「2.0mm」、布送り量403は「2.5mm」、縫製速度404は「中速(410rpm)」と記憶されている。また、待ち針50の頭部51の色が「紫」である場合における縫製模様401は「ジグザグ」、針振り量402は「3.5mm」、布送り量403は「1.4mm」、縫製速度404は「高速(750rpm)」と記憶されている。また、待ち針50の頭部51の色が「ピンク」である場合における縫製模様401は「まつり縫い」、針振り量402は「0mm」、布送り量403は「2.0mm」、縫製速度404は「低速(70rpm)」と記憶されている。また、待ち針50の頭部51の色が「空色」である場合における縫製模様401は「まつり縫い」、針振り量402は「0mm」、布送り量403は「2.0mm」、縫製速度404は「中速(410rpm)」と記憶されている。また、待ち針50の頭部51の色が「赤」である場合には、縫製制御処理を停止させるために、縫製模様に「停止」が記憶されている。   For example, in the example shown in FIG. 11, when the color of the head 51 of the waiting needle 50 is “blue”, the sewing pattern 401 is “straight line”, the needle swing amount 402 is “0 mm”, and the cloth feed amount 403 is “1. “4 mm” and the sewing speed 404 are stored as “low speed (70 rpm)”. When the color of the head 51 of the waiting needle 50 is “yellow”, the sewing pattern 401 is “straight line”, the needle swing amount 402 is “0 mm”, the cloth feed amount 403 is “1.4 mm”, and the sewing speed 404 is “Medium speed (410 rpm)” is stored. When the color of the head 51 of the waiting needle 50 is “white”, the sewing pattern 401 is “straight line”, the needle swing amount 402 is “0 mm”, the cloth feed amount 403 is “2.5 mm”, and the sewing speed 404 is “High speed (750 rpm)” is stored. Further, when the color of the head 51 of the waiting needle 50 is “green”, the sewing pattern 401 is “zigzag”, the needle swing amount 402 is “2.0 mm”, the cloth feed amount 403 is “1.4 mm”, and the sewing speed 404. Is stored as “low speed (70 rpm)”. When the color of the head 51 of the waiting needle 50 is “brown”, the sewing pattern 401 is “zigzag”, the needle swinging amount 402 is “2.0 mm”, the cloth feed amount 403 is “2.5 mm”, and the sewing speed. 404 is stored as “medium speed (410 rpm)”. Further, when the color of the head 51 of the waiting needle 50 is “purple”, the sewing pattern 401 is “zigzag”, the needle swing amount 402 is “3.5 mm”, the cloth feed amount 403 is “1.4 mm”, and the sewing speed. 404 is stored as “high speed (750 rpm)”. In addition, when the color of the head 51 of the waiting needle 50 is “pink”, the sewing pattern 401 is “matsuri stitching”, the needle swing amount 402 is “0 mm”, the cloth feed amount 403 is “2.0 mm”, and the sewing speed 404. Is stored as “low speed (70 rpm)”. Further, when the color of the head 51 of the waiting needle 50 is “sky blue”, the sewing pattern 401 is “fall stitching”, the needle swing amount 402 is “0 mm”, the cloth feed amount 403 is “2.0 mm”, and the sewing speed 404. Is stored as “medium speed (410 rpm)”. Further, when the color of the head 51 of the waiting needle 50 is “red”, “stop” is stored in the sewing pattern in order to stop the sewing control processing.

次に、図12を参照し、図8及び図9に示すフローチャートに基づいて縫製制御処理がなされた場合における、具体的な手順について説明する。図12は、加工布60に縫製を行うために待ち針601〜603が配置された状態を示している。オペレータは、ミシン1による縫製に先立ち、縫い合わせたい加工布60上の、縫い合わせを開始したい位置の右側に待ち針601〜603の頭部611〜613が位置するように待ち針601〜603を突き刺して加工布60に止める。そして図12に示す例では、待ち針601〜603の頭部611〜613の色が、上方から順に「青」(頭部:611)「緑」(頭部:612)「赤」(頭部:613)となるように合計3本の待ち針601〜603が配置されている。   Next, a specific procedure when the sewing control process is performed based on the flowcharts shown in FIGS. 8 and 9 will be described with reference to FIG. FIG. 12 shows a state in which the waiting needles 601 to 603 are arranged to sew the work cloth 60. Prior to sewing with the sewing machine 1, the operator pierces the waiting needles 601 to 603 so that the heads 611 to 613 of the waiting needles 601 to 603 are positioned on the right side of the position where the sewing is to be started on the work cloth 60 to be sewn. Stop at 60. In the example shown in FIG. 12, the colors of the heads 611 to 613 of the waiting needles 601 to 603 are “blue” (head: 611) “green” (head: 612) “red” (head: 613), a total of three waiting needles 601 to 603 are arranged.

はじめに、一点鎖線61の上端部から縫製が開始される(S11、S13)。縫製制御処理が開始される(S13:YES)と、ミシン1のイメージセンサ30により加工布60の撮影がなされ、その色が認識される(S15)。ここで実行される色認識処理には、例えば、色フィルタにより像情報をRGB(赤、緑、青)の3色に分解し、各々の強度を比較することにより像情報の色を認識する単板方式が用いられる。そして、色認識処理が実行された結果、待ち針601の頭部611の色が「青」であると判断され、色に対応する縫製条件がROM102の縫製条件記憶領域203より読み出され特定される(S17:YES)。その後、RAM103の駆動縫製条件記憶領域に記憶されている駆動縫製条件が、縫製模様:直線、針振り量:0mm、布送り量1.4mm、縫製速度:低速(70rpm)に変更され(S33〜S43)、これらの縫製条件に基づいて縫製が実行される(S45)。   First, sewing is started from the upper end portion of the alternate long and short dash line 61 (S11, S13). When the sewing control process is started (S13: YES), the work cloth 60 is photographed by the image sensor 30 of the sewing machine 1, and the color is recognized (S15). In the color recognition processing executed here, for example, the image information is separated into three colors of RGB (red, green, and blue) by a color filter, and the colors of the image information are recognized by comparing each intensity. A plate system is used. As a result of executing the color recognition processing, it is determined that the color of the head 611 of the waiting needle 601 is “blue”, and the sewing condition corresponding to the color is read from the sewing condition storage area 203 of the ROM 102 and specified. (S17: YES). Thereafter, the drive sewing conditions stored in the drive sewing condition storage area of the RAM 103 are changed to sewing pattern: straight line, needle swing amount: 0 mm, cloth feed amount 1.4 mm, and sewing speed: low speed (70 rpm) (S33 to S33). S43), sewing is executed based on these sewing conditions (S45).

次いで、押え足13の針落ち穴13aが、「緑」の頭部612の待ち針602が配置されている部分の左方に到達する。するとこのタイミングで、イメージセンサ30により待ち針602の頭部612が撮影され、色が認識される(S15)。そして、「緑」に対応する縫製条件がROM102の縫製条件記憶領域203より読み出され特定される(S17:YES)。その後、RAM103の駆動縫製条件記憶領域に記憶されている駆動縫製条件が、縫製模様:ジグザグ、針振り量:2.0mm、布送り量1.4mm、縫製速度:低速(70rpm)に変更され(S33〜S43)、これらの縫製条件に基づいて縫製が実行される(S45)。   Next, the needle drop hole 13 a of the presser foot 13 reaches the left of the portion where the waiting needle 602 of the “green” head 612 is disposed. At this timing, the head 612 of the waiting needle 602 is photographed by the image sensor 30, and the color is recognized (S15). Then, the sewing condition corresponding to “green” is read from the sewing condition storage area 203 of the ROM 102 and specified (S17: YES). Thereafter, the drive sewing conditions stored in the drive sewing condition storage area of the RAM 103 are changed to sewing pattern: zigzag, needle swing amount: 2.0 mm, cloth feed amount 1.4 mm, sewing speed: low speed (70 rpm) ( S33 to S43), sewing is executed based on these sewing conditions (S45).

次いで、押え足13の針落ち穴13aが、「赤」の頭部613の待ち針603が配置されている部分の左方に到達する。するとこのタイミングで、イメージセンサ30により待ち針603の頭部613が撮影され、色が認識される(S15)。そして、「赤」に対応する縫製条件がROM102の縫製条件記憶領域203より読み出され特定される(S17:YES)。ここで、「赤」に対応する縫製模様は「停止」であるため(S21:YES)、縫製は中断される(S27)。以上のように縫製が実行されることにより、加工布60における一点鎖線61上には、上方から順に「直線」「ジグザグ」の縫製模様にて縫製がなされる。   Next, the needle drop hole 13 a of the presser foot 13 reaches the left of the portion where the waiting needle 603 of the “red” head 613 is disposed. At this timing, the head 613 of the waiting needle 603 is photographed by the image sensor 30, and the color is recognized (S15). Then, the sewing condition corresponding to “red” is read from the sewing condition storage area 203 of the ROM 102 and specified (S17: YES). Here, since the sewing pattern corresponding to “red” is “stop” (S21: YES), the sewing is interrupted (S27). By performing the sewing as described above, the sewing is performed on the alternate long and short dash line 61 in the work cloth 60 in the “straight line” “zigzag” sewing pattern in order from above.

以上説明したように、あらかじめ縫製を施したい加工布に待ち針601〜603が配置され、この頭部611〜613が、ミシン1が備えるイメージセンサ30により撮影される。そして、撮影により得られる像情報から頭部611〜613の色が認識され、認識された色に対応した縫製条件に基づいて縫製が実行される。このことによって、縫製の途中で縫製条件を変更する必要がなくなり、操作に習熟していないオペレータ(縫製者)であっても、複雑な模様を縫製することが可能となる。
<第三の実施の形態>
As described above, the waiting needles 601 to 603 are arranged on the work cloth to be sewn in advance, and the heads 611 to 613 are photographed by the image sensor 30 provided in the sewing machine 1. Then, the colors of the heads 611 to 613 are recognized from the image information obtained by photographing, and sewing is executed based on the sewing conditions corresponding to the recognized colors. This eliminates the need to change the sewing conditions in the middle of sewing, and even an operator (sewer) who is not familiar with the operation can sew a complex pattern.
<Third embodiment>

以下、本発明を具現化したミシン1の第三の実施の形態について、図面を参照して説明する。なお、これらの図面は、本発明が採用しうる技術的特徴を説明するために用いられるものであり、記載されている内容は、特に特定的な記載がない限り、それのみに限定する趣旨ではなく、単なる説明例である。また、第三の実施の形態は、第二の実施の形態と同様、先述した第一の実施の形態のうち形状認識処理(S15、図8参照)に関する処理が相違するのみであり、残りの部分は同一である。従って、重複する図1乃至図4、図8及び図9に関する説明は、以下においては省略している。   Hereinafter, a third embodiment of the sewing machine 1 embodying the present invention will be described with reference to the drawings. These drawings are used for explaining the technical features that can be adopted by the present invention, and the contents described are not intended to be limited only to them unless otherwise specified. It is merely an illustrative example. Further, the third embodiment is different from the first embodiment described above only in the process related to the shape recognition process (S15, see FIG. 8), as in the second embodiment. The parts are the same. Therefore, the description regarding the overlapping FIGS. 1 to 4, 8, and 9 is omitted in the following.

第三の実施の形態においては、第一の実施の形態及び第二の実施の形態と異なり、ミシン1が備えるROM102の縫製条件記憶領域203には、加工布に待ち針50が複数配置された場合における頭部51の密集度に縫製条件(縫製模様、針振り量、布送り量、縫製速度)が対応付けられ、記憶されている。そして、縫製が実行される際には、加工布に予め配置される待ち針50の頭部51がイメージセンサ30により撮影されて密集度が判断され、密集度に対応する縫製条件がROM102の縫製条件記憶領域203より読み出され特定される。そして、特定された縫製条件に基づいて縫製が実行される。   In the third embodiment, unlike the first embodiment and the second embodiment, when a plurality of waiting needles 50 are arranged on the work cloth in the sewing condition storage area 203 of the ROM 102 provided in the sewing machine 1. Sewing conditions (sewing pattern, needle swing amount, cloth feed amount, sewing speed) are associated with and stored in the density of the heads 51 in FIG. When sewing is performed, the head 51 of the waiting needle 50 that is previously arranged on the work cloth is photographed by the image sensor 30 to determine the density, and the sewing condition corresponding to the density is the sewing condition in the ROM 102. It is read from the storage area 203 and specified. Then, sewing is executed based on the specified sewing conditions.

はじめに、ROM102の縫製条件記憶領域203に記憶されている縫製条件の詳細について、図13を参照して説明する。図13は、ROM102の縫製条件記憶領域203を示す模式図である。縫製条件記憶領域203には、縫製の際の縫製条件が待ち針50の頭部51の密集度毎に記憶されている。具体的には、図13に示すように、縫製条件として、縫製模様411、針振り量412、布送り量413、及び縫製速度414がそれぞれ記憶されている。   First, details of the sewing conditions stored in the sewing condition storage area 203 of the ROM 102 will be described with reference to FIG. FIG. 13 is a schematic diagram showing the sewing condition storage area 203 of the ROM 102. In the sewing condition storage area 203, sewing conditions at the time of sewing are stored for each density of the head 51 of the waiting needle 50. Specifically, as shown in FIG. 13, a sewing pattern 411, a needle swing amount 412, a cloth feed amount 413, and a sewing speed 414 are stored as sewing conditions.

例えば、図13に示す例では、待ち針50の頭部51の密集度が「疎」である場合における縫製模様411は「直線」、針振り412は「0mm」、布送り413は「2.5mm」、縫製速度414は「中速(410rpm)」と記憶されている。また、待ち針50の頭部51の密集度が「中」である場合における縫製模様411は「ジグザグ」、針振り412は「2.0mm」、布送り413は「1.4mm」、縫製速度414は「中速(410rpm)」と記憶されている。また、待ち針50の頭部51の色が「密」である場合における縫製模様411は「まつり縫い」、針振り量412は「0mm」、布送り量413は「2.0mm」、縫製速度414は「中速(410rpm)」と記憶されている。   For example, in the example shown in FIG. 13, when the density of the heads 51 of the waiting needle 50 is “sparse”, the sewing pattern 411 is “straight line”, the needle swing 412 is “0 mm”, and the cloth feed 413 is “2.5 mm”. The sewing speed 414 is stored as “medium speed (410 rpm)”. When the density of the heads 51 of the waiting needle 50 is “medium”, the sewing pattern 411 is “zigzag”, the needle swing 412 is “2.0 mm”, the cloth feed 413 is “1.4 mm”, and the sewing speed 414 is set. Is stored as “medium speed (410 rpm)”. In addition, when the color of the head 51 of the waiting needle 50 is “dense”, the sewing pattern 411 is “matsuri stitching”, the needle swing amount 412 is “0 mm”, the cloth feed amount 413 is “2.0 mm”, and the sewing speed 414. Is stored as “medium speed (410 rpm)”.

次に、図14を参照し、図8及び図9に示すフローチャートに基づいて縫製制御処理がなされた場合における、具体的な手順について説明する。図14は、加工布60に待ち針701、702が配置された場合において加工布60に施された縫製模様を示している。オペレータは、ミシン1による縫製に先立ち、縫い合わせたい加工布60上の、縫い合わせを開始したい位置の右側に待ち針701,702の頭部711,712が位置するように待ち針701,702を突き刺して加工布60に止める。そして図14に示す例では、待ち針701,702の配置状態が、上方から順に「疎」「密」の順に配置されている。   Next, a specific procedure in the case where the sewing control process is performed based on the flowcharts shown in FIGS. 8 and 9 will be described with reference to FIG. FIG. 14 shows a sewing pattern applied to the work cloth 60 when the waiting needles 701 and 702 are arranged on the work cloth 60. Prior to sewing with the sewing machine 1, the operator pierces the waiting needles 701 and 702 so that the heads 711 and 712 of the waiting needles 701 and 702 are positioned on the right side of the position where sewing is desired to be performed on the work cloth 60 to be sewn. Stop at 60. In the example shown in FIG. 14, the waiting needles 701 and 702 are arranged in order of “sparse” and “dense” from the top.

はじめに、一点鎖線61の上端部から縫製が開始される(S11、S13)。縫製が開始される(S13:YES)と、ミシン1のイメージセンサ30により加工布60の撮影がなされ、配置されている待ち針701の頭部711の密集度が認識される(S15)。ここで実行される密集度識処理は、例えば、第一の実施の形態における形状認識処理により認識可能な待ち針の頭部51の形状が、イメージセンサ30の撮影可能領域に何個存在するかを判断することにより実行される。そして、密集度認識処理が実行された結果、待ち針701の頭部711の密集度が「疎」であると判断され、密集度に対応する縫製条件がROM102の縫製条件記憶領域203より読み出され特定される(S17:YES)。その後、RAM103の駆動縫製条件記憶領域に記憶されている駆動縫製条件が、縫製模様:直線、針振り量:0mm、布送り量2.5mm、縫製速度:中速(410rpm)に設定され(S33〜S43)、これらの縫製条件に基づいて縫製が実行される(S45)。   First, sewing is started from the upper end portion of the alternate long and short dash line 61 (S11, S13). When sewing is started (S13: YES), the work cloth 60 is photographed by the image sensor 30 of the sewing machine 1, and the density of the heads 711 of the waiting needles 701 arranged is recognized (S15). The density knowledge processing executed here is, for example, how many shapes of the head 51 of the waiting needle that can be recognized by the shape recognition processing in the first embodiment are present in the imageable region of the image sensor 30. It is executed by judging. As a result of executing the density recognition process, it is determined that the density of the head 711 of the waiting needle 701 is “sparse”, and the sewing condition corresponding to the density is read from the sewing condition storage area 203 of the ROM 102. It is specified (S17: YES). Thereafter, the drive sewing conditions stored in the drive sewing condition storage area of the RAM 103 are set to sewing pattern: straight line, needle swing amount: 0 mm, cloth feed amount 2.5 mm, sewing speed: medium speed (410 rpm) (S33). To S43), sewing is executed based on these sewing conditions (S45).

次いで、押え足13が、待ち針50の頭部51の密集度が「密」となっている部分の左方に到達する。するとこのタイミングで、イメージセンサ30により待ち針702の頭部712が撮影され、密集度が認識される(S15)。そして、「密」に対応する縫製条件がROM102の縫製条件記憶領域203より読み出され特定される(S17:YES)。その後、RAM103の駆動縫製条件記憶領域に記憶されている駆動縫製条件が、縫製模様:まつり縫い、針振り量:0mm、布送り量2.0mm、縫製速度:中速(410rpm)に変更され(S33〜S43)、これらの縫製条件に基づいて縫製が実行される(S45)。   Next, the presser foot 13 reaches the left of the portion where the density of the head 51 of the waiting needle 50 is “dense”. Then, at this timing, the head 712 of the waiting needle 702 is photographed by the image sensor 30, and the density is recognized (S15). Then, the sewing condition corresponding to “fine” is read from the sewing condition storage area 203 of the ROM 102 and specified (S17: YES). After that, the drive sewing conditions stored in the drive sewing condition storage area of the RAM 103 are changed to the sewing pattern: festival sewing, needle swing amount: 0 mm, cloth feed amount 2.0 mm, sewing speed: medium speed (410 rpm) ( S33 to S43), sewing is executed based on these sewing conditions (S45).

次いで、オペレータにより縫製開始・停止スイッチ91が一度押下げられる(S14:YES)。このことにより縫製は中断される(S12)。以上のように縫製制御処理が実行されることにより、加工布60における一点鎖線61上には、情報から順に「直線」「まつり縫い」の縫製模様にて縫製がなされる。   Next, the sewing start / stop switch 91 is once depressed by the operator (S14: YES). As a result, the sewing is interrupted (S12). By executing the sewing control process as described above, the sewing is performed on the alternate long and short dash line 61 in the work cloth 60 according to the sewing pattern of “straight line” and “festival sewing” in order from the information.

以上説明したように、あらかじめ縫製を施したい加工布に待ち針50が配置され、この頭部51が、ミシン1が備えるイメージセンサ30により撮影される。そして、撮影により得られる像情報から頭部51の密集度が認識され、認識された密集度に対応した縫製条件に基づいて縫製制御処理が実行される。このことによって、縫製の途中で縫製条件を変更する必要がなくなり、操作に習熟していないオペレータ(縫製者)であっても、複雑な模様を縫製することが可能となる。   As described above, the waiting needle 50 is arranged on the work cloth to be sewn in advance, and the head 51 is photographed by the image sensor 30 provided in the sewing machine 1. Then, the density of the head 51 is recognized from the image information obtained by photographing, and sewing control processing is executed based on the sewing conditions corresponding to the recognized density. This eliminates the need to change the sewing conditions in the middle of sewing, and even an operator (sewer) who is not familiar with the operation can sew a complex pattern.

尚、図1に示す針棒8とミシンモータ77とが、本発明の「縫製手段」に相当し、図5に示す縫製模様301、針振り302、布送り303、及び縫製速度304、図11に示す縫製模様401、針振り402、布送り403、及び縫製速度404、図13に示す縫製模様411、針振り412、布送り413、及び縫製速度414にそれぞれ記憶されている縫製条件が、本発明の「縫製条件」に相当する。また、図6に示す待ち針50の頭部51が本発明の「標識」に相当し、図2におけるイメージセンサ30を介し、図8に示すS15において加工布を撮影する処理を行うCPU101が、本発明の「撮像手段」に相当する。また、待ち針50の頭部51の形状、色、及び、加工布上に待ち針50が配置された場合における頭部51の密集度が、本発明の「形態的特徴」に相当する。また、図8に示すS15において、待ち針50を撮影した結果得られる像の形態的特徴を判断する処理を行うCPU101が、本発明の「判別手段」に相当する。また、ROM102の縫製条件記憶領域203に記憶されている縫製条件が、本発明の「縫製条件情報」に相当し、「縫製条件情報」を記憶するROM102が本発明の「縫製条件記憶手段」に相当する。また、図8に示すS18においてROM102の縫製条件記憶領域203を読み出す処理を行うCPU101が、本発明の「読み出し手段」に相当し、図8に示すS19、及び、図9に示すS45において、特定した縫製条件に基づいて縫製制御処理を行うために縫製手段を制御する処理を行うCPU101が、本発明の「制御手段」に相当する。また、ミシン1を駆動させるためにROM102の制御プログラム記憶領域201に記憶されている制御プログラムが、本発明の「ミシン制御プログラム」に相当する。   The needle bar 8 and the sewing machine motor 77 shown in FIG. 1 correspond to the “sewing means” of the present invention, and the sewing pattern 301, needle swing 302, cloth feed 303, sewing speed 304, and sewing speed 304 shown in FIG. The sewing conditions stored in the sewing pattern 401, the needle swing 402, the cloth feed 403, and the sewing speed 404, and the sewing pattern 411, the needle swing 412, the cloth feed 413, and the sewing speed 414 shown in FIG. This corresponds to the “sewing conditions” of the invention. Further, the head 51 of the waiting needle 50 shown in FIG. 6 corresponds to the “sign” of the present invention, and the CPU 101 that performs processing of photographing the work cloth in S15 shown in FIG. 8 via the image sensor 30 in FIG. It corresponds to “imaging means” of the invention. Further, the shape and color of the head 51 of the waiting needle 50 and the density of the head 51 when the waiting needle 50 is arranged on the work cloth correspond to the “morphological features” of the present invention. Further, in S15 shown in FIG. 8, the CPU 101 that performs processing for determining the morphological characteristics of the image obtained as a result of photographing the waiting needle 50 corresponds to the “discriminating means” of the present invention. The sewing conditions stored in the sewing condition storage area 203 of the ROM 102 correspond to the “sewing condition information” of the present invention, and the ROM 102 storing “sewing condition information” serves as the “sewing condition storage means” of the present invention. Equivalent to. Further, the CPU 101 that performs the process of reading the sewing condition storage area 203 of the ROM 102 in S18 shown in FIG. 8 corresponds to the “reading unit” of the present invention. In S19 shown in FIG. 8 and S45 shown in FIG. The CPU 101 that performs the process of controlling the sewing means in order to perform the sewing control process based on the sewing conditions thus obtained corresponds to the “control means” of the present invention. A control program stored in the control program storage area 201 of the ROM 102 for driving the sewing machine 1 corresponds to the “sewing control program” of the present invention.

なお、本発明のミシン1は、前述した実施形態に限定されるものではなく、本発明の要旨を逸脱しない範囲において各種の変形が可能なことは言うまでもない。例えば、前述の実施形態では、予め加工布60に待ち針50が配置され、ミシン1のイメージセンサ30が待ち針50の頭部51を撮影し形態的特徴を認識することによって、縫製条件を特定したが、変形例として、本発明に係る標識をシール801〜804(図15参照)として構成することも可能である。以下に、図15を参照して、変形例に係るシール801〜804を用いた縫製制御処理について説明する。図15は、シール801〜804が加工布60に貼付された状態を示した図である。   Needless to say, the sewing machine 1 of the present invention is not limited to the above-described embodiment, and various modifications can be made without departing from the gist of the present invention. For example, in the above-described embodiment, the sewing needles 50 are preliminarily arranged on the work cloth 60 and the sewing conditions are specified by the image sensor 30 of the sewing machine 1 photographing the head 51 of the waiting needle 50 and recognizing morphological features. As a modification, the sign according to the present invention can be configured as seals 801 to 804 (see FIG. 15). Below, with reference to FIG. 15, the sewing control process using the seal | stickers 801-804 which concerns on a modification is demonstrated. FIG. 15 is a view showing a state in which the seals 801 to 804 are affixed to the work cloth 60.

図15に示すように、シール801〜804は、複数の平面視形状(「星」(801)「三角」(802)「丸」(803)「×字」(804)を有している。なお、これらのシールには、片面に粘着層が形成されており、この粘着層により加工布60に貼り付けられている。このことによって、前述の待ち針50と同様に、所望の縫い方で縫製を開始・終了する位置を特定することができる。実際の縫製に際して、オペレータは、図15に示すように、加工布60上に、シール801〜804の形状のそれぞれに対応付けられている縫製条件で縫製を開始・終了したい位置に貼り付ける。そして、ミシン1に加工布60をセットすると、前述の待ち針50を用いた例と同様にして、シール801〜804がイメージセンサ30によって順次読み取られ、これらの形状が認識される。そして、対応する縫製条件が特定され、縫製条件に応じてミシンモータ77、針振り用モータ78、及び送り量調整用モータ76が制御される。なお、シール801〜804を用いる場合、待ち針50のように針部52を有しないため、取り扱いが容易であるという利点がある。その一方で、加工布60を縫い合わせる際の仮止めはできないため、実際に縫針16によって縫製される経路を、別途しつけ糸等で仮止めする必要がある。   As shown in FIG. 15, the seals 801 to 804 have a plurality of planar shapes (“star” (801), “triangle” (802), “circle” (803), “× character” (804)). Note that an adhesive layer is formed on one side of these seals, and is adhered to the work cloth 60 by this adhesive layer, thereby sewing in a desired sewing manner in the same manner as the waiting needle 50 described above. In actual sewing, the operator can sew sewing conditions associated with the shapes of the seals 801 to 804 on the work cloth 60 as shown in FIG. Then, when the work cloth 60 is set on the sewing machine 1, the seals 801 to 804 are sequentially placed by the image sensor 30 in the same manner as in the example using the waiting needle 50 described above. Then, the corresponding sewing conditions are specified, and the sewing machine motor 77, the needle swinging motor 78, and the feed amount adjusting motor 76 are controlled in accordance with the sewing conditions. In the case of using the seals 801 to 804, there is an advantage that handling is easy because the needle portion 52 is not provided like the waiting needle 50. On the other hand, since the work cloth 60 cannot be temporarily fixed, It is necessary to temporarily fix the path to be sewn by the sewing needle 16 with a basting thread or the like.

また、本実施の形態においては、待ち針50の頭部51を撮影することにより得られる像情報の形態的特徴として、頭部51の形状、頭部51の色、及び、頭部51の密集度のいずれかを縫製条件(縫製模様、針振り量、布送り量、縫製速度)に対応付け、駆動縫製条件を特定して縫製を実行したが、これに限定されるものではない。従って、複数の形態的特徴の組み合わせに縫製条件を対応付けることにより、駆動縫製条件を特定してもよいし、縫製条件(縫製模様、針振り量、布送り量、縫製速度)それぞれに異なる形態的特徴(形状、色、密集度)を対応付けることにより、駆動縫製条件を特定してもよい(例えば、頭部51の形状に縫製模様を対応付け、頭部51の色に針振り量を対応付け、布送り量に密集度を対応付けてもよい)。   In the present embodiment, as the morphological features of the image information obtained by photographing the head 51 of the waiting needle 50, the shape of the head 51, the color of the head 51, and the degree of congestion of the head 51 Is associated with the sewing conditions (sewing pattern, needle swing amount, cloth feed amount, sewing speed), and the sewing is executed by specifying the drive sewing conditions, but is not limited thereto. Accordingly, the driving sewing conditions may be specified by associating the sewing conditions with a combination of a plurality of morphological features, and the morphological that is different for each of the sewing conditions (sewing pattern, needle swing amount, cloth feed amount, sewing speed). Drive sewing conditions may be specified by associating features (shape, color, density) (for example, a sewing pattern is associated with the shape of the head 51, and a needle swing amount is associated with the color of the head 51). Further, the degree of congestion may be associated with the cloth feed amount).

また、本実施の形態においては、4つの縫製条件(縫製模様、針振り量、布送り量、縫製速度)を待ち針50の頭部51の形態的特徴に対応付けていたが、これに限定されるものではない。従って、これらの縫製条件のうちいずれかのみを形態的特徴に対応付けることによって、駆動縫製条件を特定してもかまわない。   In the present embodiment, four sewing conditions (sewing pattern, needle swing amount, cloth feed amount, sewing speed) are associated with the morphological features of the head 51 of the waiting needle 50, but the present invention is not limited to this. It is not something. Therefore, the driving sewing condition may be specified by associating only one of these sewing conditions with the morphological feature.

ミシン1の斜視図である。1 is a perspective view of a sewing machine 1. FIG. アーム頭部4aの拡大図である。It is an enlarged view of the arm head 4a. ミシン1の電気的構成を示すブロック図である。2 is a block diagram showing an electrical configuration of the sewing machine 1. FIG. ROM102に設けられている記憶領域を示す模式図である。3 is a schematic diagram showing a storage area provided in a ROM 102. FIG. 第一の実施の形態における縫製条件記憶領域203を示す模式図である。It is a schematic diagram showing a sewing condition storage area 203 in the first embodiment. 第一の実施の形態における待ち針50の形状を示した外観図である。It is the external view which showed the shape of the waiting needle 50 in 1st embodiment. 待ち針50が固定された加工布60の様子を示した図である。It is the figure which showed the mode of the work cloth 60 to which the waiting needle 50 was fixed. 縫製制御処理のメインフローチャートである。It is a main flowchart of a sewing control process. 縫製パラメータ特定処理のサブルーティンフローチャートである。It is a subroutine flowchart of sewing parameter specification processing. 第一の実施の形態において加工布60に施された縫製模様を示している。The sewing pattern given to the work cloth 60 in the first embodiment is shown. 第二の実施の形態における縫製条件記憶領域203を示す模式図である。It is a schematic diagram which shows the sewing condition storage area 203 in 2nd embodiment. 第二の実施の形態において加工布60に配置された待ち針601〜603を示している。The waiting needles 601 to 603 arranged on the work cloth 60 in the second embodiment are shown. 第三の実施の形態における縫製条件記憶領域203を示す模式図である。It is a schematic diagram which shows the sewing condition storage area 203 in 3rd embodiment. 第三の実施の形態において加工布60に配置された待ち針701、702を示している。The waiting needles 701 and 702 arranged on the work cloth 60 in the third embodiment are shown. 加工布60に貼付されたシール801〜804を示している。The stickers 801 to 804 attached to the work cloth 60 are shown.

符号の説明Explanation of symbols

1 ミシン
8 針棒
30 イメージセンサ
50、501、502、503、504、601、602、603、701、702、 待ち針
76 送り量調整用モータ
77 ミシンモータ
78 針振り用モータ
101 CPU
102 ROM
203 縫製条件記憶領域
103 RAM
801、802、803、804 シール
1 sewing machine 8 needle bar 30 image sensors 50, 501, 502, 503, 504, 601, 602, 603, 701, 702, waiting needle 76 feed amount adjusting motor 77 sewing motor 78 needle swinging motor 101 CPU
102 ROM
203 Sewing condition storage area 103 RAM
801, 802, 803, 804 seal

Claims (6)

縫針が装着された針棒と、当該針棒を上下方向に駆動させる針棒機構をミシン主軸を介して駆動するミシンモータとから構成される縫製手段により、加工布上に縫製を行うミシンであって、
縫製条件を特定するために前記加工布上に配置された標識を撮像可能な撮像手段と、
前記撮像手段により撮像された結果得られる像の形態的特徴を判別する判別手段と、
前記形態的特徴と、縫製条件に関する情報である縫製条件情報とを対応付けて記憶する縫製条件記憶手段と、
前記判別手段により判別された前記形態的特徴に対応する縫製条件情報を、前記縫製条件記憶手段から読み出す読み出し手段と、
前記読み出し手段によって読み出された前記縫製条件情報に基づいて縫製条件を特定し、前記縫製手段を制御して縫製を行う制御手段と
を備えたことを特徴とするミシン。
A sewing machine that performs sewing on a work cloth by sewing means that includes a needle bar with a sewing needle and a sewing machine motor that drives a needle bar mechanism that drives the needle bar in the vertical direction through a sewing machine spindle. And
An imaging means capable of imaging a sign placed on the work cloth in order to specify a sewing condition;
Discriminating means for discriminating the morphological characteristics of an image obtained as a result of being imaged by the imaging means;
Sewing condition storage means for storing the morphological features in association with sewing condition information that is information relating to the sewing conditions;
Reading means for reading out sewing condition information corresponding to the morphological features determined by the determining means from the sewing condition storage means;
A sewing machine comprising: control means for specifying a sewing condition based on the sewing condition information read by the reading means, and controlling the sewing means to perform sewing.
前記判別手段は、
前記形態的特徴として、前記標識の形状、色彩、及び密集度のうち少なくとも1つを判別することを特徴とする請求項1に記載のミシン。
The discrimination means includes
The sewing machine according to claim 1, wherein at least one of the shape, color, and density of the sign is determined as the morphological feature.
前記針棒を布送り方向に対して左右方向に揺動させる針振り機構を駆動する針振り用モータと、
ミシンベッド上の前記加工布を所定の送り量で移送する布送り機構の送り量を調整する送り量調整用モータとをさらに備え、
前記縫製条件情報は、
前記ミシン主軸の回転速度に関するデータである縫製速度データ、前記針振り機構による前記縫針の左右方向の移動量に関するデータである針振り量データ、及び前記布送り機構による前記加工布の送り量に関するデータである送り量データのうち少なくとも1つを含み、
前記制御手段は、
前記ミシンモータ、前記針振り用モータ、及び前記送り量調整用モータのうち少なくとも1つを制御することを特徴とする請求項1又は2に記載のミシン。
A needle swinging motor that drives a needle swinging mechanism that swings the needle bar in the lateral direction with respect to the cloth feeding direction;
A feed amount adjusting motor for adjusting a feed amount of a cloth feed mechanism that transports the work cloth on the sewing machine bed at a predetermined feed amount;
The sewing condition information is
Sewing speed data, which is data related to the rotational speed of the sewing machine spindle, needle swing amount data, which is data related to the amount of movement of the sewing needle in the left-right direction by the needle swing mechanism, and data related to the work cloth feed amount by the cloth feed mechanism Including at least one of the feed amount data,
The control means includes
The sewing machine according to claim 1 or 2, wherein at least one of the sewing machine motor, the needle swinging motor, and the feed amount adjusting motor is controlled.
前記標識は、頭部と針部とを有する待ち針であることを特徴とする請求項1乃至3のいずれかに記載のミシン。   The sewing machine according to any one of claims 1 to 3, wherein the mark is a waiting needle having a head portion and a needle portion. 前記標識は、一方の面に粘着層を有したラベル上のシールであることを特徴とする請求項1乃至3のいずれかに記載のミシン。   The sewing machine according to any one of claims 1 to 3, wherein the mark is a seal on a label having an adhesive layer on one surface. 請求項1乃至5のいずれかに記載のミシンの各種処理手段としてコンピュータを機能させるためのミシン制御プログラム。   A sewing machine control program for causing a computer to function as various processing means of the sewing machine according to any one of claims 1 to 5.
JP2008045439A 2008-02-27 2008-02-27 Sewing machine and sewing machine control program Pending JP2009201621A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2008045439A JP2009201621A (en) 2008-02-27 2008-02-27 Sewing machine and sewing machine control program
US12/379,414 US20090266282A1 (en) 2008-02-27 2009-02-20 Sewing machine and computer-readable medium storing sewing machine control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008045439A JP2009201621A (en) 2008-02-27 2008-02-27 Sewing machine and sewing machine control program

Publications (1)

Publication Number Publication Date
JP2009201621A true JP2009201621A (en) 2009-09-10

Family

ID=41144481

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008045439A Pending JP2009201621A (en) 2008-02-27 2008-02-27 Sewing machine and sewing machine control program

Country Status (2)

Country Link
US (1) US20090266282A1 (en)
JP (1) JP2009201621A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013070037A1 (en) * 2011-11-11 2013-05-16 주식회사 썬스타 Apparatus for displaying marking information for automatic sewing machine
WO2019116603A1 (en) * 2017-12-15 2019-06-20 ブラザー工業株式会社 Sewing machine
CN114790617A (en) * 2022-03-25 2022-07-26 嘉兴慕思寝室用品有限公司 Pleat cotton type processing method and fabric

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011161087A (en) * 2010-02-12 2011-08-25 Brother Industries Ltd Sewing machine
JP2012045020A (en) * 2010-08-24 2012-03-08 Brother Ind Ltd Sewing machine
JP5942389B2 (en) * 2011-11-09 2016-06-29 ブラザー工業株式会社 sewing machine
JP2013099455A (en) * 2011-11-09 2013-05-23 Brother Ind Ltd Sewing machine
CN114411341B (en) * 2022-01-26 2022-08-02 卡拉库立传动科技(台州)有限公司 Automatic gathering operation method of sewing machine and sewing machine

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2649540B2 (en) * 1988-04-28 1997-09-03 蛇の目ミシン工業株式会社 Embroidery sewing machine
JP2943444B2 (en) * 1991-09-12 1999-08-30 アイシン精機株式会社 Embroidery machine
IL99757A (en) * 1991-10-15 1995-06-29 Orisol Original Solutions Ltd Apparatus and method for automatic preparation of a sewing program
US6499513B1 (en) * 2000-11-15 2002-12-31 Andrew M. Bakaysza Method and apparatus for manufacturing sewn goods
US7854207B2 (en) * 2004-11-08 2010-12-21 Brother Kogyo Kabushiki Kaisha Data processing unit and pattern forming method
JP2007289653A (en) * 2006-03-28 2007-11-08 Brother Ind Ltd Sewing machine and sewing machine capable of embroidery sewing
JP2008212579A (en) * 2007-03-08 2008-09-18 Brother Ind Ltd Sewing machine, sign for sewing and sewing machine control program

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013070037A1 (en) * 2011-11-11 2013-05-16 주식회사 썬스타 Apparatus for displaying marking information for automatic sewing machine
WO2019116603A1 (en) * 2017-12-15 2019-06-20 ブラザー工業株式会社 Sewing machine
US11274385B2 (en) 2017-12-15 2022-03-15 Brother Kogyo Kabushiki Kaisha Sewing machine
US11680347B2 (en) 2017-12-15 2023-06-20 Brother Kogyo Kabushiki Kaisha Sewing machine
CN114790617A (en) * 2022-03-25 2022-07-26 嘉兴慕思寝室用品有限公司 Pleat cotton type processing method and fabric
CN114790617B (en) * 2022-03-25 2023-07-25 嘉兴慕思智能家居有限公司 Method for processing gathered cotton and fabric

Also Published As

Publication number Publication date
US20090266282A1 (en) 2009-10-29

Similar Documents

Publication Publication Date Title
JP5141264B2 (en) sewing machine
JP4811508B2 (en) sewing machine
JP2009201621A (en) Sewing machine and sewing machine control program
US7848842B2 (en) Sewing machine and sewing machine capable of embroidery sewing
US8948901B2 (en) Sewing machine
US7949421B2 (en) Multi-needle type embroidery sewing machine and computer-readable storage medium including a computer control program for the multi-needle type embroidery sewing machine
JP2008212579A (en) Sewing machine, sign for sewing and sewing machine control program
JP2008229197A (en) Embroidery data processor, embroidery sewing machine, embroidery data processing program, and computer readable recording medium recorded with embroidery data processing program
US20120048163A1 (en) Sewing machine and non-transitory computer-readable medium storing sewing machine control program
US8909366B2 (en) Sewing machine and computer program product
JP2008220619A (en) Embroidery sewing system
CN106894176A (en) Embroidery machine
US8061287B2 (en) Sewing data processing apparatus, sewing machine equipped with sewing data processing apparatus, and computer-readable recording medium with recorded sewing data processing computer program
JPH11235485A (en) Electronic control type sewing machine
US11625867B2 (en) Sewing apparatus
WO2016129491A1 (en) Cutting device and appliqué sewing method
US8033232B2 (en) Embroidery data processing apparatus, sewing machine equipped with the embroidery data processing apparatus, and computer-readable recording medium with recorded embroidery data processing computer program
TW201408835A (en) Sewing machine
JP4715936B2 (en) sewing machine
JP4636731B2 (en) sewing machine
JP2010233753A (en) Sewing machine
JP2001276452A (en) Information display device for sewing machine
JP2011083510A (en) Embroidery data processing device, sewing machine, embroidery data processing program, and storage medium storing embroidery data processing program
JPH09215879A (en) Sewing machine information display device
TW201329308A (en) Marking information display apparatus for automatic sewing machine