JP7079132B2 - Sewing machine and sewing method - Google Patents

Sewing machine and sewing method Download PDF

Info

Publication number
JP7079132B2
JP7079132B2 JP2018076419A JP2018076419A JP7079132B2 JP 7079132 B2 JP7079132 B2 JP 7079132B2 JP 2018076419 A JP2018076419 A JP 2018076419A JP 2018076419 A JP2018076419 A JP 2018076419A JP 7079132 B2 JP7079132 B2 JP 7079132B2
Authority
JP
Japan
Prior art keywords
sewing
data
feature pattern
current position
pattern
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.)
Active
Application number
JP2018076419A
Other languages
Japanese (ja)
Other versions
JP2018183576A (en
Inventor
和範 山田
昌彦 岡村
耕一 近藤
仁彦 横瀬
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 CN201810359401.4A priority Critical patent/CN108729036B/en
Priority to DE102018109675.5A priority patent/DE102018109675A1/en
Publication of JP2018183576A publication Critical patent/JP2018183576A/en
Application granted granted Critical
Publication of JP7079132B2 publication Critical patent/JP7079132B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Sewing Machines And Sewing (AREA)
  • Automatic Embroidering For Embroidered Or Tufted Products (AREA)

Description

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

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

特開2013-162957号公報Japanese Unexamined Patent Publication No. 2013-162957 特開2016-141297号公報Japanese Unexamined Patent Publication No. 2016-141297

車両用シートに使用される表皮材は、厚みがあり弾力性を有する。厚みがあり弾力性を有する縫製対象物にステッチが形成されると、縫製対象物が縮んで縫製対象物の表面が変位する可能性がある。例えばステッチが形成される目標位置が予め決められている縫製データに基づいて第1のステッチが形成された後に第2のステッチを形成する場合、第1のステッチの形成により縫製対象物の表面が変位すると、第2のステッチを縫製対象物の目標位置に形成することが困難となる可能性がある。 The skin material used for vehicle seats is thick and elastic. 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 the second stitch is formed after the first stitch is formed based on the sewing data in which the target position where the stitch is formed is predetermined, the formation of the first stitch causes the surface of the sewing object to be sewn. Displacement can make it difficult to form the second stitch at the target position of the object to be sewn.

本発明の態様は、縫製対象物の表面が変位しても縫製対象物の目標位置にステッチを形成することを目的とする。 An aspect of the present invention is to form a stitch at a target position of a sewing object even if the surface of the sewing object is displaced.

本発明の第1の態様に従えば、ミシン針の直下の縫製位置を含む所定面内において縫製対象物を保持して移動可能な保持部材と、前記保持部材を移動させるアクチュエータと、前記縫製対象物を撮影可能な撮像装置と、第1縫製処理において参照される第1縫製データ及び前記第1縫製処理の次に実施される第2縫製処理において参照される第2縫製データを取得する縫製データ取得部と、前記縫製対象物に設けられている特徴パターンの初期位置を示す初期位置データを取得する初期位置データ取得部と、前記撮像装置によって撮影された前記縫製対象物の画像データに基づいて前記特徴パターンの現状位置を示す現状位置データを取得する現状位置データ取得部と、前記初期位置データと前記現状位置データとに基づいて前記特徴パターンの変位量を算出する変位量算出部と、前記第2縫製処理において、前記変位量に基づいて前記アクチュエータを制御する制御信号を出力する制御部と、を備えるミシンが提供される。 According to the first aspect of the present invention, a holding member that can hold and move a sewing object within a predetermined surface including a sewing position directly under the sewing machine needle, an actuator that moves the holding member, and the sewing target. An image pickup device capable of photographing an object, and sewing data for acquiring first sewing data referred to in the first sewing process and second sewing data referred to in the second sewing process performed after the first sewing process. Based on the acquisition unit, the initial position data acquisition unit that acquires the initial position data indicating the initial position of the feature pattern provided on the sewing object, and the image data of the sewing object taken by the image pickup device. The current position data acquisition unit that acquires the current position data indicating the current position of the feature pattern, the displacement amount calculation unit that calculates the displacement amount of the feature pattern based on the initial position data and the current position data, and the above. In the second sewing process, a sewing machine including a control unit for outputting a control signal for controlling the actuator based on the displacement amount is provided.

本発明の第2の態様に従えば、第1縫製処理において参照される第1縫製データ及び前記第1縫製処理の次に実施される第2縫製処理において参照される第2縫製データを取得することと、縫製対象物に設けられている特徴パターンの初期位置を示す初期位置データを取得することと、前記縫製対象物の画像データに基づいて前記特徴パターンの現状位置を示す現状位置データを取得することと、前記初期位置データと前記現状位置データとに基づいて前記特徴パターンの変位量を算出することと、前記第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. That is, the initial position data indicating the initial position of the feature pattern provided on the sewing object is acquired, and the current position data indicating the current position of the feature pattern is acquired based on the image data of the sewing object. In addition to calculating the displacement amount of the feature pattern based on the initial position data and the current position data, and in the second sewing process, the sewing machine needle and the sewing object are subjected to the displacement amount. Is provided to form a stitch on the object to be sewn by relatively moving the sewn object in a predetermined plane.

本発明の態様によれば、縫製対象物の表面が変位しても縫製対象物の目標位置にステッチを形成することができる。 According to the aspect of the present invention, even if the surface of the sewing object is displaced, the stitch can be formed at the target position of the sewing object.

図1は、第1実施形態に係るミシンの一例を示す斜視図である。FIG. 1 is a perspective view showing an example of a sewing machine according to the first embodiment. 図2は、第1実施形態に係るミシンの一部を示す斜視図である。FIG. 2 is a perspective view showing a part of the sewing machine according to the first embodiment. 図3は、第1実施形態に係る縫製対象物の一例を示す断面図である。FIG. 3 is a cross-sectional view showing an example of a sewing object according to the first embodiment. 図4は、第1実施形態に係る縫製対象物の一例を示す平面図である。FIG. 4 is a plan view showing an example of the sewing object according to the first embodiment. 図5は、第1実施形態に係る縫製対象物の一例を示す断面図である。FIG. 5 is a cross-sectional view showing an example of a sewing object according to the first embodiment. 図6は、第1実施形態に係る制御装置の一例を示す機能ブロック図である。FIG. 6 is a functional block diagram showing an example of the control device according to the first embodiment. 図7は、第1実施形態に係る縫製対象物の特徴パターンの一例を示す図である。FIG. 7 is a diagram showing an example of a characteristic pattern of a sewing object according to the first embodiment. 図8は、第1実施形態に係る縫製対象物の特徴パターンの一例を示す図である。FIG. 8 is a diagram showing an example of a characteristic pattern of a sewing object according to the first embodiment. 図9は、第1実施形態に係る縫製対象物の特徴パターンの一例を示す図である。FIG. 9 is a diagram showing an example of a characteristic pattern of a sewing object according to the first embodiment. 図10は、第1実施形態に係る縫製対象物の特徴パターンの一例を示す図である。FIG. 10 is a diagram showing an example of a characteristic pattern of a sewing object according to the first embodiment. 図11は、第1実施形態に係る変位量の算出方法を説明するための図である。FIG. 11 is a diagram for explaining a method of calculating the displacement amount according to the first embodiment. 図12は、第1実施形態に係る変位量の算出方法を説明するための図である。FIG. 12 is a diagram for explaining a method of calculating the displacement amount according to the first embodiment. 図13は、第1実施形態に係る変位量の算出方法を説明するための図である。FIG. 13 is a diagram for explaining a method of calculating the displacement amount according to the first embodiment. 図14は、第1実施形態に係る変位量の算出方法を説明するための図である。FIG. 14 is a diagram for explaining a method of calculating the displacement amount according to the first embodiment. 図15は、第1実施形態に係る変位量の算出方法を説明するための図である。FIG. 15 is a diagram for explaining a method of calculating the displacement amount according to the first embodiment. 図16は、第1実施形態に係る縫製方法の一例を示すフローチャートである。FIG. 16 is a flowchart showing an example of the sewing method according to the first embodiment. 図17は、第1実施形態に係る縫製方法の一例を説明するための模式図である。FIG. 17 is a schematic diagram for explaining an example of the sewing method according to the first embodiment. 図18は、第1実施形態に係る縫製方法の一例を説明するための模式図である。FIG. 18 is a schematic diagram for explaining an example of the sewing method according to the first embodiment. 図19は、第1実施形態に係る縫製方法の一例を説明するための模式図である。FIG. 19 is a schematic diagram for explaining an example of the sewing method according to the first embodiment. 図20は、第1実施形態に係る縫製方法の一例を説明するための模式図である。FIG. 20 is a schematic diagram for explaining an example of the sewing method according to the first embodiment. 図21は、第1実施形態に係る縫製方法の一例を説明するための模式図である。FIG. 21 is a schematic diagram for explaining an example of the sewing method according to the first embodiment. 図22は、第2実施形態に係る特徴パターンの現状位置データの取得方法を説明するための模式図である。FIG. 22 is a schematic diagram for explaining a method of acquiring the current position data of the feature pattern according to the second embodiment. 図23は、第2実施形態に係る特徴パターンの現状位置データの取得方法を説明するための模式図である。FIG. 23 is a schematic diagram for explaining a method of acquiring the current position data of the feature pattern according to the second embodiment. 図24は、第2実施形態に係る特徴パターンの現状位置データの取得方法を説明するための模式図である。FIG. 24 is a schematic diagram for explaining a method of acquiring the current position data of the feature pattern according to the second embodiment. 図25は、第3実施形態に係る特徴パターンの現状位置データの取得方法を説明するための模式図である。FIG. 25 is a schematic diagram for explaining a method of acquiring the current position data of the feature pattern according to the third embodiment. 図26は、第3実施形態に係る特徴パターンの現状位置データの取得方法を説明するためのフローチャートである。FIG. 26 is a flowchart for explaining a method of acquiring the current position data of the feature pattern according to the third embodiment. 図27は、第4実施形態に係る保持部材及び保持部材に保持されている縫製対象物を模式的に示す平面図である。FIG. 27 is a plan view schematically showing the holding member according to the fourth embodiment and the sewing object held by the holding member. 図28は、第4実施形態に係る基準マークの一例を示す図である。FIG. 28 is a diagram showing an example of a reference mark according to the fourth embodiment. 図29は、第4実施形態に係る基準マークの一例を示す図である。FIG. 29 is a diagram showing an example of a reference mark according to the fourth embodiment. 図30は、第4実施形態に係る基準マークの一例を示す図である。FIG. 30 is a diagram showing an example of a reference mark according to the fourth embodiment. 図31は、第4実施形態に係る保持部材及び保持部材に保持されている縫製対象物を模式的に示す平面図である。FIG. 31 is a plan view schematically showing the holding member according to the fourth embodiment and the sewing object held by the holding member.

以下、本発明に係る実施形態について図面を参照しながら説明するが、本発明はこれに限定されない。以下で説明する実施形態の構成要素は、適宜組み合わせることができる。また、一部の構成要素を用いない場合もある。 Hereinafter, embodiments according to 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 combined as appropriate. In addition, some components may not be used.

本実施形態においては、ミシン1についてローカル座標系が規定される。以下の説明においては、ミシン1について規定されるローカル座標系を適宜、ミシン座標系、と称する。ミシン座標系は、XYZ直交座標系により規定される。本実施形態においては、ミシン座標系に基づいて各部の位置関係について説明する。所定面内のX軸と平行な方向をX軸方向とする。X軸と直交する所定面内のY軸と平行な方向をY軸方向とする。所定面と直交するZ軸と平行な方向をZ軸方向とする。また、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 this embodiment, a local coordinate system is defined for the sewing machine 1. In the following description, the local coordinate system defined for the sewing machine 1 is appropriately referred to as a sewing machine coordinate system. The sewing machine coordinate system is defined by the XYZ Cartesian coordinate system. In this embodiment, the positional relationship of each part will be described based on the sewing machine coordinate system. The direction parallel to the X-axis in the predetermined plane is defined as the X-axis direction. The direction parallel to the Y-axis in a predetermined plane orthogonal to the X-axis is defined as the Y-axis direction. The direction parallel to the Z axis orthogonal to the predetermined surface is defined as the Z axis direction. Further, the rotation direction or the inclination direction about the X axis is defined as the θX direction. The rotation direction or inclination direction about the Y axis is defined as the θY direction. The rotation direction or inclination direction about the Z axis is defined as the θZ direction. Further, in the present embodiment, the plane including the X-axis and the Y-axis is appropriately referred to as an XY plane. A plane including the X-axis and the Z-axis is appropriately referred to as an XZ plane. The plane including the Y-axis and the Z-axis is appropriately 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. Further, in the present embodiment, it is assumed that the XY plane and the horizontal plane are parallel. The Z-axis direction is the vertical direction. The + Z direction is upward and the −Z direction is downward. The XY plane may be inclined with respect to the horizontal plane.

第1実施形態.
[ミシン]
図1は、本実施形態に係るミシン1の一例を示す斜視図である。図2は、本実施形態に係るミシン1の一部を示す斜視図である。本実施形態において、ミシン1は、電子サイクルミシンである。
First embodiment.
[sewing machine]
FIG. 1 is a perspective view showing an example of the 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.

図1及び図2に示すように、ミシン1は、ミシン本体10と、作業者によって操作される操作装置20と、縫製対象物Sを撮影可能な撮像装置30と、ミシン1を制御する制御装置40とを備える。ミシン本体10は、テーブル2の上面に搭載される。 As shown in FIGS. 1 and 2, the sewing machine 1 includes a sewing machine main body 10, an operating device 20 operated by an operator, an image pickup device 30 capable of photographing an object to be sewn S, and a control device for controlling the sewing machine 1. 40 and. The sewing machine body 10 is mounted on the upper surface of the table 2.

(ミシン本体)
ミシン本体10は、ミシンフレーム11と、ミシンフレーム11に支持される針棒12と、ミシンフレーム11に支持される針板13と、支持部材14を介してミシンフレーム11に支持される保持部材15と、針棒12を移動させる動力を発生するアクチュエータ16と、保持部材15を移動させる動力を発生するアクチュエータ17と、保持部材15の少なくとも一部を移動させる動力を発生するアクチュエータ18とを有する。
(Sewing machine body)
The sewing machine main body 10 includes a sewing machine frame 11, a needle rod 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. It has an actuator 16 that generates a power to move the needle bar 12, an actuator 17 that generates a power to move the holding member 15, and an actuator 18 that generates a power to move 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 provided below the horizontal arm 11A, and a vertical arm 11C connecting the + Y side end of the horizontal arm 11A and the bed 11B. It has a head 11D provided 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 machine 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 to each other. 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 arranged below the holding member 15.

保持部材15は、縫製対象物Sを保持する。保持部材15は、ミシン針3の直下の縫製位置Psを含むXY平面内において縫製対象物Sを保持して移動可能である。保持部材15は、支持部材14を介して水平アーム11Aに支持される。 The holding member 15 holds the sewing object S. The holding member 15 can hold and move the sewing object S in the XY plane including the sewing position Ps directly below the sewing machine needle 3. The holding member 15 is supported by the horizontal arm 11A via the support member 14.

保持部材15は、押え部材15Aと下板15Bとを有する。押え部材15Aは、枠状の部材であり、Z軸方向に移動可能である。下板15Bは、押え部材15Aの下方に配置される。保持部材15は、押え部材15Aと下板15Bとで縫製対象物Sを挟むことによって縫製対象物Sを保持する。 The holding member 15 has a pressing member 15A and a lower plate 15B. The presser member 15A is a frame-shaped member and can move in the Z-axis direction. The lower plate 15B is arranged below the pressing member 15A. The holding member 15 holds the sewing object S by sandwiching the sewing object S between the pressing 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の保持が解除される。 As the presser member 15A moves in the + Z direction, the presser member 15A and the lower plate 15B are separated from each other. Thereby, the operator can arrange the sewing object S between the pressing member 15A and the lower plate 15B. When the pressing member 15A moves in the −Z direction while the sewing object S is arranged between the pressing member 15A and the lower plate 15B, the sewing object S is sandwiched between the pressing member 15A and the lower plate 15B. .. As a result, the sewing object S is held by the holding member 15. Further, when the pressing member 15A moves in the + Z direction, the holding member S is released from holding the sewing object S.

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

水平アーム11Aの内部には、Y軸方向に延在する水平アームシャフトが設けられる。アクチュエータ16は、水平アームシャフトの+Y側の端部に連結される。水平アームシャフトの-Y側の端部は、ヘッド11Dの内部に設けられている動力伝達機構を介して針棒12に連結される。アクチュエータ16の作動により、水平アームシャフトが回転する。アクチュエータ16で発生した動力は、水平アームシャフト及び動力伝達機構を介して針棒12に伝達される。これにより、針棒12に保持されているミシン針3は、Z軸方向に往復するように移動する。 Inside the horizontal arm 11A, a horizontal arm shaft extending in the Y-axis direction is provided. The actuator 16 is connected to the + Y side end of the horizontal arm shaft. The end on the −Y side of the horizontal arm shaft is connected to the needle bar 12 via a power transmission mechanism provided 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 the horizontal arm shaft and the power transmission mechanism. As a result, the sewing machine needle 3 held by the needle bar 12 moves so as to reciprocate in the Z-axis direction.

垂直アーム11Cの内部には、Z軸方向に延在するタイミングベルトが設けられる。また、ベッド11Bの内部には、Y軸方向に延在するベッドシャフトが設けられる。水平アームシャフト及びベッドシャフトのそれぞれにプーリが設けられる。タイミングベルトは、水平アームシャフトに設けられているプーリ及びベッドシャフトに設けられているプーリのそれぞれに架けられる。水平アームシャフトとベッドシャフトとは、タイミングベルトを含む動力伝達機構を介して連結される。 Inside the vertical arm 11C, a timing belt extending in the Z-axis direction is provided. Further, inside the bed 11B, a bed shaft extending in the Y-axis direction is provided. Pulleys are provided on each of the horizontal arm shaft and the bed shaft. The timing belt is hung on each of the pulley provided on the horizontal arm shaft and the pulley provided 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 kettle is provided inside the bed 11B. The bobbin in the bobbin case is housed in the kettle. 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 hook via the horizontal arm shaft, the timing belt, and the bed shaft. As a result, the hook 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 to move the holding member 15 in the XY plane. The actuator 17 includes a pulse motor. The actuator 17 includes an X-axis motor 17X that generates power to move the holding member 15 in the X-axis direction, and a Y-axis motor 17Y that generates power to move the holding member 15 in the Y-axis direction. The actuator 17 is provided 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. As a result, the holding member 15 can move between the sewing machine needle 3 and the needle plate 13 in the X-axis direction and the Y-axis direction, respectively. By operating the actuator 17, the holding member 15 can hold and move the sewing object S in the XY plane including the sewing position Ps directly under the sewing machine needle 3.

アクチュエータ18は、保持部材15の押え部材15AをZ軸方向に移動させる動力を発生する。アクチュエータ18は、パルスモータを含む。押え部材15Aが+Z方向に移動することにより、押え部材15Aと下板15Bとが離れる。押え部材15Aが-Z方向に移動することにより、押え部材15Aと下板15Bとで縫製対象物Sが挟まれる。 The actuator 18 generates power to move the holding member 15A of the holding member 15 in the Z-axis direction. The actuator 18 includes a pulse motor. As the presser member 15A moves in the + Z direction, the presser member 15A and the lower plate 15B are separated from each other. As the presser member 15A moves in the −Z direction, the object to be sewn S is sandwiched between the presser 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 center presser member 19 arranged around the sewing machine needle 3. The middle presser member 19 presses the sewing object S around the sewing machine needle 3. The middle presser 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 to move the middle presser member 19 in the Z-axis direction is provided. By operating the middle presser motor, the middle presser member 19 moves in the Z-axis direction in synchronization with the needle bar 12. The middle presser member 19 suppresses the lifting of the sewing object S due to the movement of the sewing machine needle 3.

(操作装置)
操作装置20は、作業者に操作される。操作装置20が操作されることにより、ミシン1が作動する。本実施形態において、操作装置20は、操作パネル21と操作ペダル22とを含む。
(Operating device)
The operating device 20 is operated by an operator. The sewing machine 1 is operated by operating the operating device 20. 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 display device including a flat panel display such as a liquid crystal display (LCD) or an organic EL display (OELD), and an operator. It has an input device. In the present embodiment, the input device includes a touch sensor provided on the display screen of the display device. That is, in the present embodiment, the operation panel 21 includes a touch panel having a 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 his / her feet. The sewing machine 1 operates when at least one of the operation panel 21 and the operation pedal 22 is operated by the operator.

(撮像装置)
撮像装置30は、保持部材15に保持されている縫製対象物Sを撮影する。撮像装置30は、光学系と、光学系を介して入射する光を受光するイメージセンサとを有する。イメージセンサは、CCD(Couple Charged Device)イメージセンサ又はCMOS(Complementary Metal Oxide Semiconductor)イメージセンサを含む。
(Image pickup device)
The image pickup apparatus 30 photographs the sewing object S held by the holding member 15. The image pickup apparatus 30 has 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よりも上方に配置される。保持部材15は、撮像装置30の撮影位置Pfを含むXY平面内において縫製対象物Sを保持して移動可能である。撮影位置Pfは、撮像装置30の光学系の光軸AXの位置を含む。撮像装置30に撮影領域FAが規定される。撮影領域FAは、撮像装置30の光学系の視野領域を含む。撮影領域FAは、撮影位置Pfを含む。撮像装置30は、撮影領域FAに配置された縫製対象物Sの少なくとも一部の画像データを取得する。 The image pickup apparatus 30 is arranged above the needle plate 13 and the holding member 15. The holding member 15 can hold and move the sewing object S in the XY plane including the photographing position Pf of the image pickup apparatus 30. The shooting position Pf includes the position of the optical axis AX of the optical system of the image pickup apparatus 30. The imaging region FA is defined in the image pickup apparatus 30. The photographing region FA includes a visual field region of the optical system of the image pickup apparatus 30. The shooting area FA includes the shooting position Pf. The image pickup apparatus 30 acquires image data of at least a part of the sewing object S arranged in the photographing area FA.

保持部材15の押え部材15Aは、枠状である。撮像装置30は、押え部材15Aの内側に配置されている縫製対象物Sの少なくとも一部を上方から撮影する。 The pressing member 15A of the holding member 15 has a frame shape. The image pickup apparatus 30 photographs at least a part of the sewing object S arranged inside the presser member 15A from above.

撮像装置30の位置は、固定される。撮像装置30とミシンフレーム11との相対位置は、固定される。XY平面内における撮像装置30の光学系の光軸AXとミシン針3との相対位置は、固定される。XY平面内における撮像装置30の光学系の光軸AXとミシン針3との相対位置を示す相対位置データは、ミシン1の設計データから導出可能な既知データである。 The position of the image pickup apparatus 30 is fixed. The relative position between the image pickup apparatus 30 and the sewing machine frame 11 is fixed. The relative position between the optical axis AX of the optical system of the image pickup apparatus 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 image pickup apparatus 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との正確な相対位置を算出することができる。 If there is a difference between the actual position of the image pickup device 30 and the position in the design data due to the mounting error of the image pickup device 30, the position of the sewing machine needle 3 in the XY plane after the image pickup device 30 is mounted is set. Measured, move the measured position of the sewing machine needle 3 toward the image pickup device 30 by the known data, and measure the difference between the actual position of the image pickup device 30 and the position of the sewing machine needle 3 after the movement in the XY plane. By doing so, it is possible to calculate an accurate relative position between the optical axis AX of the optical system of the image pickup apparatus 30 and the sewing machine needle 3 based on the measurement result of the difference.

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

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

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

図4に示すように、孔7は、表材4に複数設けられる。孔7は、規定パターンDPで設けられる。本実施形態において、規定パターンDPは、複数の基準パターンDPhを含む。1つの基準パターンDPhは、複数の孔7によって形成される。本実施形態においては、複数の孔7により基準パターンDPhが形成される。本実施形態においては、1つの基準パターンDPhが17個の孔7で形成される。 As shown in FIG. 4, a plurality of holes 7 are provided in the surface material 4. The holes 7 are provided with a specified pattern DP. In the present embodiment, the specified pattern DP includes a plurality of reference pattern 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 this embodiment, one reference pattern DPh is formed by 17 holes 7.

図4に示すように、基準パターンDPhは、間隔をあけて表材4に設けられる。基準パターンDPhは、X軸方向及びY軸方向のそれぞれに等間隔で設けられる。X軸方向に隣り合う基準パターンDPhの間に、Y軸方向の位置が異なる基準パターンDPhが配置される。隣り合う基準パターンDPhの間に孔7は形成されない。以下の説明においては、表材4の表面のうち基準パターンDPhの間の孔7が形成されない領域を適宜、ステッチ形成領域MA、と称する。 As shown in FIG. 4, the reference pattern DPh is provided on the surface material 4 at intervals. The reference pattern DPh is provided at equal intervals in each of the X-axis direction and the Y-axis direction. Reference pattern DPhs having different positions in the Y-axis direction are arranged between the reference pattern DPhs adjacent to each other in the X-axis direction. No holes 7 are formed between adjacent reference patterns DPh. In the following description, the region of the surface of the surface material 4 in which the holes 7 between the reference patterns DPh are not formed is appropriately referred to as a stitch forming region MA.

ミシン針3に上糸が供給される。釜のボビンには下糸が巻かれている。ミシン1は、ミシン針3を釜の回転と協働してZ軸方向に往復させた状態で、縫製対象物Sを保持した保持部材15をXY平面内において移動させる。これにより、縫製対象物SにステッチGPが形成される。 The needle thread is supplied to the sewing machine needle 3. The bobbin of the hook is wound with bobbin thread. The sewing machine 1 moves the holding member 15 holding the sewing object S in the XY plane in a state where the sewing machine needle 3 is reciprocated in the Z-axis direction in cooperation with the rotation of the hook. As a result, the stitch GP is formed on the sewing object S.

本実施形態において、ステッチGPは、縫製対象物Sのステッチ形成領域MAに形成される。孔7が規定パターンDPで設けられ、ステッチGPがステッチ形成領域MAに形成されることにより、縫製対象物Sの意匠性が高められる。 In the present embodiment, the stitch GP is formed in the stitch forming region MA of the sewing object S. The holes 7 are provided in the specified pattern DP, and the stitch GP is formed in the stitch forming region MA, so that the design of the sewing object S is enhanced.

[縫製データ]
ミシン1は、縫製データに基づいて、縫製対象物Sを保持した保持部材15をXY平面内において移動させる。縫製データは、縫製対象物Sに形成されるステッチGPの目標パターンRP及び保持部材15の移動条件を含む。
[Sewing data]
The sewing machine 1 moves the holding member 15 holding the sewing object S in the XY plane based on the sewing data. The sewing data includes the target pattern RP of the stitch GP formed on the sewing object S and the movement 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 object 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 the movement locus of the holding member 15 defined in the sewing machine coordinate system. The movement locus of the holding member 15 includes the movement locus of the holding member 15 in the XY plane. The movement conditions of the holding member 15 are determined based on the target pattern RP.

保持部材15が縫製対象物Sを保持した状態で縫製データに基づいて縫製位置Psを含むXY平面内において移動することにより、縫製対象物SにステッチGPが形成される。 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 the sewing data while holding the sewing object S.

縫製データは、縫製対象物Sの表面に規定されるステッチGPの目標位置を含む。以下の説明においては、縫製対象物Sの表面に規定されるステッチGPの目標位置を適宜、ステッチ形成目標位置、と称する。ステッチ形成目標位置は、ミシン座標系において規定される。 The sewing data includes the 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 appropriately 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 region MA. The sewing machine 1 carries out the 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を形成するための第3縫製データ、第4ステッチGP4を形成するための第4縫製データ、第5ステッチGP5を形成するための第5縫製データ、第6ステッチGP6を形成するための第6縫製データ、第7ステッチGP7を形成するための第7縫製データ、第8ステッチGP8を形成するための第8縫製データ、第9ステッチGP9を形成するための第9縫製データ、及び第10ステッチGP10を形成するための第10縫製データを含む。 The sewing data includes a plurality of sewing data for forming each of the plurality of stitch GPs. In the present embodiment, the sewing data includes the first stitch data for forming the first stitch GP1, the second stitch data for forming the second stitch GP2, and the third stitch data for forming the third stitch GP3. , 4th stitch data for forming the 4th stitch GP4, 5th sewing data for forming the 5th stitch GP5, 6th sewing data for forming the 6th stitch GP6, and 7th stitch GP7. 7th sewing data for forming the 8th stitch GP8, 8th sewing data for forming the 8th stitch GP9, 9th sewing data for forming the 9th stitch GP9, and 10th sewing data for forming the 10th stitch GP10. include.

図4に示すように、目標パターンRPは、第1目標パターンRP1、第2目標パターンRP2、第3目標パターンRP3、第4目標パターンRP4、第5目標パターンRP5、第6目標パターンRP6、第7目標パターンRP7、第8目標パターンRP8、第9目標パターンRP9、及び第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. 4, the target pattern RP includes a first target pattern RP1, a second target pattern RP2, a third target pattern RP3, a fourth target pattern RP4, a fifth target pattern RP5, a sixth target pattern RP6, and a seventh target pattern. The target pattern RP7, the eighth target pattern RP8, the ninth target pattern RP9, and the tenth target pattern RP10 are included. In the present embodiment, a plurality of target pattern RPs (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 pattern RPs is separated from each other. One target pattern RP is defined in a line. 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 extends in the X-axis direction in the stitch formation region MA and is defined in a zigzag shape 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 object S in the first sewing process. Further, the first sewing data includes the movement 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 object S in the second sewing process. Further, the second sewing data includes the movement condition of 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 of the third stitch GP3 to the tenth stitch GP10 formed on the sewing object S in each of the third sewing process to the tenth sewing process. Each of the target pattern RP3 to the tenth target pattern RP10 is included. Further, each of the third sewing data to the tenth sewing data includes a movement condition of the holding member 15 in the XY plane in each of the third sewing process to the tenth sewing process.

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

第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 object 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 object 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, each of the third sewing process to the tenth sewing process forms the third stitch GP3 to the tenth stitch GP10 on the sewing object S based on each of the third target pattern RP3 to the tenth target pattern RP10. Includes processing to do. The third sewing process to the tenth sewing process are sequentially performed.

[ステッチの形成による縫製対象物の表面の変位]
図5は、本実施形態に係る縫製対象物Sの一例を示す断面図である。図5は、縫製処理が実施された後の縫製対象物Sを示す。縫製対象物Sは、厚みがあり弾力性を有する。厚みがあり弾力性を有する縫製対象物SにステッチGPが形成されることにより、図5に示すように、縫製対象物Sが縮む可能性が高い。縫製対象物Sが縮むと、縫製対象物Sの表面が変位する可能性がある。縫製対象物Sの表面が変位すると、縫製対象物Sの表面に規定されているステッチ形成目標位置がXY平面内において変位する可能性が高い。ステッチ形成目標位置がXY平面内において変位した場合、目標パターンRPに従って保持部材15を移動させると、ステッチGPをステッチ形成目標位置に形成することが困難となる。
[Displacement of the surface of the object to be sewn due to the formation of stitches]
FIG. 5 is a cross-sectional view showing an example of the sewing object S according to the present embodiment. FIG. 5 shows the sewing object S after the sewing process is performed. The object to be sewn S is thick and has elasticity. As shown in FIG. 5, there is a high possibility that the sewing object S will shrink due to the formation of the stitch GP on the sewing object S having thickness and elasticity. When the sewing object S shrinks, the surface of the sewing object S may be displaced. When the surface of the sewing object S is displaced, there is a high possibility that 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 according to the target pattern RP, it becomes difficult to form the stitch GP at the stitch formation target position.

また、縫製処理が開始されてからの初期の期間においては、ステッチ形成目標位置の変位は小さい可能性が高い。しかし、縫製処理が進行して縫製対象物Sの表面の変位が累積した場合、ステッチ形成目標位置の変位量が大きい可能性が高い。すなわち、縫製処理が進行するほど、ステッチ形成目標位置の変位量が大きくなり、ステッチGPをステッチ形成目標位置に形成することが困難となる可能性が高い。 Further, in the initial period after the sewing process is started, the displacement of the stitch formation target position is likely to be small. However, when the sewing process progresses and the displacement of the surface of the sewing object S accumulates, it is highly possible that the displacement amount of the stitch formation target position is large. That is, as the sewing process progresses, the amount of displacement of the stitch formation target position increases, and it is highly possible that it becomes difficult to form the stitch GP at the stitch formation target position.

本実施形態においては、ステッチGPの形成により縫製対象物Sが縮んで縫製対象物Sの表面が変位しても、次のステッチGPがステッチ形成目標位置に形成されるように、制御装置40は、撮像装置30で撮影された縫製対象物Sの画像データに基づいて、保持部材15を移動させるアクチュエータ17を制御する。 In the present embodiment, the control device 40 controls the control device 40 so that the next stitch GP is formed at the stitch formation target position 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 actuator 17 that moves the holding member 15 is controlled based on the image data of the stitched object S taken by the image pickup apparatus 30.

[制御装置]
図6は、本実施形態に係る制御装置40の一例を示す機能ブロック図である。制御装置40は、ミシン1を制御する制御信号を出力する。制御装置40は、コンピュータシステムを含む。制御装置40は、入出力インターフェース装置50と、ROM(Read Only Memory)又はストレージのような不揮発性メモリ及びRAM(Random Access Memory)のような揮発性メモリを含む記憶装置60と、CPU(Central Processing Unit)のようなプロセッサを含む演算処理装置70とを有する。
[Control device]
FIG. 6 is a functional block diagram showing 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. The control device 40 includes a computer system. The control device 40 includes an input / output interface device 50, a storage device 60 including a non-volatile memory such as ROM (Read Only Memory) or storage, and a volatile memory such as RAM (Random Access Memory), and a CPU (Central Processing). It has an arithmetic processing unit 70 including a processor such as Unit).

図6に示すように、制御装置40には、ミシン針3をZ軸方向に移動させるアクチュエータ16と、保持部材15をXY平面内において移動させるアクチュエータ17と、保持部材15の押え部材15AをZ軸方向に移動させるアクチュエータ18と、操作装置20と、撮像装置30とが接続される。 As shown in FIG. 6, the control device 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 holding member 15A for the holding member 15. The actuator 18 that moves in the axial direction, the operating device 20, and the image pickup device 30 are connected.

また、本実施形態において、ミシン1は、アクチュエータ16の駆動量を検出する駆動量センサ31と、アクチュエータ17の駆動量を検出する駆動量センサ32とを有する。 Further, in the present embodiment, 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に出力される。制御装置40は、駆動量センサ31の検出データに基づいて、アクチュエータ16を制御する。制御装置40は、駆動量センサ31の検出データに基づいて、例えばアクチュエータ16の作動タイミングを決定する。 The drive amount sensor 31 includes an encoder that detects the rotation amount of the pulse motor, which is the actuator 16. The detection data of the drive amount sensor 31 is output to the control device 40. 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.

駆動量センサ32は、X軸モータ17Xの回転量を検出するX軸センサ32Xと、Y軸モータ17Yの回転量を検出するY軸センサ32Yとを含む。X軸センサ32Xは、X軸モータ17Xの回転量を検出するエンコーダを含む。Y軸センサ32Yは、Y軸モータ17Yの回転量を検出するエンコーダを含む。駆動量センサ32の検出データは、制御装置40に出力される。制御装置40は、駆動量センサ32の検出データに基づいて、アクチュエータ17を制御する。制御装置40は、駆動量センサ32の検出データに基づいて、保持部材15が目標位置に移動するようにアクチュエータ17をフィードバック制御する。 The drive amount sensor 32 includes an X-axis sensor 32X that detects the rotation amount of the X-axis motor 17X and a Y-axis sensor 32Y that detects the rotation amount of the Y-axis motor 17Y. The X-axis sensor 32X includes an encoder that detects the amount of rotation of the X-axis motor 17X. The Y-axis sensor 32Y includes an encoder that detects the amount of rotation of the Y-axis motor 17Y. The detection data of the drive amount sensor 32 is output to the control device 40. The control device 40 controls the actuator 17 based on the detection data of the drive amount sensor 32. The control device 40 feedback-controls the actuator 17 so that the holding member 15 moves to the target position based on the detection data of the drive amount sensor 32.

駆動量センサ32は、XY平面内における保持部材15の位置を検出する位置センサとして機能する。アクチュエータ17の駆動量と保持部材15の移動量とは1対1で対応する。制御装置40は、駆動量センサ32の検出データに基づいて、XY平面内における保持部材15の位置を算出する。 The drive amount sensor 32 functions as a position sensor for detecting the position of the holding member 15 in the XY plane. There is a one-to-one correspondence between the driving amount of the actuator 17 and the moving amount of the holding member 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.

X軸センサ32Xは、X軸モータ17Xの回転量を検出することにより、ミシン座標系における原点からの保持部材15のX軸方向の移動量を検出可能である。Y軸センサ32Yは、Y軸モータ17Yの回転量を検出することにより、ミシン座標系における原点からの保持部材15のY軸方向の移動量を検出可能である。XY平面内における原点からの保持部材15の移動量が検出されることにより、制御装置40は、検出された保持部材15の移動量に基づいて、XY平面内における保持部材15の位置を算出することができる。 The X-axis sensor 32X can detect the amount of movement of the holding member 15 from the origin in the sewing machine coordinate system in the X-axis direction by detecting the amount of rotation of the X-axis motor 17X. The Y-axis sensor 32Y can detect the amount of movement 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. By detecting the amount of movement of the holding member 15 from the origin in the XY plane, the control device 40 calculates the position of the holding member 15 in the XY plane based on the detected amount of movement of the holding member 15. be able to.

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

縫製データ記憶部61は、縫製データを記憶する。上述のように、縫製データは、縫製対象物Sに形成されるステッチGPの目標パターンRP及び保持部材15の移動条件を含む。 The sewing data storage unit 61 stores sewing data. As described above, the sewing data includes the target pattern RP of the stitch GP formed on the sewing object S and the movement condition of the holding member 15.

プログラム記憶部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 the computer program stored in the program storage unit 62. The computer program is read into the arithmetic processing apparatus 70. The arithmetic processing device 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とを有する。
(Arithmetic processing device)
The arithmetic processing device 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, and a control unit 76.

縫製データ取得部71は、縫製データ記憶部61から縫製データを取得する。上述のように、本実施形態において、縫製データは、第1縫製データから第10縫製データを含む。縫製データ取得部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. As described above, in the present embodiment, the sewing data includes the first sewing data to the tenth sewing data. The sewing data acquisition unit 71 acquires 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 from the sewing data storage unit 61. do. Similarly, the sewing data acquisition unit 71 acquires each of the tenth sewing data from the third sewing data referred to in each of the third sewing process to the tenth sewing process from the sewing data storage unit 61.

初期位置データ取得部72は、縫製対象物Sに設けられている特徴パターンUPの初期位置を示す初期位置データを取得する。特徴パターンUPの初期位置データは、ミシン座標系における特徴パターンUPの初期位置を示す。 The initial position data acquisition unit 72 acquires initial position data indicating the initial position of the feature pattern UP provided on the sewing object S. The initial position data of the feature pattern UP indicates the initial position of the feature 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 feature pattern UP is known data that can be derived from the design data of the sewing object S such as CAD (Computer Aided Design) data. The initial position data of the feature 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 feature pattern UP from the sewing data storage unit 61.

特徴パターンUPの初期位置は、縫製処理が実施される前の特徴パターンUPの位置を含む。初期位置データ取得部72は、縫製対象物Sの設計データに基づかずに、縫製処理が開始される前の縫製対象物Sの特徴パターンUPの画像データに基づいて、特徴パターンUPの初期位置を取得することができる。 The initial position of the feature pattern UP includes the position of the feature pattern UP before the sewing process is performed. The initial position data acquisition unit 72 sets the initial position of the feature pattern UP based on the image data of the feature 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 the current position data indicating the current position of the feature pattern UP provided on the sewing object S based on the image data of the sewing object S taken by the image pickup apparatus 30. The current position data of the feature pattern UP indicates the current position of the feature pattern UP in the sewing machine coordinate system.

本実施形態において、縫製対象物Sの特徴パターンUPは、規定パターンDPの一部である。特徴パターンUPは、画像処理方法の一種であるパターンマッチング法により特定可能なパターンである。現状位置データ取得部73は、撮像装置30で撮影された画像データをパターンマッチング法により画像処理して、ミシン座標系における特徴パターンUPの現状位置データを算出する。 In the present embodiment, the characteristic pattern UP of the sewing object S is a part of the specified pattern DP. The feature pattern UP is a pattern that can be specified by a pattern matching method, which is a kind of image processing method. The current position data acquisition unit 73 performs image processing on the image data captured by the image pickup apparatus 30 by the pattern matching method, and calculates the current position data of the feature pattern UP in the sewing machine coordinate system.

制御装置40は、アクチュエータ17を制御して、保持部材15に保持されている縫製対象物Sの特徴パターンUPを撮像装置30の撮影領域FAに移動させる。撮像装置30は、撮影領域FAに配置されている特徴パターンUPを撮影する。特徴パターンUPの画像データは、現状位置データ取得部73に取得される。現状位置データ取得部73は、特徴パターンUPの画像データをパターンマッチング法により画像処理して、特定パターンUPを特定する。特徴パターンUPが撮像装置30の撮影領域FAに配置されているときのミシン座標系における保持部材15の位置は、駆動量センサ32によって検出される。上述のように、駆動量センサ32は、XY平面内における保持部材15の位置を検出する位置センサとして機能する。駆動量センサ32の検出データは、現状位置データ取得部73に取得される。現状位置データ取得部73は、特徴パターンUPが撮影領域FAに配置されているときの駆動量センサ32の検出データに基づいて、撮像領域FAに配置されている特徴パターンUPのXY平面内における現状位置を示す現状位置データを取得することができる。 The control device 40 controls the actuator 17 to move the feature pattern UP of the sewing object S held by the holding member 15 to the photographing region FA of the imaging device 30. The image pickup apparatus 30 takes a picture of the feature pattern UP arranged in the picture area FA. The image data of the feature pattern UP is acquired by the current position data acquisition unit 73. The current position data acquisition unit 73 performs image processing on the image data of the feature pattern UP by the pattern matching method to specify the specific pattern UP. The position of the holding member 15 in the sewing machine coordinate system when the feature pattern UP is arranged in the photographing region FA of the image pickup apparatus 30 is detected by the drive amount sensor 32. As described above, the drive amount sensor 32 functions as a position sensor for detecting the position of the holding member 15 in the XY plane. The detection data of the drive amount sensor 32 is acquired by the current position data acquisition unit 73. The current position data acquisition unit 73 is the current state of the feature pattern UP arranged in the imaging region FA in the XY plane based on the detection data of the drive amount sensor 32 when the feature pattern UP is arranged in the imaging region FA. The current position data indicating the position can be acquired.

撮像装置30は、少なくとも縫製処理が実施された後に縫製対象物Sの特徴パターンUPを撮影する。現状位置データ取得部73は、縫製処理が実施された後に撮像装置30によって撮影された縫製対象物Sの画像データに基づいて、特徴パターンUPの現状位置データを取得する。 The image pickup apparatus 30 takes an image of the feature pattern UP of the sewing object S at least after the sewing process is performed. The current position data acquisition unit 73 acquires the current position data of the feature pattern UP based on the image data of the sewing object S taken by the image pickup apparatus 30 after the sewing process is performed.

図7、図8、図9、及び図10のそれぞれは、本実施形態に係る縫製対象物Sの特徴パターンUPの一例を示す図である。本実施形態において、特徴パターンUPは、基準パターンDPhの一部である。図7に示すように、特徴パターンUPは、基準パターンDPhの2つの鋭角な角部K1及び角部K2の少なくとも一方を含むパターンでもよい。図8に示すように、特徴パターンUPは、基準パターンDPhの2つの鈍角な角部K3及び角部K4の少なくとも一方を含むパターンでもよい。図9に示すように、特徴パターンUPは、基準パターンDPhの2つの鈍角な角部K3及び角部K4の両方を含むパターンでもよい。図10に示すように、特徴パターンUPは、隣り合う基準パターンDPhの一方の基準パターンDPhの角部K1と他方の基準パターンDPhの角部K2とを含むパターンでもよい。 7, FIG. 8, FIG. 9, and FIG. 10 are diagrams showing an example of the characteristic pattern UP of the sewing object S according to the present embodiment. In this embodiment, the feature pattern UP is part of the reference pattern DPh. As shown in FIG. 7, the feature pattern UP may be a pattern including at least one of two acute-angled corners K1 and K2 of the reference pattern DPh. As shown in FIG. 8, the feature pattern UP may be a pattern including at least one of two obtuse angle portions K3 and corner portions K4 of the reference pattern DPh. As shown in FIG. 9, the feature pattern UP may be a pattern including both obtuse angle portions K3 and corner portions K4 of the reference pattern DPh. As shown in FIG. 10, the feature pattern UP may be a pattern including a corner portion K1 of one reference pattern DPh and a corner portion K2 of the other reference pattern DPh that are adjacent to each other.

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

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

上述のように、縫製処理が実施されることにより縫製対象物Sが縮んで縫製対象物Sの表面が変位する可能性がある。縫製対象物Sの表面が変位すると、XY平面内における特徴パターンUPの位置も変位する。変位量算出部74は、縫製処理が実施される前の特徴パターンUPの初期位置データと、縫製処理が実施された後の特徴パターンUPの現状位置データとに基づいて、特徴パターンUPの変位量を算出する。 As described above, the sewing process may cause the sewing object S to shrink and the surface of the sewing object S to 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 amount calculation unit 74 is 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.

補正データ生成部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 and generates correction data based on the displacement amount of the feature pattern UP calculated by the displacement amount calculation unit 74. The target pattern RP for sewing data is generated on the premise that the sewing object S is not shrunk, and is stored in the sewing data storage unit 61. When the sewing object S shrinks and the surface of the sewing object S is displaced due to the sewing process, 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 so that the stitch GP is formed at the stitch formation target position based on the displacement amount of the feature pattern UP.

補正データ生成部75は、ステッチGPの目標パターンRPと縫製対象物Sが縮む前の特徴パターンUPとのミシン座標系における相対位置と、縫製処理により縫製対象物Sに実際に形成されるステッチGPと縫製対象物Sが縮んだ後の特徴パターンUPとのミシン座標系における相対位置とが一致するように、補正データを生成する。補正データに基づいて縫製処理が実施されることにより、縫製対象物Sの表面が変位しても、ステッチ形成目標位置にステッチGPが形成される。 The correction data generation unit 75 has a relative position in the sewing machine coordinate system between the target pattern RP of the stitch GP and the feature pattern UP before the sewing object S shrinks, and the stitch GP actually formed on the sewing object S by the sewing process. The correction data is generated so that the relative position in the sewing machine coordinate system with the feature pattern UP after the sewing object S is shrunk matches. 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.

制御部76は、変位量算出部74で算出された変位量に基づいて、アクチュエータ17を制御する制御信号を出力する。本実施形態において、制御部76は、補正データ生成部75において変位量に基づいて生成された補正データに基づいて、保持部材15を移動させるアクチュエータ17を制御する制御信号を出力する。 The control unit 76 outputs a control signal for controlling the actuator 17 based on the displacement amount calculated by the displacement amount calculation unit 74. In the present embodiment, the control unit 76 outputs a control signal for controlling the actuator 17 that moves the holding member 15 based on the correction data generated by the correction data generation unit 75 based on the displacement amount.

[変位量の算出方法]
図11、図12、図13、図14、及び図15は、本実施形態に係る変位量の算出方法を説明するための図である。以下、第1縫製処理が実施された後の変位量の算出方法について説明する。また、以下、X軸方向に配置される2つの特徴パターンUPa(UPa0,UPa1)及び特徴パターンUPb(UPb0,UPb1)のそれぞれにおける変位量の算出方法について説明する。
[Displacement amount calculation method]
11, FIG. 12, FIG. 13, FIG. 14, and FIG. 15 are diagrams for explaining a method of calculating the displacement amount according to the present embodiment. Hereinafter, a method of calculating the displacement amount after the first sewing process is performed will be described. Further, a method of calculating the displacement amount in each of the two feature patterns UPa (UPa0, UPa1) and the feature pattern UPb (UPb0, UPb1) arranged in the X-axis direction will be described below.

図11は、第1縫製処理が実施される前の特徴パターンUPa0及び特徴パターンUPb0を示す図である。図12及び図13のそれぞれは、第1縫製処理が実施された後の特徴パターンUPa1及び特徴パターンUPb1を示す図である。特徴パターンUPa0、特徴パターンUPb0、特徴パターンUPa1、及び特徴パターンUPb1のそれぞれの画像データは、撮像装置30によって撮影される。 FIG. 11 is a diagram showing a feature pattern UPa0 and a feature pattern UPb0 before the first sewing process is performed. 12 and 13 are diagrams showing the feature pattern UPa1 and the feature pattern UPb1 after the first sewing process is performed, respectively. Each image data of the feature pattern UPa0, the feature pattern UPb0, the feature pattern UPa1, and the feature pattern UPb1 is photographed by the image pickup apparatus 30.

なお、図11、図12、及び図13に示す特徴パターンUPは、図9を参照して説明した特徴パターンUPである。中心位置Ca0は、特徴パターンUPa0の中心位置であり、中心位置Cb0は、特徴パターンUPb0の中心位置である。 The feature pattern UP shown in FIGS. 11, 12, and 13 is a feature pattern UP described with reference to FIG. 9. 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.

図11に示すように、第1縫製処理が実施される前においては、特徴パターンUPa0及び特徴パターンUPb0は変位しない。すなわち、第1縫製処理が実施される前においては、縫製データ記憶部61に記憶されている特徴パターンUPa0の初期位置と特徴パターンUPa0の現状位置とは一致する。縫製データ記憶部61に記憶されている特徴パターンUPb0の初期位置と特徴パターンUPb0の現状位置とは一致する。 As shown in FIG. 11, before the first sewing process is performed, the feature pattern UPa0 and the feature 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 and the current position of the feature pattern UPa0 coincide with each other. The initial position of the feature pattern UPb0 stored in the sewing data storage unit 61 and the current position of the feature pattern UPb0 coincide with each other.

図12に示すように、第1縫製データに基づいて第1縫製処理が実施され、第1ステッチGP1が形成されることにより、縫製対象物Sの少なくとも一部が縮む。これにより、特徴パターンUPa0は、XY平面内において特徴パターンUPa1に変位する。中心位置Ca0は、XY平面内において中心位置Ca1に変位する。図12において、特徴パターンUPa0は、第1縫製処理が実施される前の初期位置を示す。特徴パターンUPa1は、第1縫製処理が実施された後の現状位置を示す。 As shown in FIG. 12, 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 object S is shrunk. 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. In FIG. 12, the feature pattern UPa0 shows an initial position before the first sewing process is performed. The feature pattern UPa1 indicates the current position after the first sewing process is performed.

図13に示すように、第1縫製データに基づいて第1縫製処理が実施され、第1ステッチGP1が形成されることにより、縫製対象物Sの少なくとも一部が縮む。これにより、特徴パターンUPb0は、XY平面内において特徴パターンUPb1に変位する。中心位置Cb0は、XY平面内において中心位置Cb1に変位する。図13において、特徴パターンUPb0は、第1縫製処理が実施される前の初期位置を示す。特徴パターンUPb1は、第1縫製処理が実施された後の現状位置を示す。 As shown in FIG. 13, 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 object S is shrunk. As a result, 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. In FIG. 13, the feature pattern UPb0 shows an initial position before the first sewing process is performed. The feature pattern UPb1 indicates the current position after the first sewing process is performed.

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

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

図14に示すように、特徴パターンUPaの変位量を算出するとき、縫製対象物Sに固定点P0が設定される。固定点P0は、ミシン座標系における位置が既知の点に設定される。固定点P0は、例えば第1縫製処理が実施されても変位しない点又は変位が十分に抑制される点に設定される。本実施形態においては、固定点P0が第1ステッチGP1の一部に設定される。 As shown in FIG. 14, when calculating the displacement amount of the feature pattern UPa, the 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 where the displacement is not displaced even when the first sewing process is performed or a point where the displacement is sufficiently suppressed. In this 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 the shift at the center position Ca based on the vector from the center position Ca0 to the center position Ca1. Further, the displacement amount calculation unit 74 calculates the first vector from the fixed point P0 to the center position Ca0 and the 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 formed by the first vector and the second vector with respect to the fixed point P0.

以上、特徴パターンUPaのうち中心位置Caにおけるシフト、スケール、及びローテーションの算出方法について説明した。変位量算出部74は、特徴パターンUPaの複数の位置Pnのそれぞれについても同様の処理を実施する。図14は、複数の位置Pnのうち位置Piにおけるシフト、スケール、及びローテーションが算出される状態を模式的に示す。これにより、特徴パターンUPaの複数の位置のそれぞれについて、シフト、スケール、及びローテーションが算出される。このように、変位量算出部74は、第1縫製処理が実施された後のミシン座標系における特徴パターンUPaの変位量及び変位方向を算出することができる。 The calculation method of 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. 14 schematically shows a state in which shift, scale, and rotation at position Pi are calculated among a plurality of position Pn. As a result, shifts, scales, and rotations are calculated for each of the plurality of positions of the feature pattern UPa. In this way, 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 is performed.

図15に示すように、特徴パターンUPbの変位量を算出するとき、縫製対象物Sに固定点P0が設定される。上述のように、固定点P0は、ミシン座標系における位置が既知の点に設定される。本実施形態においては、図14を参照して説明した処理により位置が算出された位置Pnが固定点P0に設定される。 As shown in FIG. 15, when calculating the displacement amount of the feature pattern UPb, the 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 is calculated by the process described with reference to FIG. 14 is set to 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 the shift at the center position Cb based on the 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 formed by the third vector and the fourth vector with respect to the fixed point P0.

以上、特徴パターンUPbのうち中心位置Cbにおけるシフト、スケール、及びローテーションの算出方法について説明した。変位量算出部74は、特徴パターンUPbの複数の位置Qnのそれぞれについても同様の処理を実施する。図15は、複数の位置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. 15 schematically shows a state in which shift, scale, and rotation at position Qi are calculated among a plurality of position Qn. As a result, shifts, scales, and rotations are calculated for each of the plurality of positions of the feature pattern UPb. In this way, 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 is performed.

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

[縫製方法]
本実施形態に係る縫製方法について説明する。図16は、本実施形態に係る縫製方法の一例を示すフローチャートである。図17、図18、図19、図20、及び図21のそれぞれは、本実施形態に係る縫製方法の一例を説明するための模式図である。
[Sewing method]
The sewing method according to this embodiment will be described. FIG. 16 is a flowchart showing an example of the sewing method according to the present embodiment. 17, FIG. 18, FIG. 19, FIG. 20, and FIG. 21 are schematic views for explaining an example of the sewing method according to the present embodiment.

ステッチGPが形成される前の縫製対象物Sが保持部材15に設置される。保持部材15は、縫製対象物Sを保持する(ステップS10)。保持部材15は、ミシン座標系における原点に配置される。 The sewing object S before the stitch GP is formed is installed 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).

第1縫製処理は、縫製対象物Sが保持部材15に保持された後に縫製対象物Sに最初にステッチGPを形成する処理である。第1縫製データは、第1縫製処理において参照される第1目標パターン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. The first sewing data includes the first target pattern RP1 referred to in the first sewing process.

制御装置40は、第1縫製処理が実施される前に、縫製対象物Sに設けられている複数の特徴パターンUPのうち少なくとも2つの特徴パターンUPの画像データを撮像装置30で取得する(ステップS30)。 Before the first sewing process is performed, the control device 40 acquires image data of at least two feature pattern UPs among the plurality of feature pattern UPs provided on the sewing object S by the image pickup device 30 (step). S30).

図17は、第1縫製処理が実施される前において保持部材15に保持されている縫製対象物Sを模式的に示す図である。図17に示すように、第1目標パターンRP1を含む第1縫製データが取得された後、制御装置40は、撮像装置30の撮影領域FAに第1特徴パターンUP1が配置されるように保持部材15を移動させる。撮像装置30の撮影領域FAに第1特徴パターンUP1が配置された後、撮像装置30は、第1特徴パターンUP1の画像データを取得する。第1特徴パターンUP1の画像データが取得された後、制御装置40は、撮像装置30の撮影領域FAに第2特徴パターンUP2が配置されるように保持部材15を移動させる。撮像装置30の撮影領域FAに第2特徴パターンUP2が配置された後、撮像装置30は、第2特徴パターンUP2の画像データを取得する。 FIG. 17 is a diagram schematically showing a sewing object S held by the holding member 15 before the first sewing process is performed. As shown in FIG. 17, after the first sewing data including the first target pattern RP1 is acquired, the control device 40 holds the holding member so that the first feature pattern UP1 is arranged in the photographing region FA of the imaging device 30. Move 15. After the first feature pattern UP1 is arranged in the photographing region FA of the image pickup device 30, the image pickup device 30 acquires the image data of the first feature pattern UP1. After the image data of the first feature pattern UP1 is acquired, the control device 40 moves the holding member 15 so that the second feature pattern UP2 is arranged in the photographing region FA of the image pickup device 30. After the second feature pattern UP2 is arranged in the photographing region FA of the image pickup device 30, the image pickup device 30 acquires the 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 the stitch formation target position where the first stitch GP1 is formed by the first stitch process in the sewing machine coordinate system. In other words, the feature pattern UP related to the first sewing process means the 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 provided in the vicinity of the apex of the first target pattern RP1 defined in a zigzag shape. In the present embodiment, the first feature pattern UP1 is provided in the vicinity of the + X side end portion of the sewing object S. The second feature pattern UP2 is provided in the vicinity of the end portion on the −X side of the sewing object S.

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

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

補正データ生成部75は、現状位置データ取得部73において取得された第1特徴パターンUP1の現状位置データ及び第2特徴パターンUP2の現状位置データに基づいて、第1縫製データを補正して第1補正データを生成する。 The correction data generation unit 75 corrects the first sewing data based on the current position data of the first feature pattern UP1 and the current position data of the second feature pattern UP2 acquired by the current position data acquisition unit 73. 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 placed on the needle plate 13 by an operator and then held by the holding member 15. Further, due to the cutting error of the sewing object S, there is a high possibility that the relative position between the edge of the sewing object S and the feature pattern UP is different for each sewing object S. That is, even if the holding member 15 is arranged at the origin of the sewing machine coordinate system, the initial position of the feature pattern UP in the sewing machine coordinate system is the sewing target due to an installation error or a cutting error of the sewing object S by the operator. There is a high possibility that it will be different for each object S. 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 acquired by the sewing data acquisition unit 71, the stitch GP is formed on the surface of the sewing object S at a position different from the stitch formation target position. 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 feature patterns UP (UP1, UP2) of the sewing object S held by the holding member 15 are acquired, and the image thereof. Based on the data, the current position data of the two feature patterns UP (UP1 and UP2) in the XY plane is acquired. Further, the stitch formation target position data indicating the relative position between the feature pattern UP of the sewing object S and the stitch formation target position is known data that can be derived from the design data of the sewing object S and is stored in the sewing data storage unit 61. Has been done. Therefore, the correction data generation unit 75 is based on the current position data of the two feature patterns UP (UP1 and UP2) specified in the sewing machine coordinate system and the stitch formation target position data stored in the sewing data storage unit 61. Therefore, 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 so that the first stitch GP1 is formed at the stitch formation target position based on the stitch formation target position specified in the sewing machine coordinate system, and makes the first correction. The 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 the relative position between the first target pattern RP1 and the feature pattern UP before the first sewing process is performed and the execution of the first sewing process. The first correction data is generated so that the relative positions of the first stitch GP1 and the feature pattern UP after the first sewing process is performed match.

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

縫製対象物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 in the sewing object S is known data that can be derived from the design data of the sewing object 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 by using the image pickup apparatus 30, the correction data generation unit 75 can perform the two feature patterns UP (UP1, UP2) specified 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, the initial position of each of the plurality of feature patterns UP of the sewing object S in the sewing machine coordinate system. The data can be calculated. The initial position data of each of the plurality of feature patterns UP in the sewing machine coordinate system is stored in the sewing data storage unit 61.

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

図18は、第1縫製処理が実施された縫製対象物Sを模式的に示す図である。第1縫製処理を実施するとき、制御部76は、第1縫製処理の開始位置SP1に保持部材15を移動する。開始位置SP1は、第1ステッチGP1が形成されるステッチ形成領域MAの-X側の端部が縫製位置Psに配置される位置である。本実施形態においては、開始位置SP1及び第2特徴パターンUP2のそれぞれが縫製対象物Sの-X側の端部に位置する。そのため、第2特徴パターンUP2の画像データの取得が終了してから開始位置SP1に配置されるまでに保持部材15が移動する移動距離は短くて済む。 FIG. 18 is a diagram schematically showing a sewing object S on which the first sewing process has been performed. When performing the first sewing process, the control unit 76 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 portion on the −X side of the stitch forming region MA on which the first stitch GP1 is formed is arranged 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 object S on the −X side. Therefore, the moving distance of the holding member 15 from the completion of acquisition of the image data of the second feature pattern UP2 to the arrangement at the start position SP1 can be short.

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

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

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

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

第2縫製処理は、第1縫製処理の次に実施されるステッチGPを形成する処理である。第2縫製データは、第2縫製処理において参照される第2目標パターンRP2を含む。 The second sewing process is a process for forming a stitch GP, which is performed after the first sewing process. The second sewing data includes the second target pattern RP2 referred to in the second sewing process.

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

第2縫製処理に係る特徴パターンUPとは、ミシン座標系において第2縫製処理により第2ステッチGP2が形成されるステッチ形成目標位置に最も近い特徴パターンUPである。換言すれば、第2縫製処理に係る特徴パターンUPとは、ミシン座標系における第2目標パターンRP2に最も近い特徴パターンUPをいう。 The feature 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 stitch process in the sewing machine coordinate system. In other words, the feature pattern UP related to the second sewing process means the feature 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の画像データを順次取得する(ステップS100)。 After the second sewing data including the second target pattern RP2 and the initial position data of the feature pattern UP related to the second sewing process are acquired, the control device 40 is related to the second sewing process in the photographing area FA of the image pickup device 30. 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 in steps in the X-axis direction, and sequentially acquires image data of a plurality of feature patterns UP of the sewing object S held by the holding member 15 (step S100).

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

第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 feature patterns UP (UP3, UP4, UP5, UP6, UP7, UP8, UP9) related to the second sewing process are arranged in the X-axis direction. Of 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 on the most + X side, and the ninth feature pattern UP9 is the most -X. Placed on the side.

第1縫製処理が終了した後、制御部76は、撮像装置30の撮影領域FAに第3特徴パターンUP3が配置されるように、第1縫製処理の終了位置EP1から保持部材15を移動させる。本実施形態においては、終了位置EP1及び第3特徴パターンUP3のそれぞれが縫製対象物Sの+X側の端部に位置する。そのため、第1縫製処理が終了してから撮像装置30の撮影領域FAに第3特徴パターンUP3が配置されるまでに保持部材15が移動する移動距離は短くて済む。 After the first sewing process is completed, the control unit 76 moves the holding member 15 from the end position EP1 of the first sewing process so that the third feature pattern UP3 is arranged in the photographing region FA of the image pickup apparatus 30. In the present embodiment, each of the end position EP1 and the third feature pattern UP3 is located at the end of the sewing object S on the + X side. Therefore, the moving distance of the holding member 15 from the completion of the first sewing process to the arrangement of the third feature pattern UP3 in the photographing region FA of the image pickup apparatus 30 can be short.

なお、本実施形態においては、第1縫製処理の後、第2縫製処理に係る特徴パターンUPを撮影領域FAに配置させるために保持部材15を移動させるとき、制御部76は、ステップS50において縫製データ記憶部61に記憶された第3特徴パターンUP3の初期位置データに基づいて保持部材15を移動させる。第1縫製処理の後においては、縫製対象物Sの縮み量はまだ小さく、第3特徴パターンUP3の変位量も小さい。そのため、第3特徴パターンUP3の初期位置データに基づいて保持部材15を移動させても、撮影領域FAに第3特徴パターンUP3を迅速に配置させることができる。 In the present embodiment, after the first sewing process, when the holding member 15 is moved in order to arrange the feature pattern UP related to the second sewing process in the photographing region FA, the control unit 76 sews in step S50. The holding member 15 is moved based on the initial position data of the third feature pattern UP3 stored in the data storage unit 61. After the first sewing process, the shrinkage amount of the sewing object S is still small, and the displacement amount of the third feature pattern UP3 is also small. Therefore, even if the holding member 15 is moved based on the initial position data of the third feature pattern UP3, the third feature pattern UP3 can be quickly arranged in the photographing region FA.

撮像装置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 photographing region FA of the image pickup device 30, the image pickup device 30 acquires the image data of the third feature pattern UP3. After the image data of the third feature pattern UP3 is acquired, the control device 40 controls the actuator 17 so that the fourth feature pattern UP4 is arranged in the photographing region FA of the image pickup device 30. The actuator 17 steps the holding member 15 in the + X direction. After the fourth feature pattern UP4 is arranged in the photographing region FA of the image pickup device 30, the image pickup device 30 acquires the image data of the fourth feature pattern UP4. Similarly, in the control device 40, 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 are sequentially arranged in the photographing region FA of the image pickup device 30. As such, the actuator 17 is controlled to step-move the holding member 15 in the X-axis direction. The image pickup apparatus 30 includes image data of the fifth feature pattern UP5, image data of the sixth feature pattern UP6, image data of the seventh feature pattern UP7, image data of the eighth feature pattern UP8, and image data of the ninth feature pattern UP9. Are sequentially acquired.

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

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

変位量算出部74は、ステップS90で取得した特徴パターンUPの初期位置データと、ステップS110で取得した特徴パターンUPの現状位置データとに基づいて、特徴パターンUPの変位量を算出する(ステップS120)。上述のように、特徴パターン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 S90 and the current position data of the feature pattern UP acquired in step S110 (step S120). ). As mentioned above, the displacement of the feature pattern UP includes shift, scale, and rotation.

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

第1ステッチGP1が形成された後の縫製対象物Sは、第1ステッチGP1が形成される前の縫製対象物Sに比べて、縮んでいる可能性が高い。その結果、ミシン座標系において規定される縫製対象物Sのステッチ形成目標位置が変位している可能性が高い。一方、縫製データ記憶部61に記憶されている第2目標パターンRP2のミシン座標系における位置は予め定められている。そのため、縫製データ取得部71で取得された第2目標パターンRP2に従って第2縫製処理が実施されると、縫製対象物Sの表面においてステッチ形成目標位置とは異なる位置に第2ステッチGP2が形成される可能性がある。 The sewing object S after the first stitch GP1 is formed is likely to be shrunk as compared with the sewing object 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 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 acquired by the sewing data acquisition unit 71, the second stitch GP2 is formed on the surface of the sewing object S at a position different from the stitch formation target position. There is a possibility.

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

第2補正データが生成された後、制御装置40は、第2縫製処理を開始する(ステップS140)。制御部76は、第2縫製処理において、第2補正データに基づいて、アクチュエータ17を制御する制御信号を出力する。第2縫製処理において、保持部材15は、第2補正データに基づいて、縫製位置Psを含むXY面内において縫製対象物Sを保持して移動する。これにより、縫製対象物Sに第2ステッチGP2が形成される。 After the second correction data is generated, the control device 40 starts the second sewing process (step S140). The control unit 76 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 object S in the XY plane including the sewing position Ps based on the second correction data. As a result, the second stitch GP2 is formed on the sewing object S.

図20は、第2縫製処理が実施された縫製対象物Sを模式的に示す図である。第2縫製処理を実施するとき、制御部76は、第2縫製処理の開始位置SP2に保持部材15を移動させる。本実施形態においては、開始位置SP2及び第9特徴パターンUP9のそれぞれが縫製対象物Sの-X側の端部に位置する。そのため、第9特徴パターンUP9の画像データの取得が終了してから開始位置SP2に配置されるまでに保持部材15が移動する移動距離は短くて済む。 FIG. 20 is a diagram schematically showing a sewing object S on which the second sewing process has been performed. When performing the second sewing process, the control unit 76 moves the holding member 15 to the start position SP2 of the second sewing process. In the present embodiment, each of the start position SP2 and the ninth feature pattern UP9 is located at the end on the −X side of the sewing object S. Therefore, the moving distance of the holding member 15 from the completion of acquisition of the image data of the ninth feature pattern UP9 to the arrangement at the start position SP2 can be short.

制御部76は、ステッチ形成領域MAの-X側の端部から第2ステッチGP2が形成されるように、保持部材15の移動を制御する。保持部材15が第2縫製処理の終了位置EP2に移動することにより、第2縫製処理が終了する。終了位置EP2は、第2ステッチGP2が形成されるステッチ形成領域MAの+X側の端部が縫製位置Psに配置される位置である。 The control unit 76 controls the movement of the holding member 15 so that the second stitch GP2 is formed from the end portion on the −X side of the stitch forming region MA. The second sewing process is completed by moving the holding member 15 to the end position EP2 of the second sewing process. The end position EP2 is a position where the + X-side end of the stitch forming region MA on which the second stitch GP2 is formed is arranged at the sewing position Ps.

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

第2縫製処理が終了した後、縫製処理を終了するか否か判定される(ステップS150)。 After the second sewing process is completed, it is determined whether or not to end the sewing process (step S150).

ステップS150において、縫製処理を終了しないと判定されたとき(ステップS150:No)、カウンタnがインクリメントされる(ステップS160)。カウンタnがインクリメントされた後、ステップS80の処理が開始される。 When it is determined in step S150 that the sewing process is not completed (step S150: No), the counter n is incremented (step S160). After the counter n is incremented, the process of step S80 is started.

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

第3縫製処理は、第2縫製処理の次に実施される縫製処理である。第3縫製データは、第3縫製処理において参照される第3目標パターンRP3を含む。 The third sewing process is a sewing process performed after the second sewing process. The third sewing data includes the third target pattern RP3 referred to in the third sewing process.

初期位置データ取得部72は、ステップS50において取得した複数の特徴パターンUPの初期位置データのうち、第3縫製処理に係る特徴パターンUPの初期位置データを縫製データ記憶部61から取得する(ステップS90)。 The initial position data acquisition unit 72 acquires the initial position data of the feature pattern UP related to the third sewing process from the sewing data storage unit 61 among the initial position data of the plurality of feature patterns UP acquired in step S50 (step S90). ).

第3目標パターンRP3を示す第3縫製データ及び第3縫製処理に係る特徴パターンUPの初期位置データが取得された後、制御装置40は、撮像装置30の撮影領域FAに第3縫製処理に係る複数の特徴パターンUPが順次配置されるように、アクチュエータ17を制御する。すなわち、制御装置40は、保持部材15をX軸方向にステップ移動して、保持部材15に保持されている縫製対象物Sの複数の特徴パターンUPの画像データを順次取得する(ステップS100)。 After the third sewing data indicating the third target pattern RP3 and the initial position data of the feature pattern UP related to the third sewing process are acquired, the control device 40 relates to the third sewing process in the photographing area FA of the image pickup device 30. 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 in steps in the X-axis direction, and sequentially acquires image data of a plurality of feature patterns UP of the sewing object S held by the holding member 15 (step S100).

図20は、第3縫製処理が実施される前において保持部材15に保持されている縫製対象物Sを模式的に示す図である。第2縫製処理が終了した後、制御部76は、撮像装置30の撮影領域FAに第3縫製処理に係る特徴パターンUPが配置されるように、第2縫製処理の終了位置EP2から保持部材15を移動させる。図20に示すように、本実施形態において、第3縫製処理に係る特徴パターンUPは、第10特徴パターンUP10、第11特徴パターンUP11、第12特徴パターンUP12、第13特徴パターンUP13、第14特徴パターンUP14、第15特徴パターンUP15、及び第16特徴パターンUP16を含む。 FIG. 20 is a diagram schematically showing a sewing object S held by the holding member 15 before the third sewing process is performed. After the second sewing process is completed, the control unit 76 receives the holding member 15 from the end position EP2 of the second sewing process so that the feature pattern UP related to the third sewing process is arranged in the photographing area FA of the image pickup apparatus 30. To move. As shown in FIG. 20, in the present embodiment, the feature pattern UP related to the third sewing process includes the tenth feature pattern UP10, the eleventh feature pattern UP11, the twelfth feature pattern UP12, the thirteenth feature pattern UP13, and the fourteenth feature. The pattern UP14, the fifteenth feature pattern UP15, and the sixteenth feature pattern UP16 are included.

第3縫製処理に係る複数の特徴パターンUP(UP10,UP11,UP12,UP13,UP14,UP15、UP16)は、X軸方向に配置される。第3縫製処理に係る複数の特徴パターンUP(UP10,UP11,UP12,UP13,UP14,UP15、UP16)のうち第10特徴パターンUP10が最も+X側に配置され、第16特徴パターンUP16が最も-X側に配置される。 A plurality of feature patterns UP (UP10, UP11, UP12, UP13, UP14, UP15, UP16) related to the third sewing process are arranged in the X-axis direction. Of the plurality of feature patterns UP (UP10, UP11, UP12, UP13, UP14, UP15, UP16) related to the third sewing process, the 10th feature pattern UP10 is arranged on the most + X side, and the 16th feature pattern UP16 is the most -X. Placed on the side.

第2縫製処理が終了した後、制御部76は、撮像装置30の撮影領域FAに第10特徴パターンUP10が配置されるように、第2縫製処理の終了位置EP2から保持部材15を移動させる。本実施形態においては、終了位置EP2及び第10特徴パターンUP10のそれぞれが縫製対象物Sの+X側の端部に位置する。そのため、第2縫製処理が終了してから撮像装置30の撮影領域FAに第10特徴パターンUP10が配置されるまでに保持部材15が移動する移動距離は短くて済む。 After the second sewing process is completed, the control unit 76 moves the holding member 15 from the end position EP2 of the second sewing process so that the tenth feature pattern UP10 is arranged in the photographing region FA of the image pickup apparatus 30. In the present embodiment, each of the end position EP2 and the tenth feature pattern UP10 is located at the end of the sewing object S on the + X side. Therefore, the moving distance of the holding member 15 from the completion of the second sewing process to the arrangement of the tenth feature pattern UP10 in the photographing region FA of the image pickup apparatus 30 can be short.

本実施形態においては、第2縫製処理が終了した後、第3縫製処理に係る特徴パターンUPを撮影領域FAに配置させるために保持部材15を移動させるとき、制御部76は、ステップS50において縫製データ記憶部61に記憶された第10特徴パターンUP10の初期位置データと、ステップS120で算出された第2縫製処理に係る特徴パターンUP(例えば第10特徴パターンUP10に最も近い第3特徴パターンUP3)の変位量とに基づいて、撮像装置10の撮影領域FAに第10特徴パターンUP10が配置されるように、第2縫製処理の終了位置EP2からの保持部材15の移動条件を設定する。第2縫製処理の後においては、縫製対象物Sの縮み量が大きく、第10特徴パターンUP10の変位量が大きい可能性が高い。そのため、第10特徴パターンUP10の初期位置データに基づいて保持部材15を移動させると、撮影領域FAに第10特徴パターンUP10を迅速に配置することが困難となる可能性がある。 In the present embodiment, after the second sewing process is completed, when the holding member 15 is moved in order to arrange the feature pattern UP related to the third sewing process in the photographing region FA, the control unit 76 sews in step S50. The initial position data of the tenth feature pattern UP10 stored in the data storage unit 61 and the feature pattern UP related to the second sewing process calculated in step S120 (for example, the third feature pattern UP3 closest to the tenth feature pattern UP10). The movement condition of the holding member 15 from the end position EP2 of the second sewing process is set so that the tenth feature pattern UP10 is arranged in the photographing region FA of the image pickup apparatus 10 based on the displacement amount of the second sewing process. After the second sewing process, it is highly possible that the shrinkage amount of the sewing object S is large and the displacement amount of the tenth feature pattern UP10 is large. Therefore, if the holding member 15 is moved based on the initial position data of the tenth feature pattern UP10, it may be difficult to quickly arrange the tenth feature pattern UP10 in the photographing region FA.

本実施形態において、撮像装置30は、第2縫製処理の終了時点と第2縫製処理の次に実施される第3縫製処理の開始時点との期間において縫製対象物Sを撮影する。撮像装置30による縫製対象物Sの撮影において、第3縫製処理に係る特徴パターンUPを撮影領域FAに配置するために保持部材15を移動させるとき、制御部76は、第2縫製処理に係る特徴パターンUPの変位量に基づいて、第3縫製処理に係る特徴パターンUPの位置を予測する。制御部76は、予測した特徴パターンUPの位置に基づいて、撮像装置30の撮影領域FAに第3縫製処理に係る特徴パターンUP(第10特徴パターンUP10)が配置されるように、第2縫製処理の終了位置EP2から保持部材15を移動させる。これにより、第10特徴パターンUP10が変位していても、撮影領域FAに第10特徴パターンUP10を迅速に配置させることができる。 In the present embodiment, the image pickup apparatus 30 photographs the sewing object S during the period between the end time of the second sewing process and the start time of the third sewing process performed after the second sewing process. In the photographing of the sewing object S by the image pickup apparatus 30, when the holding member 15 is moved in order to arrange the feature pattern UP related to the third sewing process in the photographing area FA, the control unit 76 controls the feature related to the second sewing process. Based on the displacement amount of the pattern UP, the position of the feature pattern UP related to the third sewing process is predicted. The control unit 76 arranges the feature pattern UP (10th feature pattern UP10) related to the third sewing process in the photographing area FA of the image pickup apparatus 30 based on the predicted position of the feature pattern UP. The holding member 15 is moved from the processing end position EP2. As a result, even if the tenth feature pattern UP10 is displaced, the tenth feature pattern UP10 can be quickly arranged in the photographing region FA.

撮像装置30の撮影領域FAに第10の特徴パターンUP10が配置された後、撮像装置30は、第10特徴パターンUP10の画像データを取得する。第10特徴パターンUP10の画像データが取得された後、制御装置40は、撮像装置30の撮影領域FAに第11特徴パターンUP11が配置されるように、アクチュエータ17を制御する。撮像装置30の撮影領域FAに第11特徴パターンUP11が配置された後、撮像装置30は、第11特徴パターンUP11の画像データを取得する。同様に、制御装置40は、撮像装置30の撮影領域FAに第12特徴パターンUP12、第13特徴パターンUP13、第14特徴パターンUP14、第15特徴パターンUP15、及び第16特徴パターンUP16が順次配置されるように、アクチュエータ17を制御して、保持部材15をX軸方向にステップ移動させる。撮像装置30は、第12特徴パターンUP12の画像データ、第13特徴パターンUP13の画像データ、第14特徴パターンUP14の画像データ、第15特徴パターンUP15の画像データ、及び第16特徴パターンUP16の画像データを順次取得する。 After the tenth feature pattern UP10 is arranged in the photographing region FA of the image pickup apparatus 30, the image pickup apparatus 30 acquires the image data of the tenth feature pattern UP10. After the image data of the tenth feature pattern UP10 is acquired, the control device 40 controls the actuator 17 so that the eleventh feature pattern UP11 is arranged in the photographing region FA of the image pickup device 30. After the eleventh feature pattern UP11 is arranged in the photographing region FA of the image pickup apparatus 30, the image pickup apparatus 30 acquires the image data of the eleventh feature pattern UP11. Similarly, in the control device 40, the 12th feature pattern UP12, the 13th feature pattern UP13, the 14th feature pattern UP14, the 15th feature pattern UP15, and the 16th feature pattern UP16 are sequentially arranged in the photographing region FA of the image pickup device 30. As such, the actuator 17 is controlled to step-move the holding member 15 in the X-axis direction. The image pickup apparatus 30 includes image data of the 12th feature pattern UP12, image data of the 13th feature pattern UP13, image data of the 14th feature pattern UP14, image data of the 15th feature pattern UP15, and image data of the 16th feature pattern UP16. Are sequentially acquired.

現状位置データ取得部73は、第2縫製処理の後に撮像装置30によって撮影された縫製対象物Sの複数の特徴パターンUP(UP10,UP11,UP12,UP13,UP14,UP15,UP16)それぞれの画像データに基づいて、それら複数の特徴パターンUPそれぞれの現状位置データを取得する(ステップS110)。 The current position data acquisition unit 73 is image data of each of the plurality of feature patterns UP (UP10, UP11, UP12, UP13, UP14, UP15, UP16) of the sewing object S taken by the image pickup apparatus 30 after the second sewing process. Based on the above, the current position data of each of the plurality of feature patterns UP is acquired (step S110).

変位量算出部74は、ステップS90で取得した特徴パターンUPの初期位置データと、ステップS110で取得した特徴パターンUPの現状位置データとに基づいて、特徴パターンUPの変位量を算出する(ステップS120)。 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 S90 and the current position data of the feature pattern UP acquired in step S110 (step S120). ).

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

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

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

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

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

第3補正パターンHP3に基づいて第3縫製処理が実施されることにより、縫製対象物Sのステッチ形成目標位置に沿って第3ステッチGP3が形成される。 By performing the third sewing process based on the third correction pattern HP3, the third stitch GP3 is formed along the stitch formation target position of the sewing object S.

第3縫製処理が終了した後、縫製処理を終了するか否か判定される(ステップS150)。以下、ステップS150において、縫製処理を終了すると判定されるまで、上述のステップS80からステップS160の処理が繰り返される。 After the third sewing process is completed, it is determined whether or not to end the sewing process (step S150). Hereinafter, in step S150, the process from step S80 to step S160 described above is repeated until it is determined that the sewing process is completed.

図21は、第10縫製処理が実施される前において保持部材15に保持されている縫製対象物Sを模式的に示す図である。第9縫製処理が終了した後、第10縫製処理に係る特徴パターンUPを撮影領域FAに配置するために保持部材15を移動させるとき、制御部76は、ステップS50において縫製データ記憶部61に記憶された第10縫製処理に係る特徴パターンUPの初期位置データと、ステップS120で算出された第9縫製処理に係る特徴パターンUPの変位量とに基づいて、撮像装置30の撮影領域FAに第10縫製処理に係る特徴パターンUPが配置されるように、第9縫製処理の終了位置EP9からの保持部材15の移動条件を設定する。第9縫製処理の後においては、縫製対象物Sの縮み量が大きく、第10縫製処理に係る特徴パターンUPの変位量が大きい可能性が高い。そのため、第10縫製処理に係る特徴パターンUPの初期位置データに基づいて保持部材15を移動させると、撮影領域FAに第10縫製処理に係る特徴パターンUPを迅速に配置することが困難となる可能性がある。 FIG. 21 is a diagram schematically showing a sewing object S held by the holding member 15 before the tenth sewing process is performed. After the ninth sewing process is completed, when the holding member 15 is moved in order to arrange the feature pattern UP related to the tenth sewing process in the photographing area FA, the control unit 76 stores the feature pattern UP in the sewing data storage unit 61 in step S50. Based on the initial position data of the feature pattern UP related to the tenth sewing process and the displacement amount of the feature pattern UP related to the ninth sewing process calculated in step S120, the tenth image region FA of the image pickup apparatus 30 is displayed. The movement condition of the holding member 15 from the end position EP9 of the ninth sewing process is set so that the feature pattern UP related to the sewing process is arranged. After the ninth sewing process, it is highly possible that the shrinkage amount of the sewing object S is large and the displacement amount of the feature pattern UP related to the tenth sewing process is large. Therefore, if the holding member 15 is moved based on the initial position data of the feature pattern UP related to the 10th sewing process, it may be difficult to quickly arrange the feature pattern UP related to the 10th sewing process in the photographing region FA. There is sex.

本実施形態において、撮像装置30は、第9縫製処理の終了時点と第9縫製処理の次に実施される第10縫製処理の開始時点との期間において縫製対象物Sを撮影する。撮像装置30による縫製対象物Sの撮影において、第10縫製処理に係る特徴パターンUPを撮影領域FAに配置するために保持部材15を移動させるとき、制御部76は、第9縫製処理に係る特徴パターンUPの変位量に基づいて、第10縫製処理に係る特徴パターンUPの位置を予測する。制御部76は、予測した特徴パターンUPの位置に基づいて、撮像装置30の撮影領域FAに第10縫製処理に係る特徴パターンUPが配置されるように、第9縫製処理の終了位置EP9から保持部材15を移動させる。これにより、第10縫製処理に係る特徴パターンUPが変位していても、撮影領域FAに第10縫製処理に係る特徴パターンUPを迅速に配置させることができる。 In the present embodiment, the image pickup apparatus 30 photographs the sewing object S during the period between the end time of the 9th sewing process and the start time of the 10th sewing process performed after the 9th sewing process. In the photographing of the sewing object S by the image pickup apparatus 30, when the holding member 15 is moved in order to arrange the feature pattern UP related to the tenth sewing process in the photographing area FA, the control unit 76 controls the feature related to the ninth sewing process. Based on the displacement amount of the pattern UP, the position of the feature pattern UP related to the tenth sewing process is predicted. The control unit 76 holds the feature pattern UP related to the tenth sewing process from the end position EP9 of the ninth sewing process so that the feature pattern UP related to the tenth sewing process is arranged in the photographing area FA of the image pickup apparatus 30 based on the predicted position of the feature pattern UP. The member 15 is moved. As a result, even if the feature pattern UP related to the tenth sewing process is displaced, the feature pattern UP related to the tenth sewing process can be quickly arranged in the photographing region FA.

制御装置40は、保持部材15をX軸方向にステップ移動して、第10縫製処理に係る複数の特徴パターンUPの画像データを順次取得する。現状位置データ取得部73は、パターンマッチング法に基づいて特徴パターンUPの画像データを画像処理し、特徴パターンUPの現状位置データを取得する。 The control device 40 moves the holding member 15 in steps in the X-axis direction, and sequentially acquires image data of a plurality of feature patterns UP related to the tenth sewing process. The current position data acquisition unit 73 performs image processing on the image data of the feature pattern UP based on the pattern matching method, and acquires the current position data of the feature pattern UP.

変位量算出部74は、初期位置データ取得部72で取得された第10縫製処理に係る特徴パターンUPの初期位置データと、現状位置データ取得部73で取得された第10縫製処理に係る特徴パターンUPの現状位置データとに基づいて、第10縫製処理に係る特徴パターンUPの変位量を算出する。補正データ生成部75は、変位量算出部74で算出された変位量に基づいて、第10目標パターンRP10を示す第10縫製データを補正して、第10補正パターンHP10を示す第10補正データを生成する。制御部76は、第10縫製処理において、第10補正データに基づいて、保持部材15を移動させる。これにより、縫製対象物Sのステッチ形成目標位置に沿って第10ステッチGP10が形成される。 The displacement amount calculation unit 74 includes the initial position data of the feature pattern UP related to the tenth sewing process acquired by the initial position data acquisition unit 72 and the feature pattern related to the tenth sewing process acquired by the current position data acquisition unit 73. Based on the current position data of UP, the displacement amount of the feature pattern UP related to the tenth sewing process is calculated. The correction data generation unit 75 corrects the tenth sewing data indicating the tenth target pattern RP10 based on the displacement amount calculated by the displacement amount calculation unit 74, and obtains the tenth correction data indicating the tenth correction pattern HP10. Generate. The control unit 76 moves the holding member 15 based on the tenth correction data in the tenth sewing process. As a result, the tenth stitch GP10 is formed along the stitch formation target position of the sewing object S.

第10ステッチGP10が形成され、ステップS150において、縫製処理を終了すると判定されたとき(ステップS150:Yes)、ステップ形成処理が終了する。 When the tenth stitch GP10 is formed and it is determined in step S150 that the sewing process is finished (step S150: Yes), the step forming process is finished.

[効果]
以上説明したように、本実施形態によれば、縫製対象物Sに設けられている特徴パターンUPの初期位置を示す初期位置データと、第(n)縫製処理が実施された後の特徴パターンUPの現状位置を示す現状位置データとのそれぞれが取得され、初期位置データと現状位置データとに基づいて、第(n)縫製処理に起因する特徴パターンUPの変位量が算出される。第(n+1)縫製処理においては、特徴パターンUPの変位量に基づいて、縫製対象物Sのステッチ形成目標位置にステッチGPが形成されるように、保持部材15を移動させるアクチュエータ17が制御される。これにより、第(n)縫製処理に起因して縫製対象物Sの表面が変位しても、縫製対象物Sのステッチ形成目標位置に第(n+1)ステッチGPnを形成することができる。
[effect]
As described above, according to the present embodiment, the initial position data indicating the initial position of the feature pattern UP provided on the sewing object S and the feature pattern UP after the (n) sewing process is performed. Each of the current position data indicating the current position of is acquired, and the displacement amount of the feature pattern UP due to the (n) sewing process is calculated based on the initial position data and the current position data. In the (n + 1) th sewing process, the actuator 17 that moves the holding member 15 is controlled so that the stitch GP is formed at the stitch formation target position of the sewing object S based on the displacement amount of the feature pattern UP. .. As a result, even if the surface of the sewing object S is displaced due to the (n) sewing process, the (n + 1) stitch GPn can be formed at the stitch formation target position of the sewing object S.

また、本実施形態においては、第(n)縫製処理が終了した後、第(n+1)縫製処理が開始される前に、撮像装置30の撮影領域FAに対して保持部材15がX軸方向にステップ移動して複数の特徴パターンUPの画像データが取得される。これにより、特徴パターンUPの現状位置データを精度良く取得することができる。 Further, in the present embodiment, after the (n) sewing process is completed and before the (n + 1) th sewing process is started, the holding member 15 is in the X-axis direction with respect to the photographing region FA of the image pickup apparatus 30. Image data of a plurality of feature patterns UP is acquired by moving step by step. As a result, the current position data of the feature pattern UP can be acquired with high accuracy.

また、本実施形態においては、第(n+1)縫製処理において参照される第(n+1)縫製データが、変位量データに基づいて補正されて第(n+1)補正データが生成される。第(n+1)縫製処理においては、第(n+1)補正データに基づいて、保持部材15を移動させるアクチュエータ17が制御される。これにより、第(n+1)補正データに基づいて、縫製対象物Sのステッチ形成目標位置に第(n+1)ステッチGPnを形成することができる。 Further, in the present embodiment, the (n + 1) th sewing data referred to in the first (n + 1) sewing process is corrected based on the displacement amount data to generate the (n + 1) th correction data. In the (n + 1) th sewing process, the actuator 17 for moving the holding member 15 is controlled based on the (n + 1) th correction data. Thereby, based on the (n + 1) th correction data, the th (n + 1) stitch GPn can be formed at the stitch formation target position of the sewing object S.

また、本実施形態においては、縫製対象物Sが保持部材15に保持された後に縫製対象物Sに最初にステッチGPを形成する第1縫製処理が開始される前において、少なくとも2つの特徴パターンUP(UP1,UP2)の画像データが取得され、ミシン座標系における少なくとも2つの特徴パターンUP(UP1,UP2)の位置データが取得される。少なくとも2つの特徴パターンUP(UP1,UP2)の位置データが取得されることにより、XY平面内における縫製対象物Sの位置が特定される。そのため、第1縫製処理が開始される前において、第1縫製処理において参照される第1縫製データを補正して第1補正データを生成することができる。 Further, in the present embodiment, at least two feature patterns UP are performed after the sewing object S is held by the holding member 15 and before the first sewing process of first forming the stitch GP on the sewing object S is started. The image data of (UP1 and UP2) is acquired, and the position data of at least two feature patterns UP (UP1 and UP2) in the sewing machine coordinate system are acquired. By acquiring the position data of at least two feature patterns UP (UP1, UP2), the position of the sewing object S in the XY plane is specified. Therefore, before the first sewing process is started, the first sewing data referred to in the first sewing process can be corrected to generate the first correction data.

また、XY平面内における縫製対象物Sの位置が特定されることにより、第1縫製処理が開始される前に、複数の特徴パターンUPの相対位置データを含む縫製対象物Sの設計データに基づいて、ミシン座標系における複数の特徴パターンUPの初期位置を特定することができる。 Further, by specifying the position of the sewing object S in the XY plane, it is based on the design data of the sewing object S including the relative position data of the plurality of feature patterns UP before the first sewing process is started. Therefore, the initial positions of a plurality of feature patterns UP in the sewing machine coordinate system can be specified.

また、縫製処理の進行に伴って、縫製対象物Sの縮み量が大きくなる。例えば第3縫製処理に係る特徴パターンUPの変位量が大きくなると、第2縫製処理が終了した後、第3縫製処理に係る特徴パターンUPを撮影領域FAに迅速に配置させることが困難となる。本実施形態によれば、撮影領域FAに第(n+1)縫製処理に係る特徴パターンUPを配置するために保持部材15を移動させるとき、制御部76は、第(n)縫製処理に係る特徴パターンUPの変位量に基づいて、第(n+1)縫製処理に係る特徴パターンUPの位置を予測して、撮像装置30の撮影領域FAに第(n+1)縫製処理に係る特徴パターンUPが配置されるように、第(n)縫製処理の終了位置EPnからの保持部材15の移動条件が調整される。これにより、第(n+1)縫製処理に係る特徴パターンUPの変位量が大きくても、第(n)縫製処理が終了した後、第(n+1)縫製処理に係る特徴パターンUPを撮影領域FAに迅速に配置させることができる。 Further, as the sewing process progresses, the amount of shrinkage of the sewing object S increases. For example, if the displacement amount of the feature pattern UP related to the third sewing process becomes large, it becomes difficult to quickly arrange the feature pattern UP related to the third sewing process in the photographing region FA after the second sewing process is completed. According to the present embodiment, when the holding member 15 is moved to arrange the feature pattern UP related to the (n + 1) sewing process in the photographing region FA, the control unit 76 controls the feature pattern related to the (n) sewing process. The position of the feature pattern UP related to the (n + 1) sewing process is predicted based on the displacement amount of the UP, and the feature pattern UP related to the (n + 1) sewing process is arranged in the photographing region FA of the image pickup apparatus 30. In addition, the movement condition of the holding member 15 from the end position EPn of the (n) sewing process is adjusted. As a result, even if the displacement amount of the feature pattern UP related to the first (n + 1) sewing process is large, after the first (n) sewing process is completed, the feature pattern UP related to the first (n + 1) sewing process is quickly transferred to the photographing area FA. Can be placed in.

なお、上述の実施形態においては、撮像装置30の光学系の光軸AXとXY平面とが直交するように撮像装置30が配置されることとした。撮像装置30の光学系の光軸AXがXY平面に対して傾斜するように撮像装置30が配置されてもよい。XY平面に対する光軸AXの角度が調整されることにより、XY平面内における撮影位置Pf及び撮像領域FAの位置を調整することができる。 In the above-described embodiment, the image pickup device 30 is arranged so that the optical axis AX of the optical system of the image pickup device 30 and the XY plane are orthogonal to each other. The image pickup device 30 may be arranged so that the optical axis AX of the optical system of the image pickup device 30 is tilted with respect to the XY plane. By adjusting the angle of the optical axis AX with respect to the XY plane, the positions of the photographing position Pf and the imaging region FA in the XY plane can be adjusted.

例えば、光軸AXがXY平面に対して傾斜するように撮像装置30の向きが調整されることにより、上述のステップS140の第(n)縫製処理と並行して、ステップS100の画像データの取得を実施することができる。例えば第(n)縫製処理(ステップS140)において、第(n+1)縫製処理が実施される縫製対象物Sの第(n+1)縫製処理領域の画像データが取得されるように撮像装置30の向きが調整されてもよい。 For example, by adjusting the orientation of the image pickup apparatus 30 so that the optical axis AX is tilted with respect to the XY plane, the image data of step S100 is acquired in parallel with the (n) sewing process of step S140 described above. Can be carried out. For example, in the (n) sewing process (step S140), the orientation of the image pickup apparatus 30 is such that the image data of the (n + 1) th sewing processing area of the sewing object S on which the (n + 1) sewing process is performed is acquired. It may be adjusted.

第2実施形態.
第2実施形態について説明する。以下の説明において、上述の実施形態と同一又は同等の構成要素については同一の符号を付し、その説明を簡略又は省略する。
Second embodiment.
The second embodiment will be described. In the following description, the same or equivalent components as those in the above-described embodiment are designated by the same reference numerals, and the description thereof will be simplified or omitted.

上述の実施形態において説明したように、現状位置データ取得部73は、撮像装置30で撮影された画像データをパターンマッチング法により画像処理して、ミシン座標系における特徴パターンUPの現状位置データを算出する。 As described in the above-described embodiment, the current position data acquisition unit 73 performs image processing on the image data captured by the image pickup apparatus 30 by the pattern matching method, and calculates the current position data of the feature pattern UP in the sewing machine coordinate system. do.

図22は、本実施形態に係る特徴パターンの現状位置データの取得方法を説明するための模式図である。図22は、縫製処理が実施される前の縫製対象物Sを示す。上述の実施形態と同様、複数の孔7により特徴パターンUPが形成される。現状位置データ取得部73は、撮像装置30によって撮影された縫製対象物Sの画像データにおいて特徴パターンUPのテンプレートTPを走査して、縫製対象物Sの画像データとテンプレートTPとの相関値に基づいて、特徴パターンUPの現状位置データを取得する。図22に示す例において、現状位置データ取得部73は、特徴パターンUPの中心位置Ccを算出する。 FIG. 22 is a schematic diagram for explaining a method of acquiring the current position data of the feature pattern according to the present embodiment. FIG. 22 shows the sewing object S before the sewing process is performed. Similar to the above embodiment, the feature pattern UP is formed by the plurality of holes 7. The current position data acquisition unit 73 scans the template TP of the feature pattern UP in the image data of the sewing object S taken by the image pickup apparatus 30, and is based on the correlation value between the image data of the sewing object S and the template TP. Then, the current position data of the feature pattern UP is acquired. In the example shown in FIG. 22, the current position data acquisition unit 73 calculates the center position Cc of the feature pattern UP.

図23は、本実施形態に係る特徴パターンの現状位置データの取得方法を説明するための模式図である。図23は、縫製処理が実施された後の縫製対象物Sを示す。縫製処理が実施され、縫製対象物SにステッチGPが形成されることにより、縫製対象物Sの表面が変位する。図23に示すように、例えば縫製対象物Sにおける複数のステッチGPの形成順序などに起因して、テンプレートTPの内側にステッチGPの少なくとも一部が配置される場合がある。テンプレートTPの内側にステッチGPの少なくとも一部が配置されると、テンプレートTPの内側における縫製対象物Sの表面の変位は大きくなる。縫製対象物Sの表面の変位が大きい状態で、パターンマッチング法により特徴パターンUPをサーチしても、テンプレートTPと特徴パターンUPとが相関しない可能性が高くなる。その結果、現状位置データ取得部73は、特徴パターンUPの現状位置データを取得することが困難となる。 FIG. 23 is a schematic diagram for explaining a method of acquiring the current position data of the feature pattern according to the present embodiment. FIG. 23 shows the sewing object S after the sewing process is performed. The sewing process is performed and the stitch GP is formed on the sewing object S, so that the surface of the sewing object S is displaced. As shown in FIG. 23, at least a part of the stitch GP may be arranged inside the template TP, for example, due to the formation order of the plurality of stitch GPs in the sewing object S. When at least a part of the stitch GP is arranged inside the template TP, the displacement of the surface of the sewing object S inside the template TP becomes large. Even if the feature pattern UP is searched by the pattern matching method when the displacement of the surface of the sewing object S is large, there is a high possibility that the template TP and the feature pattern UP do not correlate with each other. As a result, it becomes difficult for the current position data acquisition unit 73 to acquire the current position data of the feature pattern UP.

本実施形態において、現状位置データ取得部73は、テンプレートTPに基づいて特徴パターンUPの現状位置データを取得できない場合、テンプレートTPを複数の部分プレートに分割し、その部分プレートを用いて、特徴パターンUPの現状位置データを取得する。 In the present embodiment, when the current position data acquisition unit 73 cannot acquire the current position data of the feature pattern UP based on the template TP, the template TP is divided into a plurality of partial plates, and the feature pattern is used by using the partial plates. Acquire the current position data of UP.

図24は、本実施形態に係る特徴パターンの現状位置データの取得方法を説明するための模式図である。テンプレートTPに基づいて特徴パターンUPの現状位置データを取得できない場合、図24に示すように、現状位置データ取得部73は、テンプレートTPから、テンプレートTPの第1部分を示す第1部分テンプレートTP1と、テンプレートTP2の第2部分を示す第2部分テンプレートTP2とを生成する。第1部分テンプレートTP1及び第2部分テンプレートTP2のそれぞれは、テンプレートTPから抽出されたテンプレートTPの一部分を示す部分テンプレートである。 FIG. 24 is a schematic diagram for explaining a method of acquiring the current position data of the feature pattern according to the present embodiment. When the current position data of the feature pattern UP cannot be acquired based on the template TP, as shown in FIG. 24, the current position data acquisition unit 73 and the first part template TP1 indicating the first part of the template TP are obtained from the template TP. , Generate a second part template TP2 indicating the second part of the template TP2. Each of the first partial template TP1 and the second partial template TP2 is a partial template showing a part of the template TP extracted from the template TP.

現状位置データ取得部73は、テンプレートTPと特徴パターンUPとを大まかに位置合わせした後、テンプレートTPの中心Ctを基準として、第1部分テンプレートTP1及び第2部分テンプレートTP2のそれぞれを抽出する。図24に示す例において、第1部分テンプレートTP1は、テンプレートTPの中心Ctよりも+Y側の一部分の領域である。第2部分テンプレートTP2は、テンプレートTPの中心Ctよりも-Y側の一部分の領域である。 The current position data acquisition unit 73 roughly aligns the template TP and the feature pattern UP, and then extracts each of the first partial template TP1 and the second partial template TP2 with reference to the center Ct of the template TP. In the example shown in FIG. 24, the first partial template TP1 is a region of a part on the + Y side of the center Ct of the template TP. The second partial template TP2 is a part of the region on the −Y side of the central Ct of the template TP.

現状位置データ取得部73は、縫製対象物Sの画像データにおいて、第1部分テンプレートTP1及び第2部分テンプレートTP2のそれぞれを走査する。現状位置データ取得部73は、第1部分テンプレートTP1と第2部分テンプレートTP2とを別々に走査することができる。現状位置データ取得部73は、第1部分テンプレートTP1に基づいて、特徴パターンUPの第1部分UPd1の現状位置を示す第1現状位置データを算出する。また、現状位置データ取得部73は、第2部分テンプレートTP2に基づいて、特徴パターンUPの第2部分UPd2の現状位置を示す第2現状位置データを算出する。特徴パターンUPの第1部分UPd1の現状位置は、第1部分UPd1の中心位置Cd1である。特徴パターンUPの第2部分UPd2の現状位置は、第2部分UPd2の中心位置Cd2である。 The current position data acquisition unit 73 scans each of the first partial template TP1 and the second partial template TP2 in the image data of the sewing object S. The current position data acquisition unit 73 can scan the first partial template TP1 and the second partial template TP2 separately. The current position data acquisition unit 73 calculates the first current position data indicating the current position of the first part UPd1 of the feature pattern UP based on the first part template TP1. Further, the current position data acquisition unit 73 calculates the second current position data indicating the current position of the second part UPd2 of the feature pattern UP based on the second part template TP2. The current position of the first portion UPd1 of the feature pattern UP is the center position Cd1 of the first portion UPd1. The current position of the second portion UPd2 of the feature pattern UP is the center position Cd2 of the second portion UPd2.

現状位置データ取得部73は、特徴パターンUPの第1部分UPd1の第1現状位置データと、特徴パターンUPの第2部分UPd2の第2現状位置データとに基づいて、特徴パターンUPの現状位置Cdを示す現状位置データを取得する。現状位置Cdは、中心位置Cd1と中心位置Cd2との中点の位置である。現状位置Cdは、特徴パターンUP全体の中心位置Ccとみなすことができる。 The current position data acquisition unit 73 is based on the first current position data of the first part UPd1 of the feature pattern UP and the second current position data of the second part UPd2 of the feature pattern UP, and the current position Cd of the feature pattern UP. Acquires the current position data indicating. The current position Cd is the position of the midpoint between the center position Cd1 and the center position Cd2. The current position Cd can be regarded as the center position Cc of the entire feature pattern UP.

以上説明したように、本実施形態においては、縫製処理に起因して縫製対象物Sの表面が変位し、テンプレートTPを用いるパターンマッチング法では特徴パターンUPの現状位置データを取得することが困難な状況になっても、テンプレートTPから第1部分テンプレートTP1及び第2部分テンプレートTP2を抽出し、第1部分テンプレートTP1及び第2部分テンプレートTP2に基づいてパターンマッチング法により画像処理を実施することにより、特徴パターンUPの現状位置Cdを算出することができる。 As described above, in the present embodiment, the surface of the sewing object S is displaced due to the sewing process, and it is difficult to acquire the current position data of the feature pattern UP by the pattern matching method using the template TP. Even if the situation arises, the first partial template TP1 and the second partial template TP2 are extracted from the template TP, and image processing is performed by the pattern matching method based on the first partial template TP1 and the second partial template TP2. The current position Cd of the feature pattern UP can be calculated.

なお、本実施形態においては、テンプレートTPの中心Ctよりも+Y側の一部分を第1部分テンプレートTP1とし、テンプレートTPの中心Ctよりも-Y側の一部分を第2部分テンプレートTP2とした。テンプレートTPの中心Ctよりも+X側の一部分を第1部分テンプレートTP1とし、テンプレートTPの中心Ctよりも-X側の一部分を第2部分テンプレートTP2としてもよい。また、1つのテンプレートTPから3つ以上の任意の複数の部分テンプレートを抽出してもよい。すなわち、テンプレートTPから抽出される部分テンプレートの数及び位置は任意である。 In the present embodiment, a part on the + Y side of the center Ct of the template TP is designated as the first partial template TP1, and a part on the −Y side of the center Ct of the template TP is designated as the second partial template TP2. A part on the + X side of the center Ct of the template TP may be used as the first partial template TP1, and a part on the −X side of the center Ct of the template TP may be used as the second partial template TP2. Further, any plurality of arbitrary partial templates of three or more may be extracted from one template TP. That is, the number and position of the partial templates extracted from the template TP are arbitrary.

第3実施形態.
第3実施形態について説明する。以下の説明において、上述の実施形態と同一又は同等の構成要素については同一の符号を付し、その説明を簡略又は省略する。
Third embodiment.
A third embodiment will be described. In the following description, the same or equivalent components as those in the above-described embodiment are designated by the same reference numerals, and the description thereof will be simplified or omitted.

上述の実施形態においては、複数の孔7の集合体によって特徴パターンUPが形成され、特徴パターンUPをサーチするためのテンプレートTPは、複数の孔7の集合体を含むテンプレートであることとした。複数の孔7のそれぞれにテンプレートTPが規定され、テンプレートTPを用いて複数の孔7の少なくとも一部の位置が算出され、算出された孔7の位置に基づいて、特徴パターンUPの現状位置が取得されてもよい。 In the above-described embodiment, the feature pattern UP is formed by the aggregate of the plurality of holes 7, and the template TP for searching the feature pattern UP is a template including the aggregate of the plurality of holes 7. A template TP is defined for each of the plurality of holes 7, the positions of at least a part of the plurality of holes 7 are calculated using the template TP, and the current position of the feature pattern UP is determined based on the calculated positions of the holes 7. May be obtained.

図25は、本実施形態に係る特徴パターンの現状位置データの取得方法を説明するための模式図である。上述の実施形態と同様、特徴パターンUPは、縫製対象物Sに設けられている複数の孔7を含む。本実施形態においては、複数の孔7のそれぞれにテンプレートTPが規定される。複数のテンプレートTPのそれぞれは、1つの孔7のテンプレートを示す。本実施形態において、現状位置データ取得部73は、複数の孔7のそれぞれについて規定されたテンプレートTPに基づいて、複数の孔7の少なくとも一部の位置を算出し、算出した孔7の位置に基づいて、特徴パターンUPの現状位置を示す現状位置データを取得する。特徴パターンUPの現状位置は、特徴パターンUPの中心位置Ceである。 FIG. 25 is a schematic diagram for explaining a method of acquiring the current position data of the feature pattern according to the present embodiment. Similar to the above-described embodiment, the feature pattern UP includes a plurality of holes 7 provided in the sewing object S. In this embodiment, a template TP is defined for each of the plurality of holes 7. Each of the plurality of template TPs shows a template of one hole 7. In the present embodiment, the current position data acquisition unit 73 calculates the position of at least a part of the plurality of holes 7 based on the template TP defined for each of the plurality of holes 7, and sets the position of the calculated hole 7 to the calculated position. Based on this, the current position data indicating the current position of the feature pattern UP is acquired. The current position of the feature pattern UP is the center position Ce of the feature pattern UP.

図26は、本実施形態に係る特徴パターンの現状位置データの取得方法を説明するためのフローチャートである。現状位置データ取得部73は、カウンタnを初期値である1に設定する(ステップS210)。 FIG. 26 is a flowchart for explaining a method of acquiring the current position data of the feature pattern according to the present embodiment. The current position data acquisition unit 73 sets the counter n to 1 which is the initial value (step S210).

現状位置データ取得部73は、撮像装置30によって撮影された縫製対象物Sの画像データにおいてn個目の孔7についてテンプレートTPを規定範囲TRで走査して孔7をサーチし、孔7とテンプレートTPとの相関値を算出する(ステップS220)。 The current position data acquisition unit 73 scans the template TP for the nth hole 7 in the image data of the sewing object S taken by the image pickup apparatus 30 in the specified range TR to search for the hole 7, and searches for the hole 7 and the template. The correlation value with TP is calculated (step S220).

現状位置データ取得部73は、ステップS220で算出した相関値に基づいて、孔7とテンプレートTPとが一致したか否かを判定する(ステップS230)。すなわち、現状位置データ取得部73は、規定範囲TRで走査したテンプレートTPにより孔7が発見されたか否かを判定する。 The current position data acquisition unit 73 determines whether or not the hole 7 and the template TP match based on the correlation value calculated in step S220 (step S230). That is, the current position data acquisition unit 73 determines whether or not the hole 7 is found by the template TP scanned in the specified range TR.

ステップS230において、孔7とテンプレートTPとが一致したと判定した場合(ステップS230:Yes)、現状位置データ取得部73は、テンプレートTPと一致した孔7の数を示す一致数をインクリメントする(ステップS240)。 When it is determined in step S230 that the hole 7 and the template TP match (step S230: Yes), the current position data acquisition unit 73 increments the number of matches indicating the number of holes 7 that match the template TP (step S230: Yes). S240).

ステップS230において、孔7とテンプレートTPとが一致しないと判定した場合(ステップS230:No)、現状位置データ取得部73は、一致数をインクリメントしない。 If it is determined in step S230 that the hole 7 and the template TP do not match (step S230: No), the current position data acquisition unit 73 does not increment the number of matches.

現状位置データ取得部73は、画像データにおける全ての孔7のサーチが終了したか否かを判定する(ステップS250)。 The current position data acquisition unit 73 determines whether or not the search for all the holes 7 in the image data has been completed (step S250).

ステップS250において、全ての孔7のサーチが終了していないと判定した場合(ステップS250:No)、現状位置データ取得部73は、カウンタnをインクリメントする(ステップS260)。現状位置データ取得部73は、全ての孔7のサーチが終了するまで、ステップS220からステップS260の処理を繰り返す。 When it is determined in step S250 that the search for all the holes 7 has not been completed (step S250: No), the current position data acquisition unit 73 increments the counter n (step S260). The current position data acquisition unit 73 repeats the processes of steps S220 to S260 until the search for all the holes 7 is completed.

ステップS250において、全ての孔7のサーチが終了したと判定した場合(ステップS250:Yes)、現状位置データ取得部73は、ステップS240でカウントした一致数と、画像データにおける全ての孔7の数を示す全孔数とに基づいて、特徴パターンUPとテンプレートTPとの相関値を導出する(ステップS270)。本実施形態において、現状位置データ取得部73は、「一致数/全孔数」の演算処理を実施して、その演算結果に基づいて相関値を導出する。 When it is determined in step S250 that the search for all holes 7 has been completed (step S250: Yes), the current position data acquisition unit 73 has the number of matches counted in step S240 and the number of all holes 7 in the image data. A correlation value between the feature pattern UP and the template TP is derived based on the total number of holes indicating (step S270). In the present embodiment, the current position data acquisition unit 73 performs a calculation process of “number of matches / total number of holes” and derives a correlation value based on the calculation result.

現状位置データ取得部73は、ステップS270で導出した相関値が予め決められている閾値以上か否かを判定する(ステップS280)。 The current position data acquisition unit 73 determines whether or not the correlation value derived in step S270 is equal to or greater than a predetermined threshold value (step S280).

ステップS280において、相関値が閾値以上であると判定した場合(ステップS280:Yes)、現状位置データ取得部73は、テンプレートTPに一致した孔7の位置に基づいて、特徴パターンUPの中心位置Ceを取得する(ステップS280)。 When it is determined in step S280 that the correlation value is equal to or higher than the threshold value (step S280: Yes), the current position data acquisition unit 73 determines the center position Ce of the feature pattern UP based on the position of the hole 7 that matches the template TP. (Step S280).

ステップS280において、相関値が閾値以上でないと判定した場合(ステップS280:No)、現状位置データ取得部73は、特徴パターンUPの中心位置Ceを取得せずに処理を終了する。 When it is determined in step S280 that the correlation value is not equal to or greater than the threshold value (step S280: No), the current position data acquisition unit 73 ends the process without acquiring the center position Ce of the feature pattern UP.

第4実施形態.
第4実施形態について説明する。以下の説明において、上述の実施形態と同一又は同等の構成要素については同一の符号を付し、その説明を簡略又は省略する。
Fourth embodiment.
A fourth embodiment will be described. In the following description, the same or equivalent components as those in the above-described embodiment are designated by the same reference numerals, and the description thereof will be simplified or omitted.

図16のステップS10等で説明したように、縫製対象物Sは、作業者によって針板13に設置された後、保持部材15に保持される。また、ステップS30等で説明したように、第1縫製処理が実施される前に、縫製対象物Sに設けられている特徴パターンUPの画像データが撮像装置30に取得される。上述のように、作業者による縫製対象物Sの設置誤差又は縫製対象物Sの裁断誤差等に起因して、ミシン座標系における特徴パターンUPの初期位置が縫製対象物S毎に異なる可能性が高い。 As described in step S10 and the like in FIG. 16, the sewing object S is placed on the needle plate 13 by an operator and then held by the holding member 15. Further, as described in step S30 and the like, the image data of the feature pattern UP provided on the sewing object S is acquired by the image pickup apparatus 30 before the first sewing process is performed. As described above, there is a possibility that the initial position of the feature pattern UP in the sewing machine coordinate system may differ for each sewing object S due to an installation error of the sewing object S or a cutting error of the sewing object S by the operator. high.

上述の実施形態においては、初期位置データ取得部72は、第1縫製処理が実施される前に撮像装置30によって撮影された、保持部材15に保持された縫製対象物Sに設けられている少なくとも2つの特徴パターンUP(UP1,UP2)の画像データに基づいて、XY平面内における縫製対象物Sの特徴パターンUPの初期位置データを取得することとした。 In the above-described embodiment, the initial position data acquisition unit 72 is provided at least on the sewing object S held by the holding member 15 taken by the image pickup apparatus 30 before the first sewing process is performed. Based on the image data of the two feature patterns UP (UP1, UP2), it was decided to acquire the initial position data of the feature pattern UP of the sewing object S in the XY plane.

本実施形態においては、初期位置データ取得部72が、縫製対象物Sに設けられている基準マークBMの画像データ及び保持部材15に設けられている基準マークAMの画像データの少なくとも一方に基づいて、XY平面内における縫製対象物Sの特徴パターンUPの初期位置データを取得する例について説明する。 In the present embodiment, the initial position data acquisition unit 72 is based on at least one of the image data of the reference mark BM provided on the sewing object S and the image data of the reference mark AM provided on the holding member 15. , An example of acquiring the initial position data of the feature pattern UP of the sewing object S in the XY plane will be described.

図27は、本実施形態に係る保持部材15及び保持部材15に保持されている縫製対象物Sを模式的に示す平面図である。図27に示すように、保持部材15の押え部材15Aに基準マークAMが設けられる。基準マークAMは、押え部材15Aの上面に複数設けられる。複数の基準マークAMは、離れている。基準マークAMは、撮像装置30に対向可能である。押え部材15Aは、枠状の部材であり、4つのコーナーを有する。本実施形態において、基準マークAMは、押え部材15Aの3つのコーナーのそれぞれに設けられる。ミシン座標系における基準マークAMの位置は、既知データである。制御装置40は、撮像装置30の撮影領域FAに基準マークAMが配置されるように保持部材15を移動させることができる。 FIG. 27 is a plan view schematically showing the holding member 15 and the sewing object S held by the holding member 15 according to the present embodiment. As shown in FIG. 27, the reference mark AM is provided on the pressing member 15A of the holding member 15. A plurality of reference marks AM are provided on the upper surface of the pressing member 15A. The plurality of reference marks AM are separated. The reference mark AM can face the image pickup apparatus 30. The presser member 15A is a frame-shaped member and has four corners. In the present embodiment, the reference mark AM is provided at each of the three corners of the pressing member 15A. The position of the reference mark AM in the sewing machine coordinate system is known data. The control device 40 can move the holding member 15 so that the reference mark AM is arranged in the photographing area FA of the image pickup device 30.

また、保持部材15に保持されている縫製対象物Sに基準マークBMが設けられる。基準マークBMは、縫製対象物Sに形成された孔でもよいし、縫製対象物Sの表面にプリントされたプリント物でもよい。基準マークBMは、縫製対象物Sの上面に複数設けられる。複数の基準マークBMは、離れている。基準マークBMは、撮像装置30に対向可能である。本実施形態において、基準マークBMは、押え部材15Aの3つのコーナーのそれぞれの近傍に配置される。縫製対象物Sは、基準マークBMが押え部材15Aのコーナーの近傍に配置されるように、作業者によって保持部材15に設置される。制御装置40は、撮像装置30の撮影領域FAに基準マークBMが配置されるように保持部材15を移動させることができる。 Further, a reference mark BM is provided on the sewing object S held by the holding member 15. The reference mark BM may be a hole formed in the sewing object S or a printed matter printed on the surface of the sewing object S. A plurality of reference marks BM are provided on the upper surface of the sewing object S. The plurality of reference marks BM are separated from each other. The reference mark BM can face the image pickup apparatus 30. In the present embodiment, the reference mark BM is arranged in the vicinity of each of the three corners of the pressing member 15A. The sewing object S is installed on the holding member 15 by the operator so that the reference mark BM is arranged near the corner of the pressing member 15A. The control device 40 can move the holding member 15 so that the reference mark BM is arranged in the photographing area FA of the image pickup device 30.

次に、XY平面内における縫製対象物Sの初期位置データを取得する処理について説明する。以下の説明においては、第1縫製処理が実施される前に撮像装置30によって撮影された縫製対象物Sの基準マークBMの画像データに基づいて、縫製対象物Sの特徴パターンUPの初期位置データが取得される例について説明する。 Next, the process of acquiring the initial position data of the sewing object S in the XY plane will be described. In the following description, the initial position data of the feature pattern UP of the sewing object S is based on the image data of the reference mark BM of the sewing object S taken by the image pickup apparatus 30 before the first sewing process is performed. An example in which is obtained will be described.

作業者は、縫製対象物Sを針板13に設置する。作業者は、縫製対象物Sに設けられている基準マークBMが押え部材15Aのコーナーの近傍に配置されるように、縫製対象物Sを針板13に設置する。縫製対象物Sが針板13に設置された後、縫製対象物Sは、保持部材15に保持される。縫製対象物Sが保持部材15に保持された後、制御装置40は、縫製対象物Sに設けられている複数の基準マークBMのうち第1の基準マークBM1が撮像装置30の撮影領域FAに配置されるように保持部材15を移動させる。 The operator installs the sewing object S on the needle plate 13. The operator installs the sewing object S on the needle plate 13 so that the reference mark BM provided on the sewing object S is arranged near the corner of the pressing member 15A. After the sewing object S is installed on the needle plate 13, the sewing object S is held by the holding member 15. After the sewing object S is held by the holding member 15, the control device 40 has the first reference mark BM1 among the plurality of reference mark BMs provided on the sewing object S in the photographing area FA of the image pickup device 30. The holding member 15 is moved so as to be arranged.

撮像装置30は、撮影領域FMに配置された第1の基準マークBM1を撮影する。初期位置データ取得部72は、撮像装置30が取得した第1の基準マークBM1の画像データに基づいて、ミシン座標系のXY平面内における第1の基準マークBM1の位置を算出する。 The image pickup apparatus 30 takes a picture of the first reference mark BM1 arranged in the picture area FM. The initial position data acquisition unit 72 calculates the position of the first reference mark BM1 in the XY plane of the sewing machine coordinate system based on the image data of the first reference mark BM1 acquired by the image pickup apparatus 30.

次に、制御装置40は、縫製対象物Sに設けられている複数の基準マークBMのうち第2の基準マークBM2が撮像装置30の撮影領域FAに配置されるように保持部材15を移動させる。 Next, the control device 40 moves the holding member 15 so that the second reference mark BM2 out of the plurality of reference mark BMs provided on the sewing object S is arranged in the photographing region FA of the image pickup apparatus 30. ..

撮像装置30は、撮影領域FMに配置された第2の基準マークBM2を撮影する。初期位置データ取得部72は、撮像装置30が取得した第2の基準マークBM2の画像データに基づいて、ミシン座標系のXY平面内における第2の基準マークBM2の位置を算出する。 The image pickup apparatus 30 takes a picture of the second reference mark BM2 arranged in the picture area FM. The initial position data acquisition unit 72 calculates the position of the second reference mark BM2 in the XY plane of the sewing machine coordinate system based on the image data of the second reference mark BM2 acquired by the image pickup apparatus 30.

第1縫製処理が実施される前の基準マークBM(BM1,BM2)と特徴パターンUPとの相対位置を示す相対位置データは、縫製対象物Sの設計データから導出可能な既知データであり縫製データ記憶部61に記憶されている。初期位置データ取得部72は、第1の基準マークBM1の位置データ及び第2の基準マークBM2の位置データに基づいて、ミシン座標系におけるX軸方向、Y軸方向、及びθZ方向の縫製対象物Sの特徴パターンUPの初期位置を算出することができる。 The relative position data indicating the relative position between the reference mark BM (BM1, BM2) and the feature pattern UP before the first sewing process is performed is known data that can be derived from the design data of the sewing object S and is sewing data. It is stored in the storage unit 61. The initial position data acquisition unit 72 is a sewing object in the X-axis direction, the Y-axis direction, and the θZ direction in the sewing machine coordinate system based on the position data of the first reference mark BM1 and the position data of the second reference mark BM2. The initial position of the feature pattern UP of S can be calculated.

また、第1縫製処理が実施される前の基準マークBM(BM1,BM2)と縫製対象物Sのステッチ形成目標位置との相対位置を示す相対位置データは、縫製対象物Sの設計データから導出可能な既知データであり縫製データ記憶部61に記憶されている。したがって、初期位置データ取得部72は、第1の基準マークBM1の位置データ及び第2の基準マークBM2の位置データに基づいて、ミシン座標系におけるX軸方向、Y軸方向、及びθZ方向のステッチ形成目標位置を特定することができる。 Further, the relative position data indicating the relative position between the reference mark BM (BM1, BM2) before the first sewing process is performed and the stitch formation target position of the sewing object S is derived from the design data of the sewing object S. It is possible known data and is stored in the sewing data storage unit 61. Therefore, the initial position data acquisition unit 72 stitches in the X-axis direction, the Y-axis direction, and the θZ direction in the sewing machine coordinate system based on the position data of the first reference mark BM1 and the position data of the second reference mark BM2. The formation target position can be specified.

なお、初期位置データ取得部72は、第2の基準マークBM2の位置データ及び第3の基準マークBM3の位置データに基づいて、ミシン座標系におけるX軸方向、Y軸方向、及びθZ方向の縫製対象物S(特徴パターンUP、ステッチ形成目標位置)の初期位置を算出してもよい。 The initial position data acquisition unit 72 sews in the X-axis direction, the Y-axis direction, and the θZ direction in the sewing machine coordinate system based on the position data of the second reference mark BM2 and the position data of the third reference mark BM3. The initial position of the object S (feature pattern UP, stitch formation target position) may be calculated.

初期位置データ取得部72は、第1縫製処理が実施される前に撮像装置30によって撮影された保持部材15に設けられている基準マークAMの画像データに基づいて、縫製対象物Sの初期位置データを取得してもよい。制御装置40は、保持部材15に設けられている複数の基準マークAMのうち第1の基準マークAM1が撮像装置30の撮影領域FAに配置されるように保持部材15を移動させ、第2の基準マークAM2が撮像装置30の撮影領域FMに配置されるように保持部材15を移動させる。また、制御装置40は、保持部材15に保持されている縫製対象物Sの少なくとも一つの特徴パターンDPが撮像装置30の撮影領域FAに配置されるように保持部材15を移動させる。これにより、撮像装置30は、第1の基準マークAM1、第2の基準マークAM2、及び縫製対象物Sの特徴パターンUPを撮影することができる。初期位置データ取得部72は、撮像装置30によって撮影された第1の基準マークAM1の画像データ、第2の基準マークAM2の画像データ、及び特徴パターンUPの画像データに基づいて、ミシン座標系における第1の基準マークAM1と第2の基準マークAM2と特徴パターンUPとの相対位置を算出することができる。また、ミシン座標系における基準マークAM(AM1,AM2)の位置は、既知データである。したがって、初期位置データ取得部72は、第1の基準マークAM1の位置データ及び第2の基準マークAM2の位置データに基づいて、ミシン座標系におけるX軸方向、Y軸方向、及びθZ方向の縫製対象物Sの特徴パターンUPの初期位置を算出することができる。 The initial position data acquisition unit 72 is the initial position of the sewing object S based on the image data of the reference mark AM provided on the holding member 15 taken by the image pickup apparatus 30 before the first sewing process is performed. You may get the data. The control device 40 moves the holding member 15 so that the first reference mark AM1 among the plurality of reference mark AMs provided on the holding member 15 is arranged in the photographing region FA of the image pickup apparatus 30, and the second reference mark AM 1 is moved. The holding member 15 is moved so that the reference mark AM2 is arranged in the photographing area FM of the image pickup apparatus 30. Further, the control device 40 moves the holding member 15 so that at least one feature pattern DP of the sewing object S held by the holding member 15 is arranged in the photographing region FA of the imaging device 30. As a result, the image pickup apparatus 30 can photograph the feature pattern UP of the first reference mark AM1, the second reference mark AM2, and the sewing object S. The initial position data acquisition unit 72 in the sewing machine coordinate system is based on the image data of the first reference mark AM1 taken by the image pickup apparatus 30, the image data of the second reference mark AM2, and the image data of the feature pattern UP. The relative positions of the first reference mark AM1 and the second reference mark AM2 and the feature pattern UP can be calculated. Further, the positions of the reference marks AM (AM1, AM2) in the sewing machine coordinate system are known data. Therefore, the initial position data acquisition unit 72 sews in the X-axis direction, the Y-axis direction, and the θZ direction in the sewing machine coordinate system based on the position data of the first reference mark AM1 and the position data of the second reference mark AM2. The initial position of the feature pattern UP of the object S can be calculated.

また、第1縫製処理が実施される前の特徴パターンUPと縫製対象物Sのステッチ形成目標位置との相対位置を示す相対位置データは、縫製対象物Sの設計データから導出可能な既知データであり縫製データ記憶部61に記憶されている。したがって、初期位置データ取得部72は、第1の基準マークAM1の位置データ及び第2の基準マークAM2の位置データに基づいて、ミシン座標系におけるX軸方向、Y軸方向、及びθZ方向のステッチ形成目標位置を特定することができる。 Further, the relative position data indicating the relative position between the feature pattern UP before the first sewing process is performed and the stitch formation target position of the sewing object S is known data that can be derived from the design data of the sewing object S. It is stored in the sewing data storage unit 61. Therefore, the initial position data acquisition unit 72 stitches in the X-axis direction, the Y-axis direction, and the θZ direction in the sewing machine coordinate system based on the position data of the first reference mark AM1 and the position data of the second reference mark AM2. The formation target position can be specified.

なお、初期位置データ取得部72は、第2の基準マークAM2の位置データ及び第3の基準マークAM3の位置データに基づいて、ミシン座標系におけるX軸方向、Y軸方向、及びθZ方向の縫製対象物Sの特徴パターンUPの初期位置を算出してもよい。 The initial position data acquisition unit 72 sews in the X-axis direction, the Y-axis direction, and the θZ direction in the sewing machine coordinate system based on the position data of the second reference mark AM2 and the position data of the third reference mark AM3. The initial position of the feature pattern UP of the object S may be calculated.

なお、本実施形態において、複数の孔7の少なくとも一部が基準マークとして機能してもよい。 In this embodiment, at least a part of the plurality of holes 7 may function as a reference mark.

なお、基準マークBMは円形でなくてもよい。図28及び図29は、本実施形態に係る縫製対象物Sに設けられる基準マークBMの一例を示す図である。図28及び図29に示す基準マークBMのそれぞれは、XY平面内における方向を示すことができる方向性マークである。図28は、複数の角部によりXY平面内における方向を示すことができる基準マークBMを示す。図28は、基準マークBMが四角形である例を示す。なお、基準マークBMは、三角形でもよいし、五角形でもよいし、六角形以上の任意の多角形でもよい。図29は、複数のマークの配列によりXY平面内における方向を示すことができる基準マークBMを示す。図29は、基準マークBMが4つの円形マークの配列である例を示す。なお、保持部材15に設けられる基準マークAMが、図28及び図29に示す形態でもよい。 The reference mark BM does not have to be circular. 28 and 29 are diagrams showing an example of the reference mark BM provided on the sewing object S according to the present embodiment. Each of the reference marks BM shown in FIGS. 28 and 29 is a directional mark that can indicate a direction in the XY plane. FIG. 28 shows a reference mark BM that can indicate a direction in the XY plane by a plurality of corners. FIG. 28 shows an example in which the reference mark BM is a quadrangle. The reference mark BM may be a triangle, a pentagon, or any polygon of hexagon or more. FIG. 29 shows a reference mark BM that can indicate a direction in the XY plane by an array of a plurality of marks. FIG. 29 shows an example in which the reference mark BM is an array of four circular marks. The reference mark AM provided on the holding member 15 may be in the form shown in FIGS. 28 and 29.

初期位置データ取得部72は、撮像装置30により取得された1つの基準マークBMの画像データに基づいて、ミシン座標系におけるX軸方向、Y軸方向、及びθZ方向の縫製対象物Sの初期位置を算出することができる。 The initial position data acquisition unit 72 is the initial position of the sewing object S in the X-axis direction, the Y-axis direction, and the θZ direction in the sewing machine coordinate system based on the image data of one reference mark BM acquired by the image pickup apparatus 30. Can be calculated.

なお、基準マークBMが円形でも、基準マークBMが撮影領域FAに配置されている状態で、保持部材15を規定方向に規定距離だけ移動させることより、初期位置データ取得部72は、撮像装置30によって取得された基準マークBMの画像データに基づいて、X軸方向、Y軸方向、及びθZ方向の縫製対象物Sの位置を算出することができる。 Even if the reference mark BM is circular, the initial position data acquisition unit 72 is the image pickup device 30 by moving the holding member 15 in the specified direction by a specified distance while the reference mark BM is arranged in the photographing area FA. Based on the image data of the reference mark BM acquired by the above, the position of the sewing object S in the X-axis direction, the Y-axis direction, and the θZ direction can be calculated.

図30は、本実施形態に係る基準マークBMの一例を示す図である。例えば、第2の基準マークBM2と第3の基準マークBM3とを結ぶラインとY軸とが平行になるように(真っ直ぐに)縫製対象物Sが保持部材15に保持されている状態で、保持部材15をY軸と平行に規定距離だけ移動させたとき、図30(A)に示すように、撮像装置30によって取得される基準マークBMの画像データは、Y軸と平行に移動する。そのため、初期位置データ取得部72は、撮像装置30によって取得された基準マークBMの画像データが図30(A)に示すような画像データであるとき、縫製対象物Sは真っ直ぐに保持部材15に保持されていると判定することができる。 FIG. 30 is a diagram showing an example of the reference mark BM according to the present embodiment. For example, the sewing object S is held by the holding member 15 so that the line connecting the second reference mark BM2 and the third reference mark BM3 and the Y axis are parallel (straight). When the member 15 is moved parallel to the Y axis by a predetermined distance, the image data of the reference mark BM acquired by the image pickup apparatus 30 moves parallel to the Y axis, as shown in FIG. 30 (A). Therefore, when the image data of the reference mark BM acquired by the image pickup apparatus 30 is the image data as shown in FIG. 30A, the initial position data acquisition unit 72 moves the sewing object S straight to the holding member 15. It can be determined that it is held.

一方、第2の基準マークBM2と第3の基準マークBM3とを結ぶラインとY軸とが非平行になるように(傾斜して)縫製対象物Sが保持部材15に保持されている状態で、保持部材15をY軸と平行に規定距離だけ移動させたとき、図30(B)に示すように、撮像装置30によって取得される基準マークBMの画像データは、Y軸に対して傾斜する方向に移動する。そのため、初期位置データ取得部72は、撮像装置30によって取得された基準マークBMの画像データが図30(B)に示すような画像データであるとき、縫製対象物Sは傾斜して保持部材15に保持されていると判定することができる。 On the other hand, in a state where the sewing object S is held by the holding member 15 so that the line connecting the second reference mark BM2 and the third reference mark BM3 and the Y axis are non-parallel (inclined). When the holding member 15 is moved parallel to the Y axis by a predetermined distance, the image data of the reference mark BM acquired by the image pickup apparatus 30 is tilted with respect to the Y axis, as shown in FIG. 30 (B). Move in the direction. Therefore, when the image data of the reference mark BM acquired by the image pickup apparatus 30 is the image data as shown in FIG. 30B, the initial position data acquisition unit 72 tilts the sewing object S and holds the holding member 15. It can be determined that it is held in.

また、複数の基準マークBMのそれぞれが方向性マークである場合、制御装置40は、撮影領域FAに第1の基準マークBM1が配置されている状態から第2の基準マークBM2が配置される状態に効率良く変化するように保持部材15を移動させることができる。 Further, when each of the plurality of reference mark BMs is a directional mark, the control device 40 is in a state where the first reference mark BM1 is arranged in the photographing area FA and the second reference mark BM2 is arranged. The holding member 15 can be moved so as to change efficiently.

図31は、本実施形態に係る保持部材15及び保持部材15に保持されている縫製対象物Sを模式的に示す平面図である。図31に示すように、縫製対象物Sが傾斜して保持部材15に保持されている場合、基準マークBMが方向性マークであることにより、制御装置40は、撮影領域FAに第1の基準マークBM1が配置されている状態から第2の基準マークBM2が配置される状態に効率良く変化するように保持部材15を移動させることができる。 FIG. 31 is a plan view schematically showing the holding member 15 and the sewing object S held by the holding member 15 according to the present embodiment. As shown in FIG. 31, when the sewing object S is tilted and held by the holding member 15, the control device 40 has the first reference in the photographing region FA because the reference mark BM is the directional mark. The holding member 15 can be moved so as to efficiently change from the state in which the mark BM1 is arranged to the state in which the second reference mark BM2 is arranged.

図31に示すように、撮影領域FAに第1の基準マークBM1が配置され、第1の基準マークBM1の画像データが撮像装置30によって取得されると、制御装置40は、第1の基準マークBM1の画像データに基づいて、縫製対象物Sが傾斜して保持部材15に保持されていると判定することができる。また、制御装置40は、第1の基準マークBM1の画像データに基づいて、縫製対象物Sの傾斜角度を算出することができる。なお、縫製対象物Sの傾斜角度は、第1の基準マークBM1と第2の基準マークBM2とを結ぶラインとX軸とがなす角度でもよいし、第2の基準マークBM2と第3の基準マークBM3とを結ぶラインとY軸とがなす角度でもよい。したがって、制御装置40は、撮影領域FAに第1の基準マークBM1が配置されている状態から第2の基準マークBM2が配置される状態に変化するように保持部材15を移動させるとき、算出した縫製対象物Sの傾斜角度に基づいて、保持部材15をX軸に対して傾斜する方向に移動させることにより、撮影領域FAに第2の基準マークBM2を円滑に配置させることができる。 As shown in FIG. 31, when the first reference mark BM1 is arranged in the photographing area FA and the image data of the first reference mark BM1 is acquired by the image pickup apparatus 30, the control device 40 receives the first reference mark. Based on the image data of BM1, it can be determined that the sewing object S is tilted and held by the holding member 15. Further, the control device 40 can calculate the inclination angle of the sewing object S based on the image data of the first reference mark BM1. The inclination angle of the sewing object S may be an angle formed by the line connecting the first reference mark BM1 and the second reference mark BM2 and the X axis, or the second reference mark BM2 and the third reference. The angle between the line connecting the mark BM3 and the Y axis may be used. Therefore, the control device 40 calculated when moving the holding member 15 so as to change from the state in which the first reference mark BM1 is arranged in the photographing region FA to the state in which the second reference mark BM2 is arranged. By moving the holding member 15 in the direction of tilting with respect to the X axis based on the tilt angle of the sewing object S, the second reference mark BM2 can be smoothly arranged in the photographing region FA.

なお、撮影領域FAに第2の基準マークBM2が配置されている状態から第3の基準マークBM3が配置される状態になるように保持部材15を移動させる場合も同様である。 The same applies to the case where the holding member 15 is moved from the state where the second reference mark BM2 is arranged in the photographing region FA to the state where the third reference mark BM3 is arranged.

なお、上述の実施形態においては、ミシン1が電子サイクルミシンであり、XY平面内において保持部材15を移動させて、保持部材15に保持されている縫製対象物SにステッチGPを形成することとした。縫製対象物SにステッチGPを形成するために、ミシン針3がXY平面内において移動してもよいし、ミシン針3及び保持部材15の両方がXY平面内において移動してもよい。その場合、縫製データとしてXY平面内におけるミシン針3の移動条件が生成され、縫製データ記憶部61に記憶される。 In the above-described embodiment, the sewing machine 1 is an electronic cycle sewing machine, and the holding member 15 is moved in the XY plane to form a stitch GP on the sewing object S held by the holding member 15. did. In order to form the stitch GP on the sewing object S, the sewing machine needle 3 may move in the XY plane, or both the sewing machine needle 3 and the holding member 15 may move in the XY plane. In that case, the movement condition of the sewing machine needle 3 in the XY plane is generated as sewing data and stored in the sewing data storage unit 61.

なお、上述の実施形態において、撮像装置30により特徴パターンUPの画像データを取得する処理と、ステッチGPを形成する縫製処理の少なくとも一部とが並行して実施されてもよい。 In the above-described embodiment, the process of acquiring the image data of the feature pattern UP by the image pickup apparatus 30 and at least a part of the sewing process of forming the stitch GP may be performed in parallel.

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…制御部、AM…基準マーク、AX…光軸、BM…基準マーク、Ca…中心位置、Ca0…中心位置、Ca1…中心位置、Cb…中心位置、Cb0…中心位置、Cb1…中心位置、Cc…中心位置、Cd…現状位置、Cd1…中心位置、Cd2…中心位置、Ce…中心位置、Ct…中心、DP…規定パターン、DPh…基準パターン、FA…撮影領域、GP…ステッチ、GP1…第1ステッチ、GP2…第2ステッチ、GP3…第3ステッチ、GP4…第4ステッチ、GP5…第5ステッチ、GP6…第6ステッチ、GP7…第7ステッチ、GP8…第8ステッチ、GP9…第9ステッチ、GP10…第10ステッチ、K1…角部、K2…角部、K3…角部、K4…角部、MA…ステッチ形成領域、P0…固定点、Pf…撮影位置、Pn…位置、Ps…縫製位置、RP…目標パターン、RP1…第1目標パターン、RP2…第2目標パターン、RP3…第3目標パターン、RP4…第4目標パターン、RP5…第5目標パターン、RP6…第6目標パターン、RP7…第7目標パターン、RP8…第8目標パターン、RP9…第9目標パターン、RP10…第10目標パターン、TP…テンプレート、TP1…第1部分テンプレート、TP2…第2部分テンプレート、TR…規定範囲、UP…特徴パターン、UPa…特徴パターン、UPa0…特徴パターン、UPa1…特徴パターン、UPb…特徴パターン、UPb0…特徴パターン、UPb1…特徴パターン、UPd1…第1部分、UPd2…第2部分、UP1…第1特徴パターン、UP2…第2特徴パターン、UP3…第3特徴パターン、UP4…第4特徴パターン、UP5…第5特徴パターン、UP6…第6特徴パターン、UP7…第7特徴パターン、UP8…第8特徴パターン、UP9…第9特徴パターン、UP10…第10特徴パターン、UP11…第11特徴パターン、UP12…第12特徴パターン、UP13…第13特徴パターン、UP14…第14特徴パターン、UP15…第15特徴パターン、UP16…第16特徴パターン、S…縫製対象物。 1 ... sewing machine, 2 ... table, 3 ... sewing machine needle, 4 ... surface material, 5 ... pad material, 6 ... backing material, 7 ... hole, 10 ... sewing machine 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 ... pressing member, 15B ... lower plate, 16 ... actuator, 17 ... actuator, 17X ... X-axis motor, 17Y ... Y-axis motor, 18 ... actuator, 19 ... middle presser member, 20 ... operation device, 21 ... operation panel, 22 ... operation pedal, 30 ... image pickup 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, 70 ... arithmetic processing device, 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 ... control unit, AM ... reference mark, AX ... optical Axis, BM ... reference mark, Ca ... center position, Ca0 ... center position, Ca1 ... center position, Cb ... center position, Cb0 ... center position, Cb1 ... center position, Cc ... center position, Cd ... current position, Cd1 ... center Position, Cd2 ... Center position, Ce ... Center position, Ct ... Center, DP ... Specified pattern, DPh ... Reference pattern, FA ... Shooting area, GP ... Stitch, GP1 ... 1st stitch, GP2 ... 2nd stitch, GP3 ... 3 stitches, GP4 ... 4th stitch, GP5 ... 5th stitch, GP6 ... 6th stitch, GP7 ... 7th stitch, GP8 ... 8th stitch, GP9 ... 9th stitch, GP10 ... 10th stitch, K1 ... corner, K2 ... corner, K3 ... corner, K4 ... corner, MA ... stitch formation area, P0 ... fixed point, Pf ... shooting position, Pn ... position, Ps ... sewing position, RP ... target pattern, RP1 ... first target Pattern, RP2 ... 2nd target pattern, RP3 ... 3rd target pattern, RP4 ... 4th target pattern, RP5 ... 5th target pattern, RP6 ... 6th target pattern, RP7 ... 7th target pattern, RP8 ... 8th target pattern , RP9 ... 9th target pattern, RP10 ... 10th target pattern, TP ... template, TP1 ... 1st part template, TP2 ... 2nd part template, TR ... specified range, UP ... feature pattern, UPa ... feature pattern, UPa0 ... Feature pattern, UPa1 ... Feature pattern, UPb ... Feature pattern, UPb 0 ... feature pattern, UPb1 ... feature pattern, UPd1 ... first part, UPd2 ... second part, UP1 ... first feature pattern, UP2 ... second feature pattern, UP3 ... third feature pattern, UP4 ... fourth feature pattern, UP5 ... 5th feature pattern, UP6 ... 6th feature pattern, UP7 ... 7th feature pattern, UP8 ... 8th feature pattern, UP9 ... 9th feature pattern, UP10 ... 10th feature pattern, UP11 ... 11th feature pattern, UP12 ... 12th feature pattern, UP13 ... 13th feature pattern, UP14 ... 14th feature pattern, UP15 ... 15th feature pattern, UP16 ... 16th feature pattern, S ... Sewing object.

Claims (11)

ミシン針の直下の縫製位置を含む所定面内において縫製対象物を保持して移動可能な保持部材と、
前記保持部材を移動させるアクチュエータと、
前記縫製対象物を撮影可能な撮像装置と、
第1縫製処理において参照される第1縫製データ及び前記第1縫製処理の次に実施される第2縫製処理において参照される第2縫製データを取得する縫製データ取得部と、
前記縫製対象物に設けられている特徴パターンの初期位置を示す初期位置データを取得する初期位置データ取得部と、
前記撮像装置によって撮影された前記縫製対象物の画像データに基づいて前記特徴パターンの現状位置を示す現状位置データを取得する現状位置データ取得部と、
前記初期位置データと前記現状位置データとに基づいて前記特徴パターンの変位量を算出する変位量算出部と、
前記第2縫製処理において、前記変位量に基づいて前記アクチュエータを制御する制御信号を出力する制御部と、
前記変位量に基づいて前記第2縫製データを補正して第2補正データを生成する補正データ生成部と、を備え
前記現状位置データ取得部は、前記第1縫製処理の終了時点と前記第2縫製処理の開始時点との期間において撮影された前記画像データに基づいて前記現状位置データを取得し、
前記制御部は、前記第2縫製処理において、前記第2補正データに基づいて前記制御信号を出力し、
前記第2縫製データは、前記第2縫製処理において前記縫製対象物に形成されるステッチの目標パターンを含み、
前記補正データ生成部は、前記目標パターンと前記第1縫製処理が実施される前の前記特徴パターンとの相対位置と、前記第2縫製処理の実施により前記縫製対象物に形成される前記ステッチと前記第2縫製処理が実施された後の前記特徴パターンとの相対位置とが一致するように、前記第2補正データを生成する、
ミシン。
A holding member that can hold and move the object to be sewn within a predetermined surface including the sewing position directly under the sewing machine needle.
An actuator that moves the holding member and
An image pickup device capable of photographing the sewing object and
A sewing data acquisition unit that acquires 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.
An initial position data acquisition unit that acquires initial position data indicating an initial position of a feature pattern provided on the sewing object, and an initial position data acquisition unit.
A current position data acquisition unit that acquires current position data indicating the current position of the feature pattern based on image data of the sewing object taken by the image pickup device, and a current position data acquisition unit.
A displacement amount calculation unit that calculates the displacement amount of the feature pattern based on the initial position data and the current position data,
In the second sewing process, a control unit that outputs a control signal that controls the actuator based on the displacement amount, and a control unit.
A correction data generation unit that corrects the second sewing data based on the displacement amount and generates the second correction data is provided .
The current position data acquisition unit acquires the current position data based on the image data taken during the period between the end time of the first sewing process and the start time of the second sewing process.
The control unit outputs the control signal based on the second correction data in the second sewing process.
The second sewing data includes a target pattern of stitches formed on the sewing object in the second sewing process.
The correction data generation unit includes a relative position between the target pattern and the feature pattern before the first sewing process is performed, and the stitch formed on the sewing object by the second sewing process. The second correction data is generated so as to match the relative position with the feature pattern after the second sewing process is performed.
sewing machine.
前記第1縫製処理は、前記縫製対象物が前記保持部材に保持された後に前記縫製対象物に最初にステッチを形成する処理であり、
前記補正データ生成部は、前記第1縫製処理が実施される前に前記撮像装置によって撮像された少なくとも2つの前記特徴パターンの前記画像データに基づいて前記第1縫製データを補正して第1補正データを生成し、
前記制御部は、前記第1縫製処理において、前記第1補正データに基づいて前記制御信号を出力する、
請求項に記載のミシン。
The first sewing process is a process of first forming a stitch on the sewing object after the sewing object is held by the holding member.
The correction data generation unit corrects the first sewing data based on the image data of at least two of the feature patterns imaged by the image pickup device before the first sewing process is performed, and makes the first correction. Generate data,
The control unit outputs the control signal based on the first correction data in the first sewing process.
The sewing machine according to claim 1 .
前記初期位置データ取得部は、前記第1縫製処理が実施される前に前記撮像装置によって撮影された前記縫製対象物の画像データに基づいて前記初期位置データを取得する、
請求項1又は請求項2に記載のミシン。
The initial position data acquisition unit acquires the initial position data based on the image data of the sewing object taken by the image pickup device before the first sewing process is performed.
The sewing machine according to claim 1 or 2 .
前記縫製対象物の画像データは、前記縫製対象物に設けられている基準マークの画像データを含み、
前記初期位置データ取得部は、前記基準マークの画像データに基づいて前記初期位置データを取得する、
請求項に記載のミシン。
The image data of the sewing object includes the image data of the reference mark provided on the sewing object.
The initial position data acquisition unit acquires the initial position data based on the image data of the reference mark.
The sewing machine according to claim 3 .
前記初期位置データ取得部は、前記第1縫製処理が実施される前に前記撮像装置によって撮影された前記保持部材に設けられている基準マークの画像データに基づいて前記初期位置データを取得する、
請求項1から請求項のいずれか一項に記載のミシン。
The initial position data acquisition unit acquires the initial position data based on the image data of the reference mark provided on the holding member taken by the image pickup device before the first sewing process is performed.
The sewing machine according to any one of claims 1 to 4 .
前記現状位置データ取得部は、前記撮像装置によって撮影された前記縫製対象物の画像データにおいて前記特徴パターンのテンプレートを走査して、前記縫製対象物の画像データと前記テンプレートとの相関値に基づいて、前記現状位置データを取得する、
請求項1から請求項のいずれか一項に記載のミシン。
The current position data acquisition unit scans the template of the feature pattern in the image data of the sewing object taken by the imaging device, and based on the correlation value between the image data of the sewing object and the template. , Acquire the current position data,
The sewing machine according to any one of claims 1 to 5 .
前記現状位置データ取得部は、
前記テンプレートの第1部分を示す第1部分テンプレートと、前記テンプレートの第2部分を示す第2部分テンプレートとを生成し、
前記第1部分テンプレート及び前記第2部分テンプレートのそれぞれに基づいて、前記特徴パターンの第1部分の現状位置を示す第1現状位置データと、前記特徴パターンの第2部分の現状位置を示す第2現状位置データとを算出し、
前記第1現状位置データと前記第2現状位置データとに基づいて、前記現状位置データを取得する、
請求項に記載のミシン。
The current position data acquisition unit is
A first part template showing the first part of the template and a second part template showing the second part of the template are generated.
Based on each of the first part template and the second part template, the first current position data indicating the current position of the first part of the feature pattern and the second state indicating the current position of the second part of the feature pattern are shown. Calculate the current position data and
The current position data is acquired based on the first current position data and the second current position data.
The sewing machine according to claim 6 .
前記特徴パターンは、前記縫製対象物に設けられている複数の孔を含み、
前記現状位置データ取得部は、複数の前記孔のそれぞれについて規定された前記テンプレートに基づいて、複数の孔の少なくとも一部の位置を算出し、算出した前記孔の位置に基づいて、前記現状位置データを取得する、
請求項に記載のミシン。
The characteristic pattern includes a plurality of holes provided in the sewing object.
The current position data acquisition unit calculates the position of at least a part of the plurality of holes based on the template defined for each of the plurality of holes, and the current position is based on the calculated position of the hole. Get the data,
The sewing machine according to claim 6 .
前記第1縫製データは、前記第1縫製処理における前記保持部材の移動条件を含み、
前記第2縫製データは、前記第2縫製処理における前記保持部材の移動条件を含む、
請求項1から請求項のいずれか一項に記載のミシン。
The first sewing data includes movement conditions of the holding member in the first sewing process.
The second sewing data includes movement conditions of the holding member in the second sewing process.
The sewing machine according to any one of claims 1 to 8 .
前記撮像装置は、前記第2縫製処理の終了時点と前記第2縫製処理の次に実施される第3縫製処理の開始時点との期間において前記縫製対象物を撮影し、
前記制御部は、前記変位量に基づいて、前記撮像装置の撮影領域に前記特徴パターンが配置されるように、前記第2縫製処理の終了位置からの前記保持部材の移動条件を設定する、
請求項1から請求項のいずれか一項に記載のミシン。
The image pickup apparatus photographs the sewing object during a period between the end time of the second sewing process and the start time of the third sewing process performed after the second sewing process.
Based on the displacement amount, the control unit sets the movement condition of the holding member from the end position of the second sewing process so that the feature pattern is arranged in the photographing region of the imaging device.
The sewing machine according to any one of claims 1 to 9 .
第1縫製処理において参照される第1縫製データ及び前記第1縫製処理の次に実施される第2縫製処理において参照される第2縫製データを取得することと、
縫製対象物に設けられている特徴パターンの初期位置を示す初期位置データを取得することと、
前記縫製対象物の画像データに基づいて前記特徴パターンの現状位置を示す現状位置データを取得することと、
前記初期位置データと前記現状位置データとに基づいて前記特徴パターンの変位量を算出することと、
前記第2縫製処理において、前記変位量に基づいてミシン針と前記縫製対象物とを所定面内において相対移動させて前記縫製対象物にステッチを形成することと、
前記変位量に基づいて前記第2縫製データを補正して第2補正データを生成することと、を含み、
前記第1縫製処理の終了時点と前記第2縫製処理の開始時点との期間において撮影された前記画像データに基づいて前記現状位置データを取得し、
前記第2縫製処理において、前記第2補正データに基づいて前記縫製対象物を移動させ、
前記第2縫製データは、前記第2縫製処理において前記縫製対象物に形成されるステッチの目標パターンを含み、
前記目標パターンと前記第1縫製処理が実施される前の前記特徴パターンとの相対位置と、前記第2縫製処理の実施により前記縫製対象物に形成される前記ステッチと前記第2縫製処理が実施された後の前記特徴パターンとの相対位置とが一致するように、前記第2補正データを生成する、
縫製方法。
Acquiring 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, and
Acquiring initial position data indicating the initial position of the feature pattern provided on the sewing object, and
Acquiring the current position data indicating the current position of the feature pattern based on the image data of the sewing object, and
To calculate the displacement amount of the feature pattern based on the initial position data and the current position data,
In the second sewing process, the sewing machine needle and the sewing object are relatively moved in a predetermined plane based on the displacement amount to form a stitch on the sewing object.
Including that the second sewing data is corrected to generate the second correction data based on the displacement amount .
The current position data is acquired based on the image data taken during the period between the end time of the first sewing process and the start time of the second sewing process.
In the second sewing process, the sewing object is moved based on the second correction data.
The second sewing data includes a target pattern of stitches formed on the sewing object in the second sewing process.
The relative position between the target pattern and the feature pattern before the first sewing process is performed, and the stitch formed on the sewing object by the execution of the second sewing process and the second sewing process are performed. The second correction data is generated so that the relative position with the feature pattern after the stitching is matched.
Sewing method.
JP2018076419A 2017-04-21 2018-04-11 Sewing machine and sewing method Active JP7079132B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810359401.4A CN108729036B (en) 2017-04-21 2018-04-20 Sewing machine and sewing method
DE102018109675.5A DE102018109675A1 (en) 2017-04-21 2018-04-23 Sewing machine and sewing method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2017084837 2017-04-21
JP2017084837 2017-04-21

Publications (2)

Publication Number Publication Date
JP2018183576A JP2018183576A (en) 2018-11-22
JP7079132B2 true JP7079132B2 (en) 2022-06-01

Family

ID=64356681

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018076419A Active JP7079132B2 (en) 2017-04-21 2018-04-11 Sewing machine and sewing method

Country Status (1)

Country Link
JP (1) JP7079132B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7405564B2 (en) * 2019-11-06 2023-12-26 Juki株式会社 Image processing device, sewing machine, and image processing method
JP7405565B2 (en) * 2019-11-06 2023-12-26 Juki株式会社 Image processing device, sewing machine, and image processing method
JP2021090640A (en) * 2019-12-11 2021-06-17 Juki株式会社 Image processing device, sewing machine and image processing device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006130124A (en) 2004-11-08 2006-05-25 Brother Ind Ltd Embroidery machine
JP2014023798A (en) 2012-07-30 2014-02-06 Brother Ind Ltd Sewing machine

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006130124A (en) 2004-11-08 2006-05-25 Brother Ind Ltd Embroidery machine
JP2014023798A (en) 2012-07-30 2014-02-06 Brother Ind Ltd Sewing machine

Also Published As

Publication number Publication date
JP2018183576A (en) 2018-11-22

Similar Documents

Publication Publication Date Title
CN108729036B (en) Sewing machine and sewing method
JP7079132B2 (en) Sewing machine and sewing method
JP5315705B2 (en) sewing machine
JP4724938B2 (en) sewing machine
US20090188415A1 (en) Sewing machine, and computer-readable storage medium storing sewing machine control program
JP6680539B2 (en) sewing machine
JP7277172B2 (en) sewing machine
JP2014042706A (en) Sewing machine
US10988879B2 (en) Sewing machine and holder member
JP2019201742A (en) Sewing system and three-dimensional measuring device
CN112941733B (en) Image processing device, sewing machine and image processing method
JP7156832B2 (en) Sewing machine and sewing method
CN110616511B (en) Sewing machine and sewing method
JP7075246B2 (en) Seam inspection device
JP7156833B2 (en) Sewing machine and sewing method
JP2009297190A (en) Sewing machine
CN112779680B (en) Image processing device, sewing machine, and image processing method
JP7316420B2 (en) Sewing machine and sewing method
JP2019146748A (en) Sewing machine, sewing failure determination device
JP2011005180A (en) Sewing machine
JP7405565B2 (en) Image processing device, sewing machine, and image processing method
JP2008246032A (en) Sewing machine

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210318

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220121

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220201

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220401

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20220510

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220520

R150 Certificate of patent or registration of utility model

Ref document number: 7079132

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150