JP2022060156A - Embroidery device, dyeing/embroidery system, and adjustment method of thread consumption amount - Google Patents

Embroidery device, dyeing/embroidery system, and adjustment method of thread consumption amount Download PDF

Info

Publication number
JP2022060156A
JP2022060156A JP2021126024A JP2021126024A JP2022060156A JP 2022060156 A JP2022060156 A JP 2022060156A JP 2021126024 A JP2021126024 A JP 2021126024A JP 2021126024 A JP2021126024 A JP 2021126024A JP 2022060156 A JP2022060156 A JP 2022060156A
Authority
JP
Japan
Prior art keywords
thread
embroidery
consumption
actual
needle
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2021126024A
Other languages
Japanese (ja)
Inventor
勇喜 後藤
Yuki Goto
真也 田中
Shinya Tanaka
泰斗 大村
Yasuto Omura
裕介 小峯
Yusuke Komine
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to EP21199904.0A priority Critical patent/EP3978673A1/en
Priority to US17/449,476 priority patent/US11718941B2/en
Publication of JP2022060156A publication Critical patent/JP2022060156A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Sewing Machines And Sewing (AREA)

Abstract

To solve positional deviation of embroidery color on a cloth during an embroidery operation, even when an actual consumption amount of thread deviates from the assumption, in the case where a continuous thread in which color changes is used in an embroidery device.SOLUTION: An embroidery device which performs an embroidery operation according to embroidery data includes: a thread assumed consumption amount calculation part 505 for calculating an assumed consumption amount of thread in the embroidery action acquired from initial embroidery data inputted in advance; a thread consumption amount detection mechanism 6 for detecting an actual consumption amount of thread; and a thread consumption amount adjustment part 7 for adjusting the embroidery data to be outputted based on a difference between the calculated assumed consumption amount of thread and the detected actual consumption amount of thread, and for adjusting the actual consumption amount of thread in the embroidery operation.SELECTED DRAWING: Figure 7

Description

本発明は、刺繍装置、染色・刺繍システム、及び糸の消費量調整方法に関する。 The present invention relates to an embroidery device, a dyeing / embroidery system, and a method for adjusting thread consumption.

刺繍装置において、様々な要因に起因して上糸と下糸の張力バランスがくずれることにより、上糸と下糸の消費量のバランスが変化してしまうことが知られている。 It is known that in an embroidery device, the balance of tension between the needle thread and the bobbin thread is disturbed due to various factors, so that the balance of consumption of the needle thread and the bobbin thread is changed.

そこで、特許文献1では、糸の消費量の変化による糸切れ等の不具合を事前に発見するために、上糸の消費量を検知する技術が提案されている。 Therefore, Patent Document 1 proposes a technique for detecting the consumption amount of the needle thread in order to detect in advance a defect such as thread breakage due to a change in the consumption amount of the thread.

しかし、特許文献1では、糸消費量の予測はできるがそれを刺繍状況に合わせて補正することができない。 However, in Patent Document 1, although the thread consumption can be predicted, it cannot be corrected according to the embroidery situation.

一方、刺繍装置の制御技術として、特許文献2では、色が変化する連続した上糸を用いて刺繍する際に、上糸の色の変わり目が刺繍表面に露出しないように刺繍するために、上糸の色が変化する色の変わり目を、上面側から見えないように刺繍する刺繍データが組まれている。 On the other hand, as a control technique for an embroidery device, in Patent Document 2, when embroidering using continuous needle threads that change color, the upper thread is used so that the color change of the needle thread is not exposed on the embroidery surface. Embroidery data is set up to embroider the color change where the thread color changes so that it cannot be seen from the upper surface side.

しかし、特許文献2のように、上糸の色の変わり目を、上面側から見えないように刺繍する刺繍データを作成しても、その後刺繍動作中に、上糸の消費量が予測から変化してしまうと、色の変わり目の位置がずれてしまう。 However, even if the embroidery data for embroidering the color change of the needle thread so as not to be seen from the upper surface side is created as in Patent Document 2, the consumption amount of the needle thread changes from the prediction during the embroidery operation thereafter. If this happens, the position of the color change will shift.

そこで、本発明は上記事情に鑑み、色が変化する連続した糸を用いた場合に、糸の実際の消費量が想定からずれても、刺繍動作中の布上の刺繍の色の位置ずれを解消する、刺繍装置の提供を目的とする。 Therefore, in view of the above circumstances, the present invention causes the position shift of the color of the embroidery on the cloth during the embroidery operation even if the actual consumption of the yarn deviates from the assumption when the continuous thread whose color changes is used. The purpose is to provide an embroidery device that eliminates the problem.

上記課題を解決するため、本発明の一態様では、
刺繍データに従って刺繍動作を行う刺繍装置において、
予め入力された初期刺繍データから得られる、刺繍動作における糸の想定消費量を算出する糸想定消費量算出部と、
実際の糸の消費量を検知する糸消費量検知機構と、
算出した前記糸の想定消費量と、検知した実際の糸の消費量の差に基づいて、出力する刺繍データを調整して、前記刺繍動作における実際の糸の消費量を調節する糸消費量調整部と、を備える
刺繍装置、を提供する。
In order to solve the above problems, in one aspect of the present invention,
In an embroidery device that performs embroidery operations according to embroidery data
A thread estimated consumption calculation unit that calculates the estimated consumption of thread in the embroidery operation obtained from the initial embroidery data input in advance, and
A thread consumption detection mechanism that detects the actual thread consumption,
Thread consumption adjustment that adjusts the output embroidery data based on the difference between the calculated estimated consumption of the thread and the detected actual consumption of the thread to adjust the actual consumption of the thread in the embroidery operation. Provides an embroidery device, which is equipped with a thread.

一態様によれば、刺繍装置において、色が変化する連続した糸を用いた場合に、糸の実際の消費量が想定からずれても、刺繍動作中の布上の刺繍の色の位置ずれを解消することができる。 According to one aspect, when a continuous thread whose color changes is used in the embroidery device, even if the actual consumption of the thread deviates from the assumption, the misalignment of the color of the embroidery on the cloth during the embroidery operation is caused. It can be resolved.

本発明の第1実施形態の係る刺繍装置の概略図。The schematic diagram of the embroidery apparatus which concerns on 1st Embodiment of this invention. 第1実施形態に係る刺繍装置の概略ブロック図。The schematic block diagram of the embroidery apparatus which concerns on 1st Embodiment. 布に対する上糸と下糸の上面側と下面側の縫い目の例を示す模式図。The schematic diagram which shows the example of the seam of the upper surface side and the lower surface side of the upper thread and the lower thread with respect to the cloth. 布に対する上糸と下糸による縫い目の複数の状態の断面模式図。Schematic diagram of a cross section of a plurality of states of a seam with a needle thread and a bobbin thread for a cloth. 本発明の刺繍装置における上糸の消費量検知に使用するセンサの説明図。The explanatory view of the sensor used for the consumption amount detection of the needle thread in the embroidery apparatus of this invention. 第1実施形態の第1制御例の刺繍データ編集機構及び演算機構の機能ブロック図。The functional block diagram of the embroidery data editing mechanism and the arithmetic mechanism of the 1st control example of 1st Embodiment. 第1実施形態の第1制御例に係る刺繍のフローチャート。The flowchart of the embroidery which concerns on the 1st control example of 1st Embodiment. 補正刺繍条件としてステッチ密度及びステッチ長さを変更する例。An example of changing the stitch density and stitch length as a correction embroidery condition. 補正刺繍条件としてステッチ密度を変更する場合の簡略化した補正例を示す表。Correction A table showing a simplified correction example when changing the stitch density as an embroidery condition. 補正刺繍条件としてステッチ長さを変更する場合の簡略化した補正例を示す表。Correction A table showing a simplified correction example when changing the stitch length as an embroidery condition. 補正刺繍条件として、裏に縫い込む例。An example of sewing on the back as a correction embroidery condition. 一般的な刺繍における下縫いの説明図。Explanatory drawing of understitch in general embroidery. 補正刺繍条件として下縫いのステッチを変更する場合の簡略化した補正例を示す表。A table showing a simplified correction example when changing the stitch of the bottom stitch as a correction embroidery condition. 補正刺繍条件として、下縫いのステッチ座標を変更する例。An example of changing the stitch coordinates of the bottom stitch as a correction embroidery condition. 第1実施形態の第2制御例の刺繍データ編集機構及び演算機構の機能ブロック図。The functional block diagram of the embroidery data editing mechanism and the arithmetic mechanism of the 2nd control example of 1st Embodiment. 第1実施形態の第2制御例に係る刺繍のフローチャート。The flowchart of the embroidery which concerns on the 2nd control example of 1st Embodiment. 第1実施形態の第3制御例の刺繍データ編集機構及び演算機構の機能ブロック図。The functional block diagram of the embroidery data editing mechanism and the arithmetic mechanism of the 3rd control example of 1st Embodiment. 第1実施形態の第3制御例に係る刺繍のフローチャート。The flowchart of the embroidery which concerns on the 3rd control example of 1st Embodiment. 第3制御例における光学式センサのセンサ位置と、針の先端までの距離の説明図。The explanatory view of the sensor position of the optical sensor and the distance to the tip of a needle in the 3rd control example. 本発明の第2実施形態に係る染色・刺繍システムの側面概略図。The side schematic of the dyeing / embroidery system which concerns on 2nd Embodiment of this invention. 本発明の第3実施形態に係る染色・刺繍システムの側面概略図。The side schematic of the dyeing / embroidery system which concerns on 3rd Embodiment of this invention. 第3実施形態の上位制御装置、染色装置及び刺繍装置の制御に係る機能ブロック図。The functional block diagram which concerns on the control of the superior control apparatus, the dyeing apparatus and the embroidery apparatus of the 3rd Embodiment.

以下、図面を参照して本発明を実施するための形態について説明する。下記、各図面において、同一構成部分には同一符号を付し、重複した説明を省略する場合がある。 Hereinafter, embodiments for carrying out the present invention will be described with reference to the drawings. In the following drawings, the same components may be designated by the same reference numerals and duplicate explanations may be omitted.

<第1実施形態>
まず、図1、図2を用いて刺繍装置1について説明する。図1は、本発明の第1実施形態における刺繍装置1の概略図である。図2は、本発明の第1実施形態における刺繍装置1の概略ブロック図である。
<First Embodiment>
First, the embroidery device 1 will be described with reference to FIGS. 1 and 2. FIG. 1 is a schematic view of the embroidery device 1 according to the first embodiment of the present invention. FIG. 2 is a schematic block diagram of the embroidery device 1 according to the first embodiment of the present invention.

図1に示す刺繍装置1は、針11と、下糸回転体12と、ステージ13と、上糸糸巻14と、ステッチセンサ15と、使用量検知機構の上糸検知部16と、刺繍ボディ19を有している。 The embroidery device 1 shown in FIG. 1 includes a needle 11, a bobbin thread rotating body 12, a stage 13, a needle thread winding 14, a stitch sensor 15, a needle thread detection unit 16 of a usage amount detection mechanism, and an embroidery body 19. have.

針11は、針先先端の針穴に上糸Nが通されており、布Cに対して上下方向に移動駆動可能である。 The needle 11 has a needle thread N passed through a needle hole at the tip of the needle tip, and can be moved and driven in the vertical direction with respect to the cloth C.

下糸回転体12は、下糸Bが巻回された下糸供給手段である下糸ボビン121と、フック122を有しており、下糸ボビン121およびフック122は、針11の移動に連動して回転する。図示はしていないが、下糸回転体12には、下糸ボビン121を収容する円筒状の中釜や、有底円筒上の外釜、フック122と一体化した円筒体のケースなども設けられている。なお、図1では、下糸ボビン121は、回転方向が縦方向の垂直回転方式(垂直全回転釜方式、垂直半回転釜方式)の例を示しているが、下糸ボビン121は、回転方向が横方向の水平回転方式(水平釜方式)であってもよい。 The bobbin thread rotating body 12 has a bobbin thread bobbin 121, which is a bobbin thread supply means around which the bobbin thread B is wound, and a hook 122, and the bobbin thread bobbin 121 and the hook 122 are interlocked with the movement of the needle 11. And rotate. Although not shown, the bobbin thread rotating body 12 is also provided with a cylindrical inner hook for accommodating the bobbin thread bobbin 121, an outer hook on a bottomed cylinder, a cylindrical case integrated with the hook 122, and the like. Has been done. In addition, in FIG. 1, the bobbin bobbin 121 shows an example of a vertical rotation method (vertical full rotation kettle method, vertical half-rotation kettle method) in which the rotation direction is a vertical direction, but the bobbin thread bobbin 121 has a rotation direction. May be a horizontal rotation method (horizontal kettle method) in the horizontal direction.

ステージ13は、布Cを保持する台であり、針11が通る穴130が形成されている。ステージ13は、布送りのために、X方向、Y方向に移動可能である。 The stage 13 is a table for holding the cloth C, and a hole 130 through which the needle 11 passes is formed. The stage 13 can move in the X direction and the Y direction for cloth feeding.

以降において、刺繍装置1の幅方向をX、刺繍装置1の奥行き方向をY、高さ方向(上下方向)をZと呼ぶ。 Hereinafter, the width direction of the embroidery device 1 is referred to as X, the depth direction of the embroidery device 1 is referred to as Y, and the height direction (vertical direction) is referred to as Z.

上糸糸巻14は、上糸Nが巻回されており、針11に上糸Nを供給する上糸供給手段である。 The needle thread winding 14 is a needle thread supply means in which the needle thread N is wound and the needle thread N is supplied to the needle 11.

ステッチセンサ15は、針11の上下運動を検知するセンサであって、例えば針11を保持する針棒に設けられ、針11が何回昇降したか、即ち何針分進んだかに相当する、ステッチ数を検知する。 The stitch sensor 15 is a sensor that detects the vertical movement of the needle 11, and is provided on a needle rod that holds the needle 11, for example, and corresponds to how many times the needle 11 moves up and down, that is, how many stitches it advances. Detect the number.

消費量検知機構の上糸検知部16は、センサ161(166)(図5参照)を含み、上糸糸巻14から巻き出された上糸Nが通り、上糸Nの実際の消費量を検出するために、上糸Nの搬送速度又は搬送タイミングを検出する手段である。上糸検知部16と、演算機構150の一部とで、糸消費量検知機構6(図6参照)となる。上糸検知部16の具体的な構成については、図5とともに詳述する。 The needle thread detection unit 16 of the consumption amount detection mechanism includes the sensor 161 (166) (see FIG. 5), through which the needle thread N unwound from the needle thread winding 14 passes, and detects the actual consumption amount of the needle thread N. This is a means for detecting the transport speed or the transport timing of the needle thread N. The needle thread detection unit 16 and a part of the calculation mechanism 150 form a thread consumption detection mechanism 6 (see FIG. 6). The specific configuration of the needle thread detection unit 16 will be described in detail together with FIG.

刺繍ボディ19は、刺繍ヘッド191と、下部ボディ192とを有している。刺繍ヘッド191には、演算機構150(図2参照)が設けられており、上糸Nが通る針11の動き(運針)、及びステージ13の移動を制御することで、上糸Nと、上糸Nの送りに応じて送られる下糸Bを用いて、布Cに刺繍を行う。下部ボディ192は、刺繍ヘッド191と連接され、ステージ13と下糸回転体12を駆動する駆動部が設けられている。 The embroidery body 19 has an embroidery head 191 and a lower body 192. The embroidery head 191 is provided with a calculation mechanism 150 (see FIG. 2), and by controlling the movement (needle movement) of the needle 11 through which the needle thread N passes and the movement of the stage 13, the needle thread N and the upper thread N are controlled. The cloth C is embroidered using the bobbin thread B that is fed in response to the feed of the thread N. The lower body 192 is connected to the embroidery head 191 and is provided with a drive unit for driving the stage 13 and the bobbin thread rotating body 12.

また、本発明において、上糸及び下糸を含む「糸」とは、ガラス繊維糸、ウール糸、綿糸、合成糸、金属糸、ウール、綿、ポリマー、または金属の混合糸、ヤーン、フィラメント、あるいは液体を付与可能な線状部材(連続基材)であり、組紐、平紐なども含んでいる。 Further, in the present invention, the "yarn" including the needle yarn and the bobbin yarn is a glass fiber yarn, a wool yarn, a cotton yarn, a synthetic yarn, a metal yarn, a wool, a cotton, a polymer, or a mixed yarn of a metal, a yarn, a filament, and the like. Alternatively, it is a linear member (continuous base material) to which liquid can be applied, and includes braids, flat cords, and the like.

また、図2を参照して、刺繍装置1は、駆動制御に係る部分として、刺繍データ編集機構140と、演算機構150と、駆動ドライバ160と、駆動モータ17と、針上下駆動部181と、下糸回転駆動部182と、X軸駆動部183と、Y軸駆動部184と、を有している。このうち、少なくとも、駆動ドライバ160と、駆動モータ17と、針上下駆動部181は、針11の上側の刺繍ヘッド191内に内蔵されている。また、刺繍データ編集機構140と、演算機構150も刺繍ヘッド191内に内蔵されていてもよい。一方ステージ13を移動する駆動部183,184と、下糸回転駆動部182は、下部ボディ192に設けられている。 Further, referring to FIG. 2, the embroidery device 1 has an embroidery data editing mechanism 140, a calculation mechanism 150, a drive driver 160, a drive motor 17, a needle up / down drive unit 181 as parts related to drive control. It has a bobbin thread rotation drive unit 182, an X-axis drive unit 183, and a Y-axis drive unit 184. Of these, at least the drive driver 160, the drive motor 17, and the needle vertical drive unit 181 are built in the embroidery head 191 on the upper side of the needle 11. Further, the embroidery data editing mechanism 140 and the calculation mechanism 150 may also be built in the embroidery head 191. On the other hand, the drive units 183 and 184 that move the stage 13 and the bobbin thread rotation drive unit 182 are provided on the lower body 192.

刺繍データ編集機構140は、刺繍データの元となる刺繍イメージ(刺繍ファイル)を取得して、刺繍イメージに基づいて、刺繍データ(初期刺繍データ)を作成する。さらに、刺繍データ編集機構140は、作成した初期刺繍データ、又は演算機構150の制御により必要に応じて初期刺繍データから差し替えた修正刺繍データを、出力用の刺繍データとして、駆動ドライバ160に出力する。 The embroidery data editing mechanism 140 acquires an embroidery image (embroidery file) that is the source of the embroidery data, and creates embroidery data (initial embroidery data) based on the embroidery image. Further, the embroidery data editing mechanism 140 outputs the created initial embroidery data or the modified embroidery data replaced from the initial embroidery data as necessary by the control of the calculation mechanism 150 to the drive driver 160 as embroidery data for output. ..

ここで、刺繍イメージとは、布上の刺繍模様の原稿となる画像データ(刺繍デザインデータ)である。刺繍データ編集機構140の刺繍データ作成部402は、画像情報である刺繍イメージを色ごとに分解し、刺繍模様の布上の大きさに基づいて、使用する糸の色と、糸上の各色の継続長さを決定し、決定された色の糸を用いて布上に縫目を形成させるような刺繍データを作成する。 Here, the embroidery image is image data (embroidery design data) that is a manuscript of an embroidery pattern on a cloth. The embroidery data creation unit 402 of the embroidery data editing mechanism 140 decomposes the embroidery image, which is image information, for each color, and based on the size of the embroidery pattern on the cloth, the color of the thread to be used and each color on the thread. The continuation length is determined, and the embroidery data is created so that the thread of the determined color is used to form a stitch on the cloth.

さらに詳しくは、刺繍データとは、「針を移動する座標のデータと、その座標で実施する事項を組み合わせたデータ」である。その座標で実施する事項は、具体的には、
(1)針を布に刺して下糸とからめ、再び布の表に針を戻して、その後次に針を刺すべき位置に移動すること、
(2)刺繍を終了、中断する(他の針に切り替えること・刺繍が連続しない離れた場所へ移動するために糸を切断することを含む)こと、
(3)イニシャライズ位置(位置合わせ位置)に移動すること、
等が含まれる。また、刺繍データのファイルとしては「.dst」、「.pes」等の形式が一般に知られている。初期刺繍データは、最初に設定するデータであって、糸消費量に応じた編集前の刺繍データである。
More specifically, the embroidery data is "data that combines data on coordinates for moving the needle and items to be implemented at those coordinates". Specifically, the matters to be implemented at those coordinates are
(1) Insert the needle into the cloth, entangle it with the bobbin thread, return the needle to the surface of the cloth again, and then move it to the position where the needle should be inserted next.
(2) Ending or interrupting embroidery (including switching to another needle and cutting the thread to move to a distant place where the embroidery is not continuous),
(3) Moving to the initialization position (alignment position),
Etc. are included. Further, as the embroidery data file, formats such as ".dst" and ".pes" are generally known. The initial embroidery data is the data to be initially set and is the embroidery data before editing according to the thread consumption.

演算機構150は、初期刺繍データに基づいて上糸の想定消費量を算出するとともに、ステッチセンサ15等で検出した何針進んだかの進行状況と、糸消費量検知機構6で検出した実際の上糸Nの消費量を参照して、必要に応じてずれを補正する刺繍条件を設定して、刺繍データ編集機構140に出力する。 The calculation mechanism 150 calculates the estimated consumption of the needle thread based on the initial embroidery data, the progress of how many stitches have been advanced detected by the stitch sensor 15 and the like, and the actual upper thread detected by the thread consumption detection mechanism 6. With reference to the consumption amount of the thread N, the embroidery condition for correcting the deviation is set as necessary and output to the embroidery data editing mechanism 140.

駆動ドライバ160は、刺繍データに基づいて駆動モータ17を駆動制御する。 The drive driver 160 drives and controls the drive motor 17 based on the embroidery data.

針上下駆動部181は、所謂天秤と呼ばれ、駆動モータ17に連結する上軸の回転運動を上下運動に変換することで、上糸Nが通された針11の上下の移動を駆動する。 The needle vertical drive unit 181 is a so-called balance, and drives the vertical movement of the needle 11 through which the needle thread N is passed by converting the rotational movement of the upper shaft connected to the drive motor 17 into vertical movement.

下糸回転駆動部182は、上記上軸と、ベルト・カム・クランクを介して連結した下軸の回転運動によって、針11の上下運動と連動して、下糸回転体12を回転させる。 The bobbin rotation drive unit 182 rotates the bobbin thread rotating body 12 in conjunction with the vertical movement of the needle 11 by the rotational movement of the upper shaft and the lower shaft connected via the belt cam crank.

X軸駆動部183と、Y軸駆動部184は、ステージ移動駆動部(布送り部)であって、下軸の回転運動によって、針11の上下運動及び下糸回転体12の回転と連動して、布Cが載置されたステージ13のX方向、Y方向の移動を駆動する。この際、布Cを送る方法として、ステージ13の全体を移動させてもよいし、あるいは、ステージ13に形成された穴13Oに設けられた送り歯を移動させてもよい。 The X-axis drive unit 183 and the Y-axis drive unit 184 are stage movement drive units (cloth feed units), and are interlocked with the vertical movement of the needle 11 and the rotation of the bobbin thread rotating body 12 by the rotational movement of the lower axis. Then, the movement of the stage 13 on which the cloth C is placed is driven in the X direction and the Y direction. At this time, as a method of feeding the cloth C, the entire stage 13 may be moved, or the feed dog provided in the hole 13O formed in the stage 13 may be moved.

針上下駆動部181と、下糸回転駆動部182と、X軸駆動部183と、Y軸駆動部184は、1つの駆動モータ17によって連動して駆動される駆動機構18となる。そのため、駆動モータ17の回転により、針11の上下運動、下糸回転体12の回転運動、ステージ13上の布CのXY移動が発生する。例えば、針11の1回の上下運動は、下糸回転体12の、1又は整数回の回転運動と連動している。 The needle up / down drive unit 181, the bobbin thread rotation drive unit 182, the X-axis drive unit 183, and the Y-axis drive unit 184 are drive mechanisms 18 driven in conjunction with one drive motor 17. Therefore, the rotation of the drive motor 17 causes the needle 11 to move up and down, the bobbin thread rotating body 12 to rotate, and the cloth C to move XY on the stage 13. For example, one vertical movement of the needle 11 is linked to one or an integral number of rotational movements of the bobbin thread rotating body 12.

(上糸と下糸の張力)
図3は、布に対する上糸と下糸の上面側と下面側の縫い目の例を示す模式図である。図3において(a)は上面図であり、(b)は下面図である。図4は、布上の縫い目における上糸と下糸のバランスを説明する図である。図4において(a)は上糸と下糸の張力バランスが適正の場合、(b)は上糸の張力が大きい場合、(c)は下糸の張力が大きい場合を示す。
(Tension of needle thread and bobbin thread)
FIG. 3 is a schematic view showing an example of seams on the upper surface side and the lower surface side of the upper thread and the lower thread with respect to the cloth. In FIG. 3, (a) is a top view and (b) is a bottom view. FIG. 4 is a diagram illustrating a balance between a needle thread and a bobbin thread at a seam on a cloth. In FIG. 4, (a) shows the case where the tension balance between the needle thread and the bobbin thread is appropriate, (b) shows the case where the tension of the needle thread is large, and (c) shows the case where the tension of the bobbin thread is large.

刺繍装置1において、針11が降下して針11が布Cを貫通するとき、上糸Nも針11と共に布Cの裏側に引き込まれる。その後、針11が上昇して布Cから抜かれて布Cの表側に戻るときには、布Cとの間の摩擦力により、上糸Nは布Cの裏側にループを作って残る。このとき、下糸回転体12の回転によってループ状の上糸Nに、フック122が引っかかり、上糸Nのループの中に下糸Bが通る。さらに、針11が布Cの上方に上昇する際に、上糸Nと下糸Bとが交わった位置を、布Cまで引き上げることで、布C上に縫い目が形成される。 In the embroidery device 1, when the needle 11 is lowered and the needle 11 penetrates the cloth C, the needle thread N is also drawn to the back side of the cloth C together with the needle 11. After that, when the needle 11 rises and is pulled out from the cloth C and returns to the front side of the cloth C, the needle thread N remains in a loop on the back side of the cloth C due to the frictional force between the needle 11 and the cloth C. At this time, the hook 122 is caught by the loop-shaped upper thread N due to the rotation of the lower thread rotating body 12, and the lower thread B passes through the loop of the upper thread N. Further, when the needle 11 rises above the cloth C, the position where the needle thread N and the bobbin thread B intersect is pulled up to the cloth C, so that a seam is formed on the cloth C.

このように形成した縫い目の一例を、図3に示す。図3は、上から下へ面を埋めるように模様縫い(サテンステッチ)で刺繍した縫い目の拡大図である。なお、裏面の図3(b)では糸の関係をわかりやすく説明するため、点線で囲んだ上糸Nと下糸Bとの引っ掛かり部分を緩く示しているが、実際は、引っ掛かり部分は上糸Nと下糸Bは接触して互いに引き合っている。 An example of the seam thus formed is shown in FIG. FIG. 3 is an enlarged view of a seam embroidered with a pattern stitch (satin stitch) so as to fill the surface from top to bottom. In addition, in FIG. 3B on the back surface, in order to explain the relationship between the threads in an easy-to-understand manner, the hooked portion between the needle thread N and the bobbin thread B surrounded by the dotted line is loosely shown, but in reality, the hooked portion is the needle thread N. And the bobbin thread B are in contact with each other and are attracted to each other.

図4は、図3の一点鎖線で示す領域の断面図である。図3の縫い目の断面において、上糸と下糸の張力バランスが適正の場合は、図4(a)に示すような断面となる。 FIG. 4 is a cross-sectional view of the region shown by the alternate long and short dash line in FIG. In the cross section of the seam of FIG. 3, when the tension balance between the needle thread and the bobbin thread is appropriate, the cross section is as shown in FIG. 4 (a).

このように形成した縫い目において、上糸Nの張力が大きい場合、図4(b)に示すように上糸Nが下糸Bを引くため、図4(a)の適正バランスの場合と比較して、上糸Nの布Cの裏側への回り込み量が少なくなる。即ち、裏面側における、下糸の長さBLが長く、上糸の長さNLが短くなる。そのため、上糸の張力が大きい状態が続くと、上糸の消費量(使用量)が予測よりも少なくなり、上糸Nの消費速度が遅くなる。 In the seam formed in this way, when the tension of the needle thread N is large, the needle thread N pulls the bobbin thread B as shown in FIG. 4 (b). Therefore, the amount of the needle thread N wrapping around to the back side of the cloth C is reduced. That is, the length BL of the bobbin thread on the back surface side is long, and the length NL of the needle thread is short. Therefore, if the tension of the needle thread continues to be high, the consumption amount (usage amount) of the needle thread becomes smaller than expected, and the consumption rate of the needle thread N becomes slower.

一方、上糸の張力が小さい場合、図4(c)に示すように上糸Nが下糸Bに引かれるため、図4(a)の適正バランスの場合と比較して、上糸Nの布Cの裏側への回り込み量が多くなる。即ち、裏面側における、下糸の長さBLが短く、上糸の長さNLが長くなる。そのため、上糸の張力が小さい状態が続くと、上糸Nの消費量が予測よりも多くなり、上糸Nの消費速度が速くなる。 On the other hand, when the tension of the needle thread is small, the needle thread N is pulled by the bobbin thread B as shown in FIG. 4 (c). The amount of wraparound to the back side of the cloth C increases. That is, the length BL of the bobbin thread on the back surface side is short, and the length NL of the needle thread is long. Therefore, if the tension of the needle thread continues to be low, the consumption amount of the needle thread N becomes larger than expected, and the consumption rate of the needle thread N becomes faster.

このように、上糸Nの消費速度は布Cの裏への回り込み量に左右される。図4(b)や図4(c)のように回り込み量が予測から異なる状況で、刺繍を続けていくうちに上糸の消費の予測量と、累積で消費される糸量に大きく差が出てくる。上糸の色に合わせて糸の消費が設定されるため、又は上糸の染色は糸消費量の予測位置に対して行うため、色付きの糸が正しい位置に配置されないと、刺繍後の色の位置がずれ、布上の刺繍模様の画が崩れてしまう。 As described above, the consumption rate of the needle thread N depends on the amount of wraparound to the back of the cloth C. As shown in FIGS. 4 (b) and 4 (c), when the amount of wraparound is different from the predicted amount, there is a large difference between the predicted amount of needle thread consumption and the cumulative amount of thread consumed as the embroidery is continued. Come out. Because the thread consumption is set according to the color of the needle thread, or because the needle thread is dyed for the predicted position of the thread consumption, if the colored thread is not placed in the correct position, the color after embroidery will be used. The position shifts and the embroidery pattern on the cloth collapses.

そこで本発明では、上糸の消費量を検知し、予測されていた消費量との差を小さくするように、刺繍動作を調整することによって糸消費量の調整を行う。 Therefore, in the present invention, the thread consumption is adjusted by detecting the consumption of the needle thread and adjusting the embroidery operation so as to reduce the difference from the predicted consumption.

上糸Nの消費量の差の検知方法としては、実際に検知した検知情報を基にした実際の上糸消費量(糸消費量検知機構6の検知情報)と、刺繍がどこまで進んだのかという情報(ステッチセンサ15から算出される座標位置情報)と、初期刺繍データから予測される糸想定消費量とを比較する。本発明では、特に検知が必要な糸の色の変わり目の少し前で実際の上糸消費量を検知・算出し、想定消費量と比較することで、上糸の消費状況のずれ量を算出し、糸の切り替え位置までに刺繍を調整できる。 As a method of detecting the difference in the consumption amount of the needle thread N, the actual needle thread consumption amount (detection information of the thread consumption amount detection mechanism 6) based on the actually detected detection information and how far the embroidery has progressed. The information (coordinate position information calculated from the stitch sensor 15) is compared with the estimated thread consumption amount predicted from the initial embroidery data. In the present invention, the actual amount of needle thread consumption is detected and calculated shortly before the change in the color of the thread that needs to be detected, and the amount of deviation in the consumption status of the needle thread is calculated by comparing with the assumed consumption amount. , The embroidery can be adjusted up to the thread switching position.

(上糸消費量検知のしくみ)
図5は、本発明の刺繍装置1における上糸Nの消費量検知に使用するセンサの説明図である。図5において、(a)は上糸検知部16を、ロータリーエンコーダ161を含んで構成した図であり、(b),(c)は、上糸検知部16Bを、光学式センサ166を含んで構成した図である。ロータリーエンコーダ161、光学式センサ166をセンサと呼ぶ。
(Mechanism of needle thread consumption detection)
FIG. 5 is an explanatory diagram of a sensor used for detecting the consumption of the needle thread N in the embroidery device 1 of the present invention. In FIG. 5, (a) is a diagram in which the needle thread detection unit 16 is configured to include the rotary encoder 161 and (b) and (c) include the needle thread detection unit 16B and the optical sensor 166. It is a constructed figure. The rotary encoder 161 and the optical sensor 166 are called sensors.

図5(a)に示す検知方法では、センサ161は、上糸の搬送に連れ回る搬送ローラ164に設けられたセンサであって、上糸Nの検知と、色とを関連づけない。なお、図5(a)では搬送ローラ164に適切に上糸Nが巻き付くように、上糸Nの直前にも搬送ローラ165が設けられている例を示している。 In the detection method shown in FIG. 5A, the sensor 161 is a sensor provided on the transport roller 164 that accompanies the transport of the needle thread, and does not relate the detection of the needle thread N to the color. Note that FIG. 5A shows an example in which the transfer roller 165 is provided immediately before the needle thread N so that the needle thread N is appropriately wound around the transfer roller 164.

例えば、搬送ローラ164には、連れ回りセンサとして、ロータリーエンコーダ161が設けられている。ロータリーエンコーダ161は、搬送ローラ164と共に回転するエンコーダホイール162と、エンコーダホイール162のスリットを読取るエンコーダセンサ163で構成されている。 For example, the transfer roller 164 is provided with a rotary encoder 161 as a rotation sensor. The rotary encoder 161 is composed of an encoder wheel 162 that rotates together with a transfer roller 164 and an encoder sensor 163 that reads a slit of the encoder wheel 162.

この構成では、上糸Nが搬送されることで、上糸Nを案内している搬送ローラ164が回転してロータリーエンコーダ161のエンコーダホイール162が回転し、エンコーダセンサ163から上糸Nの線速に比例したエンコーダパルスが生成出力される。 In this configuration, when the needle thread N is conveyed, the transfer roller 164 guiding the needle thread N rotates, the encoder wheel 162 of the rotary encoder 161 rotates, and the linear speed of the needle thread N from the encoder sensor 163. An encoder pulse proportional to is generated and output.

そして、演算機構150側に設けられた上糸消費量算出部504(図6参照)では、搬送ローラ164の回転とともに生成されたエンコーダパルスの回転量から、上糸Nの搬送量の累積搬送量を算出することで、糸消費量を算出する。本構成では、上糸検知部16と、上糸消費量算出部504とで、糸消費量検知機構6を構成する。 Then, in the needle thread consumption calculation unit 504 (see FIG. 6) provided on the calculation mechanism 150 side, the cumulative transfer amount of the needle thread N is transferred from the rotation amount of the encoder pulse generated with the rotation of the transfer roller 164. By calculating, the yarn consumption is calculated. In this configuration, the needle thread detection unit 16 and the needle thread consumption amount calculation unit 504 constitute the thread consumption amount detection mechanism 6.

図5(a)の構成では、色の変化を、上糸Nの消費量の検知に使用しないため、例えば、想定された、針11の先端に色替え位置が到達する所定ステッチ数前など、同じ色が続く位置で検知を要求された場合に、特別な色の目印や境界がなくても、そのタイミングで上糸Nの消費量を検出できる。このセンサ161を用いた制御については、第1制御例、第2制御例として、図7、図16のフローとともに詳述する。 In the configuration of FIG. 5A, since the color change is not used for detecting the consumption amount of the needle thread N, for example, before a predetermined number of stitches when the color change position reaches the tip of the needle 11, which is assumed, etc. When detection is requested at a position where the same color continues, the consumption amount of the needle thread N can be detected at that timing even if there is no special color mark or boundary. The control using the sensor 161 will be described in detail with the flow of FIGS. 7 and 16 as a first control example and a second control example.

図5(b)、図5(c)に示す光学式センサ166は、搬送ローラ167,168間で張った状態の上糸Nの色を検知することで、上糸N上の特定色の検知タイミングを読み取る。 The optical sensor 166 shown in FIGS. 5 (b) and 5 (c) detects a specific color on the needle thread N by detecting the color of the needle thread N in a stretched state between the transport rollers 167 and 168. Read the timing.

図5(b)に示す検知方法では、上糸Nに、目印となる他の部分とは異なる色の箇所を設けておく。そして、光学式センサ166は、センサと対向する位置(センサ位置)で、その目印マーカーを読み取ったタイミングを、上糸Nの検知タイミングとして検出する。 In the detection method shown in FIG. 5B, the needle thread N is provided with a portion having a color different from that of the other portion serving as a mark. Then, the optical sensor 166 detects the timing at which the mark marker is read at the position facing the sensor (sensor position) as the detection timing of the needle thread N.

マーカーは予め糸上の所定の位置に設けられていることで、マーカーの位置の検知タイミングがわかれば、これまでの搬送距離、即ち、実際の糸消費量がわかる。ここで、光学式センサ166の検知位置から針11の先端までの距離と、マーカー検知時における、刺繍位置(刺繍のどこを縫っているか)がステッチセンサ15又は駆動ドライバ160から分かれば、検知タイミングから実際の刺繍のどの位置にマーカー位置が来るのかは算出できる。そして、マーカーの検知タイミングがわかれば、その時点における想定されたマーカー位置までの想定消費量も算出できる。 Since the marker is provided at a predetermined position on the yarn in advance, if the detection timing of the marker position is known, the previous transport distance, that is, the actual yarn consumption amount can be known. Here, if the distance from the detection position of the optical sensor 166 to the tip of the needle 11 and the embroidery position (where the embroidery is sewn) at the time of marker detection are known from the stitch sensor 15 or the drive driver 160, the detection timing From this, it is possible to calculate at which position of the actual embroidery the marker position comes. Then, if the marker detection timing is known, the estimated consumption amount up to the assumed marker position at that time can also be calculated.

図5(c)に示す検知方法では、上糸は、搬送方向において異なる色が連続して設けられている。そして、光学式センサ166は、センサと対向する位置で、異なる色の境界(色替え位置)を読み取ったタイミングを、上糸Nの検知タイミングとして検出する。 In the detection method shown in FIG. 5 (c), the needle thread is continuously provided with different colors in the transport direction. Then, the optical sensor 166 detects the timing at which the boundary (color change position) of a different color is read at the position facing the sensor as the detection timing of the needle thread N.

色替え位置は予め糸上の所定の位置に設けられていることで、色替え位置の検知タイミングがわかれば、これまでの搬送距離、即ち、実際の糸消費量がわかる。ここで、光学式センサ166の検知位置から針11の先端までの距離と、色替え検知時における刺繍位置が、ステッチセンサ15又は駆動ドライバ160から分かれば、実際の刺繍のどの位置に色替え位置が来るのかは算出できる。そして、色替え位置の検知タイミングがわかれば、その時点における想定された色替え位置までの想定消費量も算出できる。 Since the color change position is provided at a predetermined position on the yarn in advance, if the detection timing of the color change position is known, the previous transport distance, that is, the actual yarn consumption amount can be known. Here, if the distance from the detection position of the optical sensor 166 to the tip of the needle 11 and the embroidery position at the time of color change detection are known from the stitch sensor 15 or the drive driver 160, the color change position is in which position of the actual embroidery. Can be calculated. Then, if the detection timing of the color change position is known, the estimated consumption amount up to the assumed color change position at that time can also be calculated.

図5(b)、図5(c)で示すセンサ166を用いた構成では、上糸検知部16Bと、上糸消費量算出部504と、色替え位置記憶部513(図17参照)で、糸消費量検知機構6Bを構成する。図5(b)、図5(c)で示すセンサ166を用いた制御については、第3制御例として、図18のフロー及び図19の説明図とともに詳述する。 In the configuration using the sensor 166 shown in FIGS. 5 (b) and 5 (c), the needle thread detection unit 16B, the needle thread consumption calculation unit 504, and the color change position storage unit 513 (see FIG. 17) are used. It constitutes the thread consumption detection mechanism 6B. The control using the sensor 166 shown in FIGS. 5 (b) and 5 (c) will be described in detail as a third control example together with the flow of FIG. 18 and the explanatory diagram of FIG.

このように、いずれの構成のセンサ161、166を用いても、本発明の刺繍装置1において、上糸Nの実際の消費量を取得することができる。 As described above, the actual consumption amount of the needle thread N can be obtained in the embroidery apparatus 1 of the present invention by using the sensors 161 and 166 having any configuration.

(第1制御例の機能ブロック)
図6は、第1実施形態の第1制御例における刺繍装置1の刺繍データ編集機構140及び演算機構150の機能ブロック図である。刺繍データ編集機構140及び演算機構150は、いずれも制御装置であって、例えばCPU(Central Processing Unit)、ASIC(Application Specific Integrated Circuit)、FPGA(Field Programmable Gate Array)等の情報処理装置によって実現される。
(Functional block of the first control example)
FIG. 6 is a functional block diagram of the embroidery data editing mechanism 140 and the arithmetic mechanism 150 of the embroidery device 1 in the first control example of the first embodiment. Both the embroidery data editing mechanism 140 and the arithmetic mechanism 150 are control devices, and are realized by information processing devices such as a CPU (Central Processing Unit), an ASIC (Application Specific Integrated Circuit), and an FPGA (Field Programmable Gate Array). To.

刺繍データ編集機構140は、刺繍イメージ取得部401と、刺繍データ作成部402と、修正刺繍データ作成部403、刺繍データ差替部404と、を実行可能に有している。 The embroidery data editing mechanism 140 has an embroidery image acquisition unit 401, an embroidery data creation unit 402, a correction embroidery data creation unit 403, and an embroidery data replacement unit 404 in an executable manner.

刺繍イメージ取得部401は、画像データである刺繍イメージ(刺繍ファイル)を取得する。 The embroidery image acquisition unit 401 acquires an embroidery image (embroidery file) which is image data.

刺繍データ作成部402は、取得した刺繍イメージに基づいて、刺繍データ(初期刺繍データ)を作成する。刺繍データとは、上述のように針11を移動する座標のデータとその位置で何をするかがペアになったデータである。なお、図6では、刺繍データ編集機構140において、刺繍イメージに基づいて、初期刺繍データを作成する例を示しているが、初期刺繍データが直接外部から入力されてもよい。 The embroidery data creation unit 402 creates embroidery data (initial embroidery data) based on the acquired embroidery image. The embroidery data is data in which coordinates for moving the needle 11 and what to do at that position are paired as described above. Although FIG. 6 shows an example in which the embroidery data editing mechanism 140 creates the initial embroidery data based on the embroidery image, the initial embroidery data may be directly input from the outside.

修正刺繍データ作成部403は、刺繍データ作成部402で作成した初期刺繍データに対して、必要な場合に補正用の刺繍条件を反映した修正刺繍データを作成する。 The modified embroidery data creating unit 403 creates modified embroidery data reflecting the correction embroidery conditions, if necessary, with respect to the initial embroidery data created by the embroidery data creating unit 402.

刺繍データ差替部404には、初期刺繍データと修正刺繍データが入力されており、補正が不要な場合は、初期刺繍データを出力する刺繍データとして駆動ドライバ160へ送り、補正が必要な場合は、修正刺繍データを出力する刺繍データとして、駆動ドライバ160へ送る。 Initial embroidery data and modified embroidery data are input to the embroidery data replacement unit 404. If correction is not required, the initial embroidery data is sent to the drive driver 160 as embroidery data to be output, and if correction is required, it is sent to the drive driver 160. , The modified embroidery data is sent to the drive driver 160 as embroidery data to be output.

演算機構150は、ステッチデータ監視部501、現在刺繍位置把握部502、消費量検知ステッチ数抽出部503、上糸消費量算出部504、上糸想定消費量算出部505、消費量ずれ量算出部506、補正閾値記憶部507、ずれ補正要否判定部508、所定色糸残量算出部509、及びずれ補正刺繍条件設定部510を実行可能に有している。 The calculation mechanism 150 includes a stitch data monitoring unit 501, a current embroidery position grasping unit 502, a consumption amount detection stitch number extraction unit 503, a needle thread consumption amount calculation unit 504, a needle thread estimated consumption amount calculation unit 505, and a consumption amount deviation amount calculation unit. It has 506, a correction threshold storage unit 507, a deviation correction necessity determination unit 508, a predetermined color thread remaining amount calculation unit 509, and a deviation correction embroidery condition setting unit 510.

ステッチデータ監視部501は、ステッチセンサ15から出力される何針分すすんだか、即ち、現在どのステッチを縫っているのかのデータであるステッチデータ(ステッチ数)をリアルタイムに取得する。 The stitch data monitoring unit 501 acquires stitch data (number of stitches), which is data of how many stitches are output from the stitch sensor 15, that is, which stitch is currently being sewn, in real time.

現在刺繍位置把握部502は、初期刺繍データと、ステッチデータから、初期刺繍データのうちどこまで刺繍をすすめたかという、現在の刺繍位置データを算出する。 The current embroidery position grasping unit 502 calculates the current embroidery position data, which is the extent to which the embroidery is recommended from the initial embroidery data and the stitch data.

消費量検知ステッチ数抽出部503は、初期刺繍データに基づいて、色が変化する連続した上糸Nにおいて、目印や境界の色の糸上の位置の時点t2よりも数十ステッチだけ手前の時点t1までの糸消費量と、その糸上の位置までの消費量に対応するステッチ数を抽出して記憶しておく。 Based on the initial embroidery data, the consumption detection stitch number extraction unit 503 is a time point that is several tens of stitches before the time point t2 at the position on the thread of the mark or the boundary color in the continuous needle thread N whose color changes. The thread consumption up to t1 and the number of stitches corresponding to the consumption up to the position on the thread are extracted and stored.

そして、ステッチデータ監視部501は、ステッチセンサ15で検知したステッチ数が、消費量検知ステッチ数抽出部503で抽出された消費量検知ステッチ数に到達するタイミングt1で、センサ161に検出指示を送る。ロータリーエンコーダであるセンサ161はその時点t1における累積搬送量を検知する。 Then, the stitch data monitoring unit 501 sends a detection instruction to the sensor 161 at the timing t1 when the number of stitches detected by the stitch sensor 15 reaches the number of consumption detection stitches extracted by the consumption amount detection stitch number extraction unit 503. .. The sensor 161 which is a rotary encoder detects the cumulative transfer amount at the time point t1.

上糸消費量算出部(糸消費量算出部)504は、ステッチ数と、センサ161で検知した累積搬送量を基に、上糸101の実際の消費量を算出する。これにより、上糸消費量算出部504は、想定される色が切り替わる時点t2よりも数十ステッチだけ手前の時点t1(現時点)における実際の糸の消費量を算出する。 The needle thread consumption calculation unit (thread consumption calculation unit) 504 calculates the actual consumption amount of the needle thread 101 based on the number of stitches and the cumulative transfer amount detected by the sensor 161. As a result, the needle thread consumption calculation unit 504 calculates the actual thread consumption at the time point t1 (current time), which is several tens of stitches before the time point t2 at which the assumed color is switched.

上糸想定消費量算出部(糸想定消費量算出部)505は、初期刺繍データと、現在のステッチデータ(何針分進んだかというデータ)を基づいて、針が進む毎の、想定される上糸の消費量(想定消費量)を予測する。上糸Nの想定消費量は、例えば、縫い目間のステッチが長く、ステージ13上の布Cの移動距離が長い刺繍が続く場合に多くなり、ステッチが短く、ステージ13上の布Cの移動距離が短い刺繍が続く場合に少なくなる。 The needle thread estimated consumption calculation unit (thread estimated consumption calculation unit) 505 is estimated for each needle advance based on the initial embroidery data and the current stitch data (data indicating how many stitches have been advanced). Predict thread consumption (estimated consumption). The assumed consumption of the needle thread N is, for example, large when the stitch between the stitches is long and the moving distance of the cloth C on the stage 13 is long, and the stitch is short, and the moving distance of the cloth C on the stage 13 is long. Is reduced when short embroidery continues.

詳しくは、上糸想定消費量算出部505は時点t1における糸の想定消費量を算出する。さらに、糸上の色が切り替わる前の所定色の染色領域において、想定される色が切り替わる時点t2までの所定色の糸の累積想定消費量も算出する。 Specifically, the needle thread estimated consumption amount calculation unit 505 calculates the estimated consumption amount of the thread at the time point t1. Further, in the dyeing region of the predetermined color before the color on the yarn is switched, the cumulative estimated consumption of the yarn of the predetermined color up to the time t2 when the assumed color is switched is also calculated.

消費量ずれ量算出部506は、現在刺繍位置把握部502から現在の刺繍位置データを取得して、上糸消費量算出部504で算出した実際の上糸消費量(時点t1で検出・算出された実際の糸消費量)の、上糸想定消費量算出部505で予測した時点t1での想定消費量からの、ずれ量を算出する。 The consumption amount deviation amount calculation unit 506 acquires the current embroidery position data from the current embroidery position grasping unit 502, and the actual needle thread consumption amount calculated by the needle thread consumption amount calculation unit 504 (detected and calculated at time point t1). The amount of deviation from the estimated consumption amount at the time point t1 predicted by the needle thread estimated consumption amount calculation unit 505 of the actual yarn consumption amount) is calculated.

補正閾値記憶部507は、初期刺繍データの補正が必要となる上糸消費量のずれ量の閾値(所定値)を記憶しておく。 The correction threshold storage unit 507 stores a threshold value (predetermined value) for the amount of deviation of the needle thread consumption that requires correction of the initial embroidery data.

ずれ補正要否判定部508は、消費量ずれ量算出部506で算出したずれ量と、補正閾値記憶部507で記憶されたずれ量の閾値とを比較し、初期刺繍データの補正が必要か否かを判定する。 The deviation correction necessity determination unit 508 compares the deviation amount calculated by the consumption amount deviation amount calculation unit 506 with the threshold value of the deviation amount stored in the correction threshold storage unit 507, and determines whether or not the initial embroidery data needs to be corrected. Is determined.

所定色糸残量算出部509は、上糸消費量算出部504で算出された時点t1の糸の実際の消費量から、時点t1から糸上の色の切り替わり位置までの所定の色が継続される糸の残りの量(残糸量)を算出する。 The predetermined color thread remaining amount calculation unit 509 continues the predetermined color from the time point t1 to the color switching position on the thread from the actual consumption amount of the thread at the time point t1 calculated by the needle thread consumption amount calculation unit 504. Calculate the remaining amount of thread (remaining thread amount).

ずれ補正刺繍条件設定部510は、ずれ補正要否判定部508で、初期刺繍データの補正が必要と判定された場合に、初期刺繍データを補正するための、様々な刺繍条件を設定する。補正のための刺繍条件は、例えば、ステッチ密度調整(図8、図9)、ステッチ長さ調整(図8、図10)、ステッチ増減(背面縫い込み)、下縫いのステッチ座標調整(図13、図14)など、初期刺繍データから縫い方を調整するものである。 The deviation correction embroidery condition setting unit 510 sets various embroidery conditions for correcting the initial embroidery data when the deviation correction necessity determination unit 508 determines that the initial embroidery data needs to be corrected. The embroidery conditions for correction are, for example, stitch density adjustment (FIG. 8 and 9), stitch length adjustment (FIG. 8 and FIG. 10), stitch increase / decrease (back stitching), and stitch coordinate adjustment of understitch (FIG. 13). , FIG. 14), etc., adjust the sewing method from the initial embroidery data.

この際、ずれ補正刺繍条件設定部510は、糸上の色が切り替わる前の所定色の染色領域において、実際に色が切り替わる時点t2'における所定色の実際の糸の累積消費量と、想定される色が切り替わる時点t2における所定色の糸の累積想定消費量とが同じになるように、消費量の差を基に、時点t1から実際の色替え位置である時点t2'までの期間T12において、残糸量を適切に消費すべく、刺繍条件を設定する。それぞれの刺繍条件の詳細は、図8~図14とともに詳述する。 At this time, the misalignment correction embroidery condition setting unit 510 is assumed to be the cumulative consumption of the actual thread of the predetermined color at the time t2'when the color is actually switched in the dyed region of the predetermined color before the color on the thread is switched. In the period T12 from the time point t1 to the time point t2'which is the actual color change position based on the difference in the consumption amount so that the cumulative estimated consumption amount of the yarn of the predetermined color at the time point t2 when the color is switched is the same. , Set the embroidery conditions to properly consume the remaining thread amount. The details of each embroidery condition will be described in detail together with FIGS. 8 to 14.

そして、初期刺繍データに補正が必要な場合は、修正刺繍データ作成部403は、初期刺繍データの一部に対して、ずれ補正刺繍条件設定部510で設定した補正用の刺繍条件を適用して、修正刺繍データを作成する。 Then, when the initial embroidery data needs to be corrected, the correction embroidery data creation unit 403 applies the correction embroidery condition set by the deviation correction embroidery condition setting unit 510 to a part of the initial embroidery data. , Create modified embroidery data.

刺繍データ差替部404は、現在刺繍位置把握部502で把握された現在の刺繍位置を参照して、時点t1から実際の色替え位置である時点t2'までの期間T12において、差し替えた修正刺繍データを、出力用の刺繍データとして、駆動ドライバ160へ送る。刺繍データ差替部404は、上記以外の期間では、初期刺繍データを、出力用の刺繍データとして、駆動ドライバ160へ送る。 The embroidery data replacement unit 404 refers to the current embroidery position grasped by the current embroidery position grasping unit 502, and replaces the modified embroidery in the period T12 from the time point t1 to the time point t2'which is the actual color change position. The data is sent to the drive driver 160 as embroidery data for output. In the period other than the above, the embroidery data replacement unit 404 sends the initial embroidery data to the drive driver 160 as embroidery data for output.

本実施形態では、刺繍装置1における、消費量ずれ量算出部506、補正閾値記憶部507、ずれ補正要否判定部508、所定色糸残量算出部509、ずれ補正刺繍条件設定部510、修正刺繍データ作成部403、刺繍データ差替部404が、糸消費量調整部7として機能する。さらに糸消費量調整部7の中で、所定色糸残量算出部509、ずれ補正刺繍条件設定部510、修正刺繍データ作成部403、刺繍データ差替部404が、刺繍量調整部8として機能する。 In the present embodiment, the consumption amount deviation amount calculation unit 506, the correction threshold storage unit 507, the deviation correction necessity determination unit 508, the predetermined color thread remaining amount calculation unit 509, the deviation correction embroidery condition setting unit 510, and the correction in the embroidery device 1. The embroidery data creation unit 403 and the embroidery data replacement unit 404 function as the thread consumption adjustment unit 7. Further, in the thread consumption adjustment unit 7, the predetermined color thread remaining amount calculation unit 509, the deviation correction embroidery condition setting unit 510, the correction embroidery data creation unit 403, and the embroidery data replacement unit 404 function as the embroidery amount adjustment unit 8. do.

(第1制御例のフローチャート)
図7は、本発明の第1実施形態の第1制御例に係る刺繍のフローチャートである。本フローは、図5(a)に示すロータリーエンコーダ161を糸消費量検知機構のセンサとして使用する場合に適用される。
(Flow chart of the first control example)
FIG. 7 is a flowchart of embroidery according to the first control example of the first embodiment of the present invention. This flow is applied when the rotary encoder 161 shown in FIG. 5A is used as a sensor of the yarn consumption detection mechanism.

ステップS101で、刺繍装置1は、刺繍イメージを取得する。 In step S101, the embroidery device 1 acquires an embroidery image.

ステップS102で、刺繍データ編集機構140は、初期刺繍データを作成するとともに、演算機構150は、針毎(ステッチ毎)の、上糸の想定消費量を算出する。 In step S102, the embroidery data editing mechanism 140 creates initial embroidery data, and the calculation mechanism 150 calculates the estimated consumption of the needle thread for each needle (for each stitch).

ステップS103で、刺繍装置1において初期刺繍データに従った刺繍動作を開始するとともに、ステッチセンサ15で、針11のステッチ数の検知(カウント)を開始する。 In step S103, the embroidery device 1 starts the embroidery operation according to the initial embroidery data, and the stitch sensor 15 starts the detection (counting) of the number of stitches of the needle 11.

ステップS104で、カウントしたステッチ数が、色替え位置の所定ステッチ数前である消費量検知ステッチ数に到達したら、ステップS105で、糸消費量検知機構6で、上糸Nの実際の消費量を検知・算出する。色替え位置の所定ステッチ数前とは、例えば、色替え位置の、10~数10ステッチ前を指す。 When the number of stitches counted in step S104 reaches the number of consumption detection stitches before the predetermined number of stitches at the color change position, in step S105, the thread consumption detection mechanism 6 determines the actual consumption of the needle thread N. Detect and calculate. The predetermined number of stitches before the color change position means, for example, 10 to several tens of stitches before the color change position.

ステップS106で、演算機構150で、S105で検出・算出された実際の上糸Nの消費量と、S102で算出された想定消費量のうちS104で到達したステッチ数と対応づけられる上糸の想定消費量とを比較して、消費量のずれ量を算出する。即ち、S106では、想定される色が切り替わる(未来の)時点t2よりも数十ステッチだけ手前の時点t1(現時点)における実際の糸の消費量と、その時点t1(現時点)における想定消費量とを比較する。 In step S106, the calculation mechanism 150 assumes the needle thread to be associated with the actual consumption of the needle thread N detected and calculated in S105 and the number of stitches reached in S104 out of the estimated consumption calculated in S102. The deviation amount of the consumption amount is calculated by comparing with the consumption amount. That is, in S106, the actual consumption of the thread at the time point t1 (current time), which is several tens of stitches before the (future) time point t2 at which the assumed color is switched, and the estimated consumption amount at that time point t1 (current time). To compare.

ステップS107で、S106で算出したずれ量が所定量以上の場合(YES)、S108に進み、ずれ量が所定量未満の場合は(S107でNO)、S114に進んで初期刺繍データのままで、刺繍を続ける。 In step S107, if the deviation amount calculated in S106 is greater than or equal to the predetermined amount (YES), the process proceeds to S108, and if the deviation amount is less than the predetermined amount (NO in S107), the process proceeds to S114 and the initial embroidery data remains. Continue embroidery.

ステップS108では、演算機構150において、ずれ量を補正するために刺繍条件を設定する。 In step S108, the calculation mechanism 150 sets the embroidery condition in order to correct the deviation amount.

そのため、刺繍条件として、糸上の色が切り替わる未来の時点t2'における実際の糸の消費量と、その未来の時点t2'における想定消費量とが同じになるように、時点t1(現時点)から未来の時点t2'までの(未来の)期間T12における消費量を調整する。なお、調整に用いられる、未来の時点t2'は実際の糸上の色が切り替わる位置にステッチが到達する時点であり、糸残量と刺繍の調整の仕方によって変化する時点である。例えば、現時点t1での実際の消費量が想定消費量よりも少なければ期間T12での消費量を増やし、現時点t1での実際の消費量が想定消費量よりも多ければ期間T12での消費量を減らすように、刺繍条件を設定する。 Therefore, as an embroidery condition, from the time point t1 (current time) so that the actual consumption amount of the thread at the future time point t2'when the color on the thread is switched becomes the same as the estimated consumption amount at the future time point t2'. Adjust the consumption in the (future) period T12 up to the future time point t2'. The future time point t2'used for adjustment is the time when the stitch reaches the position where the color on the actual thread is switched, and is the time when the remaining amount of thread and the method of adjusting the embroidery change. For example, if the actual consumption at the current t1 is less than the assumed consumption, the consumption during the period T12 is increased, and if the actual consumption at the current t1 is larger than the assumed consumption, the consumption during the period T12 is increased. Set embroidery conditions to reduce.

ステップS109で、刺繍データ編集機構140において、初期刺繍データに、補正用の刺繍条件を反映して、修正された刺繍データ(修正刺繍データ)を作成する。 In step S109, the embroidery data editing mechanism 140 creates corrected embroidery data (corrected embroidery data) by reflecting the correction embroidery conditions in the initial embroidery data.

ステップS110で、刺繍データ編集機構140において、出力する刺繍データを、初期刺繍データから、修正刺繍データに差し替えて、駆動ドライバ160に出力する。 In step S110, the embroidery data to be output by the embroidery data editing mechanism 140 is replaced with the modified embroidery data from the initial embroidery data and output to the drive driver 160.

ステップS111で、S112で針11の先端に実際の色替え位置の時点t2'に到達するまでの期間T12、差し替えた刺繍データ(修正刺繍データ)に基づいて、駆動ドライバ160が駆動モータ17を駆動制御して刺繍を実施する。 In step S111, the drive driver 160 drives the drive motor 17 based on the replaced embroidery data (corrected embroidery data) during the period T12 until the point t2'of the actual color change position is reached at the tip of the needle 11 in S112. Control and embroider.

ステップS112で、針11の先端に実際の糸上の色替え位置が到達するタイミング(時点t2')に到達したら、ステップS113で初期刺繍データに戻して刺繍を実施する。 When the timing (time point t2') at which the actual color change position on the thread reaches the tip of the needle 11 in step S112 is reached, the initial embroidery data is returned to and embroidery is performed in step S113.

そして、S115で、ステッチ数が、次の色替え位置の時点(t2a)の所定ステッチ数前(t1a)である消費量検知ステッチ数に到達したら、S105~S114の消費量の算出及び刺繍データの調整を行い、ステップS116で全刺繍データが終了するまで、刺繍データに沿った刺繍を実行する。 Then, in S115, when the number of stitches reaches the number of consumption detection stitches (t1a) before the predetermined number of stitches (t1a) at the time of the next color change position (t2a), the consumption amount of S105 to S114 is calculated and the embroidery data is calculated. Adjustment is performed, and stitching according to the stitch data is executed until all stitch data is completed in step S116.

ステップS116で、全刺繍データが終了したら、刺繍装置1における刺繍を終了する。 When all the embroidery data is completed in step S116, the embroidery in the embroidery device 1 is completed.

このように、本制御例では、初期刺繍データから算出されるステッチ数に対応付けられた上糸の想定消費量と、ステッチ数をカウントして検出・算出された実際の上糸の消費量との差に応じて、初期刺繍データに対して刺繍条件を設定して修正刺繍データを作成し、その修正刺繍データに従って刺繍することで、上糸Nの消費量を調整する。 As described above, in this control example, the estimated consumption amount of the needle thread associated with the number of stitches calculated from the initial embroidery data and the actual consumption amount of the needle thread detected and calculated by counting the number of stitches. According to the difference between the above, the embroidery conditions are set for the initial embroidery data, the modified embroidery data is created, and the needle thread N is consumed by embroidering according to the modified stitch data.

例えば、刺繍装置1では、上述のように単一の駆動源である駆動モータ17によって、針11の上下運動の間隔に合わせて、下糸ボビン121が回転すると、縫い目において、上糸と下糸が、ちょうどよいバランスが保たれるように調整されている。ここで、ステッチの長短が大幅に変化する時点など、刺繍装置1における上糸使用量が大幅に変化するタイミングでは、上糸Nの張力は急激に変動する。しかし、上糸糸巻14の回転の慣性力により、巻き出し直後の上糸Nの張力は、急激には変化できないが、上糸使用量が大幅に変化するタイミングで下糸の張力は下糸ボビン121の回転に応じて変化するため、上糸と下糸の張力の差で生じた、縫い目における上糸と下糸のバランスの不均衡が発生する。これにより一時的に上糸の実際の消費量が、想定値から増減する。 For example, in the embroidery device 1, when the bobbin thread 121 is rotated according to the interval of the vertical movement of the needle 11 by the drive motor 17 which is a single drive source as described above, the needle thread and the bobbin thread are threaded at the seam. However, it is adjusted to maintain the right balance. Here, the tension of the needle thread N suddenly fluctuates at the timing when the amount of needle thread used in the embroidery device 1 changes significantly, such as when the length of the stitch changes significantly. However, the tension of the needle thread N immediately after unwinding cannot be changed suddenly due to the rotational inertia force of the needle thread winding 14, but the tension of the bobbin thread is changed at the timing when the amount of the needle thread used changes drastically. Since it changes according to the rotation of 121, an imbalance in the balance between the needle thread and the bobbin thread at the seam occurs due to the difference in tension between the needle thread and the bobbin thread. As a result, the actual consumption of the needle thread temporarily increases or decreases from the assumed value.

そこで本発明では、上糸を、別の部分において縫い方自体を調整するように刺繍データを合成することで、刺繍に使用する糸の消費量を調整する。このような制御により、刺繍装置1において、色が変化する連続した上糸を用いた場合に、上下糸の張力差等により、上糸の使用量が想定と異なった場合でも、刺繍装置1における消費量のずれに起因する色の位置ずれを解消することができる。 Therefore, in the present invention, the consumption amount of the thread used for embroidery is adjusted by synthesizing the embroidery data so as to adjust the sewing method itself of the needle thread in another portion. With such control, when the embroidery device 1 uses continuous needle threads that change color, even if the amount of needle threads used differs from the assumption due to the tension difference between the upper and lower threads, the embroidery device 1 It is possible to eliminate the color misalignment caused by the consumption shift.

(補正用の刺繍条件の例)
下記図8~図14を用いて、補正用の刺繍条件について説明する。
(Example of embroidery conditions for correction)
The embroidery conditions for correction will be described with reference to FIGS. 8 to 14 below.

図8は、補正刺繍条件としてステッチ密度及びステッチ長さを変更する例を示す。図8(a)は、色の切り変わりのある刺繍の一例を示す図であり、図8(b)~(d)は、図8(a)の刺繍の領域を、面を埋めるように模様縫い(サテンステッチ)で刺繍した縫い目の拡大図である。図8(b)は、消費量にずれがなく初期刺繍データに従って刺繍した基準となる縫い目の拡大図である。図8(c)は、初期刺繍データの縫い目の密度を調整して刺繍した縫い目の拡大図である。図8(d)は、初期刺繍データの縫い目の幅(ステッチ長さ)を調整して刺繍した縫い目の拡大図である。 FIG. 8 shows an example of changing the stitch density and the stitch length as the correction embroidery condition. 8 (a) is a diagram showing an example of embroidery with color change, and FIGS. 8 (b) to 8 (d) are patterns so as to fill the surface of the embroidery area of FIG. 8 (a). It is an enlarged view of the seam embroidered by the stitch (satin stitch). FIG. 8B is an enlarged view of a reference seam embroidered according to the initial embroidery data without any deviation in the consumption amount. FIG. 8C is an enlarged view of the seams embroidered by adjusting the seam density of the initial embroidery data. FIG. 8D is an enlarged view of the seam embroidered by adjusting the seam width (stitch length) of the initial embroidery data.

図9は、補正刺繍条件としてステッチ密度を変更する場合の簡略化した補正例を示す表である。図10は補正刺繍条件としてステッチ長さを変更する場合の簡略化した補正例を示す表である。図9、図10の表において、横列の1行目L1では初期刺繍データを示し、2行目L2では上糸消費状態を示し、3行目L3では調整後のステッチ幅(ステッチ長さ)を示し、4行目L4では調整後のステッチ間隔を示し、5行目L5では調整なしで起きる状態を示し、6行目L6では調整後のステッチの状態を示している。また、2行目以降で、縦列の1列目C1では消費量が少ない場合を示し、2列目C2は消費量が補正不要な場合を示し、3列目C3では消費量が多い場合を示している。 FIG. 9 is a table showing a simplified correction example when the stitch density is changed as the correction embroidery condition. FIG. 10 is a table showing a simplified correction example when the stitch length is changed as the correction embroidery condition. In the tables of FIGS. 9 and 10, the first row L1 of the row shows the initial embroidery data, the second row L2 shows the needle thread consumption state, and the third row L3 shows the adjusted stitch width (stitch length). In the fourth row L4, the adjusted stitch interval is shown, in the fifth row L5, the state of occurrence without adjustment is shown, and in the sixth row L6, the adjusted stitch state is shown. Further, in the second and subsequent rows, the first column C1 in the column shows the case where the consumption amount is small, the second column C2 shows the case where the consumption amount does not need to be corrected, and the third column C3 shows the case where the consumption amount is large. ing.

ここで、図8で左側から刺繍が進んでいく時、色が変化する連続した上糸による色の切り替え位置を検討する。図8(a)のような刺繍を考えると、消費量にずれがなく初期刺繍データに従って刺繍した基準となる縫い目の拡大図は、図8(b)のようになる。図8(b)の時点t1以降を簡略化して具体化した例が、図9、図10の表のL1に示す初期刺繍データとなる。 Here, in FIG. 8, when the embroidery proceeds from the left side, the color switching position by the continuous needle thread whose color changes is examined. Considering the embroidery as shown in FIG. 8A, the enlarged view of the reference seam embroidered according to the initial embroidery data without any deviation in the consumption amount is as shown in FIG. 8B. An example in which the time point t1 and later in FIG. 8B is simplified and embodied is the initial embroidery data shown in L1 in the tables of FIGS. 9 and 10.

ここで、検知、算出された上糸の実際の消費量が予測と異なり、実際の上糸消費量が想定消費量よりも少ない場合、調整をしないと、上糸が余り、図9、図10のL5C1に示すように、色の切り替わり位置が右側に移動する。 Here, if the actual consumption of the needle thread detected and calculated is different from the prediction and the actual needle thread consumption is less than the assumed consumption amount, the needle thread will be left over if adjustment is not performed, and FIGS. 9 and 10 show. As shown in L5C1 of, the color switching position moves to the right.

一方、実際の上糸消費量が想定消費量よりも多い場合、調整をしないと、上糸が足りなくなり、上糸が余り、図9、図10のL5C3に示すように、色の切り替わり位置が左側に移動する。 On the other hand, when the actual consumption of the needle thread is larger than the expected consumption, if the adjustment is not performed, the needle thread will be insufficient and the needle thread will be excessive, and the color switching position will be as shown in L5C3 of FIGS. 9 and 10. Move to the left.

(補正例1)
このような事態を防ぐために、例えば1つの補正例として、図8(c)、図9に示す例では、色の切り替わり位置までの糸を縫う密度を調整することで上糸の消費量を調整する。この調整は刺繍ステッチの密度が、ユーザーが指定した値以上のときに実行可能となる。
(Correction example 1)
In order to prevent such a situation, for example, in the example shown in FIGS. 8 (c) and 9 as one correction example, the consumption amount of the needle thread is adjusted by adjusting the sewing density of the thread up to the color switching position. do. This adjustment can be performed when the density of the embroidery stitch is greater than or equal to the value specified by the user.

図8の例では、図8(b)の初期刺繍データに沿った刺繍では、23針のステッチで黒色の領域を塗りつぶしているが、実際の上糸消費量が想定消費量よりも多い、図8(c)の調整後の刺繍では、25針のステッチで、黒色の領域を塗りつぶしている。 In the example of FIG. 8, in the embroidery according to the initial embroidery data of FIG. 8B, the black area is filled with the stitches of 23 stitches, but the actual needle thread consumption is larger than the assumed consumption. In the adjusted embroidery of 8 (c), the black area is filled with 25 stitches.

また、図9の例では、L1の初期刺繍データに沿った刺繍と、C2に示す実際と想定のずれ量が所定量以内の場合の刺繍では、t1t2間およびt1t2'間において、ステッチ間隔0.3mmで11針のステッチで黒色の領域を塗りつぶしている。 Further, in the example of FIG. 9, in the embroidery according to the initial embroidery data of L1 and the embroidery when the actual and assumed deviation amount shown in C2 is within a predetermined amount, the stitch interval is 0. The black area is filled with 11 stitches at 3 mm.

図9で実際の上糸消費量が想定消費量よりも少ない場合、C1L6に示す調整後の刺繍では、ステッチ間隔が0.2mmで15針のステッチで、t1t2'間の黒色の領域を塗りつぶしている。 When the actual needle thread consumption in FIG. 9 is less than the assumed consumption, in the adjusted embroidery shown in C1L6, the black area between t1t2'is filled with a stitch interval of 0.2 mm and 15 stitches. There is.

このように、上下糸の張力差等により、想定される色の切り替え時点t2の数十ステッチ前の時点t1で、実際の糸の使用量が想定よりも少なくなってしまう場合は、色の切り替わり位置までの糸残量が多いことになる。そのため、実際の糸の色の切り替わり位置に到達するまでの補正期間(t1からt2'の期間)において、刺繍の密度を多くすることで糸の使用量を多くすることができる。 In this way, if the actual amount of thread used is less than expected at the time t1 several tens of stitches before the expected color switching time t2 due to the tension difference between the upper and lower threads, the color switching The remaining amount of thread to the position is large. Therefore, in the correction period (the period from t1 to t2') until the actual thread color switching position is reached, the amount of thread used can be increased by increasing the density of embroidery.

これにより、糸の黒色染色領域(色替わり前の領域)において、実際に色が切り替わる未来の時点t2'における実際の糸の累積消費量と、想定される色の切り替え位置である未来の時点t2における糸の累積想定消費量とが同じになる。よって、実際の連続する糸の色の切り替え位置を、刺繍イメージ上の色の切り替え位置にそろえることができる。 As a result, in the black dyed region of the yarn (the region before the color change), the actual cumulative consumption of the yarn at the future time point t2'where the color actually changes and the future time point t2 which is the assumed color switching position. Is the same as the cumulative estimated consumption of yarn in. Therefore, the actual continuous thread color switching position can be aligned with the color switching position on the embroidery image.

なお、図9の表では簡略化して示しているため、L5とL6で黒色の残り糸長さについて絵に不整合があるが、実際の制御では、L5に示す調整なしで起きる状態のt1~t2の色替え前の(黒色の)糸長さ(未来の時点t2における糸の累積想定消費量に相当)が、L6に示す調整後の状態におけるt1~t2'以降の色替え前の(黒色の)の糸長さ(未来の時点t2'における実際の糸の累積消費量)と等しくなるように制御する。 Since the table in FIG. 9 is simplified, there is a discrepancy in the picture regarding the remaining thread length of black in L5 and L6, but in actual control, t1 to the state that occurs without the adjustment shown in L5. The thread length (black) before the color change of t2 (corresponding to the cumulative estimated consumption of the thread at the future time point t2) is the state after the adjustment shown in L6 before the color change (black) after t1 to t2'. The yarn length (of) is controlled to be equal to the actual yarn consumption at the future time point t2'.

一方、図9で実際の上糸消費量が想定消費量よりも多い場合では、C3L6に示す調整後の刺繍では、ステッチ間隔が0.4mmで7針のステッチで、t1t2'間の黒色の領域を塗りつぶしている。 On the other hand, when the actual needle thread consumption is larger than the assumed consumption in FIG. 9, in the adjusted embroidery shown in C3L6, the stitch interval is 0.4 mm, the stitches are 7 stitches, and the black area between t1t2'. Is filled.

このように、上下糸の張力差等により、想定される色の切り替え時点t2の数十ステッチ前の時点t1で、実際の糸の使用量が想定よりも多くなってしまう場合は、色の切り替わり位置までの糸残量が少ないことになる。そのため、実際の糸の色の切り替わり位置に到達するまでの補正期間(t1からt2'の期間)において、刺繍の密度を少なくすることで糸の使用量を少なくすることができる。 In this way, if the actual amount of thread used is larger than expected at the time t1 several tens of stitches before the expected color switching time t2 due to the tension difference between the upper and lower threads, the color switching The remaining amount of thread to the position is low. Therefore, in the correction period (the period from t1 to t2') until the actual thread color switching position is reached, the thread usage can be reduced by reducing the embroidery density.

これにより、糸の黒色染色領域(色替わり前の領域)において、実際に色が切り替わる未来の時点t2'における実際の糸の累積消費量と、想定される色の切り替え位置である未来の時点t2における糸の累積想定消費量とが同じになる。これにより、実際の連続する糸の色の切り替え位置を、刺繍イメージ上の色の切り替え位置にそろえることができる。 As a result, in the black dyed region of the yarn (the region before the color change), the actual cumulative consumption of the yarn at the future time point t2'where the color actually changes and the future time point t2 which is the assumed color switching position. Is the same as the cumulative estimated consumption of yarn in. As a result, the actual continuous thread color switching position can be aligned with the color switching position on the embroidery image.

ここで、図8(c)、図9のL6C1のように、実際の糸の使用量が想定よりも少ない場合に、ステッチの密度を調整する補正では、実際の色の切り替わり時点t2'は想定される色の切り替わり時点t2よりも遅く到達する。一方、図9のL6C3のように、実際の糸の使用量が想定よりも多い場合は実際の色の切り替わり時点t2'は想定される色の切り替わり時点t2よりも早く到達する。 Here, in the correction for adjusting the stitch density when the actual amount of thread used is smaller than expected as in L6C1 of FIGS. 8 (c) and 9, the actual color switching time point t2'is assumed. It arrives later than the time t2 when the color is switched. On the other hand, as in L6C3 of FIG. 9, when the actual amount of yarn used is larger than expected, the actual color switching time point t2'reaches earlier than the expected color switching time point t2.

この制御では、想定される色の切り替え位置である未来の時点t2の、数十ステッチ前の時点t1において、どのステッチを縫っているかのデータ(ステッチデータ)と初期刺繍データから想定される糸消費量と、実際の消費量の差を検知する。そして、その差を基に、差が閾値以上の場合、検知の時点t1から実際の色替え位置である未来の時点t2'までの期間(補正期間)T12において、図8(c)、図9のL4C1、L4C3に示すように、ステッチ間隔を調整することで、刺繍のステッチ密度を変更した修正刺繍データに、出力する刺繍データを置き換える。 In this control, the thread consumption assumed from the data (stitch data) and the initial embroidery data of which stitch is sewn at the time point t1 before several tens of stitches at the future time point t2 which is the assumed color switching position. Detects the difference between the amount and the actual consumption. Then, based on the difference, when the difference is equal to or larger than the threshold value, in the period (correction period) T12 from the detection time point t1 to the future time point t2'which is the actual color change position, FIGS. 8 (c) and 9 As shown in L4C1 and L4C3 of the above, by adjusting the stitch interval, the output embroidery data is replaced with the modified embroidery data in which the stitch density of the embroidery is changed.

なお、第1実施形態のように、刺繍装置1内部で制御する場合は、どのステッチを縫っているかのステッチ数のデータは、駆動ドライバ160の駆動制御タイミングから自動取得してもよいし、あるいは、ステッチセンサ15によるステッチ数から検知してもよい。 When controlling the stitches inside the embroidery device 1 as in the first embodiment, the data of the number of stitches indicating which stitch is sewn may be automatically acquired from the drive control timing of the drive driver 160, or may be obtained. , It may be detected from the number of stitches by the stitch sensor 15.

(補正例2)
また、他の補正例として、図8(d)、図10に示すように、黒い部分(色替え前の領域)のみ刺繍の幅(縫い目の幅)、即ち、ステッチの長さを、見た目に分からないようにミリ単位で増減させることで上糸の消費量を調整する。この調整は刺繍ステッチの長さ(縫い目の幅)が、ユーザーが指定した値以上のときに実行可能となる。
(Correction example 2)
Further, as another correction example, as shown in FIGS. 8D and 10, the width of the embroidery (the width of the seam), that is, the length of the stitch is visually determined only in the black portion (the area before the color change). Adjust the amount of needle thread consumption by increasing or decreasing in millimeters so that you do not know. This adjustment can be performed when the length of the embroidery stitch (seam width) is greater than or equal to the value specified by the user.

図8の例では、実際の上糸消費量が想定消費量よりも少ないため、図8(b)の初期刺繍データに沿った刺繍のステッチ長さよりも、図8(d)の調整後の刺繍の方が、ステッチ長さが長い。このような調整により、実際の糸の色の切り替わり位置までの補正期間において、糸の使用量を多くすることができる。 In the example of FIG. 8, since the actual needle thread consumption is smaller than the assumed consumption, the adjusted embroidery of FIG. 8 (d) is more than the stitch length of the embroidery according to the initial embroidery data of FIG. 8 (b). Has a longer stitch length. By such adjustment, the amount of yarn used can be increased in the correction period until the actual yarn color switching position.

また、図10の例では、L1の初期刺繍データに沿った刺繍と、C2に示す実際と想定のずれ量が所定量以内の場合の刺繍では、t1t2間およびt1t2'間において、ステッチ長さ10mmで、黒色の領域を塗りつぶしている。 Further, in the example of FIG. 10, in the embroidery according to the initial embroidery data of L1 and the embroidery when the actual and assumed deviation amount shown in C2 is within a predetermined amount, the stitch length is 10 mm between t1t2 and t1t2'. The black area is filled with.

図10において、実際の上糸消費量が想定消費量よりも少ない場合、調整後の刺繍では、C1L6に示すように、ステッチ長さ(縫い目の幅)が11mmで、t1t2'間の黒色の領域を塗りつぶしている。このような調整により、補正期間において、糸の使用量を多くすることができる。 In FIG. 10, when the actual needle thread consumption is smaller than the assumed consumption, in the adjusted embroidery, as shown in C1L6, the stitch length (seam width) is 11 mm and the black region between t1t2'. Is filled. By such adjustment, the amount of yarn used can be increased during the correction period.

一方、上糸消費量が想定消費量よりも多い場合、調整後の刺繍では、C3L6に示すように、ステッチ長さ(ステッチ幅)が9mmで、t1t2'間の黒色の領域を塗りつぶしている。このような調整により、補正期間において、糸の使用量を少なくすることができる。 On the other hand, when the needle thread consumption is larger than the assumed consumption, in the adjusted embroidery, as shown in C3L6, the stitch length (stitch width) is 9 mm, and the black area between t1t2'is filled. By such adjustment, the amount of yarn used can be reduced during the correction period.

この制御では、想定される色の切り替え位置である未来の時点t2の、数十ステッチ前の時点t1において、どのステッチを縫っているかのデータ(ステッチデータ)と初期刺繍データから想定される糸消費量と、実際の消費量の差を検知する。そして、その差を基に、差が閾値以上の場合、検知の時点t1から実際の色替え位置である未来の時点t2'まで期間(補正期間)T12に、刺繍の幅(ステッチ長さ)を変更した修正刺繍データに、出力する刺繍データを置き換える。 In this control, the thread consumption assumed from the data (stitch data) and the initial embroidery data of which stitch is sewn at the time point t1 before several tens of stitches at the future time point t2 which is the assumed color switching position. Detects the difference between the amount and the actual consumption. Then, based on the difference, when the difference is equal to or greater than the threshold value, the embroidery width (stitch length) is set in the period (correction period) T12 from the detection time point t1 to the future time point t2'which is the actual color change position. Replace the output embroidery data with the changed modified embroidery data.

この補正例では、ステッチ長さを変更するが、ステッチ数は変化しないため、刺繍を調整しても、補正期間に要する刺繍時間は補正前とほとんど変化はない。 In this correction example, the stitch length is changed, but the number of stitches does not change. Therefore, even if the embroidery is adjusted, the embroidery time required for the correction period is almost the same as that before the correction.

なお、図10の表では簡略化して示しているため、L5とL6で黒色の残り糸長さについて絵に不整合があるが、実際の制御では、L5に示す調整なしで起きる状態のt1~t2の色替え前の(黒色の)糸長さ(未来の時点t2における糸の累積想定消費量に相当)が、L6に示す調整後の状態におけるt1~t2'以降の色替え前の(黒色の)の糸長さ(未来の時点t2'における実際の糸の累積消費量)と等しくなるように制御する。 Since the table in FIG. 10 is shown in a simplified manner, there is a discrepancy in the picture regarding the remaining thread length of black in L5 and L6, but in actual control, t1 to the state that occurs without the adjustment shown in L5. The thread length (black) before the color change of t2 (corresponding to the cumulative estimated consumption of the thread at the future time point t2) is the state after the adjustment shown in L6 before the color change (black) after t1 to t2'. The yarn length (of) is controlled to be equal to the actual yarn consumption at the future time point t2'.

このように、補正期間においてステッチ長さ(ステッチ幅)を調整することで、実際の連続する糸の色の切り替え位置を、刺繍イメージ上の色の切り替え位置にそろえることができる。 In this way, by adjusting the stitch length (stitch width) during the correction period, the actual continuous thread color switching position can be aligned with the color switching position on the embroidery image.

このように補正例1、補正例2では、刺繍の密度や刺繍の幅を補正のための刺繍条件のデータとして、色の切り替えの直前で、色の切り替えまでの期間、リアルタイムに調整して、出力する刺繍データを置き換えることで、刺繍に使用する糸の消費量を調整する。このような制御により、刺繍装置1において、色が変化する連続した上糸を用いた場合に、上糸の使用量が想定と異なった場合でも、色の切り替えまでの期間の軽微な調整であって、刺繍イメージにおける刺繍領域をほとんど変化させずに、刺繍装置1における消費量のずれに起因する色の位置ずれを、解消することができる。 In this way, in Correction Example 1 and Correction Example 2, the embroidery density and embroidery width are used as data for the embroidery conditions for correction, and are adjusted in real time immediately before the color switching and during the period until the color switching. By replacing the output embroidery data, the consumption of thread used for embroidery is adjusted. With such control, when the embroidery device 1 uses continuous needle threads that change color, even if the amount of needle thread used is different from the expected amount, it is a slight adjustment of the period until the color is switched. Therefore, it is possible to eliminate the color misalignment caused by the consumption shift in the embroidery apparatus 1 with almost no change in the embroidery area in the embroidery image.

(補正例3)
図11は、補正刺繍条件として、裏に縫い込む例を示す。検知した糸の消費量が、想定消費量より少ない場合、次に刺繍予定の刺繍の下に縫い込んでしまうよう、初期刺繍データを置き換えてもよい。図11では、左側の黒色の糸が実際の消費量が少なく余るため、右側に灰色の糸の刺繍が始まる直前に、刺繍の裏に縫い込んで黒色の糸を消費している。この調整により、糸の使用量を多くすることができる。
(Correction example 3)
FIG. 11 shows an example of sewing on the back as a correction embroidery condition. If the detected thread consumption is less than the expected consumption, the initial embroidery data may be replaced so that the thread is sewn under the embroidery to be embroidered next. In FIG. 11, since the actual consumption of the black thread on the left side is small, the black thread is sewn on the back of the embroidery just before the embroidery of the gray thread on the right side starts, and the black thread is consumed. By this adjustment, the amount of yarn used can be increased.

本制御では、検知の時点t1から想定される色の切り替え位置である未来の時点t2までは、初期刺繍データ通りに刺繍を行い、時点t2から実際に色が切り替わる位置である未来の時点t2'までは、裏縫いにより、糸を消費する。これにより、糸の黒色染色領域において、実際に色が切り替わる未来の時点t2'における実際の糸の累積消費量と、想定される未来の時点t2における糸の累積想定消費量とが同じになる。よって、実際の連続する糸の色の切り替え位置を、刺繍イメージ上の色の切り替え位置にそろえることができる。 In this control, embroidery is performed according to the initial embroidery data from the detection time t1 to the future time point t2, which is the assumed color switching position, and the future time point t2', which is the position where the color actually switches from the time point t2. Until then, the back stitch consumes the thread. As a result, in the black dyed region of the yarn, the actual cumulative consumption of the yarn at the future time point t2'where the color actually switches becomes the same as the cumulative estimated consumption of the yarn at the assumed future time point t2. Therefore, the actual continuous thread color switching position can be aligned with the color switching position on the embroidery image.

本制御では、想定される色の切り替え位置である未来の時点t2の、数十ステッチ前の時点t1において、想定される糸消費量と、実際の消費量の差を検知し、実際の消費量が少ない場合は、色替え位置まで初期刺繍データのままで刺繍を行い、色替え位置の直後に、下へ縫い込むステッチを追加することで、上糸を消費させて、切り替えの位置が右側にずれることを防いでいる。 In this control, the difference between the assumed thread consumption amount and the actual consumption amount is detected at the time point t1 before several tens of stitches at the future time point t2, which is the assumed color switching position, and the actual consumption amount is detected. If there is little, embroidery is performed with the initial embroidery data up to the color change position, and by adding a stitch to sew down immediately after the color change position, the needle thread is consumed and the switching position is on the right side. It prevents it from shifting.

この裏への縫い込み補正は、測定した消費量が初期刺繍データよりも少ない場合に実施される補正であって、設定された初期刺繍データにおいて模様が小さい、ステッチ幅が短い又は粗い等、図8~図10のように縫い目の密度や幅を変化させることが適さない場合の調整に適している。 This stitching correction to the back is a correction performed when the measured consumption amount is smaller than the initial embroidery data, and the pattern is small, the stitch width is short or coarse, etc. in the set initial embroidery data. It is suitable for adjustment when it is not suitable to change the density and width of the stitches as shown in FIGS. 8 to 10.

(補正例4)
図12は、一般的な刺繍における下縫いの説明図である。図12(a)は下縫い後の状態を示す説明図であり、図12(b)は下縫い後に刺繍によって領域を丸く塗りつぶした状態を示す説明図である。
(Correction example 4)
FIG. 12 is an explanatory diagram of understitching in general embroidery. FIG. 12A is an explanatory diagram showing a state after understitching, and FIG. 12B is an explanatory diagram showing a state in which a region is roundly filled by embroidery after understitching.

一般的に刺繍においては、刺繍時に布がゆがむのを防ぐために下縫いという補強のための刺繍が行われる。例えば、図12(b)のような円形の刺繍では、図12(a)の黒線のように先に縫う(下縫いをする)ことで、後から上に縫う灰色の領域の刺繍でゆがみが出ないようにすることができる。 Generally, in embroidery, embroidery for reinforcement called understitching is performed to prevent the cloth from being distorted during embroidery. For example, in the case of circular embroidery as shown in FIG. 12 (b), by sewing first (understitching) as shown by the black line in FIG. Can be prevented from appearing.

本発明では、上糸の消費量調整に、下縫いのステッチ長さ調整を使用することができる。下縫いのステッチ長さ調整(糸量調整)では、ユーザーが調整に使用する下縫いステッチと、その変更範囲を指定した場合に実行可能となる。 In the present invention, the stitch length adjustment of the bottom stitch can be used to adjust the consumption amount of the needle thread. The stitch length adjustment (thread amount adjustment) of the undersew can be executed when the user specifies the undersew stitch to be used for the adjustment and the change range thereof.

図13は、補正刺繍条件として下縫いを調整する場合の簡略化した補正例を示す表である。図13の表において、横列の1行目L1では初期刺繍データを示し、2行目L2では上糸消費状態を示し、3行目L3では調整後のステッチ幅(ステッチ長さ)を示し、4行目L4では調整後のステッチ間隔を示し、5行目L5では下縫い糸量を示し、6行目L6では調整なしで起きる状態を示し、7行目L7では調整後のステッチの状態を示している。また、2行目以降で、縦列の1列目C1は消費量が少ない場合を示し、2列目C2は消費量が補正不要な場合を示し、3列目C3は消費量が多い場合を示している。 FIG. 13 is a table showing a simplified correction example when the bottom stitch is adjusted as the correction embroidery condition. In the table of FIG. 13, the first row L1 of the row shows the initial embroidery data, the second row L2 shows the needle thread consumption state, and the third row L3 shows the adjusted stitch width (stitch length). The line L4 shows the stitch interval after adjustment, the fifth line L5 shows the amount of undersewn thread, the sixth line L6 shows the state of occurrence without adjustment, and the seventh line L7 shows the state of the adjusted stitch. There is. Further, in the second and subsequent rows, the first column C1 in the column indicates a case where the consumption amount is small, the second column C2 indicates a case where the consumption amount does not need to be corrected, and the third column C3 indicates a case where the consumption amount is large. ing.

図13の例では、L1の初期刺繍データに沿った刺繍と、C2に示す実際と想定のずれ量が所定量以内の場合の刺繍では、t1t2間およびt1t2'間において、ステッチ幅10mm、ステッチ間隔0.3mmで黒色の領域を塗りつぶしており、下縫い糸量は10mmである。 In the example of FIG. 13, in the embroidery according to the initial embroidery data of L1 and the embroidery when the actual and assumed deviation amount shown in C2 is within a predetermined amount, the stitch width is 10 mm and the stitch interval is between t1t2 and t1t2'. The black area is filled with 0.3 mm, and the amount of underlay thread is 10 mm.

実際の上糸消費量が想定消費量よりも少ない場合の調整後の刺繍では、C1L7に示すように、ステッチの幅、間隔を変えずに、下縫い糸量を12mmと増やしている。このような調整により、実際の糸の色の切り替わり位置までの補正期間t1t2'において、糸の使用量を多くすることができる。 In the adjusted embroidery when the actual needle thread consumption is smaller than the assumed consumption, the bottom stitch thread amount is increased to 12 mm without changing the stitch width and spacing, as shown in C1L7. By such adjustment, the amount of yarn used can be increased in the correction period t1t2'up to the actual color switching position of the yarn.

一方、上糸消費量が想定消費量よりも多い場合では、調整後の刺繍では、C3L7に示すように、ステッチの幅、間隔を変えずに、下縫い糸量を8mmと減らしている。このような調整により、補正期間t1t2'において、糸の使用量を少なくすることができる。 On the other hand, when the needle thread consumption is larger than the assumed consumption, in the adjusted embroidery, as shown in C3L7, the bottom stitch thread amount is reduced to 8 mm without changing the stitch width and spacing. By such adjustment, the amount of yarn used can be reduced in the correction period t1t2'.

なお、下縫いを実施する刺繍として、広範囲を模様縫いする場合に実施されることが多いが、下縫いを白色であるとすると、連続する糸において、有色部と白色部が交互に現れる。その場合、若干のずれ、特に、本来よりも刺繍糸が長く消費され、糸が足りなくなる時に、模様縫いを変えずに調整できるように、初期刺繍データのように下縫いにも有色部が含まれるように、染色領域を予め少し長くしておくと好適である。 It should be noted that, as an embroidery for performing understitching, it is often performed when a wide range of patterns are sewn, but if the underlaying is white, colored parts and white parts appear alternately in continuous threads. In that case, the undersew also includes a colored part like the initial embroidery data so that it can be adjusted without changing the pattern stitch when there is a slight deviation, especially when the embroidery thread is consumed longer than it should be and the thread is insufficient. Therefore, it is preferable to lengthen the stained area a little in advance.

この制御では、想定される色の切り替え位置である未来の時点t2の、数十ステッチ前の時点t1において、どのステッチを縫っているかのデータ(ステッチデータ)と初期刺繍データから想定される糸消費量と、実際の消費量の差を検知する。そして、その差を基に、差が閾値以上の場合、検知の時点t1から実際の色替え位置である未来の時点t2'まで期間(補正期間)T12において、下縫いの長さ(糸量)を変更した修正刺繍データに、出力する刺繍データを置き換える。 In this control, the thread consumption assumed from the data (stitch data) and the initial embroidery data of which stitch is sewn at the time point t1 before several tens of stitches at the future time point t2 which is the assumed color switching position. Detects the difference between the amount and the actual consumption. Then, based on the difference, when the difference is equal to or greater than the threshold value, the length (thread amount) of the understitch is set in the period (correction period) T12 from the detection time point t1 to the future time point t2'which is the actual color change position. Replace the output embroidery data with the modified embroidery data.

なお、この補正では、下縫いの糸量を変更するが、ステッチ数は変化しないため、刺繍を調整しても、補正時間にほとんど変化はない。さらに下縫いはその上に刺繍模様が形成されるため、下縫いの糸量を調整しても、見た目に全く影響がないため、図8~図10のように縫い目の密度や幅を変化させることが適さない場合の刺繍の調整に適している。 In this correction, the thread amount of the underlay is changed, but the number of stitches does not change, so even if the embroidery is adjusted, there is almost no change in the correction time. Furthermore, since an embroidery pattern is formed on the bottom stitch, adjusting the thread amount of the bottom stitch has no effect on the appearance, so the density and width of the stitch are changed as shown in FIGS. 8 to 10. Suitable for adjusting embroidery when it is not suitable.

なお、図14の表では簡略化して示しているため、L6とL7で(下糸+黒色)の残り糸長さについて絵に不整合があるが、実際の制御では、L5に示す調整なしで起きる状態のt1~t2の色替え前の(下糸+黒色の)糸長さ(未来の時点t2における糸の累積想定消費量に相当)が、L6に示す調整後の状態におけるt1~t2'以降の色替え前の(下糸+黒色の)の糸長さ(未来の時点t2'における実際の糸の累積消費量)と等しくなるように制御する。 In addition, since the table of FIG. 14 is shown in a simplified manner, there is a discrepancy in the picture regarding the remaining thread length of (bobbin thread + black) in L6 and L7, but in actual control, the adjustment shown in L5 is not performed. The yarn length (corresponding to the cumulative estimated consumption of yarn at the future time point t2) before the color change of t1 to t2 in the waking state is t1 to t2'in the adjusted state shown in L6. It is controlled so as to be equal to the thread length (cumulative consumption of the actual thread at the future time point t2') before the subsequent color change (bob thread + black).

このように、補正期間において下縫いの糸量を調整することで、実際の連続する糸の色の切り替え位置を、刺繍イメージ上の色の切り替え位置にそろえることができる。 In this way, by adjusting the thread amount of the underlay in the correction period, the actual continuous thread color switching position can be aligned with the color switching position on the embroidery image.

また、上糸消費量のずれ量が大きく、下縫いで調整しても、ずれ量を吸収しきれない場合、特に糸が足りなくなる場合は、下縫いのステッチ座標の調整に加えて、図8~図10に示すような、模様縫いの密度や長さの調整を実施してもよい。 Further, if the amount of deviation of the needle thread consumption is large and the amount of deviation cannot be absorbed even if the adjustment is made by the bottom stitch, especially when the thread is insufficient, in addition to the adjustment of the stitch coordinates of the bottom stitch, FIG. -The density and length of the pattern stitch may be adjusted as shown in FIG.

ここで、下縫いの補正の応用例として、複数の領域に分かれる図14のような刺繍を想定する。図14は、補正刺繍条件として、複数の色領域を刺繍する場合であって、下縫いのステッチ座標を変更する例を示す。 Here, as an application example of the correction of the underlay, it is assumed that the embroidery is divided into a plurality of areas as shown in FIG. FIG. 14 shows an example in which a plurality of color regions are embroidered as a correction embroidery condition, and the stitch coordinates of the underlay are changed.

各領域において白色の部分が下縫いであり、α→β→γ→δの順番で糸が染色されており、この順番で刺繍を行うとする。塗りつぶし領域は例えば、αは赤、βは青、γは緑、δは青である。 It is assumed that the white part in each region is the understitch, and the threads are dyed in the order of α → β → γ → δ, and the embroidery is performed in this order. The filled area is, for example, α is red, β is blue, γ is green, and δ is blue.

そして、刺繍の順として、
(1)領域αの下縫い→(2)領域αの模様縫い→(3)領域βの下縫い→(4)領域βの模様縫い→(5)領域γの下縫い→(6)領域γの模様縫い→(7)領域δの下縫い→(8)領域δの模様縫いの順に行う。なお、下縫いは、通常白糸で行う。
And in the order of embroidery,
(1) Underlaying of area α → (2) Pattern sewing of area α → (3) Underlaying of area β → (4) Pattern sewing of area β → (5) Underlaying of area γ → (6) Area γ Pattern sewing → (7) Underlaying of area δ → (8) Pattern sewing of area δ. The bottom stitch is usually performed with white thread.

工程(2)の領域を刺繍している際に、本来よりも上糸が長く消費された時は、糸が足りなくなり、次の工程(4)の領域βの模様縫いの刺繍において本来青く染色される糸に、工程(3)の領域βの下縫いの白糸が混入してしまう。 When the needle thread is consumed longer than it should be when embroidering the area of step (2), the thread is insufficient and the area β of the next step (4) is originally dyed blue in the embroidery of the pattern stitch. The white thread of the underlay of the region β of the step (3) is mixed in the thread to be sewn.

そのため、工程(3)の領域βの下縫いの際に、工程(2)の時点で既に消費量が多い場合は、工程(3)の領域βの下縫いにおいて、針11を打つ位置(ステッチ座標)を変更することで、工程(3)の領域βの下縫いに使われる糸量を少なくし、糸の消費量の調節を行う。 Therefore, if the consumption is already large at the time of the step (2) at the time of the understitching of the region β of the step (3), the position (stitch) at which the needle 11 is struck in the understitching of the region β of the step (3). By changing the coordinates), the amount of thread used for the underlay of the area β in the step (3) is reduced, and the amount of thread consumed is adjusted.

一方、短く消費されていた場合は、次工程の下縫いにおいて、針11を打つ位置(ステッチ座標)を変更することで、下縫いに使われる糸量を多くすることで、糸の消費量を調整できる。 On the other hand, if it is consumed shortly, in the understitching of the next step, the thread consumption is increased by increasing the amount of thread used for the underlaying by changing the position (stitch coordinates) at which the needle 11 is struck. Can be adjusted.

ここで、糸の消費量は、領域を塗りつぶす模様縫いの方が、下縫いよりも大幅に多い。そのため、このような下縫いの調整の場合では、色の切り替え位置として模様縫いが終了する数十ステッチ前において、想定される糸消費量と、実際の消費量の差を検知する。そして、その後の下縫いの工程において、刺繍の幅(ステッチ長さ)を変更したデータに、初期刺繍データを置き換える。 Here, the amount of thread consumed is significantly higher in the pattern stitch that fills the area than in the understitch. Therefore, in the case of such adjustment of the underlay, the difference between the assumed thread consumption amount and the actual consumption amount is detected before the pattern sewing is completed several tens of stitches as the color switching position. Then, in the subsequent underlaying process, the initial embroidery data is replaced with the data in which the embroidery width (stitch length) is changed.

本制御では、模様縫いが最表面に位置し、下縫いは模様縫いの下側に隠れるため、下縫いから模様縫いの切り替えの時点となる(4)の開始点、(6)の開始点、(8)の開始点を、想定される色の切り替え位置である未来の時点t2β、t2γ、t2δと考える。また、下縫いのステッチ数は少ないため、時点t2β、t2γ、t2δの数十ステッチ前の、消費量の差を検知する時点t1α、t1β、t1γは、前の有色領域の模様縫いの実行期間に相当する。 In this control, the pattern stitch is located on the outermost surface, and the bottom stitch is hidden under the pattern stitch. The starting point of (8) is considered to be a future time point t2β, t2γ, t2δ which is an assumed color switching position. Further, since the number of stitches in the understitch is small, the time points t1α, t1β, and t1γ for detecting the difference in consumption before several tens of stitches at the time points t2β, t2γ, and t2δ are set during the execution period of the pattern stitching in the previous colored region. Equivalent to.

そして、本制御では、有色染色と白色の合算領域である(1)+(2)+(3)の合計工程、(4)+(5)の合計工程、(6)+(7)の合計工程のそれぞれにおいて、実際に色が切り替わる未来の時点t2β'、t2γ'、t2δ'における実際の糸の累積消費量と、想定される未来の時点t2β、t2γ、t2δにおける糸の累積想定消費量とが同じになるように下縫いのステッチを調整する。 Then, in this control, the total process of (1) + (2) + (3), the total process of (4) + (5), and the total of (6) + (7), which is the total area of colored dyeing and white. In each of the steps, the actual cumulative consumption of the yarn at the future time points t2β', t2γ', and t2δ' where the color actually changes, and the cumulative estimated consumption of the yarn at the assumed future time points t2β, t2γ, and t2δ. Adjust the bottom stitch so that is the same.

このように、下縫いの糸量を調整することで、各領域において、実際の連続する糸の色の切り替え位置である模様縫いの開始位置を、刺繍イメージ上の色の切り替え位置にそろえることができる。 By adjusting the thread amount of the underlay in this way, it is possible to align the start position of pattern sewing, which is the actual color switching position of continuous threads, with the color switching position on the embroidery image in each area. can.

(補正例5)
その他、図示はしていないが、上糸Nが余った場合、余分な糸を本来行おうとしている目的の刺繍以外で糸を消費することで、上糸の消費量を増加させてもよい。目的の刺繍以外の糸の消費とは、余分な糸を、(1)目的の刺繍をする刺繍領域の外で刺繍を行うこと、(2)刺繍領域の外で刺繍を行った後に糸を切ること、(3)余計な糸を巻き取って切ること、による糸の消費を含む。この方法でも糸の色替え位置までの長さを調整し(増加するように調整し)、糸の色ずれを防止することができる。
(Correction example 5)
In addition, although not shown, when the needle thread N is surplus, the consumption amount of the needle thread may be increased by consuming the thread other than the intended embroidery for which the excess thread is originally intended to be performed. The consumption of threads other than the desired embroidery means that the excess thread is (1) embroidered outside the embroidery area where the desired embroidery is to be performed, and (2) the thread is cut after the embroidery is performed outside the desired embroidery area. This includes the consumption of yarn due to (3) winding and cutting excess yarn. Also in this method, the length to the color change position of the thread can be adjusted (adjusted so as to increase) to prevent the color shift of the thread.

(第2制御例)
図15は、第1実施形態の第2制御例における刺繍データ編集機構及び演算機構の機能ブロック図である。上記第1制御例では、糸の累積消費量の検知が必要となる、色の切り替え位置の所定数ステッチ前を、ステッチ数をカウントすることで把握したが、第2制御例では、色の切り替え位置の所定数ステッチ前を、刺繍時間をカウントすることで把握する。下記、図6との差異点のみ説明する。
(Second control example)
FIG. 15 is a functional block diagram of the embroidery data editing mechanism and the calculation mechanism in the second control example of the first embodiment. In the first control example, the number of stitches before a predetermined number of stitches at the color switching position, which requires detection of the cumulative consumption of threads, was grasped by counting the number of stitches, but in the second control example, the color switching is performed. By counting the embroidery time, it is possible to grasp the position before a predetermined number of stitches. Only the differences from FIG. 6 will be described below.

本制御例を実行可能な刺繍装置では、ステッチ毎の動作を等速にした等速モードが設定できる。ユーザーは、等速モードにおいて、一定時間内にどのくらいの回数、針を落とすのか針上下駆動部181における駆動速度(rpm)を指定できる。なお、駆動速度はrpmが生産性に関わるパラメータで、早ければ上糸への張力が強くなり絵が崩れやすく糸が切れやすいが、早く縫える。 In the embroidery device that can execute this control example, a constant velocity mode in which the operation for each stitch is made constant velocity can be set. The user can specify the drive speed (rpm) in the needle up / down drive unit 181 how many times the needle is dropped in the constant velocity mode. In addition, rpm is a parameter related to productivity, and the tension on the needle thread becomes stronger at the earliest, and the picture tends to collapse and the thread breaks easily, but the thread can be sewn quickly.

等速モードでは、基本的には、この指定した駆動速度rpmで刺繍が実行されていく。そのため、このような等速モードでは、刺繍データから何時どのステッチが縫われるのかは縫う前に決定できる値となる。ただし、針を落とす位置が急に遠くなったりすると、刺繍装置1内部において無理がない速度に切り替える。例えば、針が折れたりしないように機械側で内部的に速度を切り替える。その場合は、速度情報をフィードバックする。 In the constant velocity mode, embroidery is basically executed at the specified drive speed rpm. Therefore, in such a constant velocity mode, it is possible to determine when and which stitch is sewn from the embroidery data before sewing. However, if the position where the needle is dropped suddenly becomes far away, the speed is switched to a reasonable speed inside the embroidery device 1. For example, the speed is switched internally on the machine side so that the needle does not break. In that case, the speed information is fed back.

本制御例では、演算機構150Aにおいて、消費量検知ステッチ数抽出部503の代わりに、消費量検知時間算出部511と、刺繍時間カウント部512を有している。 In this control example, the calculation mechanism 150A has a consumption detection time calculation unit 511 and an embroidery time counting unit 512 instead of the consumption detection stitch number extraction unit 503.

消費量検知時間算出部511は、初期刺繍データに基づいて、色が変化する連続した上糸Nにおいて、目印や境界の色の糸上の位置の時点t2よりも数十ステッチだけ手前の時点t1までの糸消費量と、その糸上の位置までの消費量に対応するステッチ数を抽出し、そのステッチ数に対応する時間を消費量検知時間t1として記憶しておく。 Based on the initial embroidery data, the consumption detection time calculation unit 511 has a time point t1 that is several tens of stitches before the time point t2 at the position on the thread of the mark or the boundary color in the continuous needle thread N whose color changes. The amount of thread consumed up to and the number of stitches corresponding to the amount of consumption up to the position on the thread are extracted, and the time corresponding to the number of stitches is stored as the consumption amount detection time t1.

また、ステッチデータ監視部501は、針落ちの速度に変更があった場合に、刺繍時間カウント部512に通知する。 Further, the stitch data monitoring unit 501 notifies the embroidery time counting unit 512 when there is a change in the needle drop speed.

刺繍時間カウント部512は、刺繍時間をカウントし、刺繍時間が消費量検知時間t1に到達したら、センサ161に検知指示を送る。なお、刺繍時間カウント部512は針落ち速度の変更があった場合はその情報を反映して刺繍時間をカウントする。 The embroidery time counting unit 512 counts the embroidery time, and when the embroidery time reaches the consumption detection time t1, sends a detection instruction to the sensor 161. When the needle drop speed is changed, the embroidery time counting unit 512 reflects the information and counts the embroidery time.

ロータリーエンコーダであるセンサ161はその時点t1における累積搬送量を上糸消費量として検知する。 The sensor 161 which is a rotary encoder detects the cumulative transfer amount at the time point t1 as the needle thread consumption amount.

本制御例では、以降の演算は第1制御例と同様であって、刺繍時間をカウントすることで検知された実際の上糸消費量と、入力された初期刺繍データから算出されるその時間(ステッチ数)に対応付けられた上糸の想定消費量と、の差に応じて、初期刺繍データに対して刺繍条件を設定して修正刺繍データを作成し、その修正刺繍データに従って刺繍することで、上糸Nの消費量を調整する。 In this control example, the subsequent operations are the same as in the first control example, and the actual needle thread consumption detected by counting the embroidery time and the time calculated from the input initial embroidery data ( By setting embroidery conditions for the initial embroidery data and creating modified embroidery data according to the difference between the estimated consumption of needle thread associated with the number of stitches), and embroidering according to the modified embroidery data. , Adjust the consumption of needle thread N.

図16は、第1実施形態の第2制御例に係る刺繍のフローチャートである。下記、図7との差異点のみ説明する。 FIG. 16 is a flowchart of embroidery according to the second control example of the first embodiment. Only the differences from FIG. 7 will be described below.

本フローでは、ステップS203において、ステッチ数を検知するとともに刺繍時間をカウントする。 In this flow, in step S203, the number of stitches is detected and the embroidery time is counted.

ステップS204、S215で、カウントした刺繍時間が、色替え位置の所定数ステッチ数前に対応する消費量検知時間に到達したら、ステップS205で、糸消費量検知機構6で、上糸Nの実際の消費量を検知・算出する。 When the embroidery time counted in steps S204 and S215 reaches the consumption amount detection time corresponding to a predetermined number of stitches before the color change position, in step S205, the thread consumption detection mechanism 6 actually performs the needle thread N. Detects and calculates consumption.

そして、ステップS206で、演算機構150Aで、S205で刺繍時間をトリガーとして検出・算出された実際の上糸Nの消費量と、S202で算出された想定消費量のうちS204で到達したステッチ数と対応づけられる上糸の想定消費量とを比較して、消費量のずれ量を算出する。即ち、S206では、想定される色が切り替わる(未来の)時点t2よりも数十ステッチだけ手前の時点t1(現時点)における実際の糸の消費量と、その時点t1(現時点)における想定消費量とを比較する。 Then, in step S206, the actual consumption amount of the needle thread N detected and calculated by the calculation mechanism 150A using the embroidery time as a trigger in S205, and the number of stitches reached in S204 out of the estimated consumption amount calculated in S202. The deviation amount of the consumption amount is calculated by comparing with the assumed consumption amount of the associated needle thread. That is, in S206, the actual consumption of the thread at the time point t1 (current time), which is several tens of stitches before the (future) time point t2 at which the assumed color is switched, and the estimated consumption amount at that time point t1 (current time). To compare.

本制御例では、以降の演算は第1制御例と同様であって、そのずれ量を基に、ずれ量が閾値以上の場合、検知の時点t1から実際の色替え位置である未来の時点t2'まで期間(補正期間)T12に、刺繍条件を調整し、初期刺繍データから変更した修正刺繍データに、出力する刺繍データを置き換える。なお、補正のための刺繍条件は、第1制御例と同様に、例えば、ステッチ密度調整(図8、図9)、ステッチ長さ調整(図8、図10)、ステッチ増減(背面縫い込み)、下縫いのステッチ座標調整(図13、図14)など、初期刺繍データから縫い方を調整するものである。 In this control example, the subsequent operations are the same as in the first control example, and if the deviation amount is equal to or greater than the threshold value based on the deviation amount, the future time point t2 which is the actual color change position from the detection time point t1. 'The embroidery condition is adjusted in the period (correction period) T12, and the embroidery data to be output is replaced with the modified embroidery data changed from the initial embroidery data. The embroidery conditions for correction are, for example, stitch density adjustment (FIGS. 8 and 9), stitch length adjustment (FIGS. 8 and 10), and stitch increase / decrease (back stitching), as in the first control example. , Adjusting the stitch coordinates of the bottom stitch (FIGS. 13 and 14), etc., adjusts the sewing method from the initial embroidery data.

このような制御により、第2制御例においても、刺繍装置において、色が変化する連続した上糸を用いた場合に、上下糸の張力差等により、上糸の使用量が想定と異なった場合でも、刺繍装置における糸の消費量のずれに起因する色の位置ずれを解消することができる。 Due to such control, even in the second control example, when a continuous needle thread whose color changes is used in the embroidery device, the amount of the needle thread used is different from the assumption due to the tension difference between the upper and lower threads and the like. However, it is possible to eliminate the color misalignment caused by the misalignment of the thread consumption in the embroidery device.

(第3制御例)
図17は、第1実施形態の第3制御例の刺繍データ編集機構及び演算機構の機能ブロック図である。第3制御例では、図5(b)、(c)に示す光学式センサ166を消費量検知機構のセンサとして使用する場合の制御例である。下記、第1、第2制御例との相違点のみ説明する。
(Third control example)
FIG. 17 is a functional block diagram of the embroidery data editing mechanism and the calculation mechanism of the third control example of the first embodiment. The third control example is a control example in which the optical sensor 166 shown in FIGS. 5 (b) and 5 (c) is used as a sensor of the consumption detection mechanism. Only the differences from the following first and second control examples will be described.

第3制御例では、上糸消費量を算出するために検知するセンサは、外部から検知タイミングを指示されるのではなく、光学式センサ166が色替え位置又は目印を検知した時点で、上糸消費量を算出する。 In the third control example, the sensor detected to calculate the needle thread consumption is not instructed from the outside at the detection timing, but when the optical sensor 166 detects the color change position or the mark, the needle thread is detected. Calculate consumption.

そのため、本制御例では、光学式センサ166には、タイミングの指示が入力されず、演算機構150Bは、光学式センサ166が検知した色替えの位置を参照するために、色替え位置記憶部51を有している。本構成では、センサ166(上糸検知部16B)と、上糸消費量算出部504Bと、色替え位置記憶部513で、糸消費量検知機構6Bを構成する。 Therefore, in this control example, the timing instruction is not input to the optical sensor 166, and the calculation mechanism 150B refers to the color change position detected by the optical sensor 166, so that the color change position storage unit 51 have. In this configuration, the sensor 166 (upper thread detection unit 16B), the upper thread consumption calculation unit 504B, and the color change position storage unit 513 constitute the thread consumption detection mechanism 6B.

本制御例では、センサ166は、色替え位置又はマーカー位置が、センサ166と対向するセンサ位置に到達したら検知し、その検知タイミング(t1)の時間情報を上糸消費量算出部504Bへ送る。 In this control example, the sensor 166 detects when the color change position or the marker position reaches the sensor position facing the sensor 166, and sends the time information of the detection timing (t1) to the needle thread consumption calculation unit 504B.

また、色替え位置記憶部513は、開始時点の位置から色替え位置までの距離、または前回色替え位置から今回色替え位置までの距離を記憶しておく。 Further, the color change position storage unit 513 stores the distance from the position at the start point to the color change position, or the distance from the previous color change position to the current color change position.

上糸消費量算出部(糸消費量算出部)504Bは、センサ166で検出した検知タイミングと、色替え位置記憶部513での情報とを基に、上糸101の実際の消費量を算出する。例えば、上糸消費量算出部504Bは、図19に示す距離Dに相当する、想定される色が切り替わる時点t2よりも数十ステッチだけ手前の時点t1(現時点)における実際の糸の消費量を算出する。 The needle thread consumption calculation unit (thread consumption calculation unit) 504B calculates the actual consumption amount of the needle thread 101 based on the detection timing detected by the sensor 166 and the information in the color change position storage unit 513. .. For example, the needle thread consumption calculation unit 504B determines the actual thread consumption at the time point t1 (current time), which corresponds to the distance D shown in FIG. 19 and is several tens of stitches before the time point t2 at which the assumed color is switched. calculate.

図18は、本発明の第1実施形態の第3制御例に係る刺繍のフローチャートである。第3制御例に適用される光学式センサ166は、上述のように上糸Nの色の変化を検知することでタイミング(時間情報)を検知するため、色が変わらないタイミングでは検知ができない。そのため、センサ検知情報を用いた糸消費量の算出方法が図7のフローとは異なる。 FIG. 18 is a flowchart of embroidery according to a third control example of the first embodiment of the present invention. Since the optical sensor 166 applied to the third control example detects the timing (time information) by detecting the change in the color of the needle thread N as described above, it cannot be detected at the timing when the color does not change. Therefore, the method of calculating the yarn consumption using the sensor detection information is different from the flow of FIG. 7.

本フローでは、ステップS304で、色替え位置又はマーカー位置が、光学式センサ166と対向するセンサ位置に到達したらそのタイミング(t1)で検知する。 In this flow, when the color change position or the marker position reaches the sensor position facing the optical sensor 166 in step S304, it is detected at the timing (t1).

ここで、図19に第3制御例における光学式センサ166のセンサ位置と、針11の先端までの距離の説明図を示す。本制御例では、上述の図8~図14で示したように、布C(針11の先端)に色替え位置が到達する少し前(例えば、数10ステッチ前)のタイミングが、光学式センサ166のセンサ位置に、上糸Nの色替え位置又はマーカー位置が到達する想定タイミングとなっている。そのため、本制御例では、センサ位置から針11の先端までの距離Dが、想定される、色替え位置までの刺繍調整に使用できる糸の長さ、即ち、所定ステッチ数(数十ステッチ)で消費されると想定される糸の長さとなる。 Here, FIG. 19 shows an explanatory diagram of the sensor position of the optical sensor 166 in the third control example and the distance to the tip of the needle 11. In this control example, as shown in FIGS. 8 to 14 above, the timing shortly before the color change position reaches the cloth C (tip of the needle 11) (for example, before several tens of stitches) is the optical sensor. It is an assumed timing that the color change position or the marker position of the needle thread N reaches the sensor position of 166. Therefore, in this control example, the distance D from the sensor position to the tip of the needle 11 is the length of the thread that can be used for the assumed embroidery adjustment to the color change position, that is, the predetermined number of stitches (several tens of stitches). It is the length of the thread that is expected to be consumed.

第1制御例、第2制御例では、検知タイミングは、想定された所定ステッチ前という時間固定のタイミングであったが、本制御例では、図19に示すように、センサ位置から針11の先端までの距離Dは固定されているため、検知タイミングは、開始位置又は前回の色替え位置から、今回色替え位置までの距離が固定された、距離固定で時間変動のタイミングである。 In the first control example and the second control example, the detection timing was a fixed time timing before the assumed predetermined stitch, but in this control example, as shown in FIG. 19, the tip of the needle 11 is from the sensor position. Since the distance D to is fixed, the detection timing is a fixed distance and time variation timing in which the distance from the start position or the previous color change position to the current color change position is fixed.

そのため、糸の消費量が多く、搬送速度が速い場合は、色替え位置又はマーカー位置がセンサ位置に到達する検知タイミングは予測よりも早く到達し、糸の消費量が少なく、搬送速度が遅い場合は、センサ位置に到達するタイミングは予測よりも遅く到達する。 Therefore, when the thread consumption is large and the transfer speed is high, the detection timing at which the color change position or the marker position reaches the sensor position arrives earlier than expected, and when the thread consumption is small and the transfer speed is slow. Will reach the sensor position later than expected.

そして、ステップS305で、上糸消費量算出部504Bは、色替え位置記憶部513から、開始時点から色替え位置又はマーカー位置までの糸の距離を呼び出して、検知タイミングにおける実際の糸消費量として出力(算出する)する。並行して、上糸想定消費量算出部505は、検知タイミングと、実際の刺繍位置と、初期刺繍データを用いて、検知タイミングにおける想定消費量を算出する。 Then, in step S305, the needle thread consumption calculation unit 504B calls the thread distance from the color change position storage unit 513 to the color change position or the marker position as the actual thread consumption at the detection timing. Output (calculate). At the same time, the needle thread estimated consumption amount calculation unit 505 calculates the estimated consumption amount at the detection timing by using the detection timing, the actual embroidery position, and the initial embroidery data.

ステップS306で、検知タイミングにおける実際の糸消費量と、想定消費量とのずれ量を算出する。そして、ステップS307で、S306で算出したずれ量が所定量以上の場合、S308に進み、ずれ量が所定量未満の場合は、ステップS314に進んで初期刺繍データのままで、刺繍を続ける。 In step S306, the deviation amount between the actual yarn consumption amount and the assumed consumption amount at the detection timing is calculated. Then, in step S307, if the deviation amount calculated in S306 is equal to or more than a predetermined amount, the process proceeds to S308, and if the deviation amount is less than the predetermined amount, the process proceeds to step S314 to continue embroidery with the initial embroidery data.

ステップS308では、演算機構150Bにおいて、ずれ量を補正するために刺繍条件を設定する。本例においても、針11の先端に色替え位置が到達する実際のタイミング(t2')で、色替え位置が実際に針11の先端に到達するように調整される。 In step S308, the calculation mechanism 150B sets the embroidery condition in order to correct the deviation amount. Also in this example, the color change position is adjusted so as to actually reach the tip of the needle 11 at the actual timing (t2') when the color change position reaches the tip of the needle 11.

本例では、図19に示すように、想定される色替え位置までの調整に使用できる長さは、センサ位置から針11の先端までの糸の長さであるため、調整に使用できる時間(T12)は、実際の色替え位置又はマーカー位置が、センサ位置に到着後、針先端に到達するまでの期間となる。 In this example, as shown in FIG. 19, the length that can be used for the adjustment to the assumed color change position is the length of the thread from the sensor position to the tip of the needle 11, so that the time that can be used for the adjustment ( T12) is the period from when the actual color change position or marker position arrives at the sensor position to when it reaches the needle tip.

実際の糸消費量が予測よりも少ない場合は、センサ位置には色替え位置又はマーカー位置が遅く到達するため、実際の色替え位置までの調整に使用できる糸の長さは距離Dよりも長いため、消費量を増やすように調整される。一方、実際の糸消費量が予測よりも多い場合は、センサ位置には色替え位置又はマーカー位置が速く到達するため、実際に色替え位置までの調整に使用できる長さは距離Dよりも短いため、消費量を減らすように調整される。この制御により、糸上の色が切り替わる前の所定色の染色領域において、実際に色が切り替わる時点t2'における所定色の実際の糸の累積消費量と、想定される色が切り替わる時点t2における所定色の糸の累積想定消費量とが同じになるように調整される。 If the actual thread consumption is less than expected, the color change position or marker position arrives at the sensor position later, so the length of the thread that can be used for adjustment to the actual color change position is longer than the distance D. Therefore, it is adjusted to increase consumption. On the other hand, when the actual thread consumption is larger than expected, the color change position or the marker position reaches the sensor position quickly, so that the length that can be actually used for adjustment to the color change position is shorter than the distance D. Therefore, it is adjusted to reduce consumption. By this control, in the dyeing region of the predetermined color before the color on the thread is switched, the cumulative consumption of the actual thread of the predetermined color at the time point t2'when the color is actually switched and the predetermined time at the time point t2 when the assumed color is switched. Adjusted so that the cumulative estimated consumption of colored threads is the same.

そして、S309で、初期刺繍データに、補正用の刺繍条件を反映するように修正刺繍データを作成し、S310で、修正刺繍データに、出力用の刺繍データが差し替えて出力され、S312で、針11の先端に実際の糸上の色替え位置が到達するまで、S311で差し替えた刺繍データ(修正刺繍データ)に従って、刺繍を実施する。 Then, in S309, the modified embroidery data is created so as to reflect the embroidery condition for correction in the initial embroidery data, in S310, the embroidery data for output is replaced with the modified embroidery data and output, and in S312, the needle is output. Embroidery is performed according to the embroidery data (corrected embroidery data) replaced in S311 until the actual color change position on the thread reaches the tip of 11.

ステップS312で、針11の先端に実際の糸上の色替え位置が到達するタイミングに到達したら、ステップS313で出力する刺繍データを、初期刺繍データに戻して刺繍を実施する。 When the timing at which the actual color change position on the thread reaches the tip of the needle 11 in step S312, the embroidery data output in step S313 is returned to the initial embroidery data and embroidery is performed.

その後、ステップS315で、次の色替え位置又はマーカー位置が、光学式センサ166と対向するセンサ位置に到達したらそのタイミングで検知する。そして、S305~S314の消費量の算出及び刺繍データの調整を行う。なお、2回目以降の検知結果を用いた実際の消費量の算出では、前回(S304)の色替え位置又はマーカー位置から、今回(S315)の色替え位置又はマーカー位置までの糸の距離を呼び出して、検知タイミングにおける実際の糸消費量として算出する。 After that, in step S315, when the next color change position or marker position reaches the sensor position facing the optical sensor 166, it is detected at that timing. Then, the consumption amount of S305 to S314 is calculated and the embroidery data is adjusted. In the calculation of the actual consumption amount using the detection results from the second time onward, the distance of the thread from the previous (S304) color change position or marker position to the current (S315) color change position or marker position is called. Therefore, it is calculated as the actual thread consumption at the detection timing.

そして、S305~S314の消費量の算出及び刺繍データの調整を行う。ステップS316で刺繍データが終了するまで、刺繍データ(初期刺繍データ又は修正刺繍データ)に沿った刺繍を実行し、S316で、全ての刺繍データが終了したら、刺繍装置1における刺繍を終了する。 Then, the consumption amount of S305 to S314 is calculated and the embroidery data is adjusted. Embroidery according to the embroidery data (initial embroidery data or modified embroidery data) is executed until the embroidery data is completed in step S316, and when all the embroidery data is completed in S316, the embroidery in the embroidery device 1 is completed.

本制御においても、刺繍の密度や刺繍の幅の増減、裏縫い追加、下縫いステッチ座標位置調整などの補正のための刺繍条件を設定するために、色の切り替えの直前で実際の使用量の検知を行い、予測からのずれを算出して、リアルタイムに調整して刺繍データを置き換えることで、刺繍に使用する糸の消費量を調整する。このような制御により、刺繍装置1において、色が変化する連続した上糸を用いた場合に、上糸の使用量が想定と異なった場合でも、刺繍装置における消費量のずれに起因する色の位置ずれを、解消することができる。 Even in this control, in order to set embroidery conditions for correction such as increase / decrease in embroidery density and embroidery width, addition of back stitch, adjustment of understitch stitch coordinate position, etc., the actual usage amount immediately before color switching The amount of thread used for embroidery is adjusted by detecting, calculating the deviation from the prediction, and adjusting in real time to replace the embroidery data. Due to such control, when the embroidery device 1 uses a continuous needle thread whose color changes, even if the amount of the needle thread used is different from the expected amount, the color due to the deviation of the consumption amount in the embroidery device 1 is used. The misalignment can be eliminated.

<第2実施形態>
図20は、本発明の第2実施形態に係る染色・刺繍システム100の側面概略図である。本システムでは、上糸糸巻から巻きだされた上糸に搬送方向において変化する色を付与する染色装置3が、刺繍装置1Cの前段に設けられている。
<Second Embodiment>
FIG. 20 is a schematic side view of the dyeing / embroidery system 100 according to the second embodiment of the present invention. In this system, a dyeing device 3 that imparts a color that changes in the transport direction to the needle thread wound from the needle thread winding is provided in front of the embroidery device 1C.

本実施形態では、上糸糸巻31は、刺繍装置1Cではなく、搬送方向上流側の染色装置3内に設けられている。 In the present embodiment, the needle thread winding 31 is provided not in the embroidery device 1C but in the dyeing device 3 on the upstream side in the transport direction.

ここで、染色装置3は、上糸Nが巻回された上糸糸巻31と、染色部32と、定着部33と、後処理部34とを主に備えている。 Here, the dyeing apparatus 3 mainly includes a bobbin winding 31 around which the needle thread N is wound, a dyeing section 32, a fixing section 33, and a post-processing section 34.

染色装置3において、上糸糸巻31から引き出された上糸Nは、ローラ351,352で案内され、染色部32を通って、刺繍装置1Aまで連続して這い回されている。 In the dyeing device 3, the needle thread N drawn from the needle thread winding 31 is guided by rollers 351, 352 and continuously crawls through the dyeing section 32 to the embroidery device 1A.

染色部32は、上糸糸巻31から引き出されて搬送される上糸Nに所要の色の液体を吐出して付与する複数のヘッド321(321K~321Y)と、各ヘッド321のメンテナンスを行う複数の個別の維持ユニット322(322K~322Y)とを備えている。 The dyeing unit 32 includes a plurality of heads 321 (321K to 321Y) that discharge and apply a liquid of a required color to the needle thread N that is drawn out from the needle thread winding 31 and is conveyed, and a plurality of heads 321 that perform maintenance. It is equipped with an individual maintenance unit 322 (322K to 322Y).

複数のヘッド321K~321Yは、互いに異なる色を吐出する吐出ヘッドである。例えば、321Kはブラック(K)の液滴(インク)を吐出するヘッド、321Cはシアン(C)の液滴を吐出するヘッド、321Mはマゼンタ(M)の液滴を吐出するヘッド、321Yはイエロー(Y)の液滴を吐出するヘッドである。 The plurality of heads 321K to 321Y are discharge heads that discharge different colors from each other. For example, 321K is a head that ejects black (K) droplets (ink), 321C is a head that ejects cyan (C) droplets, 321M is a head that ejects magenta (M) droplets, and 321Y is yellow. A head that ejects the droplet of (Y).

なお、色の順番は一例であり、この説明とは異なる順番に配置されてもよい。また、本例では4色のヘッド321K~321Yが設けられる例を示しているが、本発明では、連続する上糸に対して搬送方向で変化する複数の色で染色すればよいため、少なくとも2色以上の複数の色に対応したヘッドを設ければ、ヘッドの個数はいくつであってもよい。なお、図示はしていないが、染色部32は、染色後の上糸をコーティングするための無色の液滴を吐出する吐出ヘッドを、最下流に含んでいてもよく、あるいは、染色前の上糸をコーティングするための無色の液滴を吐出する吐出ヘッドを、最上流に含んでいてもよい。 The order of the colors is an example, and the colors may be arranged in an order different from this description. Further, in this example, an example in which the heads 321K to 321Y of four colors are provided is shown, but in the present invention, the continuous needle yarns may be dyed with a plurality of colors changing in the transport direction, and therefore at least two. The number of heads may be any number as long as the heads corresponding to a plurality of colors of colors or more are provided. Although not shown, the dyeing unit 32 may include a discharge head for discharging colorless droplets for coating the needle thread after dyeing in the most downstream portion, or the upper part before dyeing. A discharge head for discharging colorless droplets for coating the thread may be included in the uppermost stream.

また、維持ユニット322K~322Yは、各色のヘッド321K~321Yの下側に設けられており、維持回復動作として、不使用時のヘッドをキャッピングしたり、ヘッド321からの液滴の空吐出受けとなったり、空吐出受けをヘッドに近づけた状態でノズルの吸引循環動作を行ったり、ノズルのワイピング動作を行ったりする。 Further, the maintenance units 322K to 322Y are provided under the heads 321K to 321Y of each color, and as a maintenance recovery operation, capping the head when not in use or receiving an empty droplet from the head 321. Or, the suction circulation operation of the nozzle is performed with the empty discharge receiver close to the head, and the wiping operation of the nozzle is performed.

なお、図20に示す染色装置3における染色部32は、ヘッド321からインクを吐出することで上糸Nを染色する液体吐出方式の構成例を示しているが、染色部32は、ローラ等で上糸Nを挟み込むことでインクを付与する塗布方式の染色部であってもよい。 The dyeing unit 32 in the dyeing apparatus 3 shown in FIG. 20 shows a configuration example of a liquid ejection method that dyes the needle thread N by ejecting ink from the head 321, but the dyeing unit 32 is a roller or the like. It may be a dyeing part of a coating method which applies ink by sandwiching the needle thread N.

定着部33は、染色部32から吐出されたインクの、上糸Nに対する定着処理(乾燥処理)を行う。定着部33は、例えば赤外線照射手段、温風吹き付け手段などの加熱手段を備え、上糸Nを加熱して乾燥する。 The fixing unit 33 performs a fixing process (drying process) on the needle thread N of the ink ejected from the dyeing unit 32. The fixing portion 33 includes heating means such as an infrared irradiation means and a warm air blowing means, and heats and dries the needle thread N.

後処理部34は、例えば、上糸Nを清掃する清掃手段、上糸Nの表面に潤滑剤を付与する潤滑剤付与手段などを含む。 The post-treatment unit 34 includes, for example, a cleaning means for cleaning the needle thread N, a lubricant applying means for applying a lubricant to the surface of the needle thread N, and the like.

なお、本発明の染色装置3では、少なくとも、上糸Nに色付きの液体を付与する染色部32が設けられていればよく、定着部33、後処理部34は、設けられていなくてもよい。 The dyeing apparatus 3 of the present invention may be provided with at least a dyeing unit 32 for applying a colored liquid to the needle thread N, and the fixing unit 33 and the post-processing unit 34 may not be provided. ..

さらに、染色装置3には、染色を制御する演算機構37も設けられている。演算機構37は、刺繍装置1C側の演算機構と電気的に接続されており、刺繍装置1Cが取得した刺繍イメージを基に、上糸Nに対する色及び染色長さ情報を含む染色データを作成して、染色部32に出力する。そして、染色部32によって染色データに対応した色及び染色長さで上糸Nを染色させる。 Further, the dyeing apparatus 3 is also provided with a calculation mechanism 37 for controlling dyeing. The calculation mechanism 37 is electrically connected to the calculation mechanism on the embroidery device 1C side, and creates dyeing data including color and dyeing length information for the needle thread N based on the embroidery image acquired by the embroidery device 1C. And output to the dyeing unit 32. Then, the dyeing unit 32 dyes the needle thread N with a color and a dyeing length corresponding to the dyeing data.

<第3実施形態>
図21は、本発明の第3実施形態に係る染色・刺繍システムの側面概略図である。本実施形態では、染色・刺繍システム100Dに対して上位装置である上位制御装置2が接続されている。上位制御装置2は、コンピュータ等の情報処理装置である。
<Third Embodiment>
FIG. 21 is a schematic side view of the dyeing / embroidery system according to the third embodiment of the present invention. In the present embodiment, the upper control device 2 which is the upper device is connected to the dyeing / embroidery system 100D. The host control device 2 is an information processing device such as a computer.

本実施形態に係るシステムでは、速度検知機構における上糸検知部36は、刺繍装置1Bではなく、染色装置3D側に設けられている。本発明における、消費量検知機構のセンサ部16,36は、図20、図21に示すように、染色装置又は刺繍装置のいずれかに搭載されていればよい。 In the system according to the present embodiment, the needle thread detection unit 36 in the speed detection mechanism is provided not on the embroidery device 1B but on the dyeing device 3D side. As shown in FIGS. 20 and 21, the sensor units 16 and 36 of the consumption amount detection mechanism in the present invention may be mounted on either a dyeing device or an embroidery device.

図22は、第3実施形態の、上位制御装置2、染色装置3D及び刺繍装置1Dの制御に係る部分の機能ブロック図である。図7と同様の部分は説明を割愛する。 FIG. 22 is a functional block diagram of a part related to the control of the upper control device 2, the dyeing device 3D, and the embroidery device 1D according to the third embodiment. The same part as in FIG. 7 is omitted from the description.

本実施形態では、図7の刺繍装置1の演算機構150の機能の一部を、上位制御装置2の演算部220で実現している。 In the present embodiment, a part of the function of the calculation mechanism 150 of the embroidery device 1 of FIG. 7 is realized by the calculation unit 220 of the upper control device 2.

本実施形態では、刺繍装置1Dの演算機構150Dは、実際の刺繍実行にかかわる、ステッチデータ監視部501と、現在刺繍位置把握部502とを実行可能に有している。 In the present embodiment, the calculation mechanism 150D of the embroidery apparatus 1D has a stitch data monitoring unit 501 and a current embroidery position grasping unit 502, which are involved in actual embroidery execution.

また、上位制御装置2は、刺繍データ編集部210と、演算部220と、染色データ作成部を有している。刺繍データ編集部210は、図7の刺繍データ編集機構140とほぼ同様の機能を有している。 Further, the upper control device 2 has an embroidery data editing unit 210, a calculation unit 220, and a dyeing data creation unit. The embroidery data editing unit 210 has substantially the same function as the embroidery data editing mechanism 140 of FIG. 7.

演算部220は、消費量検知ステッチ数抽出部221、上糸消費量算出部222、上糸想定消費量算出部223、消費量ずれ量算出部224、補正閾値記憶部225、ずれ補正要否判定部226、及び所定色糸残量算出部227、ずれ補正刺繍条件設定部228を実行可能に有している。 The calculation unit 220 includes a consumption amount detection stitch number extraction unit 221, a needle thread consumption amount calculation unit 222, a needle thread estimated consumption amount calculation unit 223, a consumption amount deviation amount calculation unit 224, a correction threshold storage unit 225, and a deviation correction necessity determination. A unit 226, a predetermined color thread remaining amount calculation unit 227, and a deviation correction embroidery condition setting unit 228 are executably provided.

また、染色装置3Dは、染色制御部371を有する演算機構37と、センサ361(366)を有している。センサ361(366)は、図5に示す消費量検知機構のセンサ161(166)と同様の機能を有するセンサである。 Further, the dyeing apparatus 3D has a calculation mechanism 37 having a dyeing control unit 371 and a sensor 361 (366). The sensor 361 (366) is a sensor having the same function as the sensor 161 (166) of the consumption detection mechanism shown in FIG.

本実施形態では、センサ361(366)と、上位制御装置2の、消費量検知ステッチ数抽出部221と、上糸消費量算出部222が、実際の上糸の消費量を検知する糸消費量検知機構6Dとして機能する。なお、図22では、第1制御例と同様の制御をする場合の機能ブロック図を示しているが、第2制御例と同様の制御をする場合は、上位制御装置2に消費量検知時間算出部、消費時間カウント部が設けられ、第3制御例と同様の制御をする場合は、上位制御装置2に色替え位置記憶部が設けられる。 In the present embodiment, the sensor 361 (366), the consumption amount detection stitch number extraction unit 221 and the needle thread consumption calculation unit 222 of the upper control device 2 detect the actual consumption amount of the needle thread. Functions as a detection mechanism 6D. Note that FIG. 22 shows a functional block diagram in the case of performing the same control as in the first control example, but in the case of performing the same control as in the second control example, the upper control device 2 calculates the consumption detection time. A unit and a consumption time counting unit are provided, and when the same control as in the third control example is performed, the upper control device 2 is provided with a color change position storage unit.

また、本実施形態では、上位制御装置2における、消費量ずれ量算出部224、補正閾値記憶部225、ずれ補正要否判定部226、所定色糸残量算出部227、ずれ補正刺繍条件設定部228、刺繍データ合成部213、刺繍データ出力部214が、糸消費量調整部7Dとして機能する。さらに糸消費量調整部7Bの中で、所定色糸残量算出部227、ずれ補正刺繍条件設定部228、刺繍データ合成部213、刺繍データ出力部214が、刺繍量調整部8Dとして機能する。 Further, in the present embodiment, the consumption amount deviation amount calculation unit 224, the correction threshold storage unit 225, the deviation correction necessity determination unit 226, the predetermined color thread remaining amount calculation unit 227, and the deviation correction embroidery condition setting unit in the upper control device 2 The 228, the embroidery data synthesis unit 213, and the embroidery data output unit 214 function as the thread consumption adjustment unit 7D. Further, in the thread consumption adjustment unit 7B, the predetermined color thread remaining amount calculation unit 227, the deviation correction embroidery condition setting unit 228, the embroidery data synthesis unit 213, and the embroidery data output unit 214 function as the embroidery amount adjustment unit 8D.

なお、本発明における、上糸想定消費量算出部505(223)と、糸消費量調整部7(7D)は、染色装置、刺繍装置、又は当該染色・刺繍システムと接続可能な上位制御装置のいずれかに搭載されていればよい。 In the present invention, the needle thread estimated consumption amount calculation unit 505 (223) and the thread consumption amount adjustment unit 7 (7D) are a dyeing device, an embroidery device, or a higher-level control device that can be connected to the dyeing / embroidery system. It may be installed in either one.

本実施形態では、上位制御装置2において、作成した初期刺繍データと、刺繍装置1Bで作成した検知ステッチデータ又は刺繍状況から把握される現在の刺繍位置データを参照して、初期刺繍データを、色替え位置までの期間、修正された刺繍データに差し替えて、出力する。 In the present embodiment, the initial embroidery data is color-coded with reference to the initial embroidery data created by the upper control device 2 and the detection stitch data created by the embroidery device 1B or the current embroidery position data grasped from the embroidery status. The period up to the replacement position is replaced with the corrected embroidery data and output.

第2実施形態、第3実施形態のように、上糸へのオンデマンド印刷による染色装置が設けられる構成では、糸の染色位置を刺繍位置に合わせる必要があり、染色装置3(3D)では、初期刺繍データに合わせた染色が実施される。しかし、染色後、刺繍装置1C(1D)における、上糸と下糸との張力差にずれが生じると、上糸の消費量が予測からずれてしまい位置ずれが発生するが、本制御では、初期刺繍データを編集して、色の切り替え位置までの糸残量を丁度よく消費するように、刺繍動作における縫い方自体を調整するため、染色後に発生する、刺繍の位置ずれを解消することができる。 In the configuration in which the dyeing device by on-demand printing on the needle thread is provided as in the second embodiment and the third embodiment, it is necessary to match the dyeing position of the thread with the embroidery position. Dyeing is performed according to the initial embroidery data. However, after dyeing, if the tension difference between the needle thread and the bobbin thread in the embroidery device 1C (1D) deviates, the consumption amount of the needle thread deviates from the prediction and a misalignment occurs. By editing the initial embroidery data and adjusting the sewing method itself in the embroidery operation so that the remaining amount of thread up to the color switching position is consumed exactly, it is possible to eliminate the misalignment of embroidery that occurs after dyeing. can.

以上により、本発明の好ましい実施形態及び実施例について説明したが、本発明は、上述した実施形態及び実施例に制限されるものではない。また、本発明は、添付の特許請求の範囲に照らし、種々に変形又は変更することが可能である。 Although the preferred embodiments and examples of the present invention have been described above, the present invention is not limited to the above-described embodiments and examples. Further, the present invention can be variously modified or modified in light of the appended claims.

1,1C,1D 刺繍装置
2 上位制御装置
3,3C,3D 染色装置
6,6B,6D 糸消費量検知機構
7,7D 糸消費量調整部
8,8D 刺繍量調整部
100,100D 染色・刺繍システム
11 針
12 下糸回転体
121 下糸ボビン
122 フック
13 ステージ
14 上糸糸巻
140 刺繍データ編集機構
15 ステッチセンサ
150,150A,150B 演算機構
16,16B 上糸検知部
161 センサ(ロータリーエンコーダ、センサ)
166 光学式センサ(センサ)
17 駆動モータ
18 駆動機構
140 刺繍データ編集機構
150 演算機構
160 駆動ドライバ
210 刺繍データ編集部
220 演算部
221 消費量検知ステッチ数抽出部(糸消費量算出部)
223 上糸想定消費量算出部(糸想定消費量算出部)
504,504B 上糸消費量算出部(糸消費量算出部)
505 上糸想定消費量算出部(糸想定消費量算出部)
31 上糸糸巻
32 染色部
36 上糸検知部
361 センサ(ロータリーエンコーダ、センサ)
366 光学式センサ(センサ)
B 下糸
C 布
N 上糸
1,1C, 1D Embroidery device 2 Upper control device 3,3C, 3D Dyeing device 6,6B, 6D Thread consumption detection mechanism 7,7D Thread consumption adjustment unit 8,8D Embroidery amount adjustment unit 100, 100D Dyeing / embroidery system 11 Needle 12 Bobbin thread rotary body 121 Bobbin thread bobbin 122 Hook 13 Stage 14 Upper thread thread winding 140 Embroidery data editing mechanism 15 Stitch sensor 150, 150A, 150B Calculation mechanism 16, 16B Upper thread detector 161 Sensor (rotary encoder, sensor)
166 Optical sensor (sensor)
17 Drive motor 18 Drive mechanism 140 Embroidery data editing mechanism 150 Calculation mechanism 160 Drive driver 210 Embroidery data editing unit 220 Calculation unit 221 Consumption amount detection Stitch number extraction unit (thread consumption calculation unit)
223 Upper thread estimated consumption amount calculation unit (thread estimated consumption amount calculation unit)
504,504B Needle thread consumption calculation unit (thread consumption calculation unit)
505 Estimated needle thread consumption calculation unit (Estimated thread consumption calculation unit)
31 Bobbin winding 32 Dyeing unit 36 Upper thread detection unit 361 Sensor (rotary encoder, sensor)
366 Optical sensor (sensor)
B bobbin thread C cloth N upper thread

特開2004-201946号公報Japanese Unexamined Patent Publication No. 2004-201946 特開2008-289522号公報Japanese Unexamined Patent Publication No. 2008-289522

Claims (17)

刺繍データに従って刺繍動作を行う刺繍装置において、
予め入力された初期刺繍データから得られる、刺繍動作における糸の想定消費量を算出する糸想定消費量算出部と、
実際の糸の消費量を検知する糸消費量検知機構と、
算出した前記糸の想定消費量と、検知した実際の糸の消費量の差に基づいて、出力する刺繍データを調整して、前記刺繍動作における実際の糸の消費量を調節する糸消費量調整部と、を備える
刺繍装置。
In an embroidery device that performs embroidery operations according to embroidery data
A thread estimated consumption calculation unit that calculates the estimated consumption of thread in the embroidery operation obtained from the initial embroidery data input in advance, and
A thread consumption detection mechanism that detects the actual thread consumption,
Thread consumption adjustment that adjusts the output embroidery data based on the difference between the calculated estimated consumption of the thread and the detected actual consumption of the thread to adjust the actual consumption of the thread in the embroidery operation. An embroidery device equipped with a part.
当該刺繍装置は、針に通された上糸と、該上糸の送りに応じて送られる下糸を用いて、布に刺繍を実行させ、
前記糸消費量検知機構は、実際の上糸の消費量を検知し、
前記糸想定消費量算出部は、上糸の想定消費量を算出し、
前記糸消費量調整部は、前記上糸の想定消費量と、検知した実際の上糸の消費量の差に基づいて、上糸の消費量を調整する
請求項1に記載の刺繍装置。
The embroidery device causes the cloth to perform embroidery using the needle thread passed through the needle and the bobbin thread sent in response to the feed of the needle thread.
The thread consumption detection mechanism detects the actual consumption of the needle thread and determines the actual consumption.
The thread estimated consumption calculation unit calculates the estimated consumption of the needle thread.
The embroidery device according to claim 1, wherein the thread consumption adjusting unit adjusts the consumption of the needle thread based on the difference between the estimated consumption amount of the needle thread and the detected actual consumption amount of the needle thread.
前記糸想定消費量算出部は、布に対して針が何回縫ったかのステッチ数に対応する布上の位置のデータと、前記初期刺繍データにおける位置の履歴から、予測される前記糸の想定消費量を算出する
請求項1に記載の刺繍装置。
The thread estimated consumption calculation unit predicts the estimated consumption of the thread from the data of the position on the cloth corresponding to the number of stitches of the needle sewn with respect to the cloth and the history of the position in the initial embroidery data. The embroidery device according to claim 1, wherein the amount is calculated.
前記糸消費量検知機構は、糸に連れまわるローラに設けられて糸の累積搬送量を検知する検知センサと、糸消費量算出部とを含み、
前記検知センサは、想定される糸の色が切り替わる時点よりも所定ステッチ数だけ手前の時点で、糸の累積搬送量を検知し、
前記糸消費量算出部は、糸の累積搬送量を基に、実際の糸の消費量を算出する
請求項1乃至3のいずれか一項に記載の刺繍装置。
The yarn consumption detection mechanism includes a detection sensor provided on a roller accompanying the yarn to detect the cumulative amount of yarn conveyed, and a yarn consumption calculation unit.
The detection sensor detects the cumulative amount of yarn conveyed at a time before a predetermined number of stitches from the time when the expected color of the yarn is switched.
The embroidery device according to any one of claims 1 to 3, wherein the thread consumption calculation unit calculates an actual thread consumption based on a cumulative thread transfer amount.
前記糸消費量調整部は、
想定される糸の色が切り替わる時点t2よりも所定ステッチ数だけ手前の時点t1において、検知された前記実際の糸の消費量と、その時点t1における糸の想定消費量との差を比較する、消費量ずれ量算出部と、
糸上の色が切り替わる前の所定色の染色領域において、実際に色が切り替わる時点t2'における前記所定色の実際の糸の累積消費量と、想定される色が切り替わる時点t2における前記所定色の糸の累積想定消費量とが同じになるように、消費量の差を基に、時点t1から実際の色替え位置である時点t2'までの期間T12において、前記初期刺繍データから修正刺繍データへ、出力する刺繍データを置き換えて、布上の刺繍動作を調整する刺繍量調整部と、を有する
請求項1乃至3のいずれか一項に記載の刺繍装置。
The thread consumption adjusting unit is
The difference between the detected actual consumption of the thread and the estimated consumption of the thread at the time t1 is compared at the time t1 which is a predetermined number of stitches before the time t2 when the color of the assumed thread is switched. Consumption deviation amount calculation unit and
In the dyed region of the predetermined color before the color on the thread is switched, the cumulative consumption of the actual thread of the predetermined color at the time t2'when the color is actually switched and the cumulative consumption of the predetermined color at the time t2 when the assumed color is switched From the initial embroidery data to the modified embroidery data in the period T12 from the time point t1 to the time point t2'which is the actual color change position based on the difference in the consumption amount so that the cumulative estimated consumption amount of the thread becomes the same. The embroidery apparatus according to any one of claims 1 to 3, further comprising an embroidery amount adjusting unit that replaces the output embroidery data and adjusts the embroidery operation on the cloth.
ステッチ数をカウントすることで、想定される糸の色が切り替わる時点よりも所定ステッチ数だけ手前の時点を検知する
請求項5に記載の刺繍装置。
The embroidery apparatus according to claim 5, wherein by counting the number of stitches, a time point before a predetermined number of stitches is detected before the time when the expected thread color is switched.
定速モードで刺繍を実行する場合、
刺繍時間をカウントすることで、想定される糸の色が切り替わる時点よりも所定ステッチ数だけ手前の時点を検知する
請求項5に記載の刺繍装置。
When performing embroidery in constant speed mode
The embroidery apparatus according to claim 5, wherein by counting the embroidery time, a time point before a predetermined number of stitches is detected before the time point when the expected thread color is switched.
前記糸消費量検知機構は、糸の色の変化を検知する光学検知センサと、糸消費量算出部とを含み、
前記光学検知センサが検知するセンサ位置から針の先端までの距離は、所定ステッチ数で消費されると想定される距離に設定され、
前記光学検知センサは、前記センサ位置で色替え位置を検知し、
前記糸消費量算出部は、前記光学検知センサが検知した前記色替え位置の開始位置からの固定距離を呼び出して、実際の糸の消費量とし、
前記糸想定消費量算出部は、前記光学検知センサが検知した実際の色替え位置の検知タイミング時点t1のステッチ数に対応する布上の位置のデータと、前記初期刺繍データにおける位置の履歴から、前記検知タイミング時点t1において予測される糸の想定消費量を算出する
請求項1乃至3のいずれか一項に記載の刺繍装置。
The thread consumption detection mechanism includes an optical detection sensor for detecting a change in the color of the thread and a thread consumption calculation unit.
The distance from the sensor position detected by the optical detection sensor to the tip of the needle is set to a distance that is expected to be consumed by a predetermined number of stitches.
The optical detection sensor detects a color change position at the sensor position and determines the color change position.
The thread consumption calculation unit calls a fixed distance from the start position of the color change position detected by the optical detection sensor to obtain the actual thread consumption.
The thread estimated consumption calculation unit is based on the data of the position on the cloth corresponding to the number of stitches at the detection timing time t1 of the actual color change position detected by the optical detection sensor and the history of the position in the initial embroidery data. The embroidery apparatus according to any one of claims 1 to 3, which calculates the estimated consumption amount of the thread predicted at the detection timing time point t1.
前記糸消費量調整部は、
前記糸消費量検知機構が検知した実際の色替え位置の検知タイミング時点t1において、検知された前記実際の糸の消費量と、その時点t1における糸の想定消費量との差を比較する、消費量ずれ量算出部と、
糸上の色が切り替わる前の所定色の染色領域において、実際に色が切り替わる時点t2'における前記所定色の実際の糸の累積消費量と、想定される色が切り替わる時点t2における前記所定色の糸の累積想定消費量とが同じになるように、消費量の差を基に、時点t1から実際の色替え位置である時点t2'までの期間T12において、前記初期刺繍データから修正刺繍データへ、出力する刺繍データを置き換えて、布上の刺繍動作を調整する刺繍量調整部と、を有する
請求項8に記載の刺繍装置。
The thread consumption adjusting unit is
At the detection timing time t1 of the actual color change position detected by the thread consumption detection mechanism, the difference between the detected actual consumption of the thread and the estimated consumption of the thread at that time t1 is compared and consumed. The amount deviation amount calculation unit and
In the dyed region of the predetermined color before the color on the thread is switched, the cumulative consumption of the actual thread of the predetermined color at the time t2'when the color is actually switched and the cumulative consumption of the predetermined color at the time t2 when the assumed color is switched From the initial embroidery data to the modified embroidery data in the period T12 from the time point t1 to the time point t2'which is the actual color change position based on the difference in the consumption amount so that the cumulative estimated consumption amount of the thread becomes the same. The embroidery apparatus according to claim 8, further comprising an embroidery amount adjusting unit that replaces the output embroidery data and adjusts the embroidery operation on the cloth.
前記刺繍量調整部は、
時点t1での前記実際の糸の消費量が前記糸の想定消費量よりも少ない場合、期間T12での糸の消費量を増加させるように刺繍条件を設定し、
時点t1での前記実際の糸の消費量が前記糸の想定消費量よりも少ない場合、期間T12での糸の消費量を減少させるように刺繍条件を設定する
請求項5~7、9のいずれか一項に記載の刺繍装置。
The embroidery amount adjusting unit is
When the actual consumption of the thread at the time point t1 is smaller than the assumed consumption of the thread, the embroidery condition is set so as to increase the consumption of the thread at the period T12.
Any of claims 5 to 7, 9 in which the embroidery condition is set so as to reduce the consumption of the thread in the period T12 when the actual consumption of the thread at the time point t1 is smaller than the assumed consumption of the thread. The embroidery device described in item 1.
前記刺繍量調整部は、前記初期刺繍データのステッチの長さを変更した修正刺繍データを、時点t1から実際の色替え位置である時点t2'までの期間T12において、出力する刺繍データとする
請求項5~7、9、10のいずれか一項に記載の刺繍装置。
The embroidery amount adjusting unit uses the modified embroidery data in which the stitch length of the initial embroidery data is changed as embroidery data to be output in the period T12 from the time point t1 to the time point t2'which is the actual color change position. Item 5. The embroidery device according to any one of Items 5 to 7, 9, and 10.
前記刺繍量調整部は、前記初期刺繍データから糸を縫う密度を変更した修正刺繍データを、時点t1から実際の色替え位置である時点t2'までの期間T12において、出力する刺繍データとする
請求項5~7、9、10のいずれか一項に記載の刺繍装置。
The embroidery amount adjusting unit uses the modified embroidery data in which the thread sewing density is changed from the initial embroidery data as the embroidery data to be output in the period T12 from the time point t1 to the time point t2'which is the actual color change position. Item 5. The embroidery device according to any one of Items 5 to 7, 9, and 10.
前記刺繍量調整部は、前記初期刺繍データから本来入力されていないステッチを追加、もしくは一部削除した修正刺繍データを、時点t1から実際の色替え位置である時点t2'までの期間T12において、出力する刺繍データとする
請求項5~7、9、10のいずれか一項に記載の刺繍装置。
The embroidery amount adjusting unit adds or partially deletes stitches that were not originally input from the initial embroidery data in the period T12 from the time point t1 to the time point t2'which is the actual color change position. The embroidery device according to any one of claims 5 to 7, 9, and 10, which is the embroidery data to be output.
前記刺繍量調整部は、目的の刺繍以外の領域で糸を消費し、その消費後糸を切り、又は巻き取り後糸を切ることで、前記糸の消費量を増加させるように調整した修正刺繍データを、時点t1から実際の色替え位置である時点t2'までの期間T12において、出力する刺繍データとする
請求項5~7、9~13のいずれか一項に記載の刺繍装置。
The embroidery amount adjusting unit consumes the thread in a region other than the target embroidery, cuts the thread after consumption, or cuts the thread after winding, thereby adjusting the correction embroidery so as to increase the consumption of the thread. The embroidery device according to any one of claims 5 to 7 and 9 to 13, wherein the data is the embroidery data to be output in the period T12 from the time point t1 to the time point t2'which is the actual color change position.
上糸を染色する染色装置と、
前記染色装置から送られる前記上糸と、該上糸の送りに応じて送られる下糸を用いて、刺繍データに従って布に対して刺繍動作を行う刺繍装置と、を備える、染色・刺繍システムであって、
実際の上糸の消費量を検知する消費量検知機構と、
予め入力された初期刺繍データから得られる糸の想定消費量を算出する想定消費量算出部と、
算出した前記糸の想定消費量と、検知した実際の糸の消費量の差に基づいて、出力する刺繍データを調整して、前記刺繍動作における実際の糸の消費量を調節する糸消費量調整部と、を有し、
前記染色装置は、上糸に、上糸の搬送方向において変化する色を付与する染色部を有し、
前記消費量検知機構は、前記染色装置又は前記刺繍装置に搭載されており、
前記想定消費量算出部と、前記糸消費量調整部は、前記染色装置、前記刺繍装置、又は当該染色・刺繍システムと接続可能な上位制御装置に搭載されている
染色・刺繍システム。
A dyeing device that dyes the needle thread and
A dyeing / embroidery system comprising the needle thread sent from the dyeing device and an embroidery device that performs an embroidery operation on a cloth according to embroidery data using the bobbin thread sent in response to the feed of the needle thread. There,
A consumption detection mechanism that detects the actual consumption of needle thread,
An estimated consumption amount calculation unit that calculates the estimated consumption amount of thread obtained from the initial embroidery data input in advance,
Thread consumption adjustment that adjusts the output embroidery data based on the difference between the calculated estimated consumption of the thread and the detected actual consumption of the thread to adjust the actual consumption of the thread in the embroidery operation. With a part,
The dyeing apparatus has a dyeing unit that imparts a color that changes in the transport direction of the needle thread to the needle thread.
The consumption detection mechanism is mounted on the dyeing device or the embroidery device.
The assumed consumption amount calculation unit and the thread consumption amount adjustment unit are a dyeing / embroidery system mounted on the dyeing device, the embroidery device, or a higher-level control device that can be connected to the dyeing / embroidery system.
前記刺繍装置は、針が何回縫ったかのステッチ数を検出するステッチセンサを有し、
前記想定消費量算出部は、
前記刺繍装置で検知される前記針が何回縫ったかのステッチ数と、前記初期刺繍データにおける位置の履歴から、予測される前記糸の想定消費量を算出する
請求項15に記載の染色・刺繍システム。
The embroidery device has a stitch sensor that detects the number of stitches of how many times the needle has sewn.
The estimated consumption calculation unit is
The dyeing / embroidery system according to claim 15, wherein the estimated consumption of the thread is calculated from the number of stitches of how many times the needle has been sewn detected by the embroidery device and the history of the position in the initial embroidery data. ..
刺繍データに従って刺繍動作を行う刺繍装置における糸の調整方法であって、
予め入力された初期刺繍データから得られる糸の想定消費量を算出する想定消費量算出ステップと、
実際の糸の消費量を検知する消費量検知ステップと、
算出した前記糸の想定消費量と、検知した実際の糸の消費量の差に基づいて、出力する刺繍データを調整して、前記刺繍動作における実際の糸の消費量を調節する調整ステップと、を有する
糸の消費量調整方法。
It is a thread adjustment method in an embroidery device that performs embroidery operation according to embroidery data.
Estimated consumption calculation step to calculate the estimated consumption of thread obtained from the initial embroidery data input in advance, and
A consumption detection step that detects the actual consumption of yarn,
An adjustment step of adjusting the output embroidery data based on the difference between the calculated estimated consumption of the thread and the detected actual consumption of the thread to adjust the actual consumption of the thread in the embroidery operation. How to adjust the consumption of yarn.
JP2021126024A 2020-10-02 2021-07-30 Embroidery device, dyeing/embroidery system, and adjustment method of thread consumption amount Pending JP2022060156A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP21199904.0A EP3978673A1 (en) 2020-10-02 2021-09-29 Embroidery apparatus, dyeing/embroidery system, and method for adjusting consumption amount of thread
US17/449,476 US11718941B2 (en) 2020-10-02 2021-09-30 Embroidery apparatus, dyeing/embroidery system, and method for adjusting consumption amount of thread

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2020167666 2020-10-02
JP2020167666 2020-10-02

Publications (1)

Publication Number Publication Date
JP2022060156A true JP2022060156A (en) 2022-04-14

Family

ID=81124652

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021126024A Pending JP2022060156A (en) 2020-10-02 2021-07-30 Embroidery device, dyeing/embroidery system, and adjustment method of thread consumption amount

Country Status (1)

Country Link
JP (1) JP2022060156A (en)

Similar Documents

Publication Publication Date Title
EP3978673A1 (en) Embroidery apparatus, dyeing/embroidery system, and method for adjusting consumption amount of thread
KR101319857B1 (en) Thread supplying device for sewing machine
SE529819C2 (en) Procedure and device for sewing machine
JPH062250A (en) Method for controlling yarn processing position of weft knitting machine and device therefor
JP5550822B2 (en) How to display the weft insertion status of the loom
US20220098777A1 (en) Dyeing apparatus, dyeing unit, dyeing/embroidery system, and adjustment method in dyeing apparatus
JP2008289522A (en) Embroidering apparatus, controlling method for embroidering apparatus, and program
JPH06299458A (en) Ink jet dyeing automatically embroidering method and device therefor
KR20210048562A (en) System and method for inline processing of threads
US5671614A (en) Apparel system and a lily yarn machine usable to it
KR20140109290A (en) Flat knitting machine and knitting method using flat knitting machine
JP2022060156A (en) Embroidery device, dyeing/embroidery system, and adjustment method of thread consumption amount
US20230392312A1 (en) Embroidery system
JP2008289521A (en) Embroidering apparatus, controlling method for embroidering apparatus, and program
JP2022058181A (en) Embroidery device, dyeing and embroidery device, and dyeing and embroidery system
JP2012117156A (en) Method for setting injection period for sub-nozzles of air injection loom
JP2022058176A (en) Thread tension adjustment unit, embroidery device, dyeing device, dyeing and embroidery system, thread tension adjustment method, and thread tension adjustment program
EP3978672A1 (en) Embroidery apparatus, dyeing embroidery apparatus, and dyeing embroidery system
EP4151792A1 (en) Textile-printing-and-embroidery system, textile-printing-and- embroidery apparatus, and embroidery adjustment method for textile-printing-and-embroidery system
JP2022058183A (en) Dyeing device, dyeing unit, dyeing and embroidery system, and dyeing device adjustment method
JP5177666B2 (en) How to display the weft insertion status of the loom
JP2023175551A (en) embroidery system
US20070022930A1 (en) Embroidering and dyeing system
EP3978671B1 (en) Thread tensioning unit, embroidery apparatus, dyeing apparatus, dyeing embroidery system, thread tensioning method, and carrier medium
JP2024002722A (en) embroidery system