JP2019216984A - Sewing machine and sewing method - Google Patents

Sewing machine and sewing method Download PDF

Info

Publication number
JP2019216984A
JP2019216984A JP2018116627A JP2018116627A JP2019216984A JP 2019216984 A JP2019216984 A JP 2019216984A JP 2018116627 A JP2018116627 A JP 2018116627A JP 2018116627 A JP2018116627 A JP 2018116627A JP 2019216984 A JP2019216984 A JP 2019216984A
Authority
JP
Japan
Prior art keywords
sewing
data
abnormality
pattern
target
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
JP2018116627A
Other languages
Japanese (ja)
Inventor
仁彦 横瀬
Yoshihiko Yokose
仁彦 横瀬
孝浩 佐野
Takahiro Sano
孝浩 佐野
耕一 近藤
Koichi Kondo
耕一 近藤
山田 和範
Kazunori Yamada
山田  和範
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.)
Juki Corp
Original Assignee
Juki Corp
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 Juki Corp filed Critical Juki Corp
Priority to JP2018116627A priority Critical patent/JP2019216984A/en
Priority to CN201910538465.5A priority patent/CN110616511B/en
Publication of JP2019216984A publication Critical patent/JP2019216984A/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/08Arrangements for inputting stitch or pattern data to memory ; Editing stitch or pattern data
    • DTEXTILES; PAPER
    • D05SEWING; EMBROIDERING; TUFTING
    • D05BSEWING
    • D05B19/00Programme-controlled sewing machines
    • D05B19/02Sewing machines having electronic memory or microprocessor control unit
    • D05B19/12Sewing machines having electronic memory or microprocessor control unit characterised by control of operation of machine
    • D05B19/14Control of needle movement, e.g. varying amplitude or period of needle movement
    • DTEXTILES; PAPER
    • D05SEWING; EMBROIDERING; TUFTING
    • D05BSEWING
    • D05B19/00Programme-controlled sewing machines
    • D05B19/02Sewing machines having electronic memory or microprocessor control unit
    • D05B19/12Sewing machines having electronic memory or microprocessor control unit characterised by control of operation of machine
    • D05B19/16Control of workpiece movement, e.g. modulation of travel of feed dog

Landscapes

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

Abstract

To suppress manufacturing of a defective sewing object and occurrence of an abnormal operation of a sewing machine.SOLUTION: A sewing machine 1 includes: a holding member holding a sewing object S in a predetermined plane including a sewing position right under a sewing needle 3; actuators 16, 17 for moving the holding member; an imaging apparatus 30 capable of imaging the sewing object; a sewing data acquisition part for acquiring first sewing data which are referred to in first sewing processing and second sewing data which are referred to in second sewing processing that is executed next to the first sewing processing; an initial position data acquisition part for acquiring data of an initial position of a feature pattern; a current position data acquisition part for acquiring current position data of the feature pattern on the basis of image data of the sewing object; an abnormality detection part for detecting abnormality of the sewing object on the basis of the initial position data and the current position data; and a control part for outputting a detection result when abnormality has been detected, and for outputting a control signal for controlling the actuators on the basis of the first sewing data and the second sewing data when abnormality is not detected.SELECTED DRAWING: Figure 1

Description

本発明は、ミシン及び縫製方法に関する。   The present invention relates to a sewing machine and a sewing method.

縫製対象物の意匠性を高めるために、縫製対象物にステッチが形成される場合がある。特許文献1及び特許文献2には、車両用シートに使用される表皮材にステッチを形成する技術が開示されている。   Stitches may be formed on the sewing object in order to enhance the design of the sewing object. Patent Literature 1 and Patent Literature 2 disclose techniques for forming stitches on a skin material used for a vehicle seat.

特開2013−162957号公報JP 2013-162957 A 特開2016−141297号公報JP-A-2006-141297

車両用シートに使用される表皮材は、厚みがあり弾力性を有する。厚みがあり弾力性を有する縫製対象物にステッチが形成されると、縫製対象物が縮んで縫製対象物の表面が変位する可能性がある。例えば縫製データに基づいて第1のステッチを形成した後に第2のステッチを形成する場合、第1のステッチの形成により縫製対象物の表面が変位すると、第2のステッチを縫製対象物の目標位置に形成することが困難となる可能性がある。ステッチを縫製対象物の目標位置に形成することが困難な状況が生じたにもかかわらず、縫製処理が継続されると、不良な縫製対象物が製造されたり、ミシンが異常動作したりする可能性がある。   A skin material used for a vehicle seat has a thickness and elasticity. When a stitch is formed on a thick and elastic sewing object, the sewing object may shrink and the surface of the sewing object may be displaced. For example, when forming the second stitch after forming the first stitch based on the sewing data, when the surface of the sewing object is displaced by the formation of the first stitch, the second stitch is moved to the target position of the sewing object. May be difficult to form. Despite a situation where it is difficult to form a stitch at the target position of the sewing object, if the sewing process is continued, a defective sewing object may be manufactured or the sewing machine may operate abnormally. There is.

本発明の態様は、不良な縫製対象物の製造及びミシンの異常動作の発生を抑制することを目的とする。   An object of the present invention is to suppress the production of a defective sewing object and the occurrence of abnormal operation of the sewing machine.

本発明の第1の態様に従えば、ミシン針の直下の縫製位置を含む所定面内において縫製対象物を保持して移動可能な保持部材と、前記保持部材を移動させるアクチュエータと、前記縫製対象物を撮影可能な撮像装置と、第1縫製処理において参照される第1縫製データ及び前記第1縫製処理の次に実施される第2縫製処理において参照される第2縫製データを取得する縫製データ取得部と、前記縫製対象物に配置されている特徴パターンの初期位置を示す初期位置データを取得する初期位置データ取得部と、前記撮像装置によって撮影された前記縫製対象物の画像データに基づいて前記特徴パターンの現状位置を示す現状位置データを取得する現状位置データ取得部と、前記初期位置データと前記現状位置データとに基づいて前記縫製対象物の異常を検出する異常検出部と、異常が検出された場合、前記異常検出部の検出結果を出力し、異常が検出されない場合、前記第1縫製データ及び前記第2縫製データに基づいて前記アクチュエータを制御する制御信号を出力する制御部と、を備えるミシンが提供される。   According to the first aspect of the present invention, a holding member capable of holding and moving a sewing object in a predetermined plane including a sewing position immediately below a sewing needle, an actuator for moving the holding member, and a sewing object An imaging device capable of photographing an object, and sewing data for acquiring first sewing data referred to in a first sewing process and second sewing data referred to in a second sewing process performed after the first sewing process An acquisition unit, an initial position data acquisition unit that acquires initial position data indicating an initial position of a characteristic pattern arranged on the sewing target, and based on image data of the sewing target captured by the imaging device. A current position data acquisition unit for acquiring current position data indicating a current position of the characteristic pattern; and the sewing object based on the initial position data and the current position data. An abnormality detection unit that detects an abnormality, and when an abnormality is detected, outputs a detection result of the abnormality detection unit. When no abnormality is detected, the actuator detects the abnormality based on the first sewing data and the second sewing data. A control unit that outputs a control signal to be controlled.

本発明の第2の態様に従えば、第1縫製処理において参照される第1縫製データ及び前記第1縫製処理の次に実施される第2縫製処理において参照される第2縫製データを取得することと、縫製対象物に配置されている特徴パターンの初期位置を示す初期位置データを取得することと、前記縫製対象物の画像データに基づいて前記特徴パターンの現状位置を示す現状位置データを取得することと、前記初期位置データと前記現状位置データとに基づいて前記縫製対象物の異常を検出することと、異常が検出された場合、検出結果を出力し、異常が検出されない場合、前記第1縫製データ及び前記第2縫製データに基づいてミシン針と前記縫製対象物とを所定面内において相対移動させて前記縫製対象物にステッチを形成することと、を含む縫製方法が提供される。   According to the second aspect of the present invention, the first sewing data referred to in the first sewing process and the second sewing data referred to in the second sewing process performed after the first sewing process are acquired. Acquiring the initial position data indicating the initial position of the characteristic pattern arranged on the sewing object, and acquiring the current position data indicating the current position of the characteristic pattern based on the image data of the sewing object And detecting an abnormality of the sewing target object based on the initial position data and the current position data.If an abnormality is detected, a detection result is output, and if no abnormality is detected, the second Forming a stitch on the sewing object by relatively moving the sewing needle and the sewing object in a predetermined plane based on the first sewing data and the second sewing data. A method is provided.

本発明の態様によれば、不良な縫製対象物の製造及びミシンの異常動作の発生を抑制することができる。   ADVANTAGE OF THE INVENTION According to the aspect of this invention, manufacture of a defective sewing object and generation | occurrence | production of the abnormal operation | movement of a sewing machine can be suppressed.

図1は、本実施形態に係るミシンの一例を示す斜視図である。FIG. 1 is a perspective view illustrating an example of the sewing machine according to the present embodiment. 図2は、本実施形態に係るミシンの一部を示す斜視図である。FIG. 2 is a perspective view showing a part of the sewing machine according to the embodiment. 図3は、本実施形態に係るミシンの一部を示す斜視図である。FIG. 3 is a perspective view showing a part of the sewing machine according to the present embodiment. 図4は、本実施形態に係る縫製対象物の一例を示す断面図である。FIG. 4 is a cross-sectional view illustrating an example of the sewing target object according to the present embodiment. 図5は、本実施形態に係る縫製対象物の一例を示す平面図である。FIG. 5 is a plan view illustrating an example of the sewing target object according to the present embodiment. 図6は、本実施形態に係る縫製対象物の一例を示す断面図である。FIG. 6 is a cross-sectional view illustrating an example of the sewing target object according to the present embodiment. 図7は、本実施形態に係る制御装置の一例を示す機能ブロック図である。FIG. 7 is a functional block diagram illustrating an example of the control device according to the present embodiment. 図8は、本実施形態に係る縫製対象物の特徴パターンの一例を示す図である。FIG. 8 is a diagram illustrating an example of a characteristic pattern of the sewing target according to the present embodiment. 図9は、本実施形態に係る変位量の算出方法を説明するための図である。FIG. 9 is a diagram for explaining a method of calculating the amount of displacement according to the present embodiment. 図10は、本実施形態に係る変位量の算出方法を説明するための図である。FIG. 10 is a diagram for explaining a method of calculating the amount of displacement according to the present embodiment. 図11は、本実施形態に係る変位量の算出方法を説明するための図である。FIG. 11 is a diagram for explaining a method of calculating the amount of displacement according to the present embodiment. 図12は、本実施形態に係る縫製方法の一例を示すフローチャートである。FIG. 12 is a flowchart illustrating an example of the sewing method according to the present embodiment. 図13は、本実施形態に係る縫製方法の一例を示すフローチャートである。FIG. 13 is a flowchart illustrating an example of the sewing method according to the present embodiment. 図14は、本実施形態に係る縫製方法の一例を説明するための模式図である。FIG. 14 is a schematic diagram for explaining an example of the sewing method according to the present embodiment. 図15は、本実施形態に係る縫製方法の一例を説明するための模式図である。FIG. 15 is a schematic diagram for explaining an example of the sewing method according to the present embodiment. 図16は、本実施形態に係る縫製方法の一例を説明するための模式図である。FIG. 16 is a schematic diagram for explaining an example of the sewing method according to the present embodiment.

以下、本発明に係る実施形態について図面を参照しながら説明するが、本発明はこれに限定されない。以下で説明する実施形態の構成要素は、適宜組み合わせることができる。また、一部の構成要素を用いない場合もある。   Hereinafter, embodiments of the present invention will be described with reference to the drawings, but the present invention is not limited thereto. The components of the embodiments described below can be appropriately combined. In some cases, some components are not used.

本実施形態では、ミシン1についてローカル座標系(以下、「ミシン座標系」という。)が規定される。ミシン座標系は、XYZ直交座標系により規定される。本実施形態では、ミシン座標系に基づいて各部の位置関係について説明する。所定面内のX軸と平行な方向をX軸方向とする。X軸と直交する所定面内のY軸と平行な方向をY軸方向とする。所定面と直交するZ軸と平行な方向をZ軸方向とする。また、本実施形態では、X軸及びY軸を含む平面を、XY平面、と称する。X軸及びZ軸を含む平面を、XZ平面、と称する。Y軸及びZ軸を含む平面を、YZ平面、と称する。XY平面は、所定面と平行である。XY平面とXZ平面とYZ平面とは直交する。また、本実施形態では、XY平面と水平面とが平行である。Z軸方向は上下方向である。+Z方向は上方向であり−Z方向は下方向である。なお、XY平面は水平面に対して傾斜していてもよい。   In the present embodiment, a local coordinate system (hereinafter, referred to as “sewing machine coordinate system”) is defined for the sewing machine 1. The sewing machine coordinate system is defined by an XYZ orthogonal coordinate system. In the present embodiment, a description will be given of the positional relationship between the components based on the sewing machine coordinate system. A direction parallel to the X axis in a predetermined plane is defined as an X axis direction. A direction parallel to the Y axis in a predetermined plane orthogonal to the X axis is defined as a Y axis direction. A direction parallel to the Z axis orthogonal to the predetermined plane is defined as a Z axis direction. In the present embodiment, a plane including the X axis and the Y axis is referred to as an XY plane. A plane including the X axis and the Z axis is referred to as an XZ plane. A plane including the Y axis and the Z axis is referred to as a YZ plane. The XY plane is parallel to the predetermined plane. The XY plane, the XZ plane, and the YZ plane are orthogonal to each other. In the present embodiment, the XY plane and the horizontal plane are parallel. The Z-axis direction is a vertical direction. The + Z direction is upward and the -Z direction is downward. Note that the XY plane may be inclined with respect to the horizontal plane.

図1、図2を用いて、ミシン1について説明する。図1は、本実施形態に係るミシン1の一例を示す斜視図である。図2は、本実施形態に係るミシン1の一部を示す斜視図である。本実施形態では、ミシン1は、電子サイクルミシンである。ミシン1は、ミシン本体10と、作業者によって操作される操作装置20と、縫製対象物Sを撮影可能な撮像装置30と、ミシン1を制御する制御装置40とを備える。   The sewing machine 1 will be described with reference to FIGS. FIG. 1 is a perspective view illustrating an example of a sewing machine 1 according to the present embodiment. FIG. 2 is a perspective view showing a part of the sewing machine 1 according to the present embodiment. In the present embodiment, the sewing machine 1 is an electronic cycle sewing machine. The sewing machine 1 includes a sewing machine main body 10, an operation device 20 operated by an operator, an imaging device 30 capable of photographing the sewing object S, and a control device 40 for controlling the sewing machine 1.

ミシン本体10は、テーブル2の上面に搭載される。ミシン本体10は、ミシンフレーム11と、ミシンフレーム11に支持される針棒12と、ミシンフレーム11に支持される針板13と、支持部材14を介してミシンフレーム11に支持される保持部材15と、針棒12を移動させる動力を発生するアクチュエータ16と、保持部材15を移動させる動力を発生するアクチュエータ17と、保持部材15の少なくとも一部を移動させる動力を発生するアクチュエータ18とを有する。   The sewing machine main body 10 is mounted on the upper surface of the table 2. The sewing machine main body 10 includes a sewing machine frame 11, a needle bar 12 supported by the sewing machine frame 11, a needle plate 13 supported by the sewing machine frame 11, and a holding member 15 supported by the sewing machine frame 11 via a support member 14. An actuator 16 for generating power for moving the needle bar 12, an actuator 17 for generating power for moving the holding member 15, and an actuator 18 for generating power for moving at least a part of the holding member 15.

ミシンフレーム11は、Y軸方向に延在する水平アーム11Aと、水平アーム11Aよりも下方に配置されたベッド11Bと、水平アーム11Aの+Y側の端部とベッド11Bとを繋ぐ垂直アーム11Cと、水平アーム11Aの−Y側に配置されたヘッド11Dとを有する。   The sewing machine frame 11 includes a horizontal arm 11A extending in the Y-axis direction, a bed 11B arranged below the horizontal arm 11A, a vertical arm 11C connecting the + Y side end of the horizontal arm 11A and the bed 11B. And a head 11D disposed on the −Y side of the horizontal arm 11A.

針棒12は、ミシン針3を保持する。針棒12は、ミシン針3とZ軸とが平行になるようにミシン針3を保持する。針棒12は、Z軸方向に移動可能にヘッド11Dに支持される。   The needle bar 12 holds the sewing needle 3. The needle bar 12 holds the sewing machine needle 3 so that the sewing machine needle 3 and the Z axis are parallel. The needle bar 12 is supported by the head 11D so as to be movable in the Z-axis direction.

針板13は、縫製対象物Sを支持する。針板13は、保持部材15を支持する。針板13は、ベッド11Bに支持される。針板13は、保持部材15よりも下方に配置される。   The needle plate 13 supports the sewing object S. The needle plate 13 supports the holding member 15. The needle plate 13 is supported by the bed 11B. The needle plate 13 is disposed below the holding member 15.

保持部材15は、縫製対象物Sを保持する。保持部材15は、ミシン針3の直下の縫製位置Psを含むXY平面内において縫製対象物Sを保持して移動可能である。保持部材15は、撮像装置30の撮影位置Pfを含むXY平面内において縫製対象物Sを保持して移動可能である。保持部材15が縫製対象物Sを保持した状態で後述する縫製データに基づいて縫製位置Psを含むXY平面内において移動することにより、縫製対象物SにステッチGPが形成される。保持部材15は、支持部材14を介して水平アーム11Aに支持される。   The holding member 15 holds the sewing object S. The holding member 15 is capable of holding and moving the sewing object S in the XY plane including the sewing position Ps immediately below the sewing needle 3. The holding member 15 is capable of holding and moving the sewing object S in the XY plane including the shooting position Pf of the imaging device 30. The stitch GP is formed on the sewing object S by moving the holding member 15 in the XY plane including the sewing position Ps based on sewing data described later while holding the sewing object S. The holding member 15 is supported by the horizontal arm 11A via the support member 14.

保持部材15は、向かい合って配置された押え部材15Aと、下板15Bとを有する。押え部材15Aは、枠状の部材であり、Z軸方向に移動可能である。押え部材15Aの内側を縫製領域PAという。縫製領域PAの少なくとも形状と大きさとを含むデータは、マスクデータとして記憶装置60に記憶されている。下板15Bは、押え部材15Aの下方に配置される。保持部材15は、押え部材15Aと下板15Bとで縫製対象物Sを挟むことによって縫製対象物Sを保持する。   The holding member 15 has a pressing member 15A and a lower plate 15B that are arranged to face each other. The holding member 15A is a frame-shaped member and is movable in the Z-axis direction. The inside of the holding member 15A is referred to as a sewing area PA. Data including at least the shape and size of the sewing area PA is stored in the storage device 60 as mask data. The lower plate 15B is arranged below the holding member 15A. The holding member 15 holds the sewing object S by sandwiching the sewing object S between the holding member 15A and the lower plate 15B.

押え部材15Aが+Z方向に移動すると、押え部材15Aと下板15Bとが離間する。これにより、作業者は、押え部材15Aと下板15Bとの間に縫製対象物Sを配置することができる。押え部材15Aと下板15Bとの間に縫製対象物Sが配置された状態で押え部材15Aが−Z方向に移動すると、縫製対象物Sは押え部材15Aと下板15Bとで挟まれる。これにより、縫製対象物Sは保持部材15によって保持される。また、押え部材15Aが+Z方向に移動することにより、保持部材15による縫製対象物Sの保持が解除される。これにより、作業者は、押え部材15Aと下板15Bとの間から縫製対象物Sを取り出すことができる。   When the holding member 15A moves in the + Z direction, the holding member 15A and the lower plate 15B separate from each other. Thereby, the operator can arrange the sewing target object S between the holding member 15A and the lower plate 15B. When the holding member 15A moves in the −Z direction in a state where the sewing object S is disposed between the holding member 15A and the lower plate 15B, the sewing object S is sandwiched between the holding member 15A and the lower plate 15B. Thereby, the sewing object S is held by the holding member 15. The holding of the sewing object S by the holding member 15 is released by the movement of the holding member 15A in the + Z direction. Thereby, the worker can take out the sewing target object S from between the holding member 15A and the lower plate 15B.

図3を用いて、保持部材15に配置された枠部材15Cについて説明する。図3は、本実施形態に係るミシンの一部を示す斜視図である。枠部材15Cは、押え部材15Aの内側に配置される。枠部材15Cは、縫製領域PAのうち、縫製対象物SにステッチGPが形成される領域を露出して、他の領域を覆う枠状の部材である。枠部材15Cにおいて縫製領域PAが露出した領域、言い換えると、溝になっている領域を枠内縫製領域PA1という。枠内縫製領域PA1の少なくとも形状と大きさとを含むデータは、マスクデータとして記憶装置60に記憶されている。   The frame member 15C arranged on the holding member 15 will be described with reference to FIG. FIG. 3 is a perspective view showing a part of the sewing machine according to the present embodiment. The frame member 15C is arranged inside the holding member 15A. The frame member 15C is a frame-shaped member that exposes an area where the stitch GP is formed on the sewing object S in the sewing area PA and covers another area. The area where the sewing area PA is exposed in the frame member 15C, in other words, the grooved area is referred to as the in-frame sewing area PA1. Data including at least the shape and size of the in-frame sewing area PA1 is stored in the storage device 60 as mask data.

アクチュエータ16は、針棒12をZ軸方向に移動させる動力を発生する。アクチュエータ16は、パルスモータを含む。アクチュエータ16は、水平アーム11Aに配置されている。   The actuator 16 generates power for moving the needle bar 12 in the Z-axis direction. The actuator 16 includes a pulse motor. The actuator 16 is arranged on the horizontal arm 11A.

水平アーム11Aの内部には、Y軸方向に延在する水平アームシャフトが配置されている。アクチュエータ16は、水平アームシャフトの+Y側の端部に連結される。水平アームシャフトの−Y側の端部は、ヘッド11Dの内部に配置されている動力伝達機構を介して針棒12に連結される。アクチュエータ16の作動により、水平アームシャフトが回転する。アクチュエータ16で発生した動力は、水平アームシャフト及び動力伝達機構を介して針棒12に伝達される。これにより、針棒12に保持されているミシン針3は、Z軸方向に往復移動する。   A horizontal arm shaft extending in the Y-axis direction is arranged inside the horizontal arm 11A. The actuator 16 is connected to the end on the + Y side of the horizontal arm shaft. The −Y side end of the horizontal arm shaft is connected to the needle bar 12 via a power transmission mechanism arranged inside the head 11D. The operation of the actuator 16 causes the horizontal arm shaft to rotate. The power generated by the actuator 16 is transmitted to the needle bar 12 via a horizontal arm shaft and a power transmission mechanism. Thereby, the sewing machine needle 3 held by the needle bar 12 reciprocates in the Z-axis direction.

垂直アーム11Cの内部には、Z軸方向に延在するタイミングベルトが配置されている。また、ベッド11Bの内部には、Y軸方向に延在するベッドシャフトが配置されている。水平アームシャフト及びベッドシャフトのそれぞれにプーリが配置されている。タイミングベルトは、水平アームシャフトに配置されているプーリ及びベッドシャフトに配置されているプーリのそれぞれに架けられる。水平アームシャフトとベッドシャフトとは、タイミングベルトを含む動力伝達機構を介して連結される。   A timing belt extending in the Z-axis direction is disposed inside the vertical arm 11C. In addition, a bed shaft extending in the Y-axis direction is arranged inside the bed 11B. Pulleys are arranged on each of the horizontal arm shaft and the bed shaft. The timing belt is wound around each of a pulley arranged on the horizontal arm shaft and a pulley arranged on the bed shaft. The horizontal arm shaft and the bed shaft are connected via a power transmission mechanism including a timing belt.

ベッド11Bの内部には、釜が配置されている。釜には、ボビンケースに入れられたボビンが収容される。アクチュエータ16の作動により、水平アームシャフト及びベッドシャフトのそれぞれが回転する。アクチュエータ16で発生した動力は、水平アームシャフト、タイミングベルト、及びベッドシャフトを介して釜に伝達される。これにより、釜は、針棒12のZ軸方向の往復移動と同期して回転する。   A shuttle is arranged inside the bed 11B. The bobbin accommodates a bobbin housed in a bobbin case. By the operation of the actuator 16, each of the horizontal arm shaft and the bed shaft rotates. The power generated by the actuator 16 is transmitted to the shuttle via the horizontal arm shaft, the timing belt, and the bed shaft. Thus, the shuttle rotates in synchronization with the reciprocating movement of the needle bar 12 in the Z-axis direction.

アクチュエータ17は、保持部材15をXY平面内で移動させる動力を発生する。アクチュエータ17は、パルスモータを含む。アクチュエータ17は、保持部材15をX軸方向に移動させる動力を発生するX軸モータ17Xと、保持部材15をY軸方向に移動させる動力を発生するY軸モータ17Yとを含む。アクチュエータ17は、ベッド11Bの内部に配置されている。   The actuator 17 generates power for moving the holding member 15 in the XY plane. Actuator 17 includes a pulse motor. The actuator 17 includes an X-axis motor 17X that generates power for moving the holding member 15 in the X-axis direction, and a Y-axis motor 17Y that generates power for moving the holding member 15 in the Y-axis direction. The actuator 17 is arranged inside the bed 11B.

アクチュエータ17で発生した動力は、支持部材14を介して保持部材15に伝達される。これにより、保持部材15は、ミシン針3と針板13との間においてX軸方向及びY軸方向のそれぞれに移動可能である。アクチュエータ17の作動により、保持部材15は、ミシン針3の直下の縫製位置Psを含むXY平面内において縫製対象物Sを保持して移動可能である。   The power generated by the actuator 17 is transmitted to the holding member 15 via the support member 14. Thus, the holding member 15 is movable between the sewing needle 3 and the needle plate 13 in the X-axis direction and the Y-axis direction. By the operation of the actuator 17, the holding member 15 can move while holding the sewing object S in the XY plane including the sewing position Ps immediately below the sewing needle 3.

アクチュエータ18は、保持部材15の押え部材15AをZ軸方向に移動させる動力を発生する。アクチュエータ18は、パルスモータを含む。押え部材15Aが+Z方向に移動することにより、押え部材15Aと下板15Bとが離間する。押え部材15Aが−Z方向に移動することにより、押え部材15Aと下板15Bとで縫製対象物Sが挟まれる。   The actuator 18 generates power for moving the holding member 15A of the holding member 15 in the Z-axis direction. The actuator 18 includes a pulse motor. When the holding member 15A moves in the + Z direction, the holding member 15A and the lower plate 15B are separated from each other. By moving the holding member 15A in the −Z direction, the sewing target S is sandwiched between the holding member 15A and the lower plate 15B.

図2に示すように、ミシン本体10は、ミシン針3の周囲に配置される中押え部材19を有する。中押え部材19は、ミシン針3の周囲の縫製対象物Sを押える。中押え部材19は、Z軸方向に移動可能にヘッド11Dに支持される。ヘッド11Dの内部には、中押え部材19をZ軸方向に移動させる動力を発生する中押えモータが配置されている。中押えモータの作動により、中押え部材19は、針棒12と同期してZ軸方向に移動する。中押え部材19により、ミシン針3の移動による縫製対象物Sの浮き上がりが抑制される。   As shown in FIG. 2, the sewing machine main body 10 has a middle pressing member 19 disposed around the sewing needle 3. The intermediate presser member 19 presses the sewing object S around the sewing needle 3. The intermediate pressing member 19 is supported by the head 11D so as to be movable in the Z-axis direction. Inside the head 11D, a middle presser motor that generates power for moving the middle presser member 19 in the Z-axis direction is arranged. By the operation of the intermediate presser motor, the intermediate presser member 19 moves in the Z-axis direction in synchronization with the needle bar 12. The lifting of the sewing object S due to the movement of the sewing needle 3 is suppressed by the middle presser member 19.

操作装置20は、作業者に操作される。操作装置20が操作されることにより、ミシン1が作動する。本実施形態では、操作装置20は、操作パネル21と、操作ペダル22とを含む。   The operation device 20 is operated by an operator. When the operation device 20 is operated, the sewing machine 1 operates. In the present embodiment, the operation device 20 includes an operation panel 21 and an operation pedal 22.

操作パネル21は、液晶ディスプレイ(LCD:Liquid Crystal Display)又は有機ELディスプレイ(OELD:Organic Electroluminescence Display)のようなフラットパネルディスプレイを含む表示装置と、作業者に操作されることにより入力データを生成する入力装置とを有する。本実施形態では、入力装置は、表示装置の表示画面に配置されているタッチセンサを含む。すなわち、本実施形態では、操作パネル21は、入力装置の機能を有するタッチパネルを含む。操作パネル21は、テーブル2の上面に搭載される。操作ペダル22は、テーブル2の下方に配置される。作業者は、足で操作ペダル22を操作する。作業者により操作パネル21及び操作ペダル22の少なくとも一方が操作されることにより、ミシン1は作動する。   The operation panel 21 generates input data by being operated by a worker and a display device including a flat panel display such as a liquid crystal display (LCD: Liquid Crystal Display) or an organic EL display (OELD: Organic Electroluminescence Display). An input device. In the present embodiment, the input device includes a touch sensor arranged on the display screen of the display device. That is, in the present embodiment, the operation panel 21 includes a touch panel having the function of an input device. The operation panel 21 is mounted on the upper surface of the table 2. The operation pedal 22 is arranged below the table 2. The operator operates the operation pedal 22 with the foot. When at least one of the operation panel 21 and the operation pedal 22 is operated by the operator, the sewing machine 1 operates.

撮像装置30は、保持部材15に保持されている縫製対象物Sを撮影する。撮像装置30は、光学系と、光学系を介して入射する光を受光するイメージセンサとを有する。イメージセンサは、CCD(Couple Charged Device)イメージセンサ又はCMOS(Complementary Metal Oxide Semiconductor)イメージセンサを含む。   The imaging device 30 captures an image of the sewing target S held by the holding member 15. The imaging device 30 includes an optical system and an image sensor that receives light incident through the optical system. The image sensor includes a CCD (Couple Charged Device) image sensor or a CMOS (Complementary Metal Oxide Semiconductor) image sensor.

撮像装置30は、針板13及び保持部材15よりも上方に配置される。撮影位置Pfは、撮像装置30の光学系の光軸AXの位置を含む。撮像装置30に撮影領域FAが規定される。撮影領域FAは、撮像装置30の光学系の視野領域を含む。撮影領域FAは、撮影位置Pfを含む。撮像装置30は、撮影領域FAに配置された縫製対象物Sの少なくとも一部の画像データを取得する。撮像装置30は、押え部材15Aの内側に配置されている縫製対象物Sの少なくとも一部を上方から撮影する。   The imaging device 30 is arranged above the needle plate 13 and the holding member 15. The photographing position Pf includes the position of the optical axis AX of the optical system of the imaging device 30. An imaging area FA is defined in the imaging device 30. The photographing area FA includes a visual field area of the optical system of the imaging device 30. The photographing area FA includes a photographing position Pf. The imaging device 30 acquires image data of at least a part of the sewing target object S arranged in the shooting area FA. The imaging device 30 captures an image of at least a part of the sewing target S arranged inside the holding member 15A from above.

撮像装置30の位置は、固定されている。撮像装置30とミシンフレーム11との相対位置は、固定されている。XY平面内における撮像装置30の光学系の光軸AXとミシン針3との相対位置は、固定されている。XY平面内における撮像装置30の光学系の光軸AXとミシン針3との相対位置を示す相対位置データは、ミシン1の設計データから導出可能な既知データである。   The position of the imaging device 30 is fixed. The relative position between the imaging device 30 and the sewing machine frame 11 is fixed. The relative position between the optical axis AX of the optical system of the imaging device 30 and the sewing machine needle 3 in the XY plane is fixed. The relative position data indicating the relative position between the optical axis AX of the optical system of the imaging device 30 and the sewing machine needle 3 in the XY plane is known data that can be derived from the design data of the sewing machine 1.

なお、撮像装置30の取付誤差に起因して、撮像装置30の実際の位置と設計データにおける位置とに差異が生じる場合、撮像装置30の取付後において、XY平面内におけるミシン針3の位置を計測し、計測されたミシン針3の位置を撮像装置30に向かって既知データ分だけ移動し、XY平面内における撮像装置30の実際の位置と移動後のミシン針3の位置との差分を計測することにより、その差分の計測結果に基づいて、撮像装置30の光学系の光軸AXとミシン針3との正確な相対位置を算出可能である。   When a difference occurs between the actual position of the imaging device 30 and the position in the design data due to the mounting error of the imaging device 30, after the mounting of the imaging device 30, the position of the sewing machine needle 3 in the XY plane is changed. The measured position of the sewing needle 3 is moved toward the imaging device 30 by the amount of known data, and the difference between the actual position of the imaging device 30 in the XY plane and the moved position of the sewing needle 3 is measured. By doing so, it is possible to calculate an accurate relative position between the optical axis AX of the optical system of the imaging device 30 and the sewing machine needle 3 based on the measurement result of the difference.

さらに、ミシン1は、アクチュエータ16の駆動量を検出する駆動量センサ31と、アクチュエータ17の駆動量を検出する駆動量センサ32とを有する。   Further, the sewing machine 1 has a drive amount sensor 31 for detecting the drive amount of the actuator 16 and a drive amount sensor 32 for detecting the drive amount of the actuator 17.

駆動量センサ31は、アクチュエータ16であるパルスモータの回転量を検出するエンコーダを含む。駆動量センサ31の検出データは、制御装置40に出力される。   The drive amount sensor 31 includes an encoder that detects the amount of rotation of the pulse motor serving as the actuator 16. The detection data of the drive amount sensor 31 is output to the control device 40.

駆動量センサ32は、X軸モータ17Xの回転量を検出するX軸センサ32Xと、Y軸モータ17Yの回転量を検出するY軸センサ32Yとを含む。X軸センサ32Xは、X軸モータ17Xの回転量を検出するエンコーダを含む。Y軸センサ32Yは、Y軸モータ17Yの回転量を検出するエンコーダを含む。駆動量センサ32の検出データは、制御装置40に出力される。   The drive amount sensor 32 includes an X-axis sensor 32X that detects a rotation amount of the X-axis motor 17X, and a Y-axis sensor 32Y that detects a rotation amount of the Y-axis motor 17Y. The X-axis sensor 32X includes an encoder that detects a rotation amount of the X-axis motor 17X. Y-axis sensor 32Y includes an encoder that detects the amount of rotation of Y-axis motor 17Y. The detection data of the drive amount sensor 32 is output to the control device 40.

駆動量センサ32は、XY平面内における保持部材15の位置を検出する位置センサとして機能する。アクチュエータ17の駆動量と保持部材15の移動量とは1対1で対応する。   The drive amount sensor 32 functions as a position sensor that detects the position of the holding member 15 in the XY plane. The driving amount of the actuator 17 and the moving amount of the holding member 15 correspond one to one.

X軸センサ32Xは、X軸モータ17Xの回転量を検出することにより、ミシン座標系における原点からの保持部材15のX軸方向の移動量を検出可能である。Y軸センサ32Yは、Y軸モータ17Yの回転量を検出することにより、ミシン座標系における原点からの保持部材15のY軸方向の移動量を検出可能である。   The X-axis sensor 32X can detect the amount of movement of the holding member 15 in the X-axis direction from the origin in the sewing machine coordinate system by detecting the amount of rotation of the X-axis motor 17X. The Y-axis sensor 32Y can detect the amount of rotation of the holding member 15 from the origin in the sewing machine coordinate system in the Y-axis direction by detecting the amount of rotation of the Y-axis motor 17Y.

図4及び図5を用いて、縫製対象物Sについて説明する。図4は、本実施形態に係る縫製対象物Sの一例を示す断面図である。図5は、本実施形態に係る縫製対象物Sの一例を示す平面図である。図4及び図5は、縫製処理が実施される前の縫製対象物Sを示す。本実施形態では、縫製対象物Sは、車両用シートに使用される表皮材である。   The sewing object S will be described with reference to FIGS. 4 and 5. FIG. 4 is a cross-sectional view illustrating an example of the sewing target object S according to the present embodiment. FIG. 5 is a plan view illustrating an example of the sewing target object S according to the present embodiment. 4 and 5 show the sewing target S before the sewing process is performed. In the present embodiment, the sewing object S is a skin material used for a vehicle seat.

図4に示すように、縫製対象物Sは、表材4と、パッド材5と、裏材6とを有する。表材4に孔7が形成される。   As shown in FIG. 4, the sewing target S has a surface material 4, a pad material 5, and a backing material 6. A hole 7 is formed in the surface material 4.

表材4の表面は、車両用シートに搭乗者が着座したときに搭乗者と接触する着座面である。表材4は、織布、不織布、及び皮革の少なくとも一つを含む。パッド材5は、弾力性を有する。パッド材5は、例えばウレタン樹脂を含む。裏材6は、織布、不織布、及び皮革の少なくとも1つを含む。   The surface of the front material 4 is a seating surface that comes into contact with the occupant when the occupant sits on the vehicle seat. The surface material 4 includes at least one of a woven fabric, a nonwoven fabric, and leather. The pad material 5 has elasticity. The pad material 5 contains, for example, urethane resin. The backing 6 includes at least one of a woven fabric, a nonwoven fabric, and leather.

図5に示すように、孔7は、表材4に複数配置されている。孔7は、規定パターンDPで配置されている。本実施形態では、規定パターンDPは、複数の基準パターンDPhを含む。1つの基準パターンDPhは、複数の孔7によって形成される。本実施形態では、複数の孔7により基準パターンDPhが形成される。本実施形態では、1つの基準パターンDPhが17個の孔7で形成される。   As shown in FIG. 5, a plurality of holes 7 are arranged in the surface material 4. The holes 7 are arranged in a prescribed pattern DP. In the present embodiment, the specified pattern DP includes a plurality of reference patterns DPh. One reference pattern DPh is formed by a plurality of holes 7. In the present embodiment, the reference pattern DPh is formed by the plurality of holes 7. In the present embodiment, one reference pattern DPh is formed by 17 holes 7.

図5に示すように、基準パターンDPhは、間隔をあけて表材4に配置されている。基準パターンDPhは、X軸方向及びY軸方向のそれぞれに等間隔で配置されている。X軸方向に隣り合う基準パターンDPhの間に、Y軸方向の位置が異なる基準パターンDPhが配置される。隣り合う基準パターンDPhの間に孔7は形成されない。以下の説明においては、表材4の表面のうち基準パターンDPhの間の孔7が形成されない領域を、ステッチ形成領域MA、と称する。ステッチ形成領域MAには、縫製対象物Sに形成されるステッチGPの目標パターンRPが規定される。   As shown in FIG. 5, the reference patterns DPh are arranged on the front material 4 at intervals. The reference patterns DPh are arranged at regular intervals in each of the X-axis direction and the Y-axis direction. Reference patterns DPh having different positions in the Y-axis direction are arranged between the reference patterns DPh adjacent in the X-axis direction. No hole 7 is formed between adjacent reference patterns DPh. In the following description, a region on the surface of the surface material 4 where the holes 7 are not formed between the reference patterns DPh is referred to as a stitch forming region MA. In the stitch formation area MA, a target pattern RP of a stitch GP formed on the sewing object S is defined.

図6を用いて、厚みがあり弾力性を有する縫製対象物SにステッチGPが形成された際に縫製対象物Sの表面に生じる変位について説明する。図6は、本実施形態に係る縫製対象物Sの一例を示す断面図である。図6は、縫製処理が実施された後の縫製対象物Sを示す。縫製対象物Sは、厚みがあり弾力性を有する。厚みがあり弾力性を有する縫製対象物SにステッチGPが形成されることにより、図6に示すように、縫製対象物Sが縮む可能性が高い。縫製対象物Sが縮むと、縫製対象物Sの表面が変位する可能性がある。XY平面内において縫製対象物Sの表面が変位した場合、縫製対象物Sの表面に規定されているステッチGPの目標位置がXY平面内において変位する可能性が高い。ステッチGPの目標位置がXY平面内において変位した場合、目標パターンRPに従って保持部材15を移動させると、ステッチGPを目標位置に形成することが困難となる。本実施形態においては、ステッチGPの形成により縫製対象物Sが縮んで縫製対象物Sの表面が変位しても、次のステッチGPが目標位置に形成されるように、変位量に応じて保持部材15が移動される。   A displacement generated on the surface of the sewing object S when the stitch GP is formed on the sewing object S having a thickness and elasticity will be described with reference to FIG. FIG. 6 is a cross-sectional view illustrating an example of the sewing target object S according to the present embodiment. FIG. 6 shows the sewing target S after the sewing process has been performed. The sewing object S has a thickness and elasticity. By forming the stitch GP on the thick and elastic sewing object S, there is a high possibility that the sewing object S shrinks as shown in FIG. When the sewing target S contracts, the surface of the sewing target S may be displaced. When the surface of the sewing target S is displaced in the XY plane, there is a high possibility that the target position of the stitch GP defined on the surface of the sewing target S is displaced in the XY plane. When the target position of the stitch GP is displaced in the XY plane, if the holding member 15 is moved according to the target pattern RP, it becomes difficult to form the stitch GP at the target position. In this embodiment, even if the sewing object S shrinks due to the formation of the stitch GP and the surface of the sewing object S is displaced, the stitch GP is held in accordance with the displacement amount so that the next stitch GP is formed at the target position. The member 15 is moved.

縫製対象物Sの表面の変位量が許容範囲を超える場合、保持部材15は、変位量に応じてXY平面内において大きく移動することになる。その結果、例えば保持部材15の少なくとも一部がミシン針3の直下の縫製位置Psに配置される可能性がある。保持部材15が縫製位置Psに配置されると、ミシン針3が保持部材15に接触する可能性がある。すなわち、縫製対象物Sの表面の変位量が許容範囲を超える場合、ミシン1が異常動作するおそれがある。ミシン1の異常動作は、保持部材15の少なくとも一部が縫製位置Psに配置されるようにアクチュエータ17が駆動されることを含む。   When the amount of displacement of the surface of the sewing target object S exceeds the allowable range, the holding member 15 moves largely in the XY plane according to the amount of displacement. As a result, for example, at least a part of the holding member 15 may be arranged at the sewing position Ps immediately below the sewing needle 3. When the holding member 15 is disposed at the sewing position Ps, there is a possibility that the sewing needle 3 contacts the holding member 15. That is, when the amount of displacement of the surface of the sewing object S exceeds the allowable range, the sewing machine 1 may operate abnormally. The abnormal operation of the sewing machine 1 includes driving the actuator 17 so that at least a part of the holding member 15 is arranged at the sewing position Ps.

本実施形態では、制御装置40は、縫製対象物Sの表面の変位量が許容範囲を超える場合、異常と判定して、異常結果を出力して、次のステッチGPの縫製処理が継続されないように制御する。これにより、ミシン1の異常動作の発生が抑制される。また、縫製対象物Sの表面の変位量が許容範囲である場合、制御装置40は、ステッチGPの形成により縫製対象物Sが縮んで縫製対象物Sの表面が変位しても、次のステッチGPが目標位置に形成されるように制御する。   In the present embodiment, when the amount of displacement of the surface of the sewing object S exceeds the allowable range, the control device 40 determines that the sewing is abnormal, outputs an abnormal result, and prevents the sewing process of the next stitch GP from continuing. To control. Thereby, the occurrence of the abnormal operation of the sewing machine 1 is suppressed. Further, when the displacement of the surface of the sewing object S is within the allowable range, the control device 40 sets the next stitch even if the sewing object S shrinks due to the formation of the stitch GP and the surface of the sewing object S is displaced. Control is performed so that GP is formed at the target position.

図7を用いて、制御装置40について説明する。図7は、本実施形態に係る制御装置40の一例を示す機能ブロック図である。制御装置40は、ミシン1を制御する制御信号を出力する。制御装置40は、コンピュータシステムを含む。制御装置40は、入出力インターフェース装置50と、ROM(Read Only Memory)又はストレージのような不揮発性メモリ及びRAM(Random Access Memory)のような揮発性メモリを含む記憶装置60と、CPU(Central Processing Unit)のようなプロセッサを含む演算処理装置70とを有する。   The control device 40 will be described with reference to FIG. FIG. 7 is a functional block diagram illustrating an example of the control device 40 according to the present embodiment. The control device 40 outputs a control signal for controlling the sewing machine 1. Control device 40 includes a computer system. The control device 40 includes an input / output interface device 50, a storage device 60 including a nonvolatile memory such as a ROM (Read Only Memory) or a storage and a volatile memory such as a RAM (Random Access Memory), and a CPU (Central Processing). And an arithmetic processing unit 70 including a processor such as a unit.

図7に示すように、制御装置40には、ミシン針3をZ軸方向に移動させるアクチュエータ16と、保持部材15をXY平面内において移動させるアクチュエータ17と、保持部材15の押え部材15AをZ軸方向に移動させるアクチュエータ18と、操作装置20と、撮像装置30と、報知装置80とが、入出力インターフェース装置50を介して接続される。   As shown in FIG. 7, the controller 40 includes an actuator 16 for moving the sewing machine needle 3 in the Z-axis direction, an actuator 17 for moving the holding member 15 in the XY plane, and a pressing member 15A for the holding member 15 in the Z direction. The actuator 18 that moves in the axial direction, the operation device 20, the imaging device 30, and the notification device 80 are connected via the input / output interface device 50.

また、本実施形態では、制御装置40には、アクチュエータ16の駆動量を検出する駆動量センサ31と、アクチュエータ17の駆動量を検出する駆動量センサ32とが接続される。   In the present embodiment, the control device 40 is connected with a drive amount sensor 31 that detects the drive amount of the actuator 16 and a drive amount sensor 32 that detects the drive amount of the actuator 17.

制御装置40は、駆動量センサ31の検出データに基づいて、アクチュエータ16を制御する。制御装置40は、駆動量センサ31の検出データに基づいて、例えばアクチュエータ16の作動タイミングを決定する。   The control device 40 controls the actuator 16 based on the detection data of the drive amount sensor 31. The control device 40 determines, for example, the operation timing of the actuator 16 based on the detection data of the drive amount sensor 31.

制御装置40は、駆動量センサ32の検出データに基づいて、アクチュエータ17を制御する。制御装置40は、駆動量センサ32の検出データに基づいて、保持部材15が目標位置に移動するようにアクチュエータ17をフィードバック制御する。   The control device 40 controls the actuator 17 based on the detection data of the drive amount sensor 32. The control device 40 performs feedback control of the actuator 17 based on the detection data of the drive amount sensor 32 so that the holding member 15 moves to the target position.

制御装置40は、駆動量センサ32の検出データに基づいて、XY平面内における保持部材15の位置を算出する。駆動量センサ32の検出データに基づいて、XY平面内における原点からの保持部材15の移動量が検出される。制御装置40は、検出された保持部材15の移動量に基づいて、XY平面内における保持部材15の位置を算出する。   The control device 40 calculates the position of the holding member 15 in the XY plane based on the detection data of the drive amount sensor 32. The amount of movement of the holding member 15 from the origin in the XY plane is detected based on the detection data of the drive amount sensor 32. The control device 40 calculates the position of the holding member 15 in the XY plane based on the detected movement amount of the holding member 15.

記憶装置60は、縫製データ記憶部61と、プログラム記憶部62とを有する。   The storage device 60 includes a sewing data storage unit 61 and a program storage unit 62.

縫製データ記憶部61は、縫製データを記憶する。   The sewing data storage unit 61 stores sewing data.

図5を用いて、縫製データについて説明する。上述のように、縫製データは、縫製対象物Sに形成されるステッチGPの目標パターンRP及び保持部材15の移動条件を含む。   The sewing data will be described with reference to FIG. As described above, the sewing data includes the target pattern RP of the stitch GP formed on the sewing target S and the moving condition of the holding member 15.

目標パターンRPは、縫製対象物Sに形成されるステッチGPの目標形状又は目標模様を含む。目標パターンRPは、ミシン座標系において規定される。   The target pattern RP includes a target shape or a target pattern of the stitch GP formed on the sewing target S. The target pattern RP is defined in the sewing machine coordinate system.

保持部材15の移動条件は、ミシン座標系において規定される保持部材15の移動軌跡を含む。保持部材15の移動軌跡は、XY平面内における保持部材15の移動軌跡を含む。保持部材15の移動条件は、目標パターンRPに基づいて定められる。   The movement condition of the holding member 15 includes a movement locus of the holding member 15 defined in the sewing machine coordinate system. The movement path of the holding member 15 includes the movement path of the holding member 15 in the XY plane. The moving condition of the holding member 15 is determined based on the target pattern RP.

縫製データは、縫製対象物Sの表面に規定されるステッチGPの目標位置を含む。以下の説明においては、縫製対象物Sの表面に規定されるステッチGPの目標位置を、ステッチ形成目標位置、と称する。ステッチ形成目標位置は、ミシン座標系において規定される。   The sewing data includes a target position of the stitch GP defined on the surface of the sewing object S. In the following description, the target position of the stitch GP defined on the surface of the sewing object S is referred to as a stitch formation target position. The stitch formation target position is defined in the sewing machine coordinate system.

ステッチ形成目標位置は、ステッチ形成領域MAに規定される。ミシン1は、ステッチGPがステッチ形成目標位置に形成されるように、縫製データに基づいて縫製処理を実施する。   The stitch formation target position is defined in the stitch formation area MA. The sewing machine 1 performs a sewing process based on the sewing data so that the stitch GP is formed at the stitch formation target position.

縫製データは、複数のステッチGPのそれぞれを形成するための複数の縫製データを含む。本実施形態では、縫製データは、第1ステッチGP1を形成するための第1縫製データ、第2ステッチGP2を形成するための第2縫製データ、及び、同様に第3ステッチGP3から第10ステッチGP10を形成するための第3縫製データから第10縫製データを含む。   The sewing data includes a plurality of pieces of sewing data for forming each of the plurality of stitches GP. In the present embodiment, the sewing data includes first sewing data for forming the first stitch GP1, second sewing data for forming the second stitch GP2, and similarly the third stitch GP3 to the tenth stitch GP10. Is included from the third sewing data to the tenth sewing data.

図5に示すように、目標パターンRPは、第1目標パターンRP1、第2目標パターンRP2、及び、同様に第3目標パターンRP3から第10目標パターンRP10を含む。本実施形態では、複数の目標パターンRP(RP1,RP2,RP3,RP4,RP5,RP6,RP7,RP8,RP9,RP10)は、Y軸方向に規定される。ミシン座標系において、複数の目標パターンRPのそれぞれは離間している。1つの目標パターンRPは、ライン状に規定される。本実施形態では、1つの目標パターンRPは、X軸方向に延在しY軸方向にジグザグ状(zigzag)に規定される。ステッチ形成目標位置は、目標パターンRPに対応して、ステッチ形成領域MAにおいてX軸方向に延在しY軸方向にジグザグ状に規定される。   As shown in FIG. 5, the target pattern RP includes a first target pattern RP1, a second target pattern RP2, and similarly, a third target pattern RP3 to a tenth target pattern RP10. In the present embodiment, a plurality of target patterns RP (RP1, RP2, RP3, RP4, RP5, RP6, RP7, RP8, RP9, RP10) are defined in the Y-axis direction. In the sewing machine coordinate system, each of the plurality of target patterns RP is separated. One target pattern RP is defined in a line shape. In the present embodiment, one target pattern RP extends in the X-axis direction and is defined in a zigzag shape in the Y-axis direction. The stitch formation target position is defined in the stitch formation area MA in the X-axis direction and in a zigzag manner in the Y-axis direction, corresponding to the target pattern RP.

第1縫製データは、第1縫製処理において縫製対象物Sに形成される第1ステッチGP1の第1目標パターンRP1を含む。また、第1縫製データは、第1縫製処理におけるXY平面内における保持部材15の移動条件を含む。   The first sewing data includes the first target pattern RP1 of the first stitch GP1 formed on the sewing target S in the first sewing process. Further, the first sewing data includes a moving condition of the holding member 15 in the XY plane in the first sewing process.

第2縫製データは、第2縫製処理において縫製対象物Sに形成される第2ステッチGP2の第2目標パターンRP2を含む。また、第2縫製データは、第2縫製処理におけるXY平面内における保持部材15の移動条件を含む。   The second sewing data includes the second target pattern RP2 of the second stitch GP2 formed on the sewing target S in the second sewing process. The second sewing data includes a condition for moving the holding member 15 in the XY plane in the second sewing process.

同様に第3縫製データから第10縫製データのそれぞれは、第3縫製処理から第10縫製処理のそれぞれにおいて縫製対象物Sに形成される第3ステッチGP3から第10ステッチGP10のそれぞれの第3目標パターンRP3から第10目標パターンRP10のそれぞれを含む。また、第3縫製データから第10縫製データのそれぞれは、第3縫製処理から第10縫製処理のそれぞれにおけるXY平面内における保持部材15の移動条件を含む。   Similarly, each of the third sewing data to the tenth sewing data is the third target of the third stitch GP3 to the tenth stitch GP10 formed on the sewing object S in each of the third sewing processing to the tenth sewing processing. Each of the pattern RP3 to the tenth target pattern RP10 is included. Further, each of the third sewing data to the tenth sewing data includes the moving condition of the holding member 15 in the XY plane in each of the third sewing processing to the tenth sewing processing.

第1縫製データは、第1縫製処理において参照される。第2縫製データは、第2縫製処理において参照される。同様に第3縫製データから第10縫製データのそれぞれは、第3縫製処理から第10縫製処理のそれぞれにおいて参照される。   The first sewing data is referred to in the first sewing processing. The second sewing data is referred to in the second sewing processing. Similarly, each of the third sewing data to the tenth sewing data is referred to in each of the third sewing processing to the tenth sewing processing.

第1縫製処理は、第1目標パターンRP1に基づいて縫製対象物Sに第1ステッチGP1を形成する処理を含む。第1縫製処理は、縫製対象物Sが保持部材15に保持された後に縫製対象物Sに最初にステッチGPを形成する処理である。   The first sewing process includes a process of forming the first stitch GP1 on the sewing target S based on the first target pattern RP1. The first sewing process is a process of first forming a stitch GP on the sewing object S after the sewing object S is held by the holding member 15.

第2縫製処理は、第2目標パターンRP2に基づいて縫製対象物Sに第2ステッチGP2を形成する処理を含む。第2縫製処理は、第1縫製処理の次に実施される。   The second sewing process includes a process of forming the second stitch GP2 on the sewing target S based on the second target pattern RP2. The second sewing process is performed after the first sewing process.

同様に第3縫製処理から第10縫製処理のそれぞれは、第3目標パターンRP3から第10目標パターンRP10のそれぞれに基づいて縫製対象物Sに第3ステッチGP3から第10ステッチGP10のそれぞれを形成する処理を含む。第3縫製処理から第10縫製処理は、順次実施される。   Similarly, in each of the third sewing process to the tenth sewing process, each of the third stitch GP3 to the tenth stitch GP10 is formed on the sewing target S based on each of the third target pattern RP3 to the tenth target pattern RP10. Including processing. The third to tenth sewing processes are sequentially performed.

プログラム記憶部62は、ミシン1を制御するためのコンピュータプログラムを記憶する。縫製データ記憶部61に記憶されている縫製データがプログラム記憶部62に記憶されているコンピュータプログラムに入力される。コンピュータプログラムは、演算処理装置70に読み込まれる。演算処理装置70は、プログラム記憶部62に記憶されているコンピュータプログラムに従ってミシン1を制御する。   The program storage unit 62 stores a computer program for controlling the sewing machine 1. The sewing data stored in the sewing data storage unit 61 is input to a computer program stored in the program storage unit 62. The computer program is read into the arithmetic processing unit 70. The arithmetic processing unit 70 controls the sewing machine 1 according to a computer program stored in the program storage unit 62.

演算処理装置70は、縫製データ取得部71と、初期位置データ取得部72と、現状位置データ取得部73と、変位量算出部74と、補正データ生成部75と、異常検出部76と、制御部77とを有する。   The arithmetic processing unit 70 includes a sewing data acquisition unit 71, an initial position data acquisition unit 72, a current position data acquisition unit 73, a displacement amount calculation unit 74, a correction data generation unit 75, an abnormality detection unit 76, And a portion 77.

縫製データ取得部71は、縫製データ記憶部61から縫製データを取得する。本実施形態では、縫製データ取得部71は、第1縫製処理において参照される第1縫製データ及び第1縫製処理の次に実施される第2縫製処理において参照される第2縫製データを縫製データ記憶部61から取得する。同様に、縫製データ取得部71は、第3縫製処理から第10縫製処理のそれぞれにおいて参照される第3縫製データから第10縫製データのそれぞれを縫製データ記憶部61から取得する。   The sewing data acquisition unit 71 acquires sewing data from the sewing data storage unit 61. In the present embodiment, the sewing data acquisition unit 71 converts the first sewing data referred to in the first sewing process and the second sewing data referred to in the second sewing process performed after the first sewing process into the sewing data. Obtained from the storage unit 61. Similarly, the sewing data acquisition unit 71 acquires from the sewing data storage unit 61 each of the third sewing data to the tenth sewing data referred to in each of the third sewing processing to the tenth sewing processing.

初期位置データ取得部72は、縫製対象物Sに配置されている特徴パターンUPの初期位置を示す初期位置データを取得する。特徴パターンUPの初期位置データは、ミシン座標系における特徴パターンUPの初期位置を示す。   The initial position data obtaining unit 72 obtains initial position data indicating the initial position of the characteristic pattern UP arranged on the sewing target S. The initial position data of the characteristic pattern UP indicates an initial position of the characteristic pattern UP in the sewing machine coordinate system.

特徴パターンUPの初期位置データは、CAD(Computer Aided Design)データのような縫製対象物Sの設計データから導出可能な既知データである。特徴パターンUPの初期位置データは、縫製データ記憶部61に記憶されている。初期位置データ取得部72は、縫製データ記憶部61から特徴パターンUPの初期位置データを取得する。   The initial position data of the characteristic pattern UP is known data such as CAD (Computer Aided Design) data which can be derived from design data of the sewing target S. The initial position data of the characteristic pattern UP is stored in the sewing data storage unit 61. The initial position data acquisition unit 72 acquires the initial position data of the characteristic pattern UP from the sewing data storage unit 61.

特徴パターンUPの初期位置は、縫製処理が実施される前の特徴パターンUPの位置を含む。初期位置データ取得部72は、縫製対象物Sの設計データに基づかずに、縫製処理が開始される前の縫製対象物Sの特徴パターンUPの画像データに基づいて、特徴パターンUPの初期位置を取得可能である。   The initial position of the characteristic pattern UP includes the position of the characteristic pattern UP before the sewing process is performed. The initial position data acquisition unit 72 determines the initial position of the characteristic pattern UP based on the image data of the characteristic pattern UP of the sewing object S before the sewing process is started, without being based on the design data of the sewing object S. Can be obtained.

現状位置データ取得部73は、撮像装置30によって撮影された縫製対象物Sの画像データに基づいて、縫製対象物Sに配置されている特徴パターンUPの現状位置を示す現状位置データを取得する。特徴パターンUPの現状位置データは、ミシン座標系における特徴パターンUPの現状位置を示す。   The current position data acquisition unit 73 acquires current position data indicating the current position of the characteristic pattern UP arranged on the sewing target S based on the image data of the sewing target S captured by the imaging device 30. The current position data of the characteristic pattern UP indicates the current position of the characteristic pattern UP in the sewing machine coordinate system.

本実施形態では、縫製対象物Sの特徴パターンUPは、規定パターンDPの一部である。本実施形態では、特徴パターンUPは、基準パターンDPhの一部である。本実施形態では、図8に示すように、特徴パターンUPは、基準パターンDPhの2つの鈍角な角部K3及び角部K4の両方を含むパターンとする。特徴パターンUPは、画像処理方法の一種であるパターンマッチング法により特定可能なパターンである。現状位置データ取得部73は、撮像装置30で撮影された画像データをパターンマッチング法により画像処理して、ミシン座標系における特徴パターンUPの現状位置データを算出する。   In the present embodiment, the characteristic pattern UP of the sewing target S is a part of the specified pattern DP. In the present embodiment, the feature pattern UP is a part of the reference pattern DPh. In the present embodiment, as shown in FIG. 8, the feature pattern UP is a pattern including both the obtuse corners K3 and K4 of the reference pattern DPh. The feature pattern UP is a pattern that can be specified by a pattern matching method, which is a type of image processing method. The current position data acquisition unit 73 performs image processing on the image data captured by the imaging device 30 by the pattern matching method, and calculates the current position data of the characteristic pattern UP in the sewing machine coordinate system.

縫製対象物Sに配置されている特徴パターンUPの現状位置を示す現状位置データの取得方法について説明する。まず、制御装置40は、アクチュエータ17を制御して、保持部材15に保持されている縫製対象物Sの特徴パターンUPを撮像装置30の撮影領域FAに移動させる。本実施形態では、特徴パターンUPの中心位置Cを撮像装置30の撮影領域FAの中心位置である撮影位置Pfに移動させる。撮像装置30は、撮影領域FAに配置されている特徴パターンUPを撮影する。現状位置データ取得部73は、特徴パターンUPの画像データを取得する。現状位置データ取得部73は、特徴パターンUPの画像データをパターンマッチング法により画像処理して、特定パターンUPを特定する。特徴パターンUPが撮像装置30の撮影領域FAに配置されているときのミシン座標系における保持部材15の位置は、駆動量センサ32によって検出される。上述のように、駆動量センサ32は、XY平面内における保持部材15の位置を検出する位置センサとして機能する。現状位置データ取得部73は、駆動量センサ32の検出データを取得する。このようにして、現状位置データ取得部73は、特徴パターンUPが撮影領域FAに配置されているときの駆動量センサ32の検出データに基づいて、撮像領域FAに配置されている特徴パターンUPのXY平面内における現状位置を示す現状位置データを取得可能である。   A method of acquiring current position data indicating the current position of the characteristic pattern UP arranged on the sewing target S will be described. First, the control device 40 controls the actuator 17 to move the characteristic pattern UP of the sewing object S held by the holding member 15 to the shooting area FA of the imaging device 30. In the present embodiment, the center position C of the feature pattern UP is moved to a shooting position Pf which is the center position of the shooting area FA of the imaging device 30. The imaging device 30 captures the characteristic pattern UP arranged in the capturing area FA. The current position data acquisition unit 73 acquires image data of the characteristic pattern UP. The current position data acquisition unit 73 performs image processing on the image data of the characteristic pattern UP by a pattern matching method, and specifies the specific pattern UP. The drive amount sensor 32 detects the position of the holding member 15 in the sewing machine coordinate system when the characteristic pattern UP is arranged in the photographing area FA of the imaging device 30. As described above, the drive amount sensor 32 functions as a position sensor that detects the position of the holding member 15 in the XY plane. The current position data acquisition unit 73 acquires the detection data of the drive amount sensor 32. In this manner, the current position data acquisition unit 73 determines whether the characteristic pattern UP located in the imaging area FA is based on the detection data of the drive amount sensor 32 when the characteristic pattern UP is located in the imaging area FA. Current position data indicating the current position in the XY plane can be obtained.

縫製処理が実施された後についても、同様に特徴パターンUPの現状位置を示す現状位置データが取得可能である。まず、撮像装置30は、少なくとも縫製処理が実施された後に縫製対象物Sの特徴パターンUPを撮影する。現状位置データ取得部73は、縫製処理が実施された後に撮像装置30によって撮影された縫製対象物Sの画像データに基づいて、特徴パターンUPの現状位置データを取得可能である。   Even after the sewing process is performed, the current position data indicating the current position of the characteristic pattern UP can be obtained in the same manner. First, the imaging device 30 captures the characteristic pattern UP of the sewing target S after at least the sewing process is performed. The current position data acquisition unit 73 can acquire the current position data of the characteristic pattern UP based on the image data of the sewing target object S captured by the imaging device 30 after the sewing process is performed.

変位量算出部74は、初期位置データ取得部72で取得された特徴パターンUPの初期位置データと、現状位置データ取得部73で取得された特徴パターンUPの現状位置データとに基づいて、特徴パターンUPの変位量を算出する。   The displacement amount calculation unit 74 calculates the characteristic pattern based on the initial position data of the characteristic pattern UP acquired by the initial position data acquisition unit 72 and the current position data of the characteristic pattern UP acquired by the current position data acquisition unit 73. The displacement of the UP is calculated.

特徴パターンUPの初期位置は、縫製処理が実施される前のミシン座標系における特徴パターンUPの位置を含む。特徴パターンUPの現状位置は、縫製処理が実施された後のミシン座標系における特徴パターンUPの位置を含む。変位量算出部74は、縫製処理が実施されることにより変位した特徴パターンUPの変位量を算出する。   The initial position of the characteristic pattern UP includes the position of the characteristic pattern UP in the sewing machine coordinate system before the sewing process is performed. The current position of the characteristic pattern UP includes the position of the characteristic pattern UP in the sewing machine coordinate system after the sewing process is performed. The displacement amount calculation unit 74 calculates the displacement amount of the feature pattern UP displaced by performing the sewing process.

上述のように、縫製処理が実施されることにより縫製対象物Sが縮んで縫製対象物Sの表面が変位する可能性がある。縫製対象物Sの表面が変位すると、XY平面内における特徴パターンUPの位置も変位する。変位量算出部74は、縫製処理が実施される前の特徴パターンUPの初期位置データと、縫製処理が実施された後の特徴パターンUPの現状位置データとに基づいて、特徴パターンUPの変位量を算出する。   As described above, when the sewing process is performed, the sewing target S may shrink and the surface of the sewing target S may be displaced. When the surface of the sewing object S is displaced, the position of the feature pattern UP in the XY plane is also displaced. The displacement calculating unit 74 calculates the displacement of the feature pattern UP based on the initial position data of the feature pattern UP before the sewing process is performed and the current position data of the feature pattern UP after the sewing process is performed. Is calculated.

図9、図10、及び図11を用いて、第1縫製処理が施された後の変位量の算出方法について説明する。また、以下、X軸方向に配置される2つの特徴パターンUPa(UPa0,UPa1)及び特徴パターンUPb(UPb0,UPb1)のそれぞれにおける変位量の算出方法について説明する。   A method of calculating the displacement after the first sewing process is performed will be described with reference to FIGS. 9, 10, and 11. FIG. Hereinafter, a method of calculating the amount of displacement in each of two feature patterns UPa (UPa0, UPa1) and feature pattern UPb (UPb0, UPb1) arranged in the X-axis direction will be described.

図9においては、第1縫製処理が実施される前の特徴パターンUPa0及び特徴パターンUPb0を破線で示し、第1縫製処理が実施された後の特徴パターンUPa1及び特徴パターンUPb1を実線で示す。特徴パターンUPa0、特徴パターンUPb0、特徴パターンUPa1、及び特徴パターンUPb1のそれぞれの画像データは、撮像装置30によって撮影される。   In FIG. 9, the characteristic patterns UPa0 and UPb0 before the first sewing process is performed are indicated by broken lines, and the characteristic patterns UPa1 and UPb1 after the first sewing process are executed are indicated by solid lines. Each image data of the characteristic pattern UPa0, the characteristic pattern UPb0, the characteristic pattern UPa1, and the characteristic pattern UPb1 is captured by the imaging device 30.

中心位置Ca0は、特徴パターンUPa0の中心位置であり、中心位置Cb0は、特徴パターンUPb0の中心位置である。   The center position Ca0 is the center position of the feature pattern UPa0, and the center position Cb0 is the center position of the feature pattern UPb0.

第1縫製処理が実施される前においては、特徴パターンUPa0及び特徴パターンUPb0は変位しない。すなわち、第1縫製処理が実施される前においては、縫製データ記憶部61に記憶されている特徴パターンUPa0の初期位置と特徴パターンUPa0の現状位置とは一致する。縫製データ記憶部61に記憶されている特徴パターンUPb0の初期位置と特徴パターンUPb0の現状位置とは一致する。   Before the first sewing process is performed, the characteristic pattern UPa0 and the characteristic pattern UPb0 are not displaced. That is, before the first sewing process is performed, the initial position of the feature pattern UPa0 stored in the sewing data storage unit 61 matches the current position of the feature pattern UPa0. The initial position of the characteristic pattern UPb0 stored in the sewing data storage unit 61 matches the current position of the characteristic pattern UPb0.

図9に示すように、第1縫製データに基づいて第1縫製処理が実施され、第1ステッチGP1が形成されることにより、縫製対象物Sの少なくとも一部が縮む。これにより、特徴パターンUPa0は、XY平面内において特徴パターンUPa1に変位する。中心位置Ca0は、XY平面内において中心位置Ca1に変位する。特徴パターンUPb0は、XY平面内において特徴パターンUPb1に変位する。中心位置Cb0は、XY平面内において中心位置Cb1に変位する。   As shown in FIG. 9, the first sewing process is performed based on the first sewing data and the first stitch GP1 is formed, so that at least a part of the sewing target S is contracted. As a result, the feature pattern UPa0 is displaced to the feature pattern UPa1 in the XY plane. The center position Ca0 is displaced to the center position Ca1 in the XY plane. The feature pattern UPb0 is displaced to the feature pattern UPb1 in the XY plane. The center position Cb0 is displaced to the center position Cb1 in the XY plane.

図10及び図11は、本実施形態に係る特徴パターンUPの変位量の算出方法の一例を模式的に示す図である。特徴パターンUPの変位は、シフト、スケール、及びローテーションを含む。   FIG. 10 and FIG. 11 are diagrams schematically illustrating an example of a method of calculating the amount of displacement of the feature pattern UP according to the present embodiment. The displacement of the feature pattern UP includes a shift, a scale, and a rotation.

本実施形態では、特徴パターンUPaの変位量が算出された後、特徴パターンUPbの変位量が算出される。図10は、特徴パターンUPaの変位量の算出方法の一例を模式的に示す図である。図11は、特徴パターンUPbの変位量の算出方法の一例を模式的に示す図である。   In the present embodiment, after the displacement of the feature pattern UPa is calculated, the displacement of the feature pattern UPb is calculated. FIG. 10 is a diagram schematically illustrating an example of a method of calculating the amount of displacement of the feature pattern UPa. FIG. 11 is a diagram schematically illustrating an example of a method of calculating the amount of displacement of the feature pattern UPb.

図10に示すように、特徴パターンUPaの変位量を算出するとき、縫製対象物Sに固定点P0が設定される。固定点P0は、ミシン座標系における位置が既知の点に設定される。固定点P0は、例えば第1縫製処理が実施されても変位しない点又は変位が十分に抑制される点に設定される。本実施形態では、固定点P0が第1ステッチGP1の一部に設定される。   As shown in FIG. 10, when calculating the amount of displacement of the feature pattern UPa, a fixed point P0 is set on the sewing object S. The fixed point P0 is set to a point whose position in the sewing machine coordinate system is known. The fixed point P0 is set to, for example, a point at which no displacement occurs even when the first sewing process is performed or a point at which displacement is sufficiently suppressed. In the present embodiment, the fixed point P0 is set as a part of the first stitch GP1.

第1縫製処理が実施されることにより、特徴パターンUPa0の中心位置Ca0が中心位置Ca1に変位する。変位量算出部74は、中心位置Ca0から中心位置Ca1までのベクトルに基づいて、中心位置Caにおけるシフトを算出する。また、変位量算出部74は、固定点P0から中心位置Ca0までの第1ベクトル及び固定点P0から中心位置Ca1までの第2ベクトルを算出する。変位量算出部74は、第1ベクトルの長さと第2ベクトルの長さとの比に基づいて、中心位置Caにおけるスケールを算出する。また、変位量算出部74は、固定点P0を基準とする第1ベクトルと第2ベクトルとがなす角度に基づいて、中心位置Caにおけるローテーションを算出する。   By performing the first sewing process, the center position Ca0 of the feature pattern UPa0 is displaced to the center position Ca1. The displacement amount calculation unit 74 calculates a shift at the center position Ca based on a vector from the center position Ca0 to the center position Ca1. Further, the displacement amount calculation unit 74 calculates a first vector from the fixed point P0 to the center position Ca0 and a second vector from the fixed point P0 to the center position Ca1. The displacement amount calculation unit 74 calculates the scale at the center position Ca based on the ratio between the length of the first vector and the length of the second vector. Further, the displacement amount calculation unit 74 calculates the rotation at the center position Ca based on the angle between the first vector and the second vector with respect to the fixed point P0.

以上、特徴パターンUPaのうち中心位置Caにおけるシフト、スケール、及びローテーションの算出方法について説明した。変位量算出部74は、特徴パターンUPaの複数の位置Pnのそれぞれについても同様の処理を実施する。図10は、複数の位置Pnのうち位置Piにおけるシフト、スケール、及びローテーションが算出される状態を模式的に示す。これにより、特徴パターンUPaの複数の位置のそれぞれについて、シフト、スケール、及びローテーションが算出される。このように、変位量算出部74は、第1縫製処理が実施された後のミシン座標系における特徴パターンUPaの変位量及び変位方向を算出可能である。   The calculation method of the shift, scale, and rotation at the center position Ca in the feature pattern UPa has been described above. The displacement amount calculation unit 74 performs the same processing for each of the plurality of positions Pn of the feature pattern UPa. FIG. 10 schematically shows a state in which a shift, a scale, and a rotation at a position Pi among a plurality of positions Pn are calculated. Thereby, a shift, a scale, and a rotation are calculated for each of the plurality of positions of the feature pattern UPa. As described above, the displacement amount calculation unit 74 can calculate the displacement amount and the displacement direction of the feature pattern UPa in the sewing machine coordinate system after the first sewing process has been performed.

図11に示すように、特徴パターンUPbの変位量を算出するとき、縫製対象物Sに固定点P0が設定される。上述のように、固定点P0は、ミシン座標系における位置が既知の点に設定される。本実施形態では、図10を参照して説明した処理により位置が算出された位置Pnが固定点P0に設定される。   As shown in FIG. 11, when calculating the amount of displacement of the characteristic pattern UPb, a fixed point P0 is set on the sewing object S. As described above, the fixed point P0 is set to a point whose position in the sewing machine coordinate system is known. In the present embodiment, the position Pn whose position has been calculated by the processing described with reference to FIG. 10 is set as the fixed point P0.

第1縫製処理が実施されることにより、特徴パターンUPb0の中心位置Cb0が中心位置Cb1に変位する。変位量算出部74は、中心位置Cb0から中心位置Cb1までのベクトルに基づいて、中心位置Cbにおけるシフトを算出する。また、変位量算出部74は、固定点P0から中心位置Cb0までの第3ベクトル及び固定点P0から中心位置Cb1までの第4ベクトルを算出する。変位量算出部74は、第3ベクトルの長さと第4ベクトルの長さとの比に基づいて、中心位置Cbにおけるスケールを算出する。また、変位量算出部74は、固定点P0を基準とする第3ベクトルと第4ベクトルとがなす角度に基づいて、中心位置Cbにおけるローテーションを算出する。   By performing the first sewing process, the center position Cb0 of the feature pattern UPb0 is displaced to the center position Cb1. The displacement amount calculation unit 74 calculates a shift at the center position Cb based on a vector from the center position Cb0 to the center position Cb1. Further, the displacement amount calculation unit 74 calculates a third vector from the fixed point P0 to the center position Cb0 and a fourth vector from the fixed point P0 to the center position Cb1. The displacement amount calculation unit 74 calculates the scale at the center position Cb based on the ratio between the length of the third vector and the length of the fourth vector. Further, the displacement amount calculation unit 74 calculates the rotation at the center position Cb based on the angle between the third vector and the fourth vector with respect to the fixed point P0.

以上、特徴パターンUPbのうち中心位置Cbにおけるシフト、スケール、及びローテーションの算出方法について説明した。変位量算出部74は、特徴パターンUPbの複数の位置Qnのそれぞれについても同様の処理を実施する。図11は、複数の位置Qnのうち位置Qiにおけるシフト、スケール、及びローテーションが算出される状態を模式的に示す。これにより、特徴パターンUPbの複数の位置のそれぞれについて、シフト、スケール、及びローテーションが算出される。このように、変位量算出部74は、第1縫製処理が実施された後のミシン座標系における特徴パターンUPbの変位量及び変位方向を算出可能である。   The method of calculating the shift, scale, and rotation at the center position Cb of the feature pattern UPb has been described above. The displacement amount calculation unit 74 performs the same processing for each of the plurality of positions Qn of the feature pattern UPb. FIG. 11 schematically illustrates a state in which a shift, a scale, and a rotation at a position Qi among a plurality of positions Qn are calculated. Thereby, a shift, a scale, and a rotation are calculated for each of the plurality of positions of the feature pattern UPb. As described above, the displacement amount calculation unit 74 can calculate the displacement amount and the displacement direction of the feature pattern UPb in the sewing machine coordinate system after the first sewing process has been performed.

なお、ここでは、X軸方向に配置される2つの特徴パターンUPa及び特徴パターンUPbのそれぞれにおける変位量の算出方法について説明した。X軸方向に3つ以上の特徴パターンUPが配置される場合、図10を参照して説明したように、固定点P0が設定され、その固定点P0を基準として第1の特徴パターンUPの変位量が算出される。第1の特徴パターンUPの隣の第2の特徴パターンUPの変位量を算出する場合、図11を参照して説明したように、第1の特徴パターンUPにおいてミシン座標系における位置が既知となった任意の位置が固定点P0に設定され、その固定点P0を基準として第2の特徴パターンUPの変位量が算出される。第2の特徴パターンUPの隣の第3の特徴パターンUPの変位量を算出する場合、第2の特徴パターンUPにおいてミシン座標系における位置が既知となった任意の位置が固定点P0に設定され、その固定点P0を基準として第3の特徴パターンUPの変位量が算出される。以下、同様の手順で、X軸方向に配置される複数の特徴パターンUPのそれぞれについて変位量が算出される。   Here, the method of calculating the amount of displacement in each of the two feature patterns UPa and UPb arranged in the X-axis direction has been described. When three or more feature patterns UP are arranged in the X-axis direction, as described with reference to FIG. 10, the fixed point P0 is set, and the displacement of the first feature pattern UP is set based on the fixed point P0. The amount is calculated. When calculating the displacement amount of the second feature pattern UP adjacent to the first feature pattern UP, as described with reference to FIG. 11, the position of the first feature pattern UP in the sewing machine coordinate system is known. The arbitrary position is set as the fixed point P0, and the displacement amount of the second feature pattern UP is calculated based on the fixed point P0. When calculating the displacement amount of the third feature pattern UP adjacent to the second feature pattern UP, an arbitrary position in the second feature pattern UP whose position in the sewing machine coordinate system is known is set as the fixed point P0. The displacement of the third feature pattern UP is calculated based on the fixed point P0. Hereinafter, in the same procedure, the displacement amount is calculated for each of the plurality of feature patterns UP arranged in the X-axis direction.

補正データ生成部75は、変位量算出部74で算出された特徴パターンUPの変位量に基づいて、縫製データを補正して補正データを生成する。縫製データの目標パターンRPは、縫製対象物Sが縮んでいないことを前提として生成され、縫製データ記憶部61に記憶されている。縫製処理が実施されることにより、縫製対象物Sが縮んで縫製対象物Sの表面が変位すると、縫製対象物Sの表面に規定されているステッチ形成目標位置がXY平面内において変位する。ステッチ形成目標位置がXY平面内において変位した場合、縫製データに基づいて保持部材15を移動させると、ステッチGPをステッチ形成目標位置に形成することが困難となる。補正データ生成部75は、特徴パターンUPが変位したとき、特徴パターンUPの変位量に基づいて、ステッチ形成目標位置にステッチGPが形成されるように、縫製データを補正する。   The correction data generation unit 75 corrects the sewing data based on the displacement amount of the characteristic pattern UP calculated by the displacement amount calculation unit 74 to generate correction data. The target pattern RP of the sewing data is generated on the assumption that the sewing target S is not contracted, and is stored in the sewing data storage unit 61. When the sewing object S shrinks due to the execution of the sewing process and the surface of the sewing object S is displaced, the stitch formation target position defined on the surface of the sewing object S is displaced in the XY plane. When the stitch formation target position is displaced in the XY plane, if the holding member 15 is moved based on the sewing data, it becomes difficult to form the stitch GP at the stitch formation target position. When the feature pattern UP is displaced, the correction data generation unit 75 corrects the sewing data based on the displacement amount of the feature pattern UP so that the stitch GP is formed at the stitch formation target position.

補正データ生成部75は、ステッチGPの目標パターンRPと縫製対象物Sが縮む前の特徴パターンUPとのミシン座標系における相対位置と、縫製処理により縫製対象物Sに実際に形成されるステッチGPと縫製対象物Sが縮んだ後の特徴パターンUPとのミシン座標系における相対位置とが一致するように、補正データを生成する。補正データに基づいて縫製処理が実施されることにより、縫製対象物Sの表面が変位しても、ステッチ形成目標位置にステッチGPが形成される。   The correction data generation unit 75 determines a relative position in the sewing machine coordinate system between the target pattern RP of the stitch GP and the characteristic pattern UP before the sewing object S contracts, and a stitch GP actually formed on the sewing object S by the sewing process. The correction data is generated such that the relative position in the sewing machine coordinate system between the sewing object S and the characteristic pattern UP after the contraction of the sewing object S is matched. By performing the sewing process based on the correction data, the stitch GP is formed at the stitch formation target position even if the surface of the sewing object S is displaced.

補正データ生成部75は、第1縫製処理が実施される前に撮像装置30によって撮像された画像データに基づいて第1縫製データを補正して第1補正データを生成する。また、補正データ生成部75は、変位量算出部74で算出された変位量に基づいて第2縫製データを補正して第2補正データを生成する。   The correction data generation unit 75 corrects the first sewing data based on the image data captured by the imaging device 30 before the first sewing process is performed, and generates first correction data. The correction data generation unit 75 corrects the second sewing data based on the displacement calculated by the displacement calculation unit 74 to generate second correction data.

異常検出部76は、初期位置データ取得部72で取得された特徴パターンUPの初期位置データと、現状位置データ取得部73で取得された特徴パターンUPの現状位置データとに基づいて、縫製対象物Sの異常を検出する。縫製対象物Sの異常は、XY平面内における縫製対象物Sの位置の異常を含む。また、縫製対象物Sの異常は、変位量算出部74で算出された変位量の異常を含む。また、縫製対象物Sの異常は、特徴パターンUPをパターンマッチング法により画像処理したときの特徴パターンUPとテンプレートとの一致度の異常を含む。異常検出部76は、検出結果を制御部77に出力する。   The abnormality detection unit 76 is configured to sew an object to be sewn based on the initial position data of the characteristic pattern UP acquired by the initial position data acquisition unit 72 and the current position data of the characteristic pattern UP acquired by the current position data acquisition unit 73 S abnormality is detected. The abnormality of the sewing target S includes an abnormality in the position of the sewing target S in the XY plane. In addition, the abnormality of the sewing target object S includes an abnormality of the displacement calculated by the displacement calculator 74. Further, the abnormality of the sewing target object S includes an abnormality of the degree of coincidence between the feature pattern UP and the template when the feature pattern UP is subjected to the image processing by the pattern matching method. The abnormality detection unit 76 outputs a detection result to the control unit 77.

縫製対象物Sの異常は、ミシン1の異常動作を引き起こすおそれがある異常である。ミシン1の異常動作は、不良な縫製対象物Sが製造されてしまうおそれがある動作、及び保持部材15の少なくとも一部が縫製位置Psに配置されてミシン針3が保持部材15に接触する恐れがある動作を含む。   The abnormality of the sewing target object S is an abnormality that may cause an abnormal operation of the sewing machine 1. The abnormal operation of the sewing machine 1 includes an operation in which a defective sewing object S may be manufactured, and a possibility that at least a part of the holding member 15 is disposed at the sewing position Ps and the sewing needle 3 contacts the holding member 15. Including certain actions.

異常検出部76は、ステッチGPの形成を継続するとミシン1の異常動作を引き起こすおそれがあると判定した場合、縫製対象物Sの位置が異常であると判定する。より詳しくは、縫製対象物Sの位置の異常は、以下のようにして検出する。   The abnormality detection unit 76 determines that the position of the sewing object S is abnormal when it is determined that the continuation of the formation of the stitch GP may cause an abnormal operation of the sewing machine 1. More specifically, the abnormality of the position of the sewing object S is detected as follows.

現状位置データ取得部73は、テンプレートを用いて、特徴パターンUPをパターンマッチング法により画像処理して、特徴パターンUPの現状位置データを取得する。異常検出部76は、特徴パターンUPとテンプレートとの一致度が閾値以下である場合、検出結果を異常ありとする。例えば、一致度は、特徴パターンUPとテンプレートとの全てが一致したときを「1」とし、全てが一致しないときを「0」とした、0以上1以下の値とする。異常検出部76は、一致度が閾値以下である場合、異常であることを示す検出結果を出力する。   The current position data acquisition unit 73 performs image processing on the characteristic pattern UP by a pattern matching method using a template to acquire current position data of the characteristic pattern UP. When the degree of coincidence between the feature pattern UP and the template is equal to or smaller than the threshold, the abnormality detection unit 76 determines that the detection result is abnormal. For example, the degree of coincidence is set to a value of 0 or more and 1 or less, where "1" is set when all of the feature pattern UP and the template match, and "0" is set when they do not all match. When the degree of coincidence is equal to or smaller than the threshold, the abnormality detection unit 76 outputs a detection result indicating that the abnormality is present.

また、異常検出部76は、変位量算出部74で算出された変位量と予め規定されている閾値とを比較して、縫製対象物Sの表面の変位量が異常か否かを判定してもよい。異常検出部76は、変位量算出部74で算出された変位量が閾値よりも大きい場合、異常であることを示す検出結果を出力してもよい。上述したように、変位として規定したシフト、スケール、及びローテーションのそれぞれに閾値を設定し、少なくとも1つが閾値よりも大きい場合、異常であることを示す検出結果を出力してもよい。変位量の閾値は、例えば実験的に導出されてもよい。例えば、縫製処理により縫製対象物Sが縮んだときの最大変位量が計測され、閾値は、その最大変位量よりも大きい値に設定されてもよい。   Further, the abnormality detecting unit 76 compares the displacement calculated by the displacement calculating unit 74 with a predetermined threshold to determine whether the displacement of the surface of the sewing target S is abnormal. Is also good. When the displacement calculated by the displacement calculator 74 is larger than the threshold, the abnormality detector 76 may output a detection result indicating that the abnormality is abnormal. As described above, a threshold may be set for each of the shift, scale, and rotation defined as the displacement, and when at least one of the thresholds is larger than the threshold, a detection result indicating an abnormality may be output. The threshold value of the amount of displacement may be derived experimentally, for example. For example, the maximum displacement when the sewing object S is contracted by the sewing process is measured, and the threshold value may be set to a value larger than the maximum displacement.

変位量の閾値は、第1閾値と第1閾値よりも小さい第2閾値とを含んでもよい。第1閾値は、第1縫製処理の実行後であって第2縫製処理の実行前の縫製対象物Sの変位量の異常の判定に使用される。第2閾値は、第2縫製処理の実行後の縫製対象物Sの変位量の異常の判定に使用される。異常検出部76は、第1縫製処理の実行後であって第2縫製処理の実行前に変位量が第1閾値以上である場合、変位量が異常であると判定する。異常検出部76は、第2縫製処理の実行後に変位量が第2閾値以上である場合、変位量が異常であると判定する。   The displacement amount threshold may include a first threshold and a second threshold smaller than the first threshold. The first threshold value is used for determining the abnormality of the displacement amount of the sewing target S after the execution of the first sewing process and before the execution of the second sewing process. The second threshold value is used for determining an abnormality in the displacement amount of the sewing object S after the execution of the second sewing process. If the displacement amount is equal to or larger than the first threshold after the execution of the first sewing process and before the execution of the second sewing process, the abnormality detection unit 76 determines that the displacement amount is abnormal. If the amount of displacement is equal to or greater than the second threshold after the execution of the second sewing process, the abnormality detection unit 76 determines that the amount of displacement is abnormal.

最初に第1縫製処理によって第1ステッチGP1を形成したときの変位量は、それ以降のステッチGPを形成したときの変位量より大きい可能性が高い。そのため、第1縫製処理の実行後の変位量の異常の判定には第1閾値が使用され、第2縫製処理の実行後の変位量の異常の判定には第1閾値よりも小さい第2閾値が使用される。   The displacement amount when the first stitch GP1 is first formed by the first sewing process is likely to be larger than the displacement amount when the subsequent stitch GP is formed. Therefore, the first threshold is used to determine the displacement amount after the execution of the first sewing process, and the second threshold value smaller than the first threshold value is used to determine the displacement amount after the execution of the second sewing process. Is used.

また、異常検出部76は、補正データ生成部75で生成された補正データに基づいて縫製対象物Sの位置の異常を検出する。本実施形態において異常検出部76は、補正データ生成部75で生成された補正データと縫製領域PAのマスクデータとに基づいて、補正データに基づいて形成されるステッチGPが縫製領域PAの外側に形成されると判定した場合、異常であることを示す検出結果を出力する。より詳しくは、異常検出部76は、補正データによって形成されるステッチGPが、保持部材15の縫製領域PAの移動軌跡から外れる場合、異常であることを示す検出結果を出力する。すなわち、ミシン針3が保持部材15に接触する可能性がある補正データが生成された場合、異常検出部76は、異常であることを示す検出結果を出力する。   Further, the abnormality detection unit 76 detects an abnormality in the position of the sewing target S based on the correction data generated by the correction data generation unit 75. In the present embodiment, based on the correction data generated by the correction data generation unit 75 and the mask data of the sewing area PA, the abnormality detection unit 76 sets the stitch GP formed based on the correction data outside the sewing area PA. If it is determined to be formed, a detection result indicating an abnormality is output. More specifically, when the stitch GP formed by the correction data deviates from the movement trajectory of the sewing area PA of the holding member 15, the abnormality detection unit 76 outputs a detection result indicating an abnormality. That is, when the correction data that may cause the sewing needle 3 to come into contact with the holding member 15 is generated, the abnormality detection unit 76 outputs a detection result indicating that the abnormality is abnormal.

また、異常検出部76は、保持部材15に枠部材15Cが装着されているとき、補正データ生成部75で生成した補正データと枠内縫製領域PA1のマスクデータとに基づいて、補正データによって形成されるステッチGPが枠部材15Cの枠内縫製領域PA1の外側に形成されると判定した場合、言い換えると、補正データに基づいてステッチGPを形成するためのミシン針3が枠部材15Cに接触するおそれがある場合、異常であることを示す検出結果を出力する。より詳しくは、異常検出部76は、補正データによって形成されるステッチGPが、枠部材15Cの枠内縫製領域PA1の移動軌跡から外れる場合、異常であることを示す検出結果を出力する。   Further, when the frame member 15C is mounted on the holding member 15, the abnormality detection unit 76 forms the correction data based on the correction data generated by the correction data generation unit 75 and the mask data of the in-frame sewing area PA1. When it is determined that the stitch GP to be performed is formed outside the in-frame sewing area PA1 of the frame member 15C, in other words, the sewing needle 3 for forming the stitch GP based on the correction data comes into contact with the frame member 15C. If there is a possibility, a detection result indicating an abnormality is output. More specifically, when the stitch GP formed by the correction data deviates from the movement locus of the in-frame sewing area PA1 of the frame member 15C, the abnormality detection unit 76 outputs a detection result indicating that the abnormality is abnormal.

また、異常検出部76は、補正データ生成部75で生成された第1補正データに基づいて変位量の異常を検出する。また、異常検出部76は、補正データ生成部75で生成された第2補正データに基づいて変位量の異常を検出する。   Further, the abnormality detection unit 76 detects an abnormality in the displacement amount based on the first correction data generated by the correction data generation unit 75. Further, the abnormality detection unit 76 detects an abnormality in the displacement amount based on the second correction data generated by the correction data generation unit 75.

制御部77は、異常が検出された場合、異常検出部76の検出結果を出力し、異常が検出されない場合、第1縫製データ及び第2縫製データを少なくとも含む縫製データに基づいてアクチュエータ17を制御する制御信号を出力する。   When an abnormality is detected, the control unit 77 outputs a detection result of the abnormality detection unit 76, and when no abnormality is detected, controls the actuator 17 based on sewing data including at least the first sewing data and the second sewing data. Output a control signal.

制御部77は、異常が検出されない場合、変位量算出部74で算出された変位量に基づいて、アクチュエータ17を制御する制御信号を出力する。制御部77は、異常が検出されない場合、第2縫製処理において、第2縫製データと変位量とに基づいて制御信号を出力する。   When no abnormality is detected, the controller 77 outputs a control signal for controlling the actuator 17 based on the displacement calculated by the displacement calculator 74. When no abnormality is detected, the control unit 77 outputs a control signal in the second sewing processing based on the second sewing data and the displacement amount.

制御部77は、異常が検出されない場合、第2縫製処理において、補正データ生成部75において変位量に基づいて生成された第2補正データに基づいて、保持部材15を移動させるアクチュエータ17を制御する制御信号を出力する。   When no abnormality is detected, the control unit 77 controls the actuator 17 that moves the holding member 15 based on the second correction data generated based on the displacement amount in the correction data generation unit 75 in the second sewing process. Outputs control signal.

また、制御部77は、異常が検出されない場合、第1縫製処理において、補正データ生成部75において変位量に基づいて生成された第1補正データに基づいて、保持部材15を移動させるアクチュエータ17を制御する制御信号を出力する。   When no abnormality is detected, the control unit 77 controls the actuator 17 that moves the holding member 15 based on the first correction data generated based on the displacement amount in the correction data generation unit 75 in the first sewing process. Outputs a control signal to control.

制御部77は、異常が検出された場合、異常検出部76の検出結果を報知装置80に出力する。報知装置80として、表示装置、印刷装置、及び発光装置の少なくとも一つが例示される。報知装置80は、異常を報知するために作動する。報知装置80が表示装置を含む場合、表示装置は、判定結果と判定の元になったデータとを表示して異常を報知する。報知装置80が印刷装置を含む場合、印刷装置は、判定結果と判定の元になったデータとを印刷物により出力して異常を報知する。報知装置80が発光装置を含む場合、発光装置は、光を発行して異常を報知する。   When an abnormality is detected, the control unit 77 outputs a detection result of the abnormality detection unit 76 to the notification device 80. As the notification device 80, at least one of a display device, a printing device, and a light emitting device is exemplified. The notification device 80 operates to notify an abnormality. When the notification device 80 includes a display device, the display device displays the determination result and the data on which the determination is based to notify the abnormality. When the notification device 80 includes a printing device, the printing device outputs the determination result and the data on which the determination is based on a printed matter to notify the abnormality. When the notification device 80 includes a light-emitting device, the light-emitting device issues light to notify an abnormality.

次に、図12及び図13を用いて、本実施形態に係る縫製方法について説明する。図12は、本実施形態に係る縫製方法の一例を示すフローチャートである。図13は、本実施形態に係る縫製方法の一例を示すフローチャートである。   Next, a sewing method according to the present embodiment will be described with reference to FIGS. FIG. 12 is a flowchart illustrating an example of the sewing method according to the present embodiment. FIG. 13 is a flowchart illustrating an example of the sewing method according to the present embodiment.

ステッチGPが形成される前の縫製対象物Sが保持部材15に設置される。保持部材15は、縫製対象物Sを保持する(ステップS10)。保持部材15は、ミシン座標系における原点に配置される。   The sewing target S before the stitch GP is formed is set on the holding member 15. The holding member 15 holds the sewing object S (Step S10). The holding member 15 is arranged at the origin in the sewing machine coordinate system.

縫製データ取得部71は、第1縫製処理において参照される第1縫製データを縫製データ記憶部61から取得する(ステップS20)。   The sewing data acquisition unit 71 acquires the first sewing data referred to in the first sewing process from the sewing data storage unit 61 (Step S20).

制御装置40は、第1縫製処理が実施される前に、縫製対象物Sに配置されている複数の特徴パターンUPのうち少なくとも2つの特徴パターンUPの画像データを撮像装置30で取得する(ステップS30)。   The control device 40 acquires the image data of at least two characteristic patterns UP among the plurality of characteristic patterns UP arranged on the sewing target S by the imaging device 30 before the first sewing process is performed (Step S10). S30).

図14は、第1縫製処理が実施される前において保持部材15に保持されている縫製対象物Sを模式的に示す図である。図14に示すように、第1目標パターンRP1を含む第1縫製データが取得された後、制御装置40は、撮像装置30の撮影領域FAに第1特徴パターンUP1が配置されるように保持部材15を移動させる。撮像装置30の撮影領域FAの撮影位置Pfに第1特徴パターンUP1の中心位置C1が配置された後、撮像装置30は、第1特徴パターンUP1の画像データを取得する。第1特徴パターンUP1の画像データが取得された後、制御装置40は、撮像装置30の撮影領域FAに第2特徴パターンUP2が配置されるように保持部材15を移動させる。撮像装置30の撮影領域FAの撮影位置Pfに第2特徴パターンUP2の中心位置C2が配置された後、撮像装置30は、第2特徴パターンUP2の画像データを取得する。   FIG. 14 is a diagram schematically illustrating the sewing target object S held by the holding member 15 before the first sewing process is performed. As shown in FIG. 14, after the first sewing data including the first target pattern RP1 is obtained, the control device 40 operates the holding member so that the first feature pattern UP1 is arranged in the shooting area FA of the imaging device 30. 15 is moved. After the center position C1 of the first feature pattern UP1 is located at the shooting position Pf of the shooting area FA of the imaging device 30, the imaging device 30 acquires image data of the first feature pattern UP1. After the image data of the first feature pattern UP1 is obtained, the control device 40 moves the holding member 15 so that the second feature pattern UP2 is arranged in the shooting area FA of the imaging device 30. After the center position C2 of the second feature pattern UP2 is located at the shooting position Pf of the shooting area FA of the imaging device 30, the imaging device 30 acquires image data of the second feature pattern UP2.

第1特徴パターンUP1及び第2特徴パターンUP2は、第1縫製処理に係る特徴パターンである。第1縫製処理に係る特徴パターンUPとは、ミシン座標系において第1縫製処理により第1ステッチGP1が形成されるステッチ形成目標位置に最も近い特徴パターンUPである。言い換えると、第1縫製処理に係る特徴パターンUPとは、ミシン座標系における第1目標パターンRP1に最も近い特徴パターンUPをいう。   The first feature pattern UP1 and the second feature pattern UP2 are feature patterns related to the first sewing process. The feature pattern UP related to the first sewing process is a feature pattern UP closest to a stitch formation target position where the first stitch GP1 is formed by the first sewing process in the sewing machine coordinate system. In other words, the feature pattern UP related to the first sewing process is a feature pattern UP closest to the first target pattern RP1 in the sewing machine coordinate system.

第1特徴パターンUP1及び第2特徴パターンUP2のそれぞれは、ジグザグ状に規定されている第1目標パターンRP1の頂点の近傍に配置されている。本実施形態では、第1特徴パターンUP1は、縫製対象物Sの+X側の端部の近傍に配置されている。第2特徴パターンUP2は、縫製対象物Sの−X側の端部の近傍に配置されている。   Each of the first feature pattern UP1 and the second feature pattern UP2 is arranged near a vertex of the first target pattern RP1 defined in a zigzag shape. In the present embodiment, the first characteristic pattern UP1 is arranged near the + X side end of the sewing target S. The second feature pattern UP2 is arranged near the end on the −X side of the sewing target S.

異常検出部76は、第1縫製データと第1縫製処理に係る特徴パターンとを、パターンマッチング法による画像処理を行って一致度が閾値以下であるかを判定する(ステップS40)。例えば、縫製対象物Sが保持部材15に対して大きくずれて配置されている場合、各特徴パターンUPの中心位置Cが撮影位置Pfに対してずれた位置に配置されることになり、一致度が閾値以下になる。異常検出部76は、一致度が閾値以上である場合(ステップS40:Yes)、ステップS50に進む。異常検出部76は、一致度が閾値以上ではない場合(ステップS40:No)、ステップS240に進む。   The abnormality detection unit 76 performs image processing on the first sewing data and the characteristic pattern related to the first sewing processing by a pattern matching method, and determines whether the degree of coincidence is equal to or smaller than a threshold (step S40). For example, when the sewing target object S is arranged with a large shift with respect to the holding member 15, the center position C of each feature pattern UP is arranged with a position shifted with respect to the photographing position Pf. Becomes less than or equal to the threshold. If the degree of coincidence is equal to or greater than the threshold (step S40: Yes), the abnormality detection unit 76 proceeds to step S50. If the degree of coincidence is not equal to or greater than the threshold (step S40: No), the abnormality detection unit 76 proceeds to step S240.

補正データ生成部75は、第1縫製処理が実施される前に撮像装置30によって撮像された少なくとも2つの特徴パターンUP(UP1,UP2)の画像データに基づいて、第1縫製データを補正して第1補正データを生成する(ステップS50)。   The correction data generation unit 75 corrects the first sewing data based on the image data of at least two characteristic patterns UP (UP1, UP2) captured by the imaging device 30 before the first sewing process is performed. First correction data is generated (step S50).

現状位置データ取得部73は、2つの特徴パターンUP(UP1,UP2)の画像データを取得する。現状位置データ取得部73は、第1特徴パターンUP1の画像データをパターンマッチング法により画像処理し、第1特徴パターンUP1が撮像装置30の撮影領域FAに配置されているときの保持部材15の位置データに基づいて、ミシン座標系における第1特徴パターンUP1の現状位置データを取得する。また、現状位置データ取得部73は、第2特徴パターンUP2の画像データをパターンマッチング法により画像処理し、第2特徴パターンUP2が撮像装置30の撮影領域FAに配置されているときの保持部材15の位置データに基づいて、ミシン座標系における第2特徴パターンUP2の現状位置データを取得する。補正データ生成部75は、現状位置データ取得部73において取得された第1特徴パターンUP1の現状位置データ及び第2特徴パターンUP2の現状位置データに基づいて、第1縫製データを補正して第1補正データを生成する。   The current position data acquisition unit 73 acquires image data of two characteristic patterns UP (UP1, UP2). The current position data acquisition unit 73 performs image processing on the image data of the first feature pattern UP1 by the pattern matching method, and the position of the holding member 15 when the first feature pattern UP1 is arranged in the imaging area FA of the imaging device 30. Based on the data, the current position data of the first feature pattern UP1 in the sewing machine coordinate system is obtained. Further, the current position data acquisition unit 73 performs image processing on the image data of the second feature pattern UP2 by the pattern matching method, and the holding member 15 when the second feature pattern UP2 is arranged in the shooting area FA of the imaging device 30. , The current position data of the second feature pattern UP2 in the sewing machine coordinate system is obtained. The correction data generation unit 75 corrects the first sewing data based on the current position data of the first characteristic pattern UP1 and the current position data of the second characteristic pattern UP2 acquired by the current position data acquisition unit 73, and performs the first sewing data correction. Generate correction data.

第1ステッチGP1が形成される前の縫製対象物Sは、作業者によって針板13に設置された後、保持部材15に保持される。また、縫製対象物Sの裁断誤差に起因して、縫製対象物Sのエッジと特徴パターンUPとの相対位置が縫製対象物Sごとに異なる可能性が高い。すなわち、保持部材15がミシン座標系の原点に配置されたとしても、作業者による縫製対象物Sの設置誤差又は裁断誤差等に起因して、ミシン座標系における特徴パターンUPの初期位置が縫製対象物Sごとに異なる可能性が高い。一方、縫製データ記憶部61に記憶されている第1目標パターンRP1のミシン座標系における位置は予め定められている。そのため、縫製データ取得部71で取得された第1目標パターンRP1に従って第1縫製処理が実施されると、縫製対象物Sの表面においてステッチ形成目標位置とは異なる位置にステッチGPが形成されてしまう可能性がある。   The sewing object S before the first stitch GP1 is formed is held by the holding member 15 after being set on the needle plate 13 by the operator. Also, due to the cutting error of the sewing target S, there is a high possibility that the relative position between the edge of the sewing target S and the characteristic pattern UP differs for each sewing target S. In other words, even if the holding member 15 is arranged at the origin of the sewing machine coordinate system, the initial position of the characteristic pattern UP in the sewing machine coordinate system may be changed due to an installation error or a cutting error of the sewing object S by the operator. It is highly possible that each object S differs. On the other hand, the position of the first target pattern RP1 stored in the sewing data storage unit 61 in the sewing machine coordinate system is predetermined. Therefore, when the first sewing process is performed according to the first target pattern RP1 obtained by the sewing data obtaining unit 71, the stitch GP is formed at a position different from the stitch formation target position on the surface of the sewing object S. there is a possibility.

本実施形態では、第1縫製処理が実施される前に、保持部材15に保持されている縫製対象物Sの少なくとも2つの特徴パターンUP(UP1,UP2)の画像データが取得され、その画像データに基づいて、2つの特徴パターンUP(UP1,UP2)のXY平面内における現状位置データが取得される。また、縫製対象物Sの特徴パターンUPとステッチ形成目標位置との相対位置を示すステッチ形成目標位置データは、縫製対象物Sの設計データから導出可能な既知データであり縫製データ記憶部61に記憶されている。したがって、補正データ生成部75は、ミシン座標系において特定された2つの特徴パターンUP(UP1,UP2)の現状位置データと、縫製データ記憶部61に記憶されているステッチ形成目標位置データとに基づいて、ミシン座標系におけるステッチ形成目標位置を特定可能である。   In the present embodiment, before the first sewing process is performed, image data of at least two characteristic patterns UP (UP1, UP2) of the sewing target object S held by the holding member 15 is acquired, and the image data is obtained. , The current position data of the two feature patterns UP (UP1, UP2) in the XY plane is obtained. The stitch formation target position data indicating the relative position between the characteristic pattern UP of the sewing target S and the stitch formation target position is known data that can be derived from the design data of the sewing target S, and is stored in the sewing data storage unit 61. Have been. Therefore, the correction data generation unit 75 is based on the current position data of the two characteristic patterns UP (UP1, UP2) specified in the sewing machine coordinate system and the stitch formation target position data stored in the sewing data storage unit 61. Thus, the stitch formation target position in the sewing machine coordinate system can be specified.

補正データ生成部75は、ミシン座標系において特定されたステッチ形成目標位置に基づいて、ステッチ形成目標位置に第1ステッチGP1が形成されるように第1目標パターンRP1を補正して、第1補正パターンHP1を示す第1補正データを算出する。   The correction data generation unit 75 corrects the first target pattern RP1 based on the stitch formation target position specified in the sewing machine coordinate system so that the first stitch GP1 is formed at the stitch formation target position, and performs the first correction. First correction data indicating the pattern HP1 is calculated.

言い換えると、補正データ生成部75は、第1目標パターンRP1と第1縫製処理が実施される前の特徴パターンUPとの相対位置と、第1縫製処理の実施により縫製対象物Sに形成される第1ステッチGP1と第1縫製処理が実施された後の特徴パターンUPとの相対位置とが一致するように、第1補正データを生成する。   In other words, the correction data generation unit 75 is formed on the sewing object S by performing the first sewing process and the relative position between the first target pattern RP1 and the characteristic pattern UP before the first sewing process is performed. The first correction data is generated so that the relative position between the first stitch GP1 and the characteristic pattern UP after the first sewing process has been performed.

異常検出部76は、補正データ生成部75による補正演算結果である第1補正データが縫製領域PA内であるかを判定する(ステップS60)。異常検出部76は、第1補正データによって形成される第1ステッチGP1が縫製領域PA内である場合(ステップS60:Yes)、ステップS70に進む。異常検出部76は、第1補正データによって形成される第1ステッチGP1が縫製領域PA内ではない場合(ステップS60:No)、ステップS240に進む。   The abnormality detection unit 76 determines whether the first correction data, which is the correction calculation result by the correction data generation unit 75, is within the sewing area PA (Step S60). When the first stitch GP1 formed by the first correction data is within the sewing area PA (Step S60: Yes), the abnormality detection unit 76 proceeds to Step S70. If the first stitch GP1 formed by the first correction data is not within the sewing area PA (Step S60: No), the abnormality detection unit 76 proceeds to Step S240.

異常検出部76は、補正データ生成部75による補正演算結果である第1補正データが枠部材15Cに衝突しないかを判定する(ステップS70)。異常検出部76は、第1補正データによって形成される第1ステッチGP1が枠部材15Cに衝突しない場合(ステップS70:Yes)、ステップS80に進む。異常検出部76は、第1補正データによって形成される第1ステッチGP1が枠部材15Cに衝突する場合(ステップS70:No)、ステップS240に進む。   The abnormality detection unit 76 determines whether the first correction data, which is the correction calculation result by the correction data generation unit 75, does not collide with the frame member 15C (Step S70). If the first stitch GP1 formed by the first correction data does not collide with the frame member 15C (Step S70: Yes), the abnormality detection unit 76 proceeds to Step S80. When the first stitch GP1 formed by the first correction data collides with the frame member 15C (Step S70: No), the abnormality detection unit 76 proceeds to Step S240.

本実施形態では、初期位置データ取得部72は、第1縫製処理が実施される前に撮像装置30によって撮影された縫製対象物Sの画像データに基づいて、ミシン座標系における特徴パターンUPの初期位置データを取得する(ステップS80)。   In the present embodiment, the initial position data acquisition unit 72 initializes the characteristic pattern UP in the sewing machine coordinate system based on the image data of the sewing object S captured by the imaging device 30 before the first sewing process is performed. The position data is acquired (step S80).

縫製対象物Sにおける複数の特定パターンUPの相対位置を示す相対位置データは、縫製対象物Sの設計データから導出可能な既知データであり縫製データ記憶部61に記憶されている。したがって、少なくとも2つの特徴パターンUP(UP1,UP2)の位置が撮像装置30を使って検出されることにより、補正データ生成部75は、ミシン座標系において特定された2つの特徴パターンUP(UP1,UP2)の現状位置データと、縫製データ記憶部61に記憶されている複数の特徴パターンUPの相対位置データとに基づいて、ミシン座標系における縫製対象物Sの複数の特徴パターンUPそれぞれの初期位置データを算出可能である。ミシン座標系における複数の特徴パターンUPそれぞれの初期位置データは、縫製データ記憶部61に記憶される。   The relative position data indicating the relative positions of the plurality of specific patterns UP on the sewing target S is known data that can be derived from the design data of the sewing target S, and is stored in the sewing data storage unit 61. Therefore, when the positions of at least two feature patterns UP (UP1, UP2) are detected using the imaging device 30, the correction data generation unit 75 causes the correction feature generating unit 75 to specify the two feature patterns UP (UP1, UP1, UP1) specified in the sewing machine coordinate system. The initial position of each of the plurality of feature patterns UP of the sewing target object S in the sewing machine coordinate system based on the current position data of UP2) and the relative position data of the plurality of feature patterns UP stored in the sewing data storage unit 61. Data can be calculated. The initial position data of each of the plurality of characteristic patterns UP in the sewing machine coordinate system is stored in the sewing data storage unit 61.

第1補正データが生成された後、制御装置40は、第1縫製処理を開始する(ステップS90)。制御部77は、第1縫製処理において、第1補正データに基づいて、アクチュエータ17を制御する制御信号を出力する。   After the first correction data is generated, the control device 40 starts the first sewing process (Step S90). The controller 77 outputs a control signal for controlling the actuator 17 based on the first correction data in the first sewing process.

図15は、第1縫製処理が実施された縫製対象物Sを模式的に示す図である。第1縫製処理を実施するとき、制御部77は、第1縫製処理の開始位置SP1に保持部材15を移動する。開始位置SP1は、第1ステッチGP1が形成されるステッチ形成領域MAの−X側の端部が縫製位置Psに配置される位置である。本実施形態では、開始位置SP1及び第2特徴パターンUP2のそれぞれが縫製対象物Sの−X側の端部に位置する。そのため、第2特徴パターンUP2の画像データの取得が終了してから開始位置SP1に配置されるまでに保持部材15が移動する移動距離は短くて済む。   FIG. 15 is a diagram schematically illustrating the sewing target object S on which the first sewing process has been performed. When performing the first sewing process, the control unit 77 moves the holding member 15 to the start position SP1 of the first sewing process. The start position SP1 is a position where the end on the −X side of the stitch formation area MA where the first stitch GP1 is formed is located at the sewing position Ps. In the present embodiment, each of the start position SP1 and the second feature pattern UP2 is located at the end of the sewing target S on the −X side. Therefore, the moving distance of the holding member 15 from the end of the acquisition of the image data of the second characteristic pattern UP2 to the position at the start position SP1 may be short.

制御部77は、ステッチ形成領域MAの−X側の端部から第1ステッチGP1が形成されるように、保持部材15の移動を制御する。保持部材15が第1縫製処理の終了位置EP1に移動することにより、第1縫製処理が終了する。終了位置EP1は、第1ステッチGP1が形成されるステッチ形成領域MAの+X側の端部が縫製位置Psに配置される位置である。   The control unit 77 controls the movement of the holding member 15 so that the first stitch GP1 is formed from the end of the stitch formation area MA on the −X side. When the holding member 15 moves to the end position EP1 of the first sewing process, the first sewing process ends. The end position EP1 is a position where the end on the + X side of the stitch forming area MA where the first stitch GP1 is formed is located at the sewing position Ps.

図15に示すように、第1補正パターンHP1に基づいて第1縫製処理が実施されることにより、縫製対象物Sのステッチ形成目標位置に沿って第1ステッチGP1が形成される。   As shown in FIG. 15, by performing the first sewing processing based on the first correction pattern HP1, the first stitch GP1 is formed along the stitch formation target position of the sewing target S.

第1縫製処理が終了した後、カウンタnが「2」にセットされる(ステップS100)。   After the end of the first sewing process, the counter n is set to "2" (step S100).

縫製データ取得部71は、第2縫製処理において参照される第2縫製データを縫製データ記憶部61から取得する(ステップS110)。   The sewing data acquisition unit 71 acquires the second sewing data referred to in the second sewing processing from the sewing data storage unit 61 (Step S110).

初期位置データ取得部72は、ステップS80において取得した複数の特徴パターンUPの初期位置データのうち、第2縫製処理に係る縫製対象物Sの特徴パターンUPの初期位置データを縫製データ記憶部61から取得する(ステップS120)。   The initial position data acquisition unit 72 stores, from the sewing data storage unit 61, the initial position data of the characteristic pattern UP of the sewing target S related to the second sewing process among the initial position data of the plurality of characteristic patterns UP acquired in step S80. It is acquired (Step S120).

第2縫製処理に係る特徴パターンUPとは、ミシン座標系において第2縫製処理により第2ステッチGP2が形成されるステッチ形成目標位置に最も近い特徴パターンUPである。言い換えると、第2縫製処理に係る特徴パターンUPとは、ミシン座標系における第2目標パターンRP2に最も近い特徴パターンUPをいう。   The characteristic pattern UP related to the second sewing process is a feature pattern UP closest to the stitch formation target position where the second stitch GP2 is formed by the second sewing process in the sewing machine coordinate system. In other words, the characteristic pattern UP related to the second sewing process is a characteristic pattern UP closest to the second target pattern RP2 in the sewing machine coordinate system.

第2目標パターンRP2を含む第2縫製データ及び第2縫製処理に係る特徴パターンUPの初期位置データが取得された後、制御装置40は、撮像装置30の撮影領域FAに第2縫製処理に係る複数の特徴パターンUPが順次配置されるように、アクチュエータ17を制御する。すなわち、制御装置40は、保持部材15をX軸方向にステップ移動して、保持部材15に保持されている縫製対象物Sの複数の特徴パターンUPの画像データを順次取得する(ステップS130)。   After acquiring the second sewing data including the second target pattern RP2 and the initial position data of the characteristic pattern UP related to the second sewing process, the control device 40 sets the photographing area FA of the imaging device 30 according to the second sewing process. The actuator 17 is controlled so that a plurality of feature patterns UP are sequentially arranged. That is, the control device 40 moves the holding member 15 stepwise in the X-axis direction, and sequentially acquires the image data of the plurality of characteristic patterns UP of the sewing target object S held by the holding member 15 (step S130).

図16は、第2縫製処理が実施される前において保持部材15に保持されている縫製対象物Sを模式的に示す図である。第1縫製処理が終了した後、制御部77は、撮像装置30の撮影領域FAに第2縫製処理に係る特徴パターンUPが配置されるように、第1縫製処理の終了位置から保持部材15を移動させる。図16に示すように、本実施形態では、第2縫製処理に係る特徴パターンUPは、第3特徴パターンUP3、第4特徴パターンUP4、第5特徴パターンUP5、第6特徴パターンUP6、第7特徴パターンUP7、第8特徴パターンUP8、及び第9特徴パターンUP9を含む。   FIG. 16 is a diagram schematically illustrating the sewing target object S held by the holding member 15 before the second sewing process is performed. After the end of the first sewing process, the control unit 77 moves the holding member 15 from the end position of the first sewing process so that the characteristic pattern UP relating to the second sewing process is arranged in the photographing area FA of the imaging device 30. Move. As shown in FIG. 16, in the present embodiment, the feature patterns UP related to the second sewing process include a third feature pattern UP3, a fourth feature pattern UP4, a fifth feature pattern UP5, a sixth feature pattern UP6, and a seventh feature. It includes a pattern UP7, an eighth feature pattern UP8, and a ninth feature pattern UP9.

第2縫製処理に係る複数の特徴パターンUP(UP3,UP4,UP5,UP6,UP7,UP8,UP9)は、X軸方向に配置される。第2縫製処理に係る複数の特徴パターンUP(UP3,UP4,UP5,UP6,UP7,UP8,UP9)のうち第3特徴パターンUP3が最も+X側に配置され、第9特徴パターンUP9が最も−X側に配置される。   A plurality of characteristic patterns UP (UP3, UP4, UP5, UP6, UP7, UP8, UP9) related to the second sewing process are arranged in the X-axis direction. Among the plurality of feature patterns UP (UP3, UP4, UP5, UP6, UP7, UP8, UP9) related to the second sewing process, the third feature pattern UP3 is arranged closest to the + X side, and the ninth feature pattern UP9 is most often -X. Placed on the side.

撮像装置30の撮影領域FAに第3特徴パターンUP3が配置された後、撮像装置30は、第3特徴パターンUP3の画像データを取得する。第3特徴パターンUP3の画像データが取得された後、制御装置40は、撮像装置30の撮影領域FAに第4特徴パターンUP4が配置されるように、アクチュエータ17を制御する。アクチュエータ17は、保持部材15を+X方向にステップ移動させる。撮像装置30の撮影領域FAに第4特徴パターンUP4が配置された後、撮像装置30は、第4特徴パターンUP4の画像データを取得する。同様に、制御装置40は、撮像装置30の撮影領域FAに第5特徴パターンUP5、第6特徴パターンUP6、第7特徴パターンUP7、第8特徴パターンUP8、及び第9特徴パターンUP9が順次配置されるように、アクチュエータ17を制御して、保持部材15をX軸方向にステップ移動させる。撮像装置30は、第5特徴パターンUP5の画像データ、第6特徴パターンUP6の画像データ、第7特徴パターンUP7の画像データ、第8特徴パターンUP8の画像データ、及び第9特徴パターンUP9の画像データを順次取得する。   After the third feature pattern UP3 is arranged in the shooting area FA of the imaging device 30, the imaging device 30 acquires the image data of the third feature pattern UP3. After the image data of the third feature pattern UP3 is obtained, the control device 40 controls the actuator 17 so that the fourth feature pattern UP4 is arranged in the shooting area FA of the imaging device 30. The actuator 17 moves the holding member 15 stepwise in the + X direction. After the fourth feature pattern UP4 is arranged in the shooting area FA of the imaging device 30, the imaging device 30 acquires image data of the fourth feature pattern UP4. Similarly, the control device 40 sequentially arranges the fifth feature pattern UP5, the sixth feature pattern UP6, the seventh feature pattern UP7, the eighth feature pattern UP8, and the ninth feature pattern UP9 in the shooting area FA of the imaging device 30. Thus, the actuator 17 is controlled to move the holding member 15 stepwise in the X-axis direction. The image pickup device 30 includes image data of the fifth characteristic pattern UP5, image data of the sixth characteristic pattern UP6, image data of the seventh characteristic pattern UP7, image data of the eighth characteristic pattern UP8, and image data of the ninth characteristic pattern UP9. Are sequentially obtained.

異常検出部76は、第2縫製データと、第2縫製処理に係る特徴パターンとを、パターンマッチング法による画像処理を行って一致度が閾値以下であるかを判定する(ステップS140)。異常検出部76は、一致度が閾値以上である場合(ステップS140:Yes)、ステップS150に進む。異常検出部76は、一致度が閾値以上ではない場合(ステップS140:No)、ステップS240に進む。   The abnormality detection unit 76 performs image processing on the second sewing data and the characteristic pattern related to the second sewing processing by a pattern matching method, and determines whether the degree of coincidence is equal to or smaller than a threshold (step S140). If the degree of coincidence is equal to or greater than the threshold (step S140: Yes), the abnormality detection unit 76 proceeds to step S150. If the degree of coincidence is not equal to or greater than the threshold (step S140: No), the abnormality detection unit 76 proceeds to step S240.

現状位置データ取得部73は、第1縫製処理の後に撮像装置30によって撮影された縫製対象物Sの複数の特徴パターンUP(UP3,UP4,UP5,UP6,UP7,UP8,UP9)それぞれの画像データに基づいて、それら複数の特徴パターンUPそれぞれの現状位置データを取得する(ステップS150)。   The current position data acquisition unit 73 stores the image data of each of the plurality of characteristic patterns UP (UP3, UP4, UP5, UP6, UP7, UP8, UP9) of the sewing object S photographed by the imaging device 30 after the first sewing process. , The current position data of each of the plurality of characteristic patterns UP is obtained (step S150).

すなわち、現状位置データ取得部73は、第1縫製処理の終了時点と第2縫製処理の開始時点との期間において撮影された特徴パターンUPの画像データに基づいて、特徴パターンUPの現状位置データを取得する。   That is, the current position data acquiring unit 73 converts the current position data of the characteristic pattern UP based on the image data of the characteristic pattern UP captured during the period between the end of the first sewing process and the start of the second sewing process. get.

変位量算出部74は、ステップS120で取得した特徴パターンUPの初期位置データと、ステップS150で取得した特徴パターンUPの現状位置データとに基づいて、特徴パターンUPの変位量を算出する(ステップS160)。上述のように、特徴パターンUPの変位量は、シフト、スケール、及びローテーションを含む。   The displacement amount calculation unit 74 calculates the displacement amount of the feature pattern UP based on the initial position data of the feature pattern UP acquired in step S120 and the current position data of the feature pattern UP acquired in step S150 (step S160). ). As described above, the displacement amount of the feature pattern UP includes the shift, the scale, and the rotation.

異常検出部76は、特徴パターンUPの変位量が閾値以下であるかを判定する(ステップS170)。異常検出部76は、特徴パターンUPの変位量が閾値以下である場合(ステップS170:Yes)、ステップS180に進む。異常検出部76は、特徴パターンUPの変位量が閾値以下ではない場合(ステップS170:No)、ステップS240に進む。   The abnormality detection unit 76 determines whether the amount of displacement of the feature pattern UP is equal to or less than a threshold (Step S170). When the displacement amount of the characteristic pattern UP is equal to or smaller than the threshold value (Step S170: Yes), the abnormality detection unit 76 proceeds to Step S180. If the displacement amount of the characteristic pattern UP is not equal to or smaller than the threshold (step S170: No), the abnormality detection unit 76 proceeds to step S240.

補正データ生成部75は、ステップS160で算出された変位量に基づいて、ステップS110で取得された第2縫製データを補正して第2補正データHP2を生成する(ステップS180)。   The correction data generation unit 75 corrects the second sewing data acquired in step S110 based on the displacement amount calculated in step S160, and generates second correction data HP2 (step S180).

第1ステッチGP1が形成された後の縫製対象物Sは、第1ステッチGP1が形成される前の縫製対象物Sに比べて、縮んでいる可能性が高い。その結果、ミシン座標系において規定される縫製対象物Sのステッチ形成目標位置が変位している可能性が高い。一方、縫製データ記憶部61に記憶されている第2目標パターンRP2のミシン座標系における位置は予め定められている。そのため、縫製データ取得部71で取得された第2目標パターンRP2に従って第2縫製処理が実施されると、縫製対象物Sの表面においてステッチ形成目標位置とは異なる位置に第2ステッチGP2が形成される可能性がある。   The sewing target S after the first stitch GP1 is formed is more likely to be shrunk than the sewing target S before the first stitch GP1 is formed. As a result, there is a high possibility that the stitch formation target position of the sewing target object S defined in the sewing machine coordinate system is displaced. On the other hand, the position of the second target pattern RP2 stored in the sewing data storage unit 61 in the sewing machine coordinate system is predetermined. Therefore, when the second sewing process is performed according to the second target pattern RP2 obtained by the sewing data obtaining unit 71, the second stitch GP2 is formed on the surface of the sewing target S at a position different from the stitch formation target position. May be

本実施形態では、第2縫製処理が実施される前に、保持部材15に保持されている縫製対象物Sの複数の特徴パターンUPのうち、少なくとも第2縫製処理に係る特徴パターンUPの現状位置が撮像装置30を使って検出される。変位量算出部74は、第2縫製処理に係る特徴パターンUPの初期位置と現状位置とに基づいて、初期位置から現状位置までの特徴パターンUPの変位量を算出する。補正データ生成部75は、変位量に基づいて、ミシン座標系におけるステッチ形成目標位置に第2ステッチGP2が形成されるように、第2目標パターンRP2を補正して第2補正パターンHP2を示す第2補正データを算出する。   In the present embodiment, before the second sewing process is performed, at least the current position of the feature pattern UP related to the second sewing process among the plurality of feature patterns UP of the sewing target object S held by the holding member 15. Is detected using the imaging device 30. The displacement amount calculation unit 74 calculates the displacement amount of the characteristic pattern UP from the initial position to the current position based on the initial position and the current position of the characteristic pattern UP according to the second sewing process. The correction data generation unit 75 corrects the second target pattern RP2 based on the displacement amount so that the second stitch GP2 is formed at the stitch formation target position in the sewing machine coordinate system, and displays the second correction pattern HP2. 2 Compute the correction data.

言い換えると、補正データ生成部75は、第2目標パターンRP2と第1縫製処理が実施される前の特徴パターンUPとの相対位置と、第2縫製処理の実施により縫製対象物Sに形成される第2ステッチGP2と第2縫製処理が実施された後の特徴パターンUPとの相対位置とが一致するように、第2補正データを生成する。   In other words, the correction data generation unit 75 is formed on the sewing object S by performing the second sewing process and the relative position between the second target pattern RP2 and the characteristic pattern UP before the first sewing process is performed. The second correction data is generated such that the relative position between the second stitch GP2 and the characteristic pattern UP after the second sewing process has been performed matches.

異常検出部76は、補正データ生成部75による補正演算結果である第2補正データが縫製領域PA内であるかを判定する(ステップS190)。異常検出部76は、第2補正データによって形成される第2ステッチGP2が縫製領域PA内である場合(ステップS190:Yes)、ステップS200に進む。異常検出部76は、第2補正データによって形成される第2ステッチGP2が縫製領域PA内ではない場合(ステップS190:No)、ステップS240に進む。   The abnormality detection unit 76 determines whether the second correction data, which is the correction calculation result by the correction data generation unit 75, is within the sewing area PA (step S190). When the second stitch GP2 formed by the second correction data is within the sewing area PA (Step S190: Yes), the abnormality detection unit 76 proceeds to Step S200. If the second stitch GP2 formed by the second correction data is not within the sewing area PA (Step S190: No), the abnormality detection unit 76 proceeds to Step S240.

異常検出部76は、補正データ生成部75による補正演算結果である第2補正データが枠部材15Cに衝突しないかを判定する(ステップS200)。異常検出部76は、第2補正データが枠部材15Cに衝突しない場合(ステップS200:Yes)、ステップ210に進む。異常検出部76は、第2補正データが枠部材15Cに衝突する場合(ステップS200:No)、ステップS240に進む。   The abnormality detection unit 76 determines whether the second correction data, which is the result of the correction calculation by the correction data generation unit 75, does not collide with the frame member 15C (step S200). When the second correction data does not collide with the frame member 15C (Step S200: Yes), the abnormality detection unit 76 proceeds to Step 210. When the second correction data collides with the frame member 15C (Step S200: No), the abnormality detection unit 76 proceeds to Step S240.

第2補正データが生成された後、制御装置40は、第2縫製処理を開始する(ステップS210)。制御部77は、第2縫製処理において、第2補正データに基づいて、アクチュエータ17を制御する制御信号を出力する。第2縫製処理において、保持部材15は、第2補正データに基づいて、縫製位置Psを含むXY面内において縫製対象物Sを保持して移動する。これにより、縫製対象物Sに第2ステッチGP2が形成される。   After the second correction data is generated, the control device 40 starts a second sewing process (Step S210). The control unit 77 outputs a control signal for controlling the actuator 17 based on the second correction data in the second sewing process. In the second sewing process, the holding member 15 holds and moves the sewing target object S in the XY plane including the sewing position Ps based on the second correction data. Thereby, the second stitch GP2 is formed on the sewing target S.

第2縫製処理が終了した後、縫製処理を終了するか否か判定される(ステップS220)。縫製処理を終了しない場合(ステップS220:No)、カウンタnが「n+1」にされる(ステップS230)。以下、ステップS220において、縫製処理を終了すると判定されるまで、上述のステップS110からステップS240の処理が繰り返される。   After the end of the second sewing process, it is determined whether to end the sewing process (step S220). If the sewing process is not to be ended (Step S220: No), the counter n is set to “n + 1” (Step S230). Hereinafter, the processes of steps S110 to S240 are repeated until it is determined in step S220 that the sewing process is to be ended.

縫製対象物Sの位置が異常であると判定された場合、より詳しくは、第1縫製データと第1縫製処理に係る特徴パターンとの一致度が閾値以上ではない場合(ステップS40:No)、第1補正データによって形成される第1ステッチGP1が縫製領域PA内ではない場合(ステップS60:No)、第1補正データによって形成される第1ステッチGP1が枠部材15Cに衝突する場合(ステップS70:No)、第2縫製データと第2縫製処理に係る特徴パターンとの一致度が閾値以上ではない場合(ステップS140:No)、特徴パターンUPの変位量が閾値以下ではない場合(ステップS170:No)、第2補正データによって形成される第2ステッチGP2が縫製領域PA内ではない場合(ステップS190:No)、または、第2補正データが枠部材15Cに衝突する場合(ステップS200:No)、制御部77は、報知装置80に異常を報知(出力)する(ステップS240)。上述のように、報知装置80として、表示装置、印刷装置、及び発光装置の少なくとも一つが例示される。異常の報知(出力)は、判定結果と判定の元になったデータとを表示装置に表示したり、印刷装置で出力したり、発光装置が点灯したりすることで行えばよい。異常を報知すると、それ以降のステッチGPを形成する縫製処理を実行せずに処理を終了する。作業者は、報知された異常の内容を確認して、例えば、縫製データを作成し直すなどの対策をとる。   When it is determined that the position of the sewing target object S is abnormal, more specifically, when the degree of coincidence between the first sewing data and the characteristic pattern related to the first sewing process is not equal to or larger than the threshold (step S40: No). When the first stitch GP1 formed by the first correction data is not within the sewing area PA (Step S60: No), when the first stitch GP1 formed by the first correction data collides with the frame member 15C (Step S70). : No), when the degree of coincidence between the second sewing data and the feature pattern related to the second sewing process is not equal to or larger than the threshold (Step S140: No), and when the displacement amount of the feature pattern UP is not equal to or smaller than the threshold (Step S170: No), when the second stitch GP2 formed by the second correction data is not within the sewing area PA (Step S190: No), or When the second correction data collides with the frame member 15C (Step S200: No), the control unit 77 informs abnormality to the notification device 80 (output) (step S240). As described above, at least one of the display device, the printing device, and the light emitting device is exemplified as the notification device 80. The notification (output) of the abnormality may be performed by displaying the determination result and the data on which the determination is based on a display device, outputting the data on a printing device, or turning on a light emitting device. When the abnormality is notified, the process ends without executing the sewing process for forming the subsequent stitch GP. The operator confirms the content of the reported abnormality and takes measures such as re-creating the sewing data, for example.

以上説明したように、本実施形態によれば、縫製対象物Sの表面が変位したことによって、それ以降のステッチGPの形成を継続すると、縫製対象物Sの品質が不良となったり、ミシン針3が保持部材15に接触したりするおそれがある場合、縫製対象物Sの位置が異常であると判定する。本実施形態によれば、ミシン1の異常動作を引き起こすおそれがあり、それ以降のステッチGPを形成することに適していないとき、縫製対象物Sの位置の異常があると判定して、それ以降のステッチGPの形成の継続を停止することができる。このように、本実施形態によれば、縫製対象物Sの品質が不良となることを抑制することができる。また、本実施形態によれば、ミシン針3が保持部材15に接触することを抑制することができる。このようにして、本実施形態は、縫製対象物Sの表面が変位したことによって、ミシン1が異常動作を引き起こす場合を判定して、不良な縫製対象物Sの製造及びミシン1の異常動作の発生を抑制することができる。   As described above, according to the present embodiment, if the surface of the sewing object S is displaced and the subsequent formation of the stitches GP is continued, the quality of the sewing object S becomes poor or the sewing needle If there is a possibility that the sewing object 3 will come into contact with the holding member 15, it is determined that the position of the sewing object S is abnormal. According to the present embodiment, there is a possibility that an abnormal operation of the sewing machine 1 may be caused, and when it is not suitable for forming the subsequent stitch GP, it is determined that there is an abnormality in the position of the sewing target S, and thereafter, Of the stitch GP can be stopped. As described above, according to the present embodiment, it is possible to suppress the quality of the sewing target object S from becoming poor. Further, according to the present embodiment, it is possible to prevent the sewing needle 3 from contacting the holding member 15. In this manner, the present embodiment determines the case where the sewing machine 1 causes an abnormal operation due to the displacement of the surface of the sewing object S, and determines whether the sewing machine 1 is manufacturing the defective sewing object S and the abnormal operation of the sewing machine 1. Generation can be suppressed.

本実施形態は、特徴パターンUPの初期位置データと現状位置データとに基づいて、パターンマッチング法による画像処理を行って一致度が閾値以下である場合、検出結果を異常ありとする。本実施形態によれば、縫製対象物Sが大きくずれて配置されている場合、縫製対象物Sの位置の異常があると判定して、それ以降のステッチGPがそのまま形成されないようにすることができる。   In the present embodiment, based on the initial position data of the characteristic pattern UP and the current position data, image processing is performed by the pattern matching method, and if the degree of coincidence is equal to or smaller than a threshold, the detection result is determined to be abnormal. According to the present embodiment, when the sewing object S is arranged with a large deviation, it is determined that there is an abnormality in the position of the sewing object S, and the subsequent stitch GP is not formed as it is. it can.

本実施形態は、変位量算出部74で算出された変位量に基づいて、変位量が閾値以下ではない場合、検出結果を異常ありとする。本実施形態によれば、変位量が縫製によって縮んだことによって生じる範囲を超えるような場合、縫製対象物Sの位置の異常があると判定して、それ以降のステッチGPがそのまま形成されないようにすることができる。   In the present embodiment, based on the displacement calculated by the displacement calculator 74, if the displacement is not smaller than or equal to the threshold, the detection result is determined to be abnormal. According to the present embodiment, when the displacement exceeds the range caused by contraction due to sewing, it is determined that there is an abnormality in the position of the sewing object S, and the subsequent stitch GP is not formed as it is. can do.

本実施形態は、補正データ生成部75で生成した補正データに基づいて、補正データによって形成されるステッチGPが縫製領域PA内ではない場合、検出結果を異常ありとする。本実施形態によれば、ミシン針3が保持部材15に接触するような補正データである場合、それ以降のステッチGPがそのまま形成されないようにすることができる。   In the present embodiment, based on the correction data generated by the correction data generation unit 75, if the stitch GP formed by the correction data is not within the sewing area PA, the detection result is determined to be abnormal. According to the present embodiment, when the correction data is such that the sewing machine needle 3 comes into contact with the holding member 15, the subsequent stitch GP can be prevented from being formed as it is.

本実施形態は、保持部材15に枠部材15Cが装着されているとき、補正データ生成部75で生成した補正データに基づいて、補正データによって形成されるステッチGPが枠部材15C内ではない場合、言い換えると、補正データによって形成されるステッチGPが枠部材15Cに衝突するおそれがあるとき、検出結果を異常ありとする。本実施形態によれば、ミシン針3が枠部材15Cに接触するような補正データである場合、それ以降のステッチGPがそのまま形成されないようにすることができる。   In the present embodiment, when the frame member 15C is mounted on the holding member 15, based on the correction data generated by the correction data generation unit 75, when the stitch GP formed by the correction data is not in the frame member 15C, In other words, when the stitch GP formed by the correction data may collide with the frame member 15C, the detection result is determined to be abnormal. According to the present embodiment, when the correction data is such that the sewing machine needle 3 comes into contact with the frame member 15C, the subsequent stitch GP can be prevented from being formed as it is.

1…ミシン、2…テーブル、3…ミシン針、4…表材、5…パッド材、6…裏材、7…孔、10…ミシン本体、11…ミシンフレーム、11A…水平アーム、11B…ベッド、11C…垂直アーム、11D…ヘッド、12…針棒、13…針板、14…支持部材、15…保持部材、15A…押え部材、15B…下板、16…アクチュエータ、17…アクチュエータ、17X…X軸モータ、17Y…Y軸モータ、18…アクチュエータ、19…中押え部材、20…操作装置、21…操作パネル、22…操作ペダル、30…撮像装置、31…駆動量センサ、32…駆動量センサ、32X…X軸センサ、32Y…Y軸センサ、40…制御装置、50…入出力インターフェース装置、60…記憶装置、61…縫製データ記憶部、62…プログラム記憶部、70…演算処理装置、71…縫製データ取得部、72…初期位置データ取得部、73…現状位置データ取得部、74…変位量算出部、75…補正データ生成部、76…異常検出部、77…制御部、AX…光軸、Ca…中心位置、Cb…中心位置、DP…規定パターン、DPh…基準パターン、FA…撮影領域、GP…ステッチ、GP1…第1ステッチ、GP2…第2ステッチ、GP3…第3ステッチ、K3…角部、K4…角部、MA…ステッチ形成領域、Pf…撮影位置、Ps…縫製位置、RP…目標パターン、RP1…第1目標パターン、RP2…第2目標パターン、RP3…第3目標パターン、UP…特徴パターン、UPa…特徴パターン、UPb…特徴パターン、UP1…第1特徴パターン、UP2…第2特徴パターン、UP3…第3特徴パターン、UP4…第4特徴パターン、UP5…第5特徴パターン、UP6…第6特徴パターン、UP7…第7特徴パターン、UP8…第8特徴パターン、UP9…第9特徴パターン、S…縫製対象物。   DESCRIPTION OF SYMBOLS 1 ... Sewing machine, 2 ... Table, 3 ... Sewing needle, 4 ... Surface material, 5 ... Pad material, 6 ... Backing material, 7 ... Hole, 10 ... Sewing machine main body, 11 ... Sewing machine frame, 11A ... Horizontal arm, 11B ... Bed , 11C: vertical arm, 11D: head, 12: needle bar, 13: needle plate, 14: support member, 15: holding member, 15A: holding member, 15B: lower plate, 16: actuator, 17: actuator, 17X ... X-axis motor, 17Y: Y-axis motor, 18: Actuator, 19: Middle pressing member, 20: Operating device, 21: Operation panel, 22: Operating pedal, 30: Imaging device, 31: Drive amount sensor, 32: Drive amount Sensor, 32X: X-axis sensor, 32Y: Y-axis sensor, 40: control device, 50: input / output interface device, 60: storage device, 61: sewing data storage unit, 62: program storage unit Reference numeral 70: arithmetic processing unit, 71: sewing data acquisition unit, 72: initial position data acquisition unit, 73: current position data acquisition unit, 74: displacement amount calculation unit, 75: correction data generation unit, 76: abnormality detection unit, 77 ... Control unit, AX ... optical axis, Ca ... center position, Cb ... center position, DP ... prescribed pattern, DPh ... reference pattern, FA ... photographing area, GP ... stitch, GP1 ... first stitch, GP2 ... second stitch GP3: third stitch, K3: corner, K4: corner, MA: stitch formation area, Pf: shooting position, Ps: sewing position, RP: target pattern, RP1: first target pattern, RP2: second target pattern , RP3: third target pattern, UP: feature pattern, UPa: feature pattern, UPb: feature pattern, UP1: first feature pattern, UP2: second feature pattern, UP3 ... Feature pattern, UP4: fourth feature pattern, UP5: fifth feature pattern, UP6: sixth feature pattern, UP7: seventh feature pattern, UP8: eighth feature pattern, UP9: ninth feature pattern, S: sewing target .

Claims (8)

ミシン針の直下の縫製位置を含む所定面内において縫製対象物を保持して移動可能な保持部材と、
前記保持部材を移動させるアクチュエータと、
前記縫製対象物を撮影可能な撮像装置と、
第1縫製処理において参照される第1縫製データ及び前記第1縫製処理の次に実施される第2縫製処理において参照される第2縫製データを取得する縫製データ取得部と、
前記縫製対象物に配置されている特徴パターンの初期位置を示す初期位置データを取得する初期位置データ取得部と、
前記撮像装置によって撮影された前記縫製対象物の画像データに基づいて前記特徴パターンの現状位置を示す現状位置データを取得する現状位置データ取得部と、
前記初期位置データと前記現状位置データとに基づいて前記縫製対象物の異常を検出する異常検出部と、
異常が検出された場合、前記異常検出部の検出結果を出力し、異常が検出されない場合、前記第1縫製データ及び前記第2縫製データに基づいて前記アクチュエータを制御する制御信号を出力する制御部と、
を備えるミシン。
A holding member that is capable of holding and moving a sewing object in a predetermined plane including a sewing position immediately below a sewing needle,
An actuator for moving the holding member,
An imaging device capable of photographing the sewing object;
A sewing data acquisition unit that acquires first sewing data referred to in the first sewing process and second sewing data referred to in a second sewing process performed after the first sewing process;
An initial position data obtaining unit that obtains initial position data indicating an initial position of a feature pattern arranged on the sewing object;
A current position data acquisition unit that acquires current position data indicating a current position of the feature pattern based on image data of the sewing target imaged by the imaging device;
An abnormality detection unit that detects an abnormality of the sewing target object based on the initial position data and the current position data,
A controller that outputs a detection result of the abnormality detector when an abnormality is detected, and outputs a control signal that controls the actuator based on the first sewing data and the second sewing data when an abnormality is not detected. When,
Sewing machine with
前記初期位置データと前記現状位置データとに基づいて前記特徴パターンの変位量を算出する変位量算出部を備え、
前記異常は、前記変位量の異常を含む、
請求項1に記載のミシン。
A displacement calculation unit that calculates a displacement of the feature pattern based on the initial position data and the current position data,
The abnormality includes an abnormality of the displacement amount,
The sewing machine according to claim 1.
前記制御部は、異常が検出されない場合、前記第2縫製処理において、前記第2縫製データと前記変位量とに基づいて前記制御信号を出力する、
請求項2に記載のミシン。
When no abnormality is detected, the control unit outputs the control signal in the second sewing process based on the second sewing data and the displacement amount.
The sewing machine according to claim 2.
前記第1縫製処理は、前記縫製対象物が前記保持部材に保持された後に最初にステッチを形成する処理であり、
前記異常検出部は、前記変位量と閾値とを比較して異常か否かを判定し、
前記閾値は、第1閾値と前記第1閾値よりも小さい第2閾値とを含み、
前記第1縫製処理の実行後であって前記第2縫製処理の実行前に前記変位量が第1閾値以上である場合、前記変位量が異常であると判定し、
前記第2縫製処理の実行後に前記変位量が第2閾値以上である場合、前記変位量が異常であると判定する、
請求項2又は請求項3に記載のミシン。
The first sewing process is a process of first forming a stitch after the sewing target object is held by the holding member,
The abnormality detection unit determines whether or not the abnormality by comparing the displacement amount and a threshold,
The threshold includes a first threshold and a second threshold smaller than the first threshold,
After the execution of the first sewing process and before the execution of the second sewing process, if the displacement amount is equal to or more than a first threshold, it is determined that the displacement amount is abnormal,
If the displacement amount is equal to or greater than a second threshold after the execution of the second sewing process, it is determined that the displacement amount is abnormal.
The sewing machine according to claim 2 or 3.
前記変位量に基づいて前記第2縫製データを補正して第2補正データを生成する補正データ生成部を備え、
前記異常検出部は、前記第2補正データに基づいて前記変位量の異常を検出し、
前記制御部は、異常が検出されない場合、前記第2縫製処理において、前記第2補正データに基づいて前記制御信号を出力する、
請求項2から請求項4のいずれか一項に記載のミシン。
A correction data generation unit that corrects the second sewing data based on the displacement amount to generate second correction data;
The abnormality detection unit detects an abnormality in the displacement amount based on the second correction data,
When no abnormality is detected, the control unit outputs the control signal based on the second correction data in the second sewing process.
The sewing machine according to any one of claims 2 to 4.
前記補正データ生成部は、前記第1縫製処理が実施される前に前記撮像装置によって撮像された前記画像データに基づいて前記第1縫製データを補正して第1補正データを生成し、
前記異常検出部は、前記第1補正データに基づいて前記変位量の異常を検出し、
前記制御部は、異常が検出されない場合、前記第1縫製処理において、前記第1補正データに基づいて前記制御信号を出力する、
請求項5に記載のミシン。
The correction data generation unit generates first correction data by correcting the first sewing data based on the image data captured by the imaging device before the first sewing process is performed,
The abnormality detection unit detects an abnormality in the displacement amount based on the first correction data,
The control unit outputs the control signal based on the first correction data in the first sewing process when no abnormality is detected.
The sewing machine according to claim 5.
前記現状位置データ取得部は、前記特徴パターンをパターンマッチング法により画像処理して前記現状位置データを取得し、
前記異常は、前記特徴パターンとテンプレートとの一致度の異常を含む、
請求項1から請求項6のいずれか一項に記載のミシン。
The current position data acquisition unit acquires the current position data by performing image processing on the feature pattern by a pattern matching method,
The abnormality includes an abnormality in the degree of coincidence between the feature pattern and the template.
The sewing machine according to any one of claims 1 to 6.
第1縫製処理において参照される第1縫製データ及び前記第1縫製処理の次に実施される第2縫製処理において参照される第2縫製データを取得することと、
縫製対象物に配置されている特徴パターンの初期位置を示す初期位置データを取得することと、
前記縫製対象物の画像データに基づいて前記特徴パターンの現状位置を示す現状位置データを取得することと、
前記初期位置データと前記現状位置データとに基づいて前記縫製対象物の異常を検出することと、
異常が検出された場合、検出結果を出力し、異常が検出されない場合、前記第1縫製データ及び前記第2縫製データに基づいてミシン針と前記縫製対象物とを所定面内において相対移動させて前記縫製対象物にステッチを形成することと、
を含む縫製方法。
Acquiring first sewing data referred to in the first sewing process and second sewing data referred to in a second sewing process performed subsequent to the first sewing process;
Acquiring initial position data indicating an initial position of a characteristic pattern arranged on the sewing object;
Acquiring current position data indicating a current position of the feature pattern based on image data of the sewing target;
Detecting an abnormality of the sewing target object based on the initial position data and the current position data,
When an abnormality is detected, a detection result is output. When no abnormality is detected, the sewing machine needle and the sewing target object are relatively moved within a predetermined plane based on the first sewing data and the second sewing data. Forming a stitch on the sewing object;
Sewing method including.
JP2018116627A 2018-06-20 2018-06-20 Sewing machine and sewing method Pending JP2019216984A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2018116627A JP2019216984A (en) 2018-06-20 2018-06-20 Sewing machine and sewing method
CN201910538465.5A CN110616511B (en) 2018-06-20 2019-06-20 Sewing machine and sewing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018116627A JP2019216984A (en) 2018-06-20 2018-06-20 Sewing machine and sewing method

Publications (1)

Publication Number Publication Date
JP2019216984A true JP2019216984A (en) 2019-12-26

Family

ID=68920291

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018116627A Pending JP2019216984A (en) 2018-06-20 2018-06-20 Sewing machine and sewing method

Country Status (2)

Country Link
JP (1) JP2019216984A (en)
CN (1) CN110616511B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114626091A (en) * 2022-03-11 2022-06-14 杰克科技股份有限公司 System and encryption method for remote maintenance of sewing equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008012052A (en) * 2006-07-05 2008-01-24 Juki Corp Sewing machine
JP5073597B2 (en) * 2008-07-02 2012-11-14 Juki株式会社 Button recognition device and button recognition method
JP2012147985A (en) * 2011-01-20 2012-08-09 Brother Ind Ltd Sewing machine
JP2017093989A (en) * 2015-11-27 2017-06-01 ブラザー工業株式会社 Sewing machine and recording medium in which program is recorded

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114626091A (en) * 2022-03-11 2022-06-14 杰克科技股份有限公司 System and encryption method for remote maintenance of sewing equipment

Also Published As

Publication number Publication date
CN110616511A (en) 2019-12-27
CN110616511B (en) 2022-08-09

Similar Documents

Publication Publication Date Title
CN108729036B (en) Sewing machine and sewing method
JP5315705B2 (en) sewing machine
JP7224112B2 (en) sewing system
US20140060407A1 (en) Sewing machine and non-transitory computer-readable medium
JP7079132B2 (en) Sewing machine and sewing method
CN111607910B (en) Sewing machine
US10988879B2 (en) Sewing machine and holder member
CN110616511B (en) Sewing machine and sewing method
JP2009172122A (en) Sewing machine
CN110616513B (en) Sewing machine and sewing method
CN112941733B (en) Image processing device, sewing machine and image processing method
CN110273229B (en) Stitch inspection device
US11286597B2 (en) Sewing machine and sewing method
JP7405564B2 (en) Image processing device, sewing machine, and image processing method
JP2013074970A (en) Sewing machine
JP7316420B2 (en) Sewing machine and sewing method
JP2019146748A (en) Sewing machine, sewing failure determination device
JP2008246032A (en) Sewing machine
JP2013074971A (en) Sewing machine
JP7405565B2 (en) Image processing device, sewing machine, and image processing method
JP7426575B1 (en) Visual inspection equipment
JP7425693B2 (en) component mounting machine
JP2013074972A (en) Sewing machine
JP5113692B2 (en) Buttonhole sewing machine
JP2010201012A (en) Sewing machine