[go: up one dir, main page]

JP2014068803A - Sewing machine - Google Patents

Sewing machine Download PDF

Info

Publication number
JP2014068803A
JP2014068803A JP2012217002A JP2012217002A JP2014068803A JP 2014068803 A JP2014068803 A JP 2014068803A JP 2012217002 A JP2012217002 A JP 2012217002A JP 2012217002 A JP2012217002 A JP 2012217002A JP 2014068803 A JP2014068803 A JP 2014068803A
Authority
JP
Japan
Prior art keywords
thread
color
yarn
sewing machine
cpu
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
JP2012217002A
Other languages
Japanese (ja)
Inventor
Yutaka Nomura
裕 野村
Yoshio Nishimura
吉雄 西村
Satoshi Ichiyanagi
聡 一柳
Yoshinori Nakamura
慶典 中村
Akie Shimizu
明恵 清水
Yuki Ihira
祐己 井平
Daisuke Abe
大輔 阿部
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2012217002A priority Critical patent/JP2014068803A/en
Publication of JP2014068803A publication Critical patent/JP2014068803A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Sewing Machines And Sewing (AREA)

Abstract

【課題】糸量が足らない糸色の糸駒の新品を別途用意することなく、加工布にユーザが所望する刺繍模様を刺繍することができる。
【解決手段】
ミシン1は、交信範囲内にある複数の糸駒21の無線タグ801から糸情報を読取るリーダ510と、刺繍模様を選択する選択手段A1と、各色別模様部の使用糸量Pを取得する糸量取得手段D6と、糸情報の糸量Qと、各色別模様部の使用糸量Pと、を比較する比較手段D7と、糸情報の糸色の中から、各色別模様部に使用する使用糸色を抽出する抽出手段D9と、使用糸色を各色別模様部の糸色に割り当てる割当手段D13と、各色別模様部を縫製する縫製手段S11と、を備えることを特徴とする。
【選択図】 図22
An embroidery pattern desired by a user can be embroidered on a work cloth without separately preparing a new thread-colored thread spool with insufficient thread amount.
[Solution]
The sewing machine 1 includes a reader 510 that reads yarn information from the wireless tags 801 of a plurality of yarn spools 21 within the communication range, a selection unit A1 that selects an embroidery pattern, and a yarn that acquires a used thread amount P of each color pattern portion. The amount acquisition means D6, the comparison means D7 for comparing the yarn amount Q of the yarn information with the used yarn amount P of each color-specific pattern portion, and the use used for each color-specific pattern portion from among the yarn colors of the yarn information An extraction means D9 for extracting a thread color, an assigning means D13 for assigning a used thread color to a thread color of each color pattern portion, and a sewing means S11 for sewing each color pattern portion are provided.
[Selection] FIG.

Description

本発明は、複数の色別模様部からなる刺繍模様を加工布に縫製可能なミシンに関する。   The present invention relates to a sewing machine capable of sewing an embroidery pattern composed of a plurality of color-specific pattern portions onto a work cloth.

従来から、複数の色別模様部からなる刺繍模様を加工布に縫製可能なミシンが知られている。   2. Description of the Related Art Conventionally, a sewing machine that can sew an embroidery pattern composed of a plurality of color-specific pattern portions onto a work cloth is known.

特許文献1に、ミシンに装着されている糸駒、及びミシンの周囲に置かれた複数の糸駒毎に、糸駒に巻回される糸量を読み取った読取糸量と、刺繍模様を構成する複数の色別模様部を縫製する際に使用する使用糸色毎の使用糸量と、を比較して、刺繍模様を縫製可能か否かをユーザに報知するミシンが開示されている。これにより、ユーザは、手持ちの糸駒でも刺繍模様を縫製することができるか否かを知ることができる。   In Patent Document 1, a yarn amount mounted on a sewing machine, and a plurality of yarn pieces placed around the sewing machine, a reading yarn amount obtained by reading a yarn amount wound around the yarn piece, and an embroidery pattern are configured. There is disclosed a sewing machine that notifies a user whether or not an embroidery pattern can be sewn by comparing the amount of used thread for each used thread color used when sewing a plurality of color-specific pattern portions. Thereby, the user can know whether or not an embroidery pattern can be sewn with a hand-held thread spool.

特開2008−220615号公報JP 2008-220615 A

しかしながら、ユーザは、所望する刺繍模様を縫製することができないと知った場合、所望する刺繍模様を縫製するために、例えば、ユーザは、糸量が足らない糸色の糸駒の新品を別途用意したり、糸量が足らない糸色を糸駒の代わりに、別の糸色の糸駒を選び直したりする必要があった。   However, if the user knows that the desired embroidery pattern cannot be sewn, in order to sew the desired embroidery pattern, for example, the user separately prepares a new thread color thread piece with insufficient thread quantity. In other words, it was necessary to select a thread piece of a different thread color instead of a thread piece for a thread color with insufficient thread quantity.

本発明は、上記の問題点に鑑みてなされたものであり、ユーザに手間をとらせることなく、加工布にユーザが所望する刺繍模様を刺繍することができるミシンを提供することを目的とする。   The present invention has been made in view of the above-described problems, and an object of the present invention is to provide a sewing machine capable of embroidering an embroidery pattern desired by a user on a work cloth without making the user troublesome. .

本発明のミシンは、加工布上の縫製位置を指定する針落ち点データを含む刺繍データに基づき、複数の色別模様部からなる刺繍模様を縫製するミシンにおいて、巻回される糸の糸色と糸量とを少なくとも含む糸情報を記憶したICタグを備えた糸駒であって、交信範囲内にある複数の糸駒の前記ICタグから前記糸情報を読取るリーダと、前記刺繍模様を選択する選択手段と、前記選択手段により選択された前記刺繍模様である選択模様の刺繍データから、前記選択模様の各色別模様部に使用する糸の使用量である使用糸量を取得する糸量取得手段と、前記リーダにより読取られた複数の前記糸情報の糸量と、前記糸量取得手段により取得された前記各色別模様部の前記使用糸量と、を比較する比較手段と、前記比較手段の比較結果に基づき、前記リーダにより読み取られた複数の前記糸情報の糸色の中から、前記選択模様の各色別模様部に使用する糸の糸色である使用糸色を抽出する抽出手段と、前記抽出手段により抽出された前記使用糸色を前記各色別模様部の糸色に割り当てる割当手段と、前記割当手段により割り当てられた前記各色別模様部の前記糸色に基づき、前記各色別模様部を縫製する縫製手段と、を備えることを特徴とする。   The sewing machine of the present invention is a sewing machine that sews an embroidery pattern composed of a plurality of color-specific pattern portions based on embroidery data including needle drop point data that specifies a sewing position on a work cloth. A yarn piece having an IC tag storing yarn information including at least a yarn amount and a yarn amount, wherein the reader reads the yarn information from the IC tag of a plurality of yarn pieces within a communication range, and selects the embroidery pattern A selection unit; and a yarn amount acquisition unit that acquires a used yarn amount that is a used amount of a thread to be used for each color pattern portion of the selected pattern from embroidery data of the selected pattern that is the embroidery pattern selected by the selecting unit A comparison unit that compares the yarn amounts of the plurality of pieces of yarn information read by the reader with the used yarn amounts of the color-specific pattern portions acquired by the yarn amount acquisition unit; and Based on comparison results Extracting means for extracting the used thread color, which is the thread color of the thread used for each color pattern portion of the selected pattern, from among a plurality of thread colors of the thread information read by the reader; and extracting by the extracting means Allocating means for allocating the used thread color to the thread colors of the color-specific pattern portions, and sewing means for sewing the color-specific pattern portions based on the thread colors of the color-specific pattern portions allocated by the allocating means. And.

本発明のミシンは、交信範囲内の複数の糸駒の糸量と、糸量取得手段により取得された各色別模様部の使用糸量と、を比較した比較結果に基づき、リーダにより読み取られた複数の糸情報の糸色の中から、色別模様部に使用する使用糸色を抽出する。これにより、糸駒の糸量に応じて、使用糸色を抽出することができる。その結果、糸量が足らない糸色の糸駒の新品を別途用意することなく、加工布にユーザが所望する刺繍模様を刺繍することができる。   The sewing machine according to the present invention includes a plurality of pieces read by a reader based on a comparison result of a comparison between a yarn amount of a plurality of yarn pieces within a communication range and a used yarn amount of each color pattern portion acquired by a yarn amount acquisition unit. The used thread color used for the color-specific pattern portion is extracted from the thread colors of the thread information. Thereby, the used thread color can be extracted according to the thread amount of the thread spool. As a result, an embroidery pattern desired by the user can be embroidered on the work cloth without separately preparing a new thread-colored thread spool with insufficient thread amount.

本発明の第1実施形態におけるミシン1の斜視図。The perspective view of the sewing machine 1 in 1st Embodiment of this invention. ミシン1の上糸量検出装置45の平面図。FIG. 3 is a plan view of an upper thread amount detection device 45 of the sewing machine 1; ミシン1の電気的構成を示すブロック図。FIG. 2 is a block diagram showing an electrical configuration of the sewing machine 1. RAM103の記憶領域を説明するための概念図。The conceptual diagram for demonstrating the memory area of RAM103. 刺繍データ記憶領域243の一例を示す図。The figure which shows an example of the embroidery data storage area | region 243. FIG. 縫製前の検索糸情報記憶領域250の構成を示す模式図。The schematic diagram which shows the structure of the search thread | yarn information storage area 250 before sewing. 使用糸量Pを取得した直後の配色記憶領域252の構成を示す模式図。The schematic diagram which shows the structure of the color arrangement storage area 252 immediately after acquiring the used yarn amount P. FIG. 糸駒21の正面図。The front view of the thread piece 21. FIG. 糸駒21の側面図。The side view of the thread spool 21. FIG. 無線タグ801の電気的構成を示すブロック図。FIG. 6 is a block diagram showing an electrical configuration of a wireless tag 801. ミシン1のメイン処理のフローチャート。4 is a flowchart of main processing of the sewing machine 1; 刺繍データ処理S7の前半の処理に関わるフローチャート。The flowchart regarding the process of the first half of the embroidery data process S7. 刺繍データ処理S7の後半の処理に関わるフローチャート。The flowchart in connection with the latter half of embroidery data processing S7. メニュー画面300の一例を示す図。The figure which shows an example of the menu screen. 色替画面301の一例を示す図。The figure which shows an example of the color change screen. 色調設定画面302の一例を示す図。FIG. 5 is a diagram showing an example of a color tone setting screen 302. サムネイル画面303の一例を示す図。The figure which shows an example of the thumbnail screen 303. FIG. 拡大表示画面304の一例を示す図。The figure which shows an example of the enlarged display screen. カテゴリ設定処理A13に関わるフローチャート。The flowchart in connection with category setting process A13. 交信範囲選択処理B4に関わるフローチャート。The flowchart in connection with communication range selection process B4. ランダム配色処理A15に関わるフローチャート。The flowchart in connection with random color scheme A15. 配色処理C7に関わるフローチャート。The flowchart in connection with the color arrangement process C7. 比較処理D7に関わるフローチャート。The flowchart in connection with the comparison process D7. 配色後のRAM103の配色記憶領域252の構成を示す模式図。The schematic diagram which shows the structure of the color arrangement storage area 252 of RAM103 after color arrangement. 多針ミシン500の斜視図。The perspective view of the multi-needle sewing machine 500. FIG. 糸調子器514の要部部分縦断側面図。The principal part longitudinal cross-sectional side view of the thread tension device 514. FIG. 糸調子器514の要部横断平面図。The principal part cross-sectional top view of the thread tension device 514. FIG.

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

[第1実施形態のミシン1の構成]
図1を参照して、第1実施形態に係るミシン1の物理的構成について説明する。図1に示すように、ミシン1は、ベッド部2と、脚柱部3と、アーム部4と、を備える。ベッド部2は、ミシン1の土台部である。ベッド部2は、加工布31が載置可能な平面を有する。脚柱部3は、ベッド部2から延びる。アーム部4は、ベッド部2に対向して脚柱部3から延びる。
[Configuration of the sewing machine 1 of the first embodiment]
The physical configuration of the sewing machine 1 according to the first embodiment will be described with reference to FIG. As shown in FIG. 1, the sewing machine 1 includes a bed part 2, a pedestal part 3, and an arm part 4. The bed part 2 is a base part of the sewing machine 1. The bed 2 has a flat surface on which the work cloth 31 can be placed. The pedestal 3 extends from the bed 2. The arm portion 4 extends from the pedestal portion 3 so as to face the bed portion 2.

第1実施形態における方向について定義する。脚柱部2がベッド部1から延びる方向を、上方向とし、上方向の反対方向を下方向とする。アーム部3が脚柱部2から延びる方向を、左方向とし、左方向の反対方向を右方向とする。左右方向と上下方向とに直交する方向を、前後方向とする。   The direction in the first embodiment will be defined. A direction in which the pedestal 2 extends from the bed 1 is an upward direction, and a direction opposite to the upward direction is a downward direction. The direction in which the arm 3 extends from the pedestal 2 is defined as the left direction, and the direction opposite to the left is defined as the right direction. The direction orthogonal to the left-right direction and the up-down direction is defined as the front-rear direction.

第1実施形態における縫製手段について説明する。縫製手段は、後述する刺繍模様の各色別模様部の糸色に基づき、各色別模様部を縫製する。縫製手段は、不図示の送り歯と、送り機構と、送り量調整用パルスモータ132と、ミシンモータ133と、釜機構と、針棒8と、天秤機構と、を含む。   The sewing means in the first embodiment will be described. The sewing means sews each color pattern portion based on the thread color of each color pattern portion of the embroidery pattern to be described later. The sewing means includes a feed dog (not shown), a feed mechanism, a feed amount adjusting pulse motor 132, a sewing machine motor 133, a shuttle mechanism, a needle bar 8, and a balance mechanism.

送り歯は、縫製対象である加工布を所定の送り量で移送する。送り機構は、送り歯を駆動する。送り量調整用パルスモータ132は、加工布の送り量を調整する。ミシンモータ133の駆動力は、駆動ベルト、及びプーリを介して主軸に伝達される。また、ミシンモータ133の駆動力は下軸に伝達され、送り機構と釜機構とが駆動される。釜機構は、下糸用ボビンが収容される。ミシンモータ133の回転により、針棒8、天秤機構、釜機構、及び送り機構等が同期駆動され、刺繍模様ではない実用模様を縫製することができる。   The feed dog transports the work cloth to be sewn with a predetermined feed amount. The feed mechanism drives the feed dog. The feed amount adjusting pulse motor 132 adjusts the feed amount of the work cloth. The driving force of the sewing machine motor 133 is transmitted to the main shaft through a driving belt and a pulley. Further, the driving force of the sewing machine motor 133 is transmitted to the lower shaft, and the feed mechanism and the shuttle mechanism are driven. The shuttle mechanism accommodates a bobbin for lower thread. By rotating the sewing machine motor 133, the needle bar 8, the balance mechanism, the shuttle mechanism, the feed mechanism, and the like are driven synchronously, and a practical pattern that is not an embroidery pattern can be sewn.

刺繍装置30は、刺繍枠32を前後方向及び左右方向に夫々移動させる。刺繍枠32は、加工布31を保持する。刺繍装置30は、ベッド部2に着脱可能に装着される。刺繍装置30は、キャリッジカバー33と、キャリッジと、前後移動機構と、本体カバー11と、左右移動機構と、図3に示すX軸モータ136と、図3に示すY軸モータ137と、を備える。キャリッジは、キャリッジカバー33の右側面に配置され、刺繍枠32を着脱可能に装着する。前後移動機構は、キャリッジを前後方向に移動させるように駆動する。左右移動機構は、本体カバー11内に収納され、前後移動機構全体を左右方向に移動させるように駆動する。Y軸モータ137は、前後移動機構を駆動する。X軸モータ136は、左右移動機構を駆動する。ミシン1は、前後移動機構、及び左右移動機構により、刺繍枠32を移動させながら針棒8、及び釜機構等を同期駆動させることで、加工布31に対して刺繍模様を縫製する。また、刺繍模様の縫製時には、送り歯は周知の送り歯沈下機構により、ベッド部2上面に設けられた針板上面より突出しない沈下位置に保持される。   The embroidery device 30 moves the embroidery frame 32 in the front-rear direction and the left-right direction, respectively. The embroidery frame 32 holds the work cloth 31. The embroidery device 30 is detachably attached to the bed unit 2. The embroidery device 30 includes a carriage cover 33, a carriage, a front / rear movement mechanism, a main body cover 11, a left / right movement mechanism, an X-axis motor 136 shown in FIG. 3, and a Y-axis motor 137 shown in FIG. . The carriage is disposed on the right side surface of the carriage cover 33, and the embroidery frame 32 is detachably mounted thereon. The back-and-forth moving mechanism is driven to move the carriage in the front-rear direction. The left / right moving mechanism is housed in the main body cover 11 and is driven to move the entire front / rear moving mechanism in the left / right direction. The Y-axis motor 137 drives the forward / backward movement mechanism. The X-axis motor 136 drives the left / right movement mechanism. The sewing machine 1 sews the embroidery pattern on the work cloth 31 by synchronously driving the needle bar 8, the shuttle mechanism, and the like while moving the embroidery frame 32 by the back-and-forth movement mechanism and the left-right movement mechanism. Further, when the embroidery pattern is sewn, the feed dog is held at a subsidence position that does not protrude from the upper surface of the needle plate provided on the upper surface of the bed portion 2 by a known feed dog subsidence mechanism.

図1に示すように、縦長の液晶ディスプレイ10(以下、LCD10と称する)が、脚柱部3の前面に設けられる。LCD10は、刺繍模様の設定内容、及び編集等、縫製作業に必要な各種の機能を実行させる機能名、又は各種のメッセージ等を表示する。LCD10は、タッチパネル111を備える。ユーザがLCD10に表示された項目の表面のタッチパネル111を指、又は専用のペンで触ると、タッチパネル111は、どの項目が選択されたかを感知する。これにより、ユーザは、LCD10を介して種々の指示を入力することができる。   As shown in FIG. 1, a vertically long liquid crystal display 10 (hereinafter referred to as an LCD 10) is provided on the front surface of the pillar 3. The LCD 10 displays the setting contents of the embroidery pattern, function names for executing various functions necessary for the sewing work such as editing, various messages, and the like. The LCD 10 includes a touch panel 111. When the user touches the touch panel 111 on the surface of the item displayed on the LCD 10 with a finger or a dedicated pen, the touch panel 111 senses which item has been selected. Thereby, the user can input various instructions via the LCD 10.

コネクタ108は、脚柱部3の右側面に設けられる。各種データ、又は各種プログラムは、コネクタ108を介して、ミシン1に取り込まれたり、ミシン1から出力されたりする。   The connector 108 is provided on the right side surface of the pedestal 3. Various data or various programs are taken into the sewing machine 1 or output from the sewing machine 1 via the connector 108.

開閉カバー6は、アーム部4の上部の左右全長にわたって設けられる。開閉カバー6は、アーム部4の左右方向の軸回りに開閉するよう、アーム部4の上側背面部に枢支される。糸駒収容部15、及び糸立棒16は、アーム部4の上面中央部近傍の開閉カバー6の内部に設けられる。糸駒収容部15は、上糸20が巻回された糸駒21を収容する凹部である。糸立棒16は、糸駒収容部15の右側面から、左方向に延びる。糸立棒16は、糸駒21を支持する。   The open / close cover 6 is provided over the entire length of the left and right upper portions of the arm portion 4. The opening / closing cover 6 is pivotally supported on the upper back surface portion of the arm portion 4 so as to open and close around the left and right axis of the arm portion 4. The thread spool storage unit 15 and the spool pin 16 are provided inside the opening / closing cover 6 near the center of the upper surface of the arm unit 4. The yarn spool accommodating portion 15 is a recess that accommodates the yarn spool 21 around which the upper thread 20 is wound. The spool pin 16 extends in the left direction from the right side surface of the yarn spool housing portion 15. The thread spool 16 supports the thread spool 21.

針棒8は、アーム部4の先端部の下部に設けられる。針棒8は、縫針が装着される。アーム部4は、糸調子機構と、糸取りバネと、天秤と、上糸量検出装置45と、タグリーダライタ510と、複数の操作キー9と、を備える。糸駒21から引き出された上糸20は、上糸量検出装置45、糸調子機構、糸取りバネ、及び天秤等の糸道経路を経由して、縫針まで供給される。タグリーダライタ510は、糸駒21に内蔵された図9に示す無線タグ801の糸情報を読み取り、かつ書き込む機能を有する。複数の操作キー9は、アーム部4の前面に設けられる。複数の操作キー9は、各種の縫製動作を指示するためのキーである。例えば、複数の操作キー9は、縫製動作の開始、及び停止を指示するためのスタート・ストップキー91を含む。   The needle bar 8 is provided at the lower part of the distal end portion of the arm portion 4. A needle is attached to the needle bar 8. The arm unit 4 includes a thread tension mechanism, a thread take-up spring, a balance, an upper thread amount detection device 45, a tag reader / writer 510, and a plurality of operation keys 9. The upper thread 20 pulled out from the thread spool 21 is supplied to the sewing needle via a thread path such as an upper thread amount detection device 45, a thread tension mechanism, a thread take-up spring, and a balance. The tag reader / writer 510 has a function of reading and writing yarn information of the wireless tag 801 shown in FIG. The plurality of operation keys 9 are provided on the front surface of the arm unit 4. The plurality of operation keys 9 are keys for instructing various sewing operations. For example, the plurality of operation keys 9 include a start / stop key 91 for instructing start and stop of a sewing operation.

[上糸量検出装置45]
図2を参照して、上糸量検出装置45について説明する。上糸量検出装置45は、糸駒21から上糸20が引き出された上糸量を検出する。上糸量検出装置45は、糸駒21から糸調子機構に至る糸道経路に設けられる。
[Upper thread amount detection device 45]
The upper thread amount detection device 45 will be described with reference to FIG. The upper thread amount detection device 45 detects the upper thread amount from which the upper thread 20 is pulled out from the yarn spool 21. The upper thread amount detection device 45 is provided on the yarn path from the yarn spool 21 to the thread tension mechanism.

図2に示すように、上糸量検出装置45は、取付け台46と、ネジ50と、エンコーダ48と、第1ギア52と、第1回転軸48aと、第2ギア54と、第2回転軸56と、回転ローラ58と、を備える。エンコーダ48は、ネジ50により取付け台46に取り付けられる。エンコーダ48は、第1回転軸48aの回転量を検出するロータリエンコーダである。第1ギア52が、第1回転軸48aに固着される。第1ギア52は、第2ギア54に噛み合う。第2ギア54は、第2回転軸56により取付け台46に回転可能に支持される。回転ローラ58は、第2ギア54に固着される。回転ローラ58は、第2ギア54と一体に回転するように構成される。   As shown in FIG. 2, the upper thread amount detection device 45 includes a mounting base 46, a screw 50, an encoder 48, a first gear 52, a first rotating shaft 48a, a second gear 54, and a second rotation. A shaft 56 and a rotating roller 58 are provided. The encoder 48 is attached to the mounting base 46 with screws 50. The encoder 48 is a rotary encoder that detects the amount of rotation of the first rotating shaft 48a. The first gear 52 is fixed to the first rotating shaft 48a. The first gear 52 meshes with the second gear 54. The second gear 54 is rotatably supported on the mounting base 46 by the second rotating shaft 56. The rotating roller 58 is fixed to the second gear 54. The rotating roller 58 is configured to rotate integrally with the second gear 54.

枢支軸62は、取付け台46に固着される。揺動レバー60は、枢支軸62に揺動可能に枢支される。揺動レバー60は、第1腕部60aと、第2腕部60bと、第3腕部60cと、を備える。第1腕部60aと、第2腕部60bと、第3腕部60cとは、枢支軸62を中心として、上下方向に直交する平面に延びる構成である。引張りバネ64は、第1腕部60aの先端とバネ取り付け部61とにわたって掛装される。バネ取り付け部61は、取付け台46の一部である。バネ取り付け部61は、第1腕部60aより前方に設けられる。引張りバネ64の弾性力は、第1腕部60aの前方に作用する。これにより、第1腕部60a、及び揺動レバー60は、枢支軸62を中心として反時計回りに回動する。ローラホルダ68は、略三角形状の平板部材である。枢支軸66は、ローラホルダ68に固着される。枢支軸66は、第2腕部60bの先端に回転可能に連結される。ローラホルダ68は、第2腕部60bの先端に回動可能に枢支される。長孔63は、ローラホルダ68の他端部に形成される。回転ローラ58が、長孔63に挿通される。   The pivot shaft 62 is fixed to the mounting base 46. The swing lever 60 is pivotally supported by the pivot shaft 62 so as to be swingable. The swing lever 60 includes a first arm portion 60a, a second arm portion 60b, and a third arm portion 60c. The first arm portion 60a, the second arm portion 60b, and the third arm portion 60c are configured to extend in a plane orthogonal to the vertical direction with the pivot shaft 62 as a center. The tension spring 64 is hooked over the tip of the first arm portion 60 a and the spring attachment portion 61. The spring mounting portion 61 is a part of the mounting base 46. The spring mounting portion 61 is provided in front of the first arm portion 60a. The elastic force of the tension spring 64 acts in front of the first arm portion 60a. As a result, the first arm portion 60 a and the swing lever 60 rotate counterclockwise about the pivot shaft 62. The roller holder 68 is a substantially triangular flat plate member. The pivot shaft 66 is fixed to the roller holder 68. The pivot shaft 66 is rotatably connected to the tip of the second arm portion 60b. The roller holder 68 is pivotally supported at the tip of the second arm portion 60b. The long hole 63 is formed at the other end of the roller holder 68. The rotating roller 58 is inserted through the long hole 63.

枢支軸72、73は、ローラホルダ68に固着される。第1従動ローラ70と、第2従動ローラ71とは、ローラホルダ68の他端部の近傍に設けられる。第1従動ローラ70と、第2従動ローラ71とは、ゴム製である。第1従動ローラ70は、枢支軸72に回転可能に支持される。第2従動ローラ71は、枢支軸73に回転可能に支持される。従って、揺動レバー60が枢支軸62を中心として反時計回りへ回動することにより、第1従動ローラ70と、第2従動ローラ71とは、ローラホルダ68を介して矢印方向74に移動し、回転ローラ58を押圧する。矢印方向74は、例えば右前方向である。   The pivot shafts 72 and 73 are fixed to the roller holder 68. The first driven roller 70 and the second driven roller 71 are provided in the vicinity of the other end of the roller holder 68. The first driven roller 70 and the second driven roller 71 are made of rubber. The first driven roller 70 is rotatably supported on the pivot shaft 72. The second driven roller 71 is rotatably supported on the pivot shaft 73. Accordingly, the first driven roller 70 and the second driven roller 71 are moved in the arrow direction 74 via the roller holder 68 when the swing lever 60 is rotated counterclockwise about the pivot shaft 62. Then, the rotating roller 58 is pressed. The arrow direction 74 is, for example, the right front direction.

ミシン1は、加工布を押圧する押え足を装着する押え棒と、押え棒を手動操作で上下方向に昇降させる操作レバーと、を備える。第3腕部60cは、操作レバーに作動的に連結される。ユーザが操作レバーを操作すると、押え棒、及び押え足が上昇する。押え足が上昇すると、揺動レバー60は、引っ張りバネ64の弾性力に抗して時計回りに回動する。揺動レバー60が時計回りに回動すると、第1従動ローラ70と、第2従動ローラ71とは、回転ローラ58から夫々隔離する。   The sewing machine 1 includes a presser bar on which a presser foot that presses the work cloth is mounted, and an operation lever that moves the presser bar up and down manually. The third arm portion 60c is operatively connected to the operation lever. When the user operates the operation lever, the presser bar and the presser foot rise. When the presser foot rises, the swing lever 60 rotates clockwise against the elastic force of the tension spring 64. When the swing lever 60 rotates clockwise, the first driven roller 70 and the second driven roller 71 are separated from the rotating roller 58, respectively.

糸駒21に巻回された上糸20を糸道経路に掛けるときに、ユーザは操作レバーを操作して押え足を上昇させ、第1従動ローラ70と、第2従動ローラ71とを、回転ローラ58から夫々隔離させる。また、操作レバーの操作により、糸調子機構の糸調子皿を開放する。糸調子皿の開放状態で、糸道経路に上糸20を掛けてゆくことにより、上糸20が、第1従動ローラ70と回転ローラ58との間、及び第2従動ローラ71と回転ローラ58との間に挿入される。上糸20が、第1従動ローラ70と回転ローラ58との間、及び第2従動ローラ71と回転ローラ58との間に挿入された状態で、ユーザが操作レバーを操作して押え足を縫製位置へ降下させると、上糸20は、第1従動ローラ70と回転ローラ58との間に挟まれるとともに、第2従動ローラ71と回転ローラ58との間に挟まれる。   When the upper thread 20 wound around the yarn spool 21 is hung on the yarn path, the user operates the operation lever to raise the presser foot and rotate the first driven roller 70 and the second driven roller 71. Each is isolated from the roller 58. Further, the thread tension plate of the thread tension mechanism is opened by operating the operation lever. When the upper thread 20 is hung on the yarn path in the open state of the thread tension plate, the upper thread 20 is moved between the first driven roller 70 and the rotating roller 58, and between the second driven roller 71 and the rotating roller 58. Inserted between. With the upper thread 20 inserted between the first driven roller 70 and the rotating roller 58 and between the second driven roller 71 and the rotating roller 58, the user operates the operating lever to sew the presser foot. When lowered to the position, the upper thread 20 is sandwiched between the first driven roller 70 and the rotating roller 58 and also between the second driven roller 71 and the rotating roller 58.

上糸検出動作について説明する。縫製動作により上糸20が引き出されると、回転ローラ58が回転する。回転ローラ58が回転すると、回転ローラ58に固着された第2ギア54が回転する。第2ギア54が回転すると、第2ギア54と噛み合う第1ギア52が回転する。第1ギア52が回転すると、エンコーダ48の第1回転軸48aが回転する。後述するCPU101は、エンコーダ48により検出される第1ギア52の回転量から回転ローラ58の回転量を演算する。回転ローラ58の円周、及び回転ローラ58の回転量を基にして、上糸20が糸駒21から引き出された上糸量を検出する。検出された上糸量を、以降、検出糸量と称する。   The upper thread detection operation will be described. When the upper thread 20 is pulled out by the sewing operation, the rotating roller 58 rotates. When the rotating roller 58 rotates, the second gear 54 fixed to the rotating roller 58 rotates. When the second gear 54 rotates, the first gear 52 that meshes with the second gear 54 rotates. When the first gear 52 rotates, the first rotating shaft 48a of the encoder 48 rotates. The CPU 101 described later calculates the rotation amount of the rotation roller 58 from the rotation amount of the first gear 52 detected by the encoder 48. Based on the circumference of the rotating roller 58 and the amount of rotation of the rotating roller 58, the amount of the upper thread with which the upper thread 20 is pulled out from the yarn spool 21 is detected. The detected upper thread amount is hereinafter referred to as a detected yarn amount.

[ミシン1の電気的構成]
図3を参照して、ミシン1の電気的構成について説明する。制御部100は、CPU101と、ROM102と、RAM103と、EEPROM104と、入力I/F105と、出力I/F106と、コネクタ108と、を備える。上記制御部100の構成要素は、バスにより相互に接続される。入力I/F105は、スタート・ストップキー91と、エンコーダ48と、タッチパネル111と、タグリーダライタ510と、にそれぞれ接続される。出力I/F106は、送り量調整用パルスモータ132と、ミシンモータ133と、LCD10と、X軸モータ136と、Y軸モータ137と、タグリーダライタ510と、をそれぞれ駆動する駆動回路123〜128に接続される。ROM102は、読み出し専用の記憶素子である。RAM103は、任意に読み書き可能な記憶素子である。コネクタ108は、CD−ROMドライブ等の外部記憶装置190が接続されるように構成される。
[Electric configuration of sewing machine 1]
The electrical configuration of the sewing machine 1 will be described with reference to FIG. The control unit 100 includes a CPU 101, a ROM 102, a RAM 103, an EEPROM 104, an input I / F 105, an output I / F 106, and a connector 108. The components of the control unit 100 are connected to each other by a bus. The input I / F 105 is connected to the start / stop key 91, the encoder 48, the touch panel 111, and the tag reader / writer 510, respectively. The output I / F 106 is supplied to drive circuits 123 to 128 for driving the feed amount adjusting pulse motor 132, the sewing machine motor 133, the LCD 10, the X-axis motor 136, the Y-axis motor 137, and the tag reader / writer 510, respectively. Connected. The ROM 102 is a read-only storage element. The RAM 103 is a storage element that can be arbitrarily read and written. The connector 108 is configured to be connected to an external storage device 190 such as a CD-ROM drive.

CPU101は、ミシン1の主制御を司る。CPU101は、ROM102のプログラム記憶領域に記憶された各種のプログラムに従って、演算及び処理を実行する。RAM103は、各種のデータを一時的に記憶する記憶領域が設けられる。   The CPU 101 governs main control of the sewing machine 1. The CPU 101 executes calculations and processes according to various programs stored in the program storage area of the ROM 102. The RAM 103 is provided with a storage area for temporarily storing various data.

タグリーダライタ510は、交信範囲内にある複数の糸駒21に設けられた無線タグ801と無線にて通信し、無線タグ801から糸情報を読み取る。具体的には、タグリーダライタ510は、非接触で無線タグ801に記憶された情報を読み取り、かつ書き込む。タグリーダライタ510は、アンテナと、送受信回路と、信号処理回路と、制御回路と、を備える。図9に示すように、アンテナは、無線タグ801が有するアンテナ811との間で無線通信により信号を授受する。送受信回路は、タグリーダライタ510のアンテナを介して無線タグ801のIC回路部820へアクセスし、情報を読み取り、かつ書き込む。信号処理回路は、無線タグ801から読み出された信号を処理する。制御回路は、マイクロコンピュータである。制御回路は、CPU、ROM、及びRAM等から構成される。制御回路は、RAMの一時的な記憶領域を利用しつつ、ROMに予め記憶されたプログラムに従って信号を処理する。   The tag reader / writer 510 communicates wirelessly with the wireless tags 801 provided on the plurality of yarn spools 21 within the communication range, and reads the yarn information from the wireless tag 801. Specifically, the tag reader / writer 510 reads and writes information stored in the wireless tag 801 in a contactless manner. The tag reader / writer 510 includes an antenna, a transmission / reception circuit, a signal processing circuit, and a control circuit. As illustrated in FIG. 9, the antenna transmits and receives signals to and from the antenna 811 included in the wireless tag 801 by wireless communication. The transmission / reception circuit accesses the IC circuit unit 820 of the wireless tag 801 via the antenna of the tag reader / writer 510, reads and writes information. The signal processing circuit processes a signal read from the wireless tag 801. The control circuit is a microcomputer. The control circuit includes a CPU, a ROM, a RAM, and the like. The control circuit processes signals according to a program stored in advance in the ROM while using a temporary storage area of the RAM.

[RAM103の詳細]
図4を参照して、RAM103について説明する。RAM103は、上記のプログラム、データ、タッチパネル111の操作等で入力された各種の設定値、及び制御部100で演算された演算結果等を一時的に記憶するための記憶領域を有する。具体的には、図4に示すように、RAM103は、プログラム記憶領域241と、設定記憶領域242と、刺繍データ記憶領域243と、色情報記憶領域246と、画像表示データ記憶領域247と、検索糸情報記憶領域250と、選択模様記憶領域251と、配色記憶領域252と、検出糸量記憶領域253と、糸色候補記憶領域254と、を含む。プログラム記憶領域241は、メインプログラムを記憶する。メインプログラムは、後述するフローチャートに従った処理を実現するためのプログラムである。設定記憶領域242は、CPU101がプログラムを実行する際に参照する設定値、又はテーブル等を記憶する。刺繍データ記憶領域243は、CPU101が刺繍データを作成する際に基準となるデータを記憶する。色情報記憶領域246は、刺繍模様の配色に用いられるデータを記憶する。刺繍模様の配色に用いられるデータは、パレット別色番号等である。画像表示データ記憶領域247は、LCD10に表示する画面の画像データ、及び表示設定情報を記憶する。検索糸情報記憶領域250は、タグリーダライタ510が読み取った無線タグ801の糸情報を記憶する。選択模様記憶領域251は、ユーザにより選択された選択模様の刺繍データを記憶する。配色記憶領域252は、色別模様部と使用糸色とを対応付けて記憶する。検出糸量記憶領域253は、縫製中に上糸量検出装置45により検出された検出糸量を記憶する。糸色候補記憶領域254は、使用糸量Pと糸駒21の糸量Qとの比較結果に基づき、ランダムに抽出した色を一次的に記憶する。
[Details of RAM 103]
The RAM 103 will be described with reference to FIG. The RAM 103 has a storage area for temporarily storing the above-described program, data, various setting values input by operating the touch panel 111, and calculation results calculated by the control unit 100. Specifically, as shown in FIG. 4, the RAM 103 includes a program storage area 241, a setting storage area 242, an embroidery data storage area 243, a color information storage area 246, and an image display data storage area 247. A thread information storage area 250, a selected pattern storage area 251, a color arrangement storage area 252, a detected thread amount storage area 253, and a thread color candidate storage area 254 are included. The program storage area 241 stores the main program. The main program is a program for realizing processing according to a flowchart described later. The setting storage area 242 stores setting values, tables, and the like that are referred to when the CPU 101 executes a program. The embroidery data storage area 243 stores data serving as a reference when the CPU 101 creates embroidery data. The color information storage area 246 stores data used for the color scheme of the embroidery pattern. Data used for the color scheme of the embroidery pattern is a color number for each palette. The image display data storage area 247 stores screen image data to be displayed on the LCD 10 and display setting information. The search thread information storage area 250 stores the thread information of the wireless tag 801 read by the tag reader / writer 510. The selected pattern storage area 251 stores embroidery data of a selected pattern selected by the user. The color arrangement storage area 252 stores the color-specific pattern portion and the used thread color in association with each other. The detected thread amount storage area 253 stores the detected thread amount detected by the upper thread amount detecting device 45 during sewing. The yarn color candidate storage area 254 temporarily stores randomly extracted colors based on the comparison result between the used yarn amount P and the yarn amount Q of the yarn spool 21.

図18に示すLCD10の拡大表示画面304に表示された「花」の刺繍模様340を説明する。刺繍模様340は、複数の色別模様部からなる。刺繍模様340は、例えば、n個の色別模様部である第1模様部401〜第n模様部40nからなる。nは、2以上の整数である。例えば、花びらを構成する第1模様部401は、赤の糸色で縫製される。葉を構成する第2模様部402は、紫の糸色で縫製される。茎を構成する第3模様部403は、黄緑の糸色で縫製される。なお、模様部401〜40nは、夫々異なる色が設定される色別模様部であるが、各模様部401〜40nは、相互に異なる色でなくてもよい。   The “flower” embroidery pattern 340 displayed on the enlarged display screen 304 of the LCD 10 shown in FIG. 18 will be described. The embroidery pattern 340 includes a plurality of color-specific pattern portions. The embroidery pattern 340 includes, for example, a first pattern portion 401 to an nth pattern portion 40n which are n color-specific pattern portions. n is an integer of 2 or more. For example, the 1st pattern part 401 which comprises a petal is sewn with a red thread color. The second pattern portion 402 constituting the leaf is sewn with a purple thread color. The third pattern portion 403 constituting the stem is sewn with a yellowish green thread color. The pattern portions 401 to 40n are color-specific pattern portions in which different colors are set, but the pattern portions 401 to 40n may not be different from each other.

刺繍データは、ミシン1が刺繍模様を縫製するためのデータである。刺繍データは、複数個の色別模様部データからなる。例えば、図5に示すように、刺繍模様340に関する刺繍データである場合、刺繍データは、模様部401〜40nの各模様部に設定された各針落ち点データと、模様部401〜40nの各模様部の縫製順序を特定するための縫製順序データと、糸色データと、を含む。針落ち点データは、加工布31上の縫製位置を指定する。針落ち点データは、例えば、加工布31上の針落ち点のXY座標である。縫製順序データは、例えば、「模様1」、「模様2」等の順番を示す番号である。糸色データは、各模様部の糸色を特定するために付与されるデータである。   The embroidery data is data for the sewing machine 1 to sew an embroidery pattern. The embroidery data consists of a plurality of color-specific pattern portion data. For example, as shown in FIG. 5, when the embroidery data is related to the embroidery pattern 340, the embroidery data includes needle drop point data set in each pattern portion of the pattern portions 401 to 40 n and each of the pattern portions 401 to 40 n. This includes sewing order data for specifying the sewing order of the pattern portion and thread color data. The needle drop point data designates a sewing position on the work cloth 31. The needle drop point data is, for example, XY coordinates of the needle drop point on the work cloth 31. The sewing order data is, for example, a number indicating the order of “pattern 1”, “pattern 2”, and the like. The thread color data is data given to specify the thread color of each pattern portion.

図5に示すように、縫製順序データである「模様1」は、最初に縫製される順序を特定するデータである。糸色データである「赤」は、実際には色番号で示される。針落ち点データである「Xa0、Ya0」…「XaN、YaN」は、縫針が順次針落ちする座標である。これと同様に、縫製順序が2番目以降の刺繍データについても、縫製順序データ「模様2」〜「模様n」と、糸色データ「紫」〜「青」と、針落ち点データ「XbN、YbN」〜「XnN、YnN」とが夫々含まれる。刺繍データは、LCD10に表示する刺繍模様の画像データを含む。刺繍模様の画像データは、例えばbmp形式のデータである。CPU101が刺繍データ記憶領域243から刺繍模様の画像データを読み込むと、LCD10は刺繍模様の画像を各糸色データによって割り当てられた色で表示する。   As shown in FIG. 5, “pattern 1” that is sewing order data is data that specifies the order in which sewing is performed first. The thread color data “red” is actually indicated by a color number. The needle drop point data “Xa0, Ya0”... “XaN, YaN” are coordinates at which the sewing needles sequentially drop. Similarly, for the embroidery data whose sewing order is the second or later, sewing order data “pattern 2” to “pattern n”, thread color data “purple” to “blue”, and needle drop point data “XbN, YbN ”to“ XnN, YnN ”are included. The embroidery data includes embroidery pattern image data to be displayed on the LCD 10. The embroidery pattern image data is, for example, data in the bmp format. When the CPU 101 reads the image data of the embroidery pattern from the embroidery data storage area 243, the LCD 10 displays the image of the embroidery pattern in the color assigned by each thread color data.

EEPROM104は、糸色データとして割り当てられる色情報を記憶する。色情報は、例えば、ミシン1が使用可能な糸駒21の糸色に関する情報である。EEPROM104は、第1パレットテーブルを記憶する。第1パレットテーブルは、64色分のRGB値と、64色分のRGB値に夫々対応付けられた1〜64のパレット別色番号と、からなる。第1パレットテーブルは、図15にて詳述する。   The EEPROM 104 stores color information assigned as thread color data. The color information is, for example, information regarding the thread color of the thread spool 21 that can be used by the sewing machine 1. The EEPROM 104 stores a first pallet table. The first palette table includes RGB values for 64 colors and 1 to 64 palette-specific color numbers respectively associated with the RGB values for 64 colors. The first pallet table will be described in detail with reference to FIG.

図6に示すように、検索糸情報記憶領域250は、タグリーダライタ510が読み取った無線タグ801に記憶される糸情報を記憶する。タグリーダライタ510の最大交信範囲は、ミシン1の周囲約100[cm]に及ぶように設定される。従って、タグリーダライタ510は、ミシン1に装着される糸駒21に限らず、その周囲に置かれた複数の糸駒21に備えられた無線タグ801の情報を順に読み取ることができる。検索糸情報記憶領域250は、糸駒21の色番号と、糸駒21に巻回される糸の糸色と、糸駒21に残る糸の長さである糸量と、を少なくとも含む糸情報を記憶する。   As shown in FIG. 6, the search thread information storage area 250 stores thread information stored in the wireless tag 801 read by the tag reader / writer 510. The maximum communication range of the tag reader / writer 510 is set to cover about 100 [cm] around the sewing machine 1. Accordingly, the tag reader / writer 510 can sequentially read the information of the wireless tag 801 provided not only on the thread spool 21 attached to the sewing machine 1 but also on the plurality of thread spools 21 placed around the tag. The search yarn information storage area 250 includes yarn information including at least the color number of the yarn piece 21, the yarn color of the yarn wound around the yarn piece 21, and the yarn amount that is the length of the yarn remaining in the yarn piece 21. Remember.

図7に示す配色記憶領域252は、後述するD6の処理にて使用糸量Pを取得した直後の配色前の配色記憶領域である。配色前であるため、配色記憶領域252の色番号と、使用糸色には、データがない。配色記憶領域252は、ユーザにより選択された刺繍模様である選択模様に関する配色の組み合わせを記憶する。選択模様に関する配色の組み合わせは、使用糸色と、使用糸量Pと、を含む。使用糸色は、選択模様の刺繍データとして選択模様記憶領域251に記憶される。使用糸量Pは、刺繍データから計算される。即ち、刺繍データは1針ごとに刺繍枠32を移動させる移動量(X,Y)の集合であるため、使用糸量Pは移動量の総和+補正値により算出することができる。   The color arrangement storage area 252 shown in FIG. 7 is a color arrangement storage area before color arrangement immediately after the used yarn amount P is acquired in the process D6 described later. Since it is before color arrangement, there is no data for the color number in the color arrangement storage area 252 and the used thread color. The color arrangement storage area 252 stores a combination of color arrangements related to a selected pattern which is an embroidery pattern selected by the user. The combination of color schemes related to the selected pattern includes the used thread color and the used thread amount P. The used thread color is stored in the selected pattern storage area 251 as embroidery data of the selected pattern. The used thread amount P is calculated from the embroidery data. That is, since the embroidery data is a set of movement amounts (X, Y) for moving the embroidery frame 32 for each needle, the used thread amount P can be calculated by the sum of the movement amounts + correction value.

[糸駒21の詳細]
図8、及び図9を参照して、糸駒21について説明する。図8、及び図9に示すように、糸駒21は、糸巻き部212と、無線タグ801と、を備える。糸巻き部212は、略円柱形状である。糸巻き部212は、2つの円形鍔部213を有する。円形鍔部213は、糸巻き部212の円柱が延びる方向における両端に設けられる。孔211が、円形鍔部213の中心から円柱が延びる方向に形成される。孔211は、糸駒21の内部を貫通している。無線タグ801は、アンテナ811と、IC回路部820と、を備える。アンテナ811は、孔211の周りに螺旋状に埋設される。アンテナ811は、コイル状である。IC回路部820は、アンテナ811の一端に接続される。
[Details of Yarn piece 21]
The thread spool 21 will be described with reference to FIGS. 8 and 9. As shown in FIGS. 8 and 9, the thread spool 21 includes a bobbin 212 and a wireless tag 801. The thread winding portion 212 has a substantially cylindrical shape. The bobbin winder 212 has two circular hooks 213. The circular hook portions 213 are provided at both ends in the direction in which the cylinder of the bobbin winding portion 212 extends. The hole 211 is formed in the direction in which the cylinder extends from the center of the circular flange 213. The hole 211 passes through the inside of the yarn spool 21. The wireless tag 801 includes an antenna 811 and an IC circuit unit 820. The antenna 811 is embedded in a spiral around the hole 211. The antenna 811 has a coil shape. The IC circuit portion 820 is connected to one end of the antenna 811.

[無線タグ801の電気的構成]
図10を参照して、無線タグ801の電気的構成について説明する。図10に示すように、アンテナ811は、タグリーダライタ510が有するアンテナとの間で、電波を用いて非接触で信号を送受信する。IC回路部820は、アンテナ811と電気的に接続された整流部821と、整流部821と電気的に接続された電源部822と、アンテナ811と電気的に接続されたクロック抽出部823と、アンテナ811と電気的に接続された変復調部824と、クロック抽出部823及び変復調部824のそれぞれと電気的に接続された制御部825と、制御部825と電気的に接続されたメモリ部826と、を備える。整流部821は、アンテナ811によって受信された搬送波を整流する。電源部822は、整流部821による整流された搬送波のエネルギーを蓄積し駆動電源とする。クロック抽出部823は、アンテナ811によって受信された搬送波からクロック信号を抽出して制御部825に供給する。変復調部824は、タグリーダライタ510から搬送波に乗せて送信され、アンテナ811によって受信された受信信号の復調を行う。また、変復調部824は、制御部825からの応答信号に基づき、受信された搬送波を変調する。制御部825は、変復調部824により復調された受信信号を解読し、メモリ部826に記憶された糸情報に基づいて返信信号を生成し、変復調部824、及びアンテナ811を介して返信する。メモリ部826は、糸情報を記憶する。無線タグ801は、タグリーダライタ510からの問い合わせ信号に応じて、糸情報をメモリ部826から読取り、又はメモリ部826に書込むことができる。メモリ部826は、糸駒21に巻回される糸の糸色と糸量とを含む糸情報を記憶する。更新された糸量情報が、糸駒21の糸が使用される毎に、タグリーダライタ510から無線タグ801に送信され、メモリ部826に記憶される。
[Electric Configuration of Wireless Tag 801]
The electrical configuration of the wireless tag 801 will be described with reference to FIG. As shown in FIG. 10, the antenna 811 transmits and receives signals to and from the antenna of the tag reader / writer 510 in a contactless manner using radio waves. The IC circuit unit 820 includes a rectification unit 821 electrically connected to the antenna 811, a power supply unit 822 electrically connected to the rectification unit 821, a clock extraction unit 823 electrically connected to the antenna 811, A modulation / demodulation unit 824 electrically connected to the antenna 811, a control unit 825 electrically connected to each of the clock extraction unit 823 and the modulation / demodulation unit 824, and a memory unit 826 electrically connected to the control unit 825 . The rectification unit 821 rectifies the carrier wave received by the antenna 811. The power supply unit 822 stores the energy of the carrier wave rectified by the rectification unit 821 and uses it as a drive power source. The clock extraction unit 823 extracts a clock signal from the carrier wave received by the antenna 811 and supplies the clock signal to the control unit 825. The modulation / demodulation unit 824 demodulates the received signal transmitted from the tag reader / writer 510 on the carrier wave and received by the antenna 811. Further, the modem unit 824 modulates the received carrier wave based on the response signal from the control unit 825. The control unit 825 decodes the reception signal demodulated by the modem unit 824, generates a reply signal based on the yarn information stored in the memory unit 826, and sends it back through the modem unit 824 and the antenna 811. The memory unit 826 stores yarn information. The wireless tag 801 can read the thread information from the memory unit 826 or write it into the memory unit 826 in response to an inquiry signal from the tag reader / writer 510. The memory unit 826 stores yarn information including the yarn color and yarn amount of the yarn wound around the yarn spool 21. The updated yarn amount information is transmitted from the tag reader / writer 510 to the wireless tag 801 each time the yarn of the yarn spool 21 is used, and stored in the memory unit 826.

[メイン処理]
図11を参照し、メイン処理について説明する。CPU101は、プログラム記憶領域241に記憶されたメインプログラムに従って、メイン処理を実行する。ユーザがミシン1の不図示の電源ボタンを押圧すると、ミシン1の電源が投入され、CPU101が、図11に示すプログラムを実行する。フローチャートに示す各ステップは、CPU101の処理を示す。
[Main processing]
The main process will be described with reference to FIG. The CPU 101 executes main processing according to the main program stored in the program storage area 241. When the user presses a power button (not shown) of the sewing machine 1, the sewing machine 1 is turned on, and the CPU 101 executes the program shown in FIG. Each step shown in the flowchart represents processing of the CPU 101.

S1では、CPU101は、糸検索処理を行う。糸検索処理は、タグリーダライタ510が、糸駒21の円形鍔部213に埋設された無線タグ801と通信することにより、メモリ部826に記憶された糸情報を読み取る処理である。タグリーダライタ510は、糸立棒16に装着される糸駒21に限らず、タグリーダライタ510の交信範囲に置かれる全ての糸駒21のメモリ部826からの糸情報を読取る。   In S1, the CPU 101 performs a thread search process. The thread search process is a process in which the tag reader / writer 510 reads the thread information stored in the memory unit 826 by communicating with the wireless tag 801 embedded in the circular collar 213 of the yarn spool 21. The tag reader / writer 510 reads the yarn information from the memory unit 826 of all the yarn spools 21 placed in the communication range of the tag reader / writer 510 as well as the yarn spools 21 attached to the spool pin 16.

S3では、CPU101は、S1にて読み取った糸情報を、RAM103の検索糸情報記憶領域250に記憶する。図6に示すように、第1実施形態においては、ミシン1に装着される糸駒21に限らず、その周囲に置かれた複数の糸駒21を含む交信範囲に8個の糸駒21が存在する。各糸色、及び糸量は、「赤:6m」、「ピンク:30m」、「青:100m」、「黄緑:20m」、「白:1m」、「黒:20m」、「紫:30m」、「緑:3m」である。なお、色番号は、糸色に応じて予め設定された番号であり、第1実施形態においては、1〜8であるとする。   In S <b> 3, the CPU 101 stores the yarn information read in S <b> 1 in the search yarn information storage area 250 of the RAM 103. As shown in FIG. 6, in the first embodiment, not only the thread spools 21 attached to the sewing machine 1 but also eight thread spools 21 in a communication range including a plurality of thread spools 21 placed around the thread spools 21. Exists. Each thread color and thread amount are “red: 6 m”, “pink: 30 m”, “blue: 100 m”, “yellow-green: 20 m”, “white: 1 m”, “black: 20 m”, “purple: 30 m” ”,“ Green: 3 m ”. The color number is a number set in advance according to the thread color, and is 1 to 8 in the first embodiment.

S5では、CPU101は、糸検索キーが選択されたか否かを判断する。糸検索キーは、LCD10に表示された刺繍模様選択画面、又は縫製画面に設けられる。ユーザは、タッチパネル111を介して糸検索キーを選択する。CPU101は、糸検索キーが選択されたと判断した場合(S5:YES)、S1に処理を戻す。CPU101は、糸検索キーが選択されなかったと判断した場合(S5:NO)、S7に処理を進める。   In S5, the CPU 101 determines whether or not a thread search key has been selected. The thread search key is provided on the embroidery pattern selection screen or the sewing screen displayed on the LCD 10. The user selects a thread search key via the touch panel 111. If the CPU 101 determines that the thread search key has been selected (S5: YES), it returns the process to S1. If the CPU 101 determines that the thread search key has not been selected (S5: NO), the process proceeds to S7.

S7では、CPU101は、刺繍データ処理プログラムを実行する。   In S7, the CPU 101 executes an embroidery data processing program.

S9では、CPU101は、スタート・ストップキー91が選択されたか否かを判断する。CPU101は、スタート・ストップキー91が選択されたと判断した場合(S9:YES)、S11へ処理を進める。CPU101は、スタート・ストップキー91が選択されなかったと判断した場合(S9:NO)、S9の処理を繰り返す。   In S9, the CPU 101 determines whether or not the start / stop key 91 is selected. If the CPU 101 determines that the start / stop key 91 has been selected (S9: YES), it proceeds to S11. If the CPU 101 determines that the start / stop key 91 has not been selected (S9: NO), it repeats the process of S9.

S11では、CPU101は、縫製手段が刺繍模様を加工布31に縫製するよう、指示する。縫製中においては、エンコーダ48は、実際に使用された上糸量である検出糸量を検出する。検出糸量は、RAM103の検出糸量記憶領域253に糸色毎に記憶される。   In S <b> 11, the CPU 101 instructs the sewing means to sew the embroidery pattern on the work cloth 31. During sewing, the encoder 48 detects the detected thread amount that is the upper thread amount actually used. The detected yarn amount is stored in the detected yarn amount storage area 253 of the RAM 103 for each yarn color.

S13では、CPU101は、検出糸量記憶領域253に記憶される検出糸量を検索糸情報記憶領域250に記憶されていた糸量から減算し、残存糸量を求める。   In S13, the CPU 101 subtracts the detected yarn amount stored in the detected yarn amount storage area 253 from the yarn amount stored in the search yarn information storage area 250 to obtain the remaining yarn amount.

S15では、CPU101は、糸量更新処理を行う。糸量更新処理は、タグリーダライタ510を動作させ、各糸駒21の無線タグ801に残存糸量を書き込む処理である。CPU101は、S15終了後、S1へ処理を戻す。ミシン1は、S1〜S15の処理を繰り返し実行する。   In S15, the CPU 101 performs a yarn amount update process. The yarn amount update processing is processing for operating the tag reader / writer 510 and writing the remaining yarn amount in the wireless tag 801 of each yarn piece 21. After the end of S15, the CPU 101 returns the process to S1. The sewing machine 1 repeatedly executes the processes of S1 to S15.

[刺繍データ処理S7]
図12、及び図13を参照して、刺繍データ処理S7について詳細に説明する。刺繍データ処理S7は、A1〜A33の処理を含み、CPU101により実行される。
[Embroidery data processing S7]
The embroidery data processing S7 will be described in detail with reference to FIG. 12 and FIG. The embroidery data process S7 includes processes A1 to A33 and is executed by the CPU 101.

CPU101は、刺繍データ記憶領域243から読み取った刺繍データに従って、LCD10に模様選択画面を表示するよう駆動回路125を制御する。具体的には、CPU101は、画像表示データ記憶領域247から模様選択画面の画像データを読み出す。   The CPU 101 controls the drive circuit 125 to display a pattern selection screen on the LCD 10 according to the embroidery data read from the embroidery data storage area 243. Specifically, the CPU 101 reads the image data of the pattern selection screen from the image display data storage area 247.

A1では、CPU101は、ユーザの選択指示を受け付けて模様選択画面における複数の刺繍模様の中から、特定の刺繍模様が選択されたか否かを判断する。CPU101は、特定の刺繍模様が選択されたと判断した場合(A1:YES)、ユーザが選択した特定の刺繍模様の刺繍データを選択模様記憶領域251に記憶させ、A2に処理を進める。CPU101は、特定の刺繍模様が選択されなかったと判断した場合(A1:NO)、A1の処理を繰り返す。   In A1, the CPU 101 receives a user selection instruction and determines whether or not a specific embroidery pattern has been selected from a plurality of embroidery patterns on the pattern selection screen. When the CPU 101 determines that a specific embroidery pattern has been selected (A1: YES), the CPU 101 stores the embroidery data of the specific embroidery pattern selected by the user in the selected pattern storage area 251 and advances the process to A2. If the CPU 101 determines that a specific embroidery pattern has not been selected (A1: NO), it repeats the process of A1.

A2では、CPU101は、LCD10に図14に示すメニュー画面300を表示するよう駆動回路125を制御する。具体的には、CPU101は、画像表示データ記憶領域247からメニュー画面300の画像データを読み出す。   In A2, the CPU 101 controls the drive circuit 125 to display the menu screen 300 shown in FIG. Specifically, the CPU 101 reads the image data of the menu screen 300 from the image display data storage area 247.

図14に示すように、メニュー画面300は、プレビュー画像領域350と、入力キー351と、糸色データ指定領域352と、を備える。プレビュー画像領域350は、プレビュー画像を表示する。プレビュー画像は、刺繍模様を刺繍する前に、実際に刺繍される刺繍結果を示す画像である。入力キー351は、糸色設定キー351aを含む。糸色設定キー351aは、糸色を設定するためのキーである。   As shown in FIG. 14, the menu screen 300 includes a preview image area 350, an input key 351, and a thread color data designation area 352. The preview image area 350 displays a preview image. The preview image is an image showing an embroidery result that is actually embroidered before embroidering the embroidery pattern. The input key 351 includes a thread color setting key 351a. The thread color setting key 351a is a key for setting a thread color.

A3では、CPU101は、糸色設定キー351aが選択されたか否かを判断する。CPU101は、糸色設定キー351aが選択されたと判断した場合(A3:YES)、A4に処理を進める。CPU101は、糸色設定キー351aが選択されなかったと判断した場合(A3:NO)、A2に処理を戻す。   In A3, the CPU 101 determines whether or not the thread color setting key 351a is selected. When the CPU 101 determines that the thread color setting key 351a is selected (A3: YES), the CPU 101 advances the process to A4. When the CPU 101 determines that the thread color setting key 351a has not been selected (A3: NO), the CPU 101 returns the process to A2.

A4では、CPU101は、図15に示す色替画面301を表示するよう駆動回路125を制御する。具体的には、CPU101は、画像表示データ記憶領域247から色替画面301の画像データを読み出す。   In A4, the CPU 101 controls the drive circuit 125 to display the color change screen 301 shown in FIG. Specifically, the CPU 101 reads out the image data of the color change screen 301 from the image display data storage area 247.

図15に示すように、色替画面301は、プレビュー画像領域350と、糸色データ指定領域352と、第1カラーパレット353と、シャッフルキー355と、を備える。糸色データ指定領域352は、ユーザにより糸色データを指定可能である。糸色データ指定領域352は、プレビュー画像領域350の刺繍模様の各色別模様部に対応する色を、糸駒352aのイラストと共に表示する。ユーザは、糸駒キー352aをタッチし、第1カラーパレット353の中からユーザが所望する色を各色別模様部に指定することができる。第1カラーパレット353は、上段から下段にわたって第1パレットテーブルの色情報が段毎に8つずつ配置された64色のパレットである。例えば、第1カラーパレット353の最上段の1列には、左から順に第1パレットテーブルのパレット別色番号1〜8のRGB値が夫々割り当てられる。   As illustrated in FIG. 15, the color change screen 301 includes a preview image area 350, a thread color data designation area 352, a first color palette 353, and a shuffle key 355. In the thread color data designation area 352, thread color data can be designated by the user. The thread color data designation area 352 displays the color corresponding to each color pattern portion of the embroidery pattern in the preview image area 350 together with the illustration of the thread spool 352a. The user can specify the color desired by the user from the first color pallet 353 to each color pattern portion by touching the thread spool key 352a. The first color pallet 353 is a 64-color pallet in which eight pieces of color information of the first pallet table are arranged for each stage from the upper stage to the lower stage. For example, the RGB values of the color numbers 1 to 8 in the first palette table are assigned to the top row of the first color palette 353 in order from the left.

A5では、CPU101は、糸駒キー352aが指定されたか否かを判断する。CPU101は、糸駒キー352aが指定されたと判断した場合(A5:YES)、A7に処理を進める。CPU101は、糸駒キー352aが指定されなかったと判断した場合(A5:NO)、A9に処理を進める。   In A5, the CPU 101 determines whether or not the thread spool key 352a is designated. When the CPU 101 determines that the thread spool key 352a is designated (A5: YES), the CPU 101 advances the processing to A7. If the CPU 101 determines that the thread spool key 352a has not been designated (A5: NO), the CPU 101 advances the process to A9.

A7では、CPU101は、指定された糸駒キー352aの糸色を、対象の色別模様部に対応付けて配色記憶領域252に記憶する。糸駒キー352aが指定されると、糸駒キー352aの糸色は、刺繍模様の使用糸色として必ず含まれるよう設定される。具体的には、指定された糸駒キー352aの糸色は、対象の色別模様部の色として、後に糸色をランダムに抽出する際も必ず含まれる。なお、指定数の上限は、図5で「n」に相当する、A1にて選択された刺繍模様における色別模様部の総数である。従って、A5にて全ての色別模様部について糸色が指定された場合、刺繍データ処理S7を終了する。   In A7, the CPU 101 stores the thread color of the designated thread spool key 352a in the color arrangement storage area 252 in association with the target color-specific pattern portion. When the thread spool key 352a is designated, the thread color of the thread spool key 352a is set so as to be always included as the used thread color of the embroidery pattern. Specifically, the thread color of the designated thread spool key 352a is always included when the thread color is randomly extracted later as the color of the target color-specific pattern portion. The upper limit of the designated number is the total number of color-specific pattern portions in the embroidery pattern selected in A1, corresponding to “n” in FIG. Therefore, when the thread color is designated for all the color-specific pattern portions in A5, the embroidery data processing S7 is terminated.

A9では、CPU101は、シャッフルキー355が選択されたか否かを判断する。CPU101は、シャッフルキー355が選択されたと判断した場合(A9:YES)、A11に処理を進める。CPU101は、シャッフルキー355が選択されなかったと判断した場合(A9:NO)、A5に処理を戻す。   In A9, the CPU 101 determines whether or not the shuffle key 355 has been selected. When the CPU 101 determines that the shuffle key 355 has been selected (A9: YES), the CPU 101 proceeds to A11. If the CPU 101 determines that the shuffle key 355 has not been selected (A9: NO), it returns the process to A5.

A11では、CPU101は、図16に示す色調設定画面302を表示するよう駆動回路125を制御する。具体的には、CPU101は、画像表示データ記憶領域247から色調設定画面302の画像データを読み出す。   In A11, the CPU 101 controls the drive circuit 125 to display the color tone setting screen 302 shown in FIG. Specifically, the CPU 101 reads out the image data of the color tone setting screen 302 from the image display data storage area 247.

図16に示すように、色調設定画面302は、プレビュー画像領域350と、カテゴリ設定部358と、を備える。カテゴリ設定部358は、ランダムキー358aと、残り糸使用モードキー358bと、を備える。ランダムキー358aは、第1パレットテーブルの中から、ランダムに色を抽出して配色するためのキーである。残り糸使用モードキー358bは、タグリーダライタ510により読取られた糸量Qと、各色別模様部の使用糸量Pと、を比較した結果に基づき、タグリーダライタ510により読み取られた複数の糸色の中から色を抽出して配色するためのキーである。   As shown in FIG. 16, the color tone setting screen 302 includes a preview image area 350 and a category setting unit 358. The category setting unit 358 includes a random key 358a and a remaining thread use mode key 358b. The random key 358a is a key for randomly extracting and arranging colors from the first palette table. The remaining thread use mode key 358b is used to select a plurality of thread colors read by the tag reader / writer 510 based on the result of comparing the thread quantity Q read by the tag reader / writer 510 and the used thread quantity P of each color pattern portion. This is a key for extracting colors from the inside and arranging them.

A13では、CPU101は、糸色を抽出する方法であるカテゴリ設定処理を行う。A13は、図19を参照して、後に詳述する。   In A13, the CPU 101 performs a category setting process that is a method of extracting the thread color. A13 will be described in detail later with reference to FIG.

A15では、CPU101は、抽出した糸色をランダムに配色する処理であるランダム配色処理を行う。A15は、図21を参照して、後に詳述する。   In A15, the CPU 101 performs a random color arrangement process that is a process for randomly arranging the extracted thread colors. A15 will be described later in detail with reference to FIG.

A17では、CPU101は、図17に示すサムネイル画面303を表示するよう駆動回路125を制御する。具体的には、CPU101は、画像表示データ記憶領域247からサムネイル画面303の画像データを読み出す。   In A17, the CPU 101 controls the drive circuit 125 to display the thumbnail screen 303 shown in FIG. Specifically, the CPU 101 reads out the image data on the thumbnail screen 303 from the image display data storage area 247.

図17に示すように、サムネイル画面303は、刺繍模様選択領域361と、リターンキー362と、セーブキー363と、リフレッシュキー364と、を備える。刺繍模様選択領域361は、複数の刺繍模様を表示する。複数の刺繍模様の数は、例えば6個である。具体的には、刺繍模様選択領域361は、サムネイル画像361aを表示する。サムネイル画像361aは、A15にてランダムに抽出した色を用いて生成した複数の刺繍模様を縮小した画像である。複数の刺繍模様の色の組み合わせは、それぞれ異なる。セーブキー363は、刺繍模様の刺繍データをEEPROM104に記憶するためのキーである。リフレッシュキー364は、糸色データに対して新たに抽出された色が割り当てられる新たな6個の刺繍模様を、サムネイル画像361aが表示される6個の刺繍模様に代えて表示するためのキーである。リターンキー362は、図16に示す色調設定画面302に戻るためのキーである。   As shown in FIG. 17, the thumbnail screen 303 includes an embroidery pattern selection area 361, a return key 362, a save key 363, and a refresh key 364. The embroidery pattern selection area 361 displays a plurality of embroidery patterns. The number of embroidery patterns is, for example, six. Specifically, the embroidery pattern selection area 361 displays a thumbnail image 361a. The thumbnail image 361a is an image obtained by reducing a plurality of embroidery patterns generated using the colors randomly extracted in A15. The combination of colors of the plurality of embroidery patterns is different. The save key 363 is a key for storing the embroidery data of the embroidery pattern in the EEPROM 104. The refresh key 364 is a key for displaying six new embroidery patterns to which newly extracted colors are assigned to the thread color data instead of the six embroidery patterns on which the thumbnail image 361a is displayed. is there. The return key 362 is a key for returning to the color tone setting screen 302 shown in FIG.

A19では、CPU101は、サムネイル画像361aが選択されたか否かを判断する。CPU101は、サムネイル画像361aが選択されたと判断した場合(A19:YES)、A31へ処理を進める。CPU101は、サムネイル画像361aが選択されなかったと判断した場合(A19:NO)、A21へ処理を進める。   In A19, the CPU 101 determines whether or not the thumbnail image 361a is selected. If the CPU 101 determines that the thumbnail image 361a has been selected (A19: YES), the CPU 101 proceeds to A31. If the CPU 101 determines that the thumbnail image 361a has not been selected (A19: NO), the CPU 101 proceeds to A21.

A21では、CPU101は、リターンキー362が選択されたか否かを判断する。CPU101は、リターンキー362が選択されたと判断した場合(A21:YES)、A13へ処理を戻す。CPU101は、リターンキー362が選択されなかったと判断した場合(A21:NO)、A23へ処理を進める。   In A21, the CPU 101 determines whether or not the return key 362 has been selected. If the CPU 101 determines that the return key 362 has been selected (A21: YES), it returns the process to A13. When the CPU 101 determines that the return key 362 has not been selected (A21: NO), the CPU 101 proceeds to A23.

A23では、CPU101は、リフレッシュキー364が選択されたか否かを判断する。CPU101は、リフレッシュキー364が選択されたと判断した場合(A23:YES)、A15へ処理を戻す。CPU101は、リフレッシュキー364が選択されなかったと判断した場合(A23:NO)、A25へ処理を進める。   In A23, the CPU 101 determines whether or not the refresh key 364 is selected. If the CPU 101 determines that the refresh key 364 has been selected (A23: YES), it returns the process to A15. When the CPU 101 determines that the refresh key 364 has not been selected (A23: NO), the CPU 101 advances the process to A25.

A25では、CPU101は、セーブキー363が選択されたか否かを判断する。CPU101は、セーブキー363が選択されたと判断した場合(A25:YES)、A27へ処理を進める。CPU101は、セーブキー363が選択されなかったと判断した場合(A25:NO)、A19へ処理を戻す。   In A25, the CPU 101 determines whether or not the save key 363 has been selected. When the CPU 101 determines that the save key 363 has been selected (A25: YES), the CPU 101 advances the process to A27. If the CPU 101 determines that the save key 363 has not been selected (A25: NO), it returns the process to A19.

A27では、CPU101は、セーブモードへ移行する。セーブモードでは、サムネイル画面303の任意のサムネイル画像361aが選択されることにより、選択されたサムネイル画像361aに対応する刺繍データを保存することができる。   In A27, the CPU 101 shifts to the save mode. In the save mode, by selecting an arbitrary thumbnail image 361a on the thumbnail screen 303, embroidery data corresponding to the selected thumbnail image 361a can be saved.

A29では、ユーザにより任意のサムネイル画像361aが選択される。CPU101は、選択されたサムネイル画像361aに対応する刺繍データを、EEPROM104に書き込む。A29終了後、A17へ処理を戻す。   In A29, an arbitrary thumbnail image 361a is selected by the user. The CPU 101 writes embroidery data corresponding to the selected thumbnail image 361 a in the EEPROM 104. After A29 ends, the process returns to A17.

A31では、CPU101は、図18に示す拡大表示画面304を表示するよう駆動回路125を制御する。具体的には、CPU101は、画像表示データ記憶領域247から拡大表示画面304の画像データを読み出す。   In A31, the CPU 101 controls the drive circuit 125 to display the enlarged display screen 304 shown in FIG. Specifically, the CPU 101 reads out the image data of the enlarged display screen 304 from the image display data storage area 247.

図18に示すように、拡大表示画面304は、拡大画像領域365と、クローズキー366と、セットキー367と、を備える。拡大画像領域365は、A19にて選択されたサムネイル画像361aを拡大した1つの刺繍模様を表示する。クローズキー366は、サムネイル画面303に戻るためのキーである。セットキー367は、プレビュー画像領域350に拡大画像領域365の刺繍模様を表示したメニュー画面300に戻るためのキーである。   As shown in FIG. 18, the enlarged display screen 304 includes an enlarged image area 365, a close key 366, and a set key 367. The enlarged image area 365 displays one embroidery pattern obtained by enlarging the thumbnail image 361a selected in A19. A close key 366 is a key for returning to the thumbnail screen 303. A set key 367 is a key for returning to the menu screen 300 in which the embroidery pattern of the enlarged image area 365 is displayed in the preview image area 350.

A33では、CPU101は、セットキー367が選択されたか否かを判断する。CPU101は、セットキー367が選択されたと判断した場合(A33:YES)、拡大画像領域365の刺繍模様をプレビュー画像領域350に表示したメニュー画面300に戻り、刺繍データ処理S7を終了し、S9へ処理を進める。CPU101は、セットキー367が選択されなかったと判断した場合(A33:NO)、A31へ処理を戻す。   In A33, the CPU 101 determines whether or not the set key 367 has been selected. When the CPU 101 determines that the set key 367 has been selected (A33: YES), the CPU 101 returns to the menu screen 300 displaying the embroidery pattern of the enlarged image area 365 in the preview image area 350, ends the embroidery data processing S7, and proceeds to S9. Proceed with the process. If the CPU 101 determines that the set key 367 has not been selected (A33: NO), it returns the process to A31.

[カテゴリの設定処理A13]
図19を参照して、カテゴリの設定処理A13を詳細に説明する。
[Category setting process A13]
The category setting process A13 will be described in detail with reference to FIG.

まず、ユーザが、図16に示すランダムキー358a、又は残り糸使用モードキー358bのカテゴリをタッチすることにより、選択する。また、ユーザは、残り糸使用モードキー358bを選択した場合、タグリーダライタ510の交信範囲が、ミシン1に装着された糸駒21のみ、ミシン1の周囲に置かれた糸駒21のみ、又はミシン1に装着された糸駒21とミシン1の周囲に置かれた糸駒21との両方、の3つのカテゴリの中から1つを選択する。   First, the user makes a selection by touching the category of the random key 358a or the remaining thread use mode key 358b shown in FIG. When the user selects the remaining thread use mode key 358b, the communication range of the tag reader / writer 510 is such that only the thread spool 21 attached to the sewing machine 1, only the thread spool 21 placed around the sewing machine 1, or the sewing machine 1 is selected from the three categories of both the thread spool 21 attached to 1 and the thread clamp 21 placed around the sewing machine 1.

B1では、CPU101は、ユーザにより選択されたカテゴリを設定する。   In B1, the CPU 101 sets the category selected by the user.

B2では、CPU101は、EEPROM104に記憶された第1パレットテーブルのパレット別色番号1を読み出す。   In B <b> 2, the CPU 101 reads the color number 1 for each palette in the first palette table stored in the EEPROM 104.

B3では、CPU101は、図16に示す残り糸使用モードキー358bが選択されたか否かを判断する。CPU101は、残り糸使用モードキー358bが選択されたと判断した場合(B3:YES)、残り糸使用モードに移行し、B4に処理を進める。CPU101は、残り糸使用モードキー358bが選択されなかったと判断した場合(B3:NO)、B7に処理を進める。   In B3, the CPU 101 determines whether or not the remaining thread use mode key 358b shown in FIG. 16 has been selected. When the CPU 101 determines that the remaining thread use mode key 358b has been selected (B3: YES), the CPU 101 shifts to the remaining thread use mode and advances the process to B4. If the CPU 101 determines that the remaining thread use mode key 358b has not been selected (B3: NO), the process proceeds to B7.

B4では、CPU101は、交信範囲選択処理を行う。B4は、図20を参照して、後に詳述する。   In B4, the CPU 101 performs a communication range selection process. B4 will be described in detail later with reference to FIG.

B5では、CPU101は、読み出したパレット別色番号と、タグリーダライタ510が読み出した糸駒21の色番号と、が一致するか否かを判断する。CPU101は、パレット別色番号と、糸駒21の色番号と、が一致したと判断した場合(B5:YES)、B7に処理を進める。CPU101は、パレット別色番号と、糸駒21の色番号と、が一致しなかったと判断した場合(B5:NO)、B9に処理を進める。例えば、パレット別色番号が「1」であった場合、CPU101は、色番号1と、タグリーダライタ510が読み出した糸駒21の各色番号と、が一致するか否かを判断する。   In B5, the CPU 101 determines whether or not the read color number by palette matches the color number of the yarn spool 21 read by the tag reader / writer 510. If the CPU 101 determines that the palette-specific color number matches the color number of the yarn spool 21 (B5: YES), the CPU 101 proceeds to B7. If the CPU 101 determines that the color number by palette and the color number of the yarn spool 21 do not match (B5: NO), the CPU 101 proceeds to B9. For example, when the color number for each palette is “1”, the CPU 101 determines whether or not the color number 1 matches each color number of the thread spool 21 read by the tag reader / writer 510.

B7では、CPU101は、読み出したパレット別色番号を色情報記憶領域246に記憶する。   In B7, the CPU 101 stores the read palette-specific color number in the color information storage area 246.

B9では、CPU101は、図15に示す第1カラーパレット353内の64色全ての色番号を読み出したか否かを判断する。CPU101は、第1カラーパレット353内の64色全ての色番号を読み出したと判断した場合(B9:YES)、カテゴリの設定処理A13を終了する。CPU101は、第1カラーパレット353内の64色の色番号をまだ読み出していないと判断した場合(B9:NO)、B11へ処理を進める。   In B9, the CPU 101 determines whether or not all 64 color numbers in the first color palette 353 shown in FIG. 15 have been read. If the CPU 101 determines that all 64 color numbers in the first color palette 353 have been read (B9: YES), it ends the category setting process A13. If the CPU 101 determines that the 64 color numbers in the first color palette 353 have not yet been read (B9: NO), the process proceeds to B11.

B11では、CPU101は、読み出す対象を次の色番号に移す。例えば、色番号が「1」であった場合、色番号を「2」に移す。CPU101は、B11終了後、B3へ処理を戻す。   In B11, the CPU 101 moves the reading target to the next color number. For example, when the color number is “1”, the color number is moved to “2”. The CPU 101 returns the process to B3 after B11 ends.

[交信範囲選択処理B4]
図20を参照して、交信範囲選択処理B4について詳細に説明する。
[Communication range selection processing B4]
The communication range selection process B4 will be described in detail with reference to FIG.

F2では、CPU101は、タグリーダライタ510の交信範囲がミシン1に装着された糸駒21のみか否かを判断する。CPU101は、タグリーダライタ510の交信範囲がミシン1に装着された糸駒21のみであると判断した場合(F2:YES)、F3に処理を進める。CPU101は、タグリーダライタ510の交信範囲がミシン1に装着された糸駒21のみではないと判断した場合(F2:NO)、F5に処理を進める。   In F2, the CPU 101 determines whether or not the communication range of the tag reader / writer 510 is only the yarn spool 21 attached to the sewing machine 1. When the CPU 101 determines that the communication range of the tag reader / writer 510 is only the yarn spool 21 attached to the sewing machine 1 (F2: YES), the CPU 101 advances the process to F3. When the CPU 101 determines that the communication range of the tag reader / writer 510 is not limited to the yarn spool 21 attached to the sewing machine 1 (F2: NO), the CPU 101 proceeds to F5.

F3では、CPU101は、タグリーダライタ510がミシン1に装着された糸駒21の無線タグ801のみから糸情報を読み取るよう駆動回路128を制御する。CPU101は、F3終了後、F11へ処理を進める。   In F3, the CPU 101 controls the drive circuit 128 so that the tag reader / writer 510 reads the yarn information only from the wireless tag 801 of the yarn spool 21 attached to the sewing machine 1. After the end of F3, the CPU 101 advances the process to F11.

F5では、CPU101は、タグリーダライタ510の交信範囲がミシン1の周囲に置かれた糸駒21のみか否かを判断する。CPU101は、タグリーダライタ510の交信範囲がミシン1の周囲に置かれた糸駒21のみであると判断した場合(F5:YES)、F7に処理を進める。CPU101は、タグリーダライタ510の交信範囲がミシン1の周囲に置かれた糸駒21のみではないと判断した場合(F5:NO)、F9に処理を進める。   In F5, the CPU 101 determines whether or not the communication range of the tag reader / writer 510 is only the yarn spool 21 placed around the sewing machine 1. When the CPU 101 determines that the communication range of the tag reader / writer 510 is only the yarn spool 21 placed around the sewing machine 1 (F5: YES), the CPU 101 proceeds to F7. When the CPU 101 determines that the communication range of the tag reader / writer 510 is not limited to the yarn spool 21 placed around the sewing machine 1 (F5: NO), the CPU 101 proceeds to F9.

F7では、CPU101は、タグリーダライタ510がミシン1の周囲に置かれた糸駒21の無線タグ801のみから糸情報を読み取るよう駆動回路128を制御する。CPU101は、F7終了後、F11へ処理を進める。   In F7, the CPU 101 controls the drive circuit 128 so that the tag reader / writer 510 reads the yarn information only from the wireless tag 801 of the yarn spool 21 placed around the sewing machine 1. After the end of F7, the CPU 101 advances the process to F11.

F9では、CPU101は、タグリーダライタ510がミシン1の周囲に置かれた糸駒21の無線タグ801と、ミシン1に装着された糸駒21の無線タグ801との両方から糸情報を読み取るよう駆動回路128を制御する。CPU101は、F9終了後、F11へ処理を進める。   In F <b> 9, the CPU 101 drives the tag reader / writer 510 to read the yarn information from both the wireless tag 801 of the yarn spool 21 placed around the sewing machine 1 and the wireless tag 801 of the yarn spool 21 attached to the sewing machine 1. The circuit 128 is controlled. CPU 101 advances the process to F11 after F9 ends.

F11では、CPU101は、読み取った糸情報を検索糸情報記憶領域250に記憶する。   In F11, the CPU 101 stores the read yarn information in the search yarn information storage area 250.

[ランダム配色処理A15]
図21を参照して、ランダム配色処理A15について詳細に説明する。
[Random color scheme A15]
The random color arrangement processing A15 will be described in detail with reference to FIG.

C1では、CPU101は、選択した刺繍模様における色別模様部の総数nに基づいて、刺繍模様の配色の組み合わせCを算出する。本実施形態では、図17に示すように、例えば、互いに配色の異なる6個の刺繍模様がサムネイル画面303に表示される。組み合わせ数Cは、配色に重複を持たない組み合わせになるようコンビネーションを用いて算出される。カテゴリ設定処理A13の終了後、第1パレットテーブルの色の総数をpとする。例えば、色別模様部の総数nが「1」である場合、組み合わせ数Cは、pC1である。   In C1, the CPU 101 calculates a color combination C of the embroidery pattern based on the total number n of the color-specific pattern portions in the selected embroidery pattern. In the present embodiment, as shown in FIG. 17, for example, six embroidery patterns having different color schemes are displayed on the thumbnail screen 303. The number of combinations C is calculated using a combination so that the combinations do not have overlapping colors. After the category setting process A13, the total number of colors in the first palette table is set to p. For example, when the total number n of color-patterned portions is “1”, the number of combinations C is pC1.

C3では、CPU101は、配色の組み合わせ数Cが6より小さいか否かを判断する。CPU101は、配色の組み合わせ数Cが6より小さいと判断した場合(C3:YES)、C7に処理を進める。CPU101は、配色の組み合わせ数Cが6以上であると判断した場合(C3:NO)、C5に処理を進める。   In C3, the CPU 101 determines whether or not the color combination number C is smaller than six. When the CPU 101 determines that the number C of color combinations is smaller than 6 (C3: YES), the CPU 101 proceeds to C7. When the CPU 101 determines that the number C of color combinations is 6 or more (C3: NO), the CPU 101 proceeds to C5.

C5では、CPU101は、配色の組み合わせ数C=6と設定する。   In C5, the CPU 101 sets the number of color combination C = 6.

C7では、CPU101は、配色処理C7を行う。C7は、図22を参照して、後に詳述する。   In C7, the CPU 101 performs color arrangement processing C7. C7 will be described in detail later with reference to FIG.

C9では、CPU101は、同じ配色の組み合わせがないか否かを判断する。CPU101は、同じ配色の組み合わせではないと判断した場合(C9:YES)、C11に処理を進める。CPU101は、同じ配色の組み合わせであると判断した場合(C9:NO)、C15に処理を進める。   In C9, the CPU 101 determines whether there is no combination of the same color scheme. If the CPU 101 determines that the combination of colors is not the same (C9: YES), the process proceeds to C11. If the CPU 101 determines that the color combination is the same (C9: NO), the process proceeds to C15.

C11では、CPU101は、配色の組み合わせをRAM103の配色記憶領域252に記憶する。例えば、図24に示すように、配色記憶領域252は、第1〜4模様部401〜404に、順に色番号1(赤)、7(紫),4(黄緑)、3(青)を対応付けて記憶する。   In C <b> 11, the CPU 101 stores the color combination in the color arrangement storage area 252 of the RAM 103. For example, as shown in FIG. 24, the color arrangement storage area 252 assigns color numbers 1 (red), 7 (purple), 4 (yellowish green), and 3 (blue) to the first to fourth pattern portions 401 to 404 in order. Store in association with each other.

C13では、CPU101は、組み合わせ数Cを、C−1に更新する。   In C13, the CPU 101 updates the combination number C to C-1.

C15では、CPU101は、組み合わせ数Cが0より大きいか否かを判断する。CPU101は、組み合わせ数Cが0より大きいと判断した場合(C15:YES)、C7に処理を戻す。CPU101は、組み合わせ数Cが0であると判断した場合(C15:NO)、ランダム配色処理A15を終了する。   In C15, the CPU 101 determines whether or not the combination number C is greater than zero. If the CPU 101 determines that the number of combinations C is greater than 0 (C15: YES), it returns the process to C7. When the CPU 101 determines that the combination number C is 0 (C15: NO), the CPU 101 ends the random color arrangement process A15.

[配色処理C7]
図22を参照して、配色処理について詳細に説明する。
[Color scheme C7]
The color arrangement process will be described in detail with reference to FIG.

D1では、CPU101は、対象の色別模様部がユーザにより色が指定されているか否かを判断する。CPU101は、対象の色別模様部がユーザにより色が指定されていると判断した場合(D1:YES)、D3に処理を進める。CPU101は、対象の色別模様部がユーザにより色が指定されていないと判断した場合(D1:NO)、D4に処理を進める。   In D1, the CPU 101 determines whether or not a color is designated by the user for the target color-specific pattern portion. If the CPU 101 determines that the target color-specific pattern portion has a color designated by the user (D1: YES), the CPU 101 proceeds to D3. When the CPU 101 determines that the target color-specific pattern portion does not specify a color (D1: NO), the CPU 101 proceeds to D4.

D3では、CPU101は、指定された色を対象の色別模様部に割り当てる。CPU101は、D3終了後、D15へ処理を進める。   In D3, the CPU 101 assigns the designated color to the target color-specific pattern portion. CPU 101 advances the process to D15 after D3 ends.

D4では、CPU101は、残り糸使用モードであるか否かを判断する。CPU101は、残り糸使用モードであると判断した場合(D4:YES)、D6に処理を進める。CPU101は、残り糸使用モードではないと判断した場合(D4:NO)、D5に処理を進める。   In D4, the CPU 101 determines whether or not the remaining thread use mode is set. If the CPU 101 determines that the remaining thread use mode is set (D4: YES), the process proceeds to D6. If the CPU 101 determines that the mode is not the remaining thread use mode (D4: NO), the process proceeds to D5.

D5では、色情報記憶領域246に記憶された色番号の中から、ランダムに対象の色別模様部に使用する使用糸色の色番号を抽出する。具体的には、CPU101は、色情報記憶領域246に記憶される第1パレットテーブルのパレット別色番号1〜64の範囲で乱数を発生させる。例えば、乱数が1である場合、色番号1に該当する糸色を使用糸色として抽出する。   In D5, the color number of the used thread color used for the target color-specific pattern portion is randomly extracted from the color numbers stored in the color information storage area 246. Specifically, the CPU 101 generates random numbers in the range of color numbers 1 to 64 for each palette in the first palette table stored in the color information storage area 246. For example, when the random number is 1, the thread color corresponding to the color number 1 is extracted as the used thread color.

D6では、CPU101は、A1により選択され、選択模様記憶領域251に記憶された刺繍模様の刺繍データから、対象の色別模様部の使用糸量Pを取得する。具体的には、CPU101は、針落ち点の座標と次の針落ち点の座標との距離に基づき、使用する糸の距離、即ち使用糸量Pを算出する。そして、CPU101は、対象の色別模様部の使用糸量Pを、配色記憶領域252に記憶する。例えば、対象の色別模様部が、第1模様部401であった場合、図7を参照すると、第1模様部401の使用糸量Pは、5[m]である。従って、CPU101は、第1模様部401の使用糸量P=5を取得する。   In D6, the CPU 101 acquires the used thread amount P of the target color-specific pattern portion from the embroidery data of the embroidery pattern selected by A1 and stored in the selected pattern storage area 251. Specifically, the CPU 101 calculates the yarn distance to be used, that is, the used yarn amount P, based on the distance between the coordinates of the needle drop point and the coordinates of the next needle drop point. Then, the CPU 101 stores the used yarn amount P of the target color-specific pattern portion in the color arrangement storage area 252. For example, when the target color-specific pattern portion is the first pattern portion 401, referring to FIG. 7, the used yarn amount P of the first pattern portion 401 is 5 [m]. Therefore, the CPU 101 acquires the used yarn amount P = 5 of the first pattern portion 401.

D7では、CPU101は、比較処理を行う。具体的には、比較処理は、D6により取得された対象の色別模様部の使用糸量Pと、タグリーダライタ510により読み取られた各糸駒21の糸量Qと、を比較する処理である。CPU101は、各糸駒21の糸量Qを、検索糸情報記憶領域250から読み出す。各糸駒21の糸量Qは、交信範囲選択処理B4にて選択された交信範囲における各糸駒21の糸量である。CPU101は、使用糸量Pを、配色記憶領域252から読み出す。D7は、図23を参照して、後に詳述する。   In D7, the CPU 101 performs comparison processing. Specifically, the comparison process is a process of comparing the used yarn amount P of the target color-specific pattern portion acquired in D6 with the yarn amount Q of each yarn spool 21 read by the tag reader / writer 510. . The CPU 101 reads the yarn amount Q of each yarn spool 21 from the search yarn information storage area 250. The yarn amount Q of each yarn spool 21 is the yarn amount of each yarn spool 21 in the communication range selected in the communication range selection process B4. The CPU 101 reads the used thread amount P from the color arrangement storage area 252. D7 will be described in detail later with reference to FIG.

D9では、CPU101は、D7での比較結果に基づき、糸色候補記憶領域254に記憶された糸色の中から、対象の色別模様部に使用する糸の糸色である使用糸色をランダムに抽出する。例えば、対象の色別模様部が第1模様部401であったとする。この場合、糸色候補記憶領域254に記憶される糸色に対応する色番号は、使用糸量P=5より大きな糸量を有する糸駒21の色番号である。従って、糸色候補記憶領域254に記憶される色番号は、図6に示す検索糸情報記憶領域250に記憶された色番号1、2、3、4、6、7である。そして、CPU101は、糸色候補記憶領域254に記憶される色番号の範囲で乱数を発生させる。乱数が1であった場合、色番号1に該当する赤色を使用糸色として抽出する。   In D9, based on the comparison result in D7, the CPU 101 randomly selects a thread color that is a thread color of a thread to be used for the target color-specific pattern portion from among the thread colors stored in the thread color candidate storage area 254. To extract. For example, it is assumed that the target color-specific pattern portion is the first pattern portion 401. In this case, the color number corresponding to the thread color stored in the thread color candidate storage area 254 is the color number of the yarn piece 21 having a thread amount larger than the used thread amount P = 5. Accordingly, the color numbers stored in the thread color candidate storage area 254 are the color numbers 1, 2, 3, 4, 6, 7 stored in the search thread information storage area 250 shown in FIG. Then, the CPU 101 generates random numbers in the range of color numbers stored in the thread color candidate storage area 254. When the random number is 1, red corresponding to the color number 1 is extracted as the used thread color.

D11では、CPU101は、抽出された使用糸色が他の色別模様部に使用する糸色と異なるか否かを判断する。CPU101は、抽出された使用糸色が他の色別模様部に使用する糸色と異なると判断した場合(D11:YES)、D13に処理を進める。CPU101は、抽出された使用糸色が他の色別模様部に使用する糸色と同じであると判断した場合(D11:NO)、D4に処理を戻す。   In D11, the CPU 101 determines whether or not the extracted used thread color is different from the thread color used for other color-specific pattern portions. If the CPU 101 determines that the extracted used thread color is different from the thread color used for the other color-specific pattern portion (D11: YES), the process proceeds to D13. When the CPU 101 determines that the extracted used thread color is the same as the thread color used for the other color-specific pattern portion (D11: NO), the process returns to D4.

D13では、CPU101は、使用糸色を対象の色別模様部に割り当てる。具体的には、CPU101は、配色記憶領域252に記憶される対象の色別模様部に対応付けて使用糸色の色番号を記憶する。例えば、図24に示すように、第1模様部401に対応付けて、使用糸色である赤色の色番号1を記憶する。CPU101は、D13終了後、D15に処理を進める。   In D13, the CPU 101 assigns the used thread color to the target color-specific pattern portion. Specifically, the CPU 101 stores the color number of the used thread color in association with the target color-specific pattern portion stored in the color arrangement storage area 252. For example, as shown in FIG. 24, the color number 1 of red, which is the used thread color, is stored in association with the first pattern portion 401. CPU 101 advances the process to D15 after D13 ends.

D15では、CPU101は、全ての色別模様部を配色したか否かを判断する。CPU101は、全ての色別模様部を配色したと判断した場合(D15:YES)、配色処理C7を終了する。CPU101は、全ての色別模様部をまだ配色していないと判断した場合(D15:NO)、D1に処理を戻す。   In D15, the CPU 101 determines whether or not all the color-specific pattern portions have been colored. If the CPU 101 determines that all color-specific pattern portions have been colored (D15: YES), it ends the color arrangement processing C7. When the CPU 101 determines that all the color-specific pattern portions have not yet been colored (D15: NO), the CPU 101 returns the processing to D1.

[比較処理D7]
図23を参照して、比較処理D7について詳細に説明する。
[Comparison process D7]
The comparison process D7 will be described in detail with reference to FIG.

E1では、CPU101は、タグリーダライタ510に読み取られた対象の糸駒21の糸量Qが、対象の色別模様部の使用糸量Pより大きいか否かを判断する。CPU101は、対象の糸駒21の糸量Qが、対象の色別模様部の使用糸量Pより大きいと判断した場合(E1:YES)、E3へ処理を進める。CPU101は、対象の糸駒21の糸量Qが、対象の色別模様部の使用糸量P以下であると判断した場合(E1:NO)、E5へ処理を進める。例えば、対象の色別模様部が第1模様部401であり、対象の糸駒21が色番号1(赤)であったとする。この場合、CPU101は、Q=6、P=5、従ってQ>Pであるため、対象の糸駒21の糸色を刺繍模様の縫製が可能な糸色であると判断し、E3へ処理を進める。   In E1, the CPU 101 determines whether or not the yarn amount Q of the target yarn piece 21 read by the tag reader / writer 510 is larger than the used yarn amount P of the target color-specific pattern portion. When the CPU 101 determines that the yarn amount Q of the target yarn spool 21 is larger than the used yarn amount P of the target color-specific pattern portion (E1: YES), the CPU 101 advances the processing to E3. When the CPU 101 determines that the yarn amount Q of the target yarn spool 21 is equal to or less than the used yarn amount P of the target color-specific pattern portion (E1: NO), the process proceeds to E5. For example, it is assumed that the target color-specific pattern portion is the first pattern portion 401 and the target yarn spool 21 is color number 1 (red). In this case, since Q = 6, P = 5, and thus Q> P, the CPU 101 determines that the thread color of the target thread spool 21 is a thread color that can sew an embroidery pattern, and the process proceeds to E3. Proceed.

E3では、CPU101は、対象の糸駒21の色番号を糸色候補記憶領域254に記憶する。具体的には、CPU101は、色番号1を糸色候補記憶領域254に記憶する。   In E3, the CPU 101 stores the color number of the target thread spool 21 in the thread color candidate storage area 254. Specifically, the CPU 101 stores color number 1 in the thread color candidate storage area 254.

E5では、CPU101は、対象の色別模様部の使用糸量Pと、全ての糸駒21の糸量Qと、を比較したか否かを判断する。CPU101は、全ての糸駒21と比較したと判断した場合(E5:YES)、比較処理D7を終了する。CPU101は、全ての糸駒21とまだ比較していないと判断した場合(E5:NO)、E7に処理を進める。なお、全ての糸駒21は、B4にて選択した交信範囲内の糸駒21である。   In E <b> 5, the CPU 101 determines whether or not the used yarn amount P of the target color-specific pattern portion has been compared with the yarn amounts Q of all the thread spools 21. When the CPU 101 determines that all the yarn spools 21 have been compared (E5: YES), the comparison process D7 is terminated. If the CPU 101 determines that it has not yet been compared with all the thread spools 21 (E5: NO), the process proceeds to E7. All the thread spools 21 are thread clamps 21 within the communication range selected in B4.

E7では、CPU101は、次の糸駒21に比較対象を移す。第1実施形態では、色番号1(赤)の次の糸駒21の色番号は、色番号2(ピンク)である。CPU101は、E7終了後、E1へ処理を戻す。   In E7, the CPU 101 moves the comparison target to the next thread spool 21. In the first embodiment, the color number of the yarn spool 21 next to the color number 1 (red) is the color number 2 (pink). After the end of E7, the CPU 101 returns the process to E1.

[第2実施形態のミシン500]
図25、図26、及び図27を参照して、第2実施形態に係るミシン500の物理的構成について説明する。
[Sewing machine 500 of the second embodiment]
A physical configuration of the sewing machine 500 according to the second embodiment will be described with reference to FIGS. 25, 26, and 27.

図25に示すように、ミシン500は、6本の針棒を有する多針ミシンである。ミシン500は、脚部501と、脚柱部502と、アーム部503と、針棒ケース504と、シリンダベッド505と、操作パネル506と、キャリッジ507と、枠取付台508と、を備える。   As shown in FIG. 25, the sewing machine 500 is a multi-needle sewing machine having six needle bars. The sewing machine 500 includes a leg portion 501, a pedestal column portion 502, an arm portion 503, a needle bar case 504, a cylinder bed 505, an operation panel 506, a carriage 507, and a frame mounting base 508.

第2実施形態における方向について定義する。脚柱部502が脚部501から延びる方向を、上方向とし、上方向の反対方向を下方向とする。アーム部503が脚柱部502から延びる方向を、前方向とし、前方向の反対方向を後方向とする。前後方向と上下方向とに直交する方向を、左右方向とする。   The direction in the second embodiment will be defined. The direction in which the pedestal column part 502 extends from the leg part 501 is the upward direction, and the direction opposite to the upward direction is the downward direction. A direction in which the arm portion 503 extends from the pedestal column portion 502 is a front direction, and a direction opposite to the front direction is a rear direction. The direction orthogonal to the front-rear direction and the up-down direction is defined as the left-right direction.

脚部501は、ミシン全体を支持する。脚部501は、左右一対に設けられる。脚柱部502は、脚部501の後端部から上向きに延びる。アーム部503は、脚柱部502の上部から前方に延びる。針棒ケース504は、アーム部503の前端部に装着される。シリンダベッド505は、脚柱部502の下端部から前方に延びる。回転釜が、シリンダベッド505の前端部に設けられる。   The leg portion 501 supports the entire sewing machine. The leg part 501 is provided in a pair of left and right. The leg column part 502 extends upward from the rear end part of the leg part 501. The arm portion 503 extends forward from the upper portion of the pedestal portion 502. The needle bar case 504 is attached to the front end portion of the arm portion 503. The cylinder bed 505 extends forward from the lower end of the pedestal column 502. A rotary hook is provided at the front end of the cylinder bed 505.

キャリッジ507は、脚部501の上側に設けられる。キャリッジ507は、左右方向に延びる。キャリッジ507は、枠取付台508を左右方向に移動させる左右駆動機構を備える。脚部501は、枠取付台508を前後方向に移動させる前後駆動機構を備える。枠取付台508は、キャリッジ507の前側に設けられる。刺繍枠509は、刺繍縫製に供する加工布が保持される。刺繍枠509は、枠取付台508に取り付け可能に構成される。刺繍枠509が、キャリッジ507とともに前後方向に移動し、枠取付台508と共に左右方向に移動することにより、ミシン500は、加工布を移動する。   The carriage 507 is provided on the upper side of the leg portion 501. The carriage 507 extends in the left-right direction. The carriage 507 includes a left / right drive mechanism that moves the frame mounting base 508 in the left / right direction. The leg portion 501 includes a front-rear drive mechanism that moves the frame mounting base 508 in the front-rear direction. The frame mounting base 508 is provided on the front side of the carriage 507. The embroidery frame 509 holds a work cloth used for embroidery sewing. The embroidery frame 509 is configured to be attachable to the frame mounting base 508. When the embroidery frame 509 moves in the front-rear direction together with the carriage 507 and moves in the left-right direction together with the frame mounting base 508, the sewing machine 500 moves the work cloth.

6本の針棒510が、針棒ケース504に上下動可能に装着される。縫針511が、各針棒510の下端部に夫々装着される。6つの天秤512が、各針棒510の各々に対応して上下動可能に夫々装着される。糸調子台513は、針棒ケース504の上端部に設けられる。糸調子台513の平面は、後方上側へ傾斜する。糸調子台513は、合成樹脂製である。6つの糸調子器514は、糸調子台513の上部に設けられる。6つの糸調子器514は、各縫針511の各々に供給される上糸の張力を調整する。   Six needle bars 510 are attached to the needle bar case 504 so as to be movable up and down. A sewing needle 511 is attached to the lower end of each needle bar 510. Six balances 512 are mounted to be movable up and down corresponding to each needle bar 510. The thread tension base 513 is provided at the upper end of the needle bar case 504. The plane of the thread tension base 513 is inclined rearward and upward. The thread tension base 513 is made of a synthetic resin. The six thread tensioners 514 are provided on the upper part of the thread tension table 513. The six thread tensioners 514 adjust the tension of the upper thread supplied to each sewing needle 511.

糸立て台515は、アーム部503の上側に設けられる。糸立て棒516は、糸立て台515に設けられる。糸立て棒516は、6個の糸駒を取り付け可能である。各糸駒から延びる上糸は、各糸駒に対応する糸調子器514、及び天秤512に掛けられ、針棒510の下端に取り付けられた縫針511に供給される。   The thread stand 515 is provided on the upper side of the arm portion 503. The thread stand 516 is provided on the thread stand 515. The spool pin 516 can be attached with six thread spools. The upper thread extending from each thread spool is hung on a thread tensioner 514 and a balance 512 corresponding to each thread spool, and supplied to a sewing needle 511 attached to the lower end of the needle bar 510.

ミシン500は、針棒510、及び天秤512を同期して上下駆動し、回転釜と協働して、刺繍枠509に保持される加工布に刺繍模様を縫製する。   The sewing machine 500 drives the needle bar 510 and the balance 512 up and down synchronously, and sews the embroidery pattern on the work cloth held by the embroidery frame 509 in cooperation with the rotary hook.

操作パネル506は、アーム部503の右側面に設けられる。操作パネル506は、LCD506aと、タッチパネル506bと、起動停止スイッチ506cと、を備える。LCD506aは、左右方向に長い。タッチパネル506bは、LCD506aの表面に設けられる。タッチパネル506bは、LCD506aに表示された複数種類の刺繍模様画像、及び機能名に対応する位置に、透明な複数のタッチキーを有する。起動停止スイッチ506cは、LCD506aの下側に設けられる。起動停止スイッチ506cは、縫製の開始、及び停止を指示する。ミシン500は、図示はしないが、第1実施形態のミシン1と同様の電気的構成を備える。   The operation panel 506 is provided on the right side surface of the arm portion 503. The operation panel 506 includes an LCD 506a, a touch panel 506b, and a start / stop switch 506c. The LCD 506a is long in the left-right direction. The touch panel 506b is provided on the surface of the LCD 506a. The touch panel 506b has a plurality of transparent touch keys at positions corresponding to a plurality of types of embroidery pattern images and function names displayed on the LCD 506a. The start / stop switch 506c is provided below the LCD 506a. The start / stop switch 506c instructs the start and stop of sewing. Although not shown, the sewing machine 500 has the same electrical configuration as the sewing machine 1 of the first embodiment.

図26、及び図27を参照して、糸調子器514、及び回転量検出機構540について説明する。なお、6つの糸調子器514は、同一構造であるので、1つの糸調子器514について説明する。   The thread tension device 514 and the rotation amount detection mechanism 540 will be described with reference to FIGS. Since the six thread tensioners 514 have the same structure, only one thread tensioner 514 will be described.

図26、及び図27に示すように、糸調子器514は、軸部材520と、ロータリ皿521と、調節機構522と、フランジ付き本体部材523と、永久磁石部材524と、ホール素子525と、を備える。   As shown in FIGS. 26 and 27, the thread tensioner 514 includes a shaft member 520, a rotary dish 521, an adjustment mechanism 522, a flanged main body member 523, a permanent magnet member 524, a hall element 525, Is provided.

軸部材520は、下端側から順次、小径部520a、大径部520b、中径部520c、及び小径部520dからなる段付き構造である。大径部520bは、本体部材523に内装される。   The shaft member 520 has a stepped structure including a small diameter portion 520a, a large diameter portion 520b, a medium diameter portion 520c, and a small diameter portion 520d sequentially from the lower end side. The large-diameter portion 520b is housed in the main body member 523.

本体部材523は、糸調子台513にフランジ523aを介してネジ529にて固定される。長孔523bは、フランジ523aに形成される。長孔523bは、円弧状である。ネジ529は、長孔523bに貫通して長孔523bを移動可能に設けられる。従って、糸調子器514は、糸調子台513に対して、位置調整可能に取付けられる。小径部520aは、本体部材523の嵌合孔523cに嵌合される。止めねじ530は、本体部材523に小径部520aを固定する。なお、アース用の止めねじ531は、本体部材523に設けられる。   The main body member 523 is fixed to the thread tension base 513 with a screw 529 via a flange 523a. The long hole 523b is formed in the flange 523a. The long hole 523b has an arc shape. The screw 529 is provided so as to penetrate the long hole 523b and move through the long hole 523b. Accordingly, the thread tensioner 514 is attached to the thread tension base 513 so that the position thereof can be adjusted. The small diameter portion 520 a is fitted into the fitting hole 523 c of the main body member 523. The set screw 530 fixes the small diameter portion 520 a to the main body member 523. The grounding set screw 531 is provided on the main body member 523.

割溝520eは、軸部材520の小径部520dの先端から中径部520cに亙って軸部材520の軸方向に延びる。雄ねじ520fは、小径部520dの外周に形成されている。薄板部材532は、円板状に形成され、中央位置に貫通孔が設けられる。貫通孔は、中径部520cを挿通可能である。薄板部材532は、中径部520cの基端部に外装される。薄板部材532は、貫通孔の周囲の下面が、大径部520bと中径部520cとの段差部に当接して、位置が保持される。環状のフェルト材533、ロータリ皿521、及び環状のフェルト材534が、薄板部材532の上方には配置され、中径部520cに対して一体回転可能に外装される。   The split groove 520e extends in the axial direction of the shaft member 520 from the tip of the small diameter portion 520d of the shaft member 520 to the medium diameter portion 520c. The male screw 520f is formed on the outer periphery of the small diameter portion 520d. The thin plate member 532 is formed in a disk shape, and a through hole is provided at the center position. The through hole can be inserted through the medium diameter portion 520c. The thin plate member 532 is mounted on the base end portion of the medium diameter portion 520c. The position of the thin plate member 532 is maintained by the lower surface around the through hole being in contact with the step portion between the large diameter portion 520b and the medium diameter portion 520c. An annular felt material 533, a rotary dish 521, and an annular felt material 534 are disposed above the thin plate member 532 and are externally mounted on the medium diameter portion 520c so as to be integrally rotatable.

調節機構522は、ロータリ皿521の回転抵抗力を調節する機構である。調節機構522は、ロータリ皿押え535と、調節ダイヤル536と、圧縮コイルバネ537と、環状のバネ受け部材538と、を有する。ロータリ皿押え535は、上端開放の筒状に形成される。ロータリ皿押え535は、中径部520cに軸方向に移動可能に外装される。   The adjustment mechanism 522 is a mechanism that adjusts the rotational resistance of the rotary dish 521. The adjustment mechanism 522 includes a rotary plate presser 535, an adjustment dial 536, a compression coil spring 537, and an annular spring receiving member 538. The rotary dish presser 535 is formed in a cylindrical shape with an open upper end. The rotary dish presser 535 is externally mounted on the middle diameter portion 520c so as to be movable in the axial direction.

調節ダイヤル536の下端は、開放され、略テーパ筒状に形成される。ロータリ皿押え535は、中径部520cに回転可能に外装され、かつ調節ダイヤル536の下端外周部を囲むよう形成される。筒部536aが、調節ダイヤル536内の上半部に一体形成される。雌ねじが筒部536aの内周に形成される。雌ねじは、雄ねじ520fに螺合可能である。   The lower end of the adjustment dial 536 is opened and formed in a substantially tapered cylindrical shape. The rotary dish presser 535 is rotatably mounted on the medium diameter part 520 c and is formed so as to surround the lower end outer peripheral part of the adjustment dial 536. A cylindrical portion 536 a is integrally formed with the upper half portion in the adjustment dial 536. A female screw is formed on the inner periphery of the cylindrical portion 536a. The female screw can be screwed onto the male screw 520f.

環状のバネ受け部材538は、調節ダイヤル536内において小径部520dに軸方向に移動可能に外装される。フランジ538aが、環状のバネ受け部材538の上端に形成される。圧縮コイルバネ537が、フランジ538aとロータリ皿押え535との間に介装される。圧縮コイルバネ537は、フランジ538aを筒部536aに当接させるよう付勢する。また、圧縮コイルバネ537は、ロータリ皿押え535を下方に押圧するよう付勢する。ロータリ皿押え535が下方に押圧されることで、ロータリ皿521fはフェルト材534を介して押圧力を受ける。よって、前記押圧力が、ロータリ皿521が回転するときの回転抵抗力となる。前記回転抵抗力は、圧縮コイルバネ537の付勢力に依存する。圧縮コイルバネ537の付勢力は、ユーザが、調節ダイヤル536を回転させ、バネ受け部材538を軸方向に移動させることで、調整することができる。このように、圧縮コイルバネ537の付勢力を調節することで、ロータリ皿押え535に作用する押圧力が変化し、ロータリ皿521の回転抵抗力を調節することができる。   An annular spring receiving member 538 is externally mounted on the small diameter portion 520d in the adjustment dial 536 so as to be movable in the axial direction. A flange 538 a is formed at the upper end of the annular spring receiving member 538. A compression coil spring 537 is interposed between the flange 538 a and the rotary plate presser 535. The compression coil spring 537 biases the flange 538a so as to contact the cylindrical portion 536a. Further, the compression coil spring 537 biases the rotary dish presser 535 to press downward. When the rotary dish presser 535 is pressed downward, the rotary dish 521 f receives a pressing force via the felt material 534. Therefore, the pressing force becomes a rotational resistance force when the rotary dish 521 rotates. The rotational resistance force depends on the urging force of the compression coil spring 537. The biasing force of the compression coil spring 537 can be adjusted by the user rotating the adjustment dial 536 and moving the spring receiving member 538 in the axial direction. Thus, by adjusting the urging force of the compression coil spring 537, the pressing force acting on the rotary dish presser 535 changes, and the rotational resistance force of the rotary dish 521 can be adjusted.

ロータリ皿521は、一対の薄板状の金属製円盤を背面合わせに係合して構成される。一対の円盤の合せ面外周部が糸案内溝539となる。上糸が、糸案内溝539に一巻分巻回される。ロータリ皿521には、複数の抜き孔521aが周方向一定間隔おきに形成される。抜き孔521aにより、糸案内溝539に巻回された上糸とロータリ皿521との間にスリップが生じることを防ぐことができる。   The rotary dish 521 is configured by engaging a pair of thin metal disks in a back-to-back manner. The outer peripheral portion of the mating surface of the pair of disks serves as the yarn guide groove 539. The upper thread is wound around the thread guide groove 539 by one turn. In the rotary dish 521, a plurality of punch holes 521a are formed at regular intervals in the circumferential direction. The punch hole 521a can prevent a slip from occurring between the upper thread wound around the thread guide groove 539 and the rotary dish 521.

回転量検出機構540について説明する。回転量検出機構540は、永久磁石部材524と、ホール素子525と、を備える。永久磁石部材524が、ロータリ皿521の下面に取り付けられる。永久磁石部材524の直径は、ロータリ皿521の直径の約1/2である。永久磁石部材524の厚さは、約2〜3mmである。永久磁石部材524は、複数のN極と複数のS極を、N極とS極とが交互に位置するように環状に配置した部材である。   The rotation amount detection mechanism 540 will be described. The rotation amount detection mechanism 540 includes a permanent magnet member 524 and a hall element 525. A permanent magnet member 524 is attached to the lower surface of the rotary dish 521. The diameter of the permanent magnet member 524 is about ½ of the diameter of the rotary dish 521. The thickness of the permanent magnet member 524 is about 2 to 3 mm. The permanent magnet member 524 is a member in which a plurality of N poles and a plurality of S poles are annularly arranged so that the N poles and the S poles are alternately positioned.

永久磁石部材524の磁界は、糸調子器514の軸心方向に向けられる。ホール素子525は、フランジ523aに固着された基板に設けられる。従って、ロータリ皿521が回転する場合、N極とS極が交互に着磁された永久磁石部材524からホール素子525に投射される磁界の方向が周期的に切り換わるため、正弦波的な信号がホール素子525に発生する。正弦波的な検出信号は、波形整形回路で波形整形された後、「0」〜「1」の矩形波パルスに変換される。   The magnetic field of the permanent magnet member 524 is directed in the axial direction of the thread tensioner 514. The Hall element 525 is provided on a substrate fixed to the flange 523a. Therefore, when the rotary dish 521 rotates, the direction of the magnetic field projected to the Hall element 525 from the permanent magnet member 524, in which the N pole and the S pole are alternately magnetized, is periodically switched. Is generated in the Hall element 525. The sinusoidal detection signal is subjected to waveform shaping by the waveform shaping circuit and then converted to rectangular wave pulses of “0” to “1”.

縫製が開始されると、上糸が縫針511の方に引っ張られ、ロータリ皿521が回転する。このとき、永久磁石部材524が回転して、検出信号がホール素子525から出力される。検出信号による矩形波パルスのパルス数に基づいて、ロータリ皿521の回転量を演算することにより、上糸の糸消費量を検出することができる。このように、多針ミシン500においても、上糸の糸消費量を検出することができる。従って、多針ミシン500においても、第1実施形態と同様に、図11に示すメイン処理を実行することにより、第1実施形態と同様の作用効果を奏する。   When sewing is started, the upper thread is pulled toward the sewing needle 511, and the rotary dish 521 rotates. At this time, the permanent magnet member 524 rotates and a detection signal is output from the Hall element 525. By calculating the rotation amount of the rotary dish 521 based on the number of rectangular wave pulses by the detection signal, the yarn consumption amount of the upper yarn can be detected. As described above, the multi-needle sewing machine 500 can also detect the thread consumption of the upper thread. Therefore, also in the multi-needle sewing machine 500, as in the first embodiment, by performing the main process shown in FIG. 11, the same effects as those in the first embodiment can be obtained.

[本実施形態の効果]
第1実施形態においては、タグリーダライタ510により読み取られた糸駒21の糸量Qと、D6の処理により取得した色別模様部の使用糸量Pと、を比較した結果に基づき、各色別模様部に使用する使用糸色を抽出し、各色別模様部に割り当てる。このため、糸量が足らない糸色の糸駒の新品を用意することなく、加工布にユーザが所望する刺繍模様を刺繍することができる。
[Effect of this embodiment]
In the first embodiment, based on the result of comparing the yarn amount Q of the yarn spool 21 read by the tag reader / writer 510 and the used yarn amount P of the color-specific pattern portion obtained by the process of D6, each color pattern The used thread color used for the part is extracted and assigned to the pattern part for each color. For this reason, an embroidery pattern desired by the user can be embroidered on the work cloth without preparing a new yarn-colored thread spool with insufficient thread amount.

第1実施形態においては、対象の色別模様部の使用糸量Pより多い糸量Qを有する糸駒21から使用糸色を抽出し、色別模様部に割り当てる。このため、縫製中に糸が足らなくなることがない。また、糸量Qが少ない糸駒21を、使用糸量Pが少ない色別模様部に割り当てることができる。   In the first embodiment, the used yarn color is extracted from the yarn piece 21 having the yarn amount Q larger than the used yarn amount P of the target color-specific pattern portion and assigned to the color-specific pattern portion. For this reason, the thread does not run out during sewing. Further, the thread spool 21 having a small yarn amount Q can be assigned to a color-specific pattern portion having a small amount of used yarn P.

第1実施形態においては、ユーザが、タグリーダライタ510の交信範囲を、ミシン1に装着された糸駒21、ミシン1の周囲に置かれた糸駒21、及びミシン1に装着された糸駒21とミシン1の周囲に置かれた糸駒21との両方、の計3つの範囲を選択することができる。ユーザが選択したカテゴリに応じて、B4の処理にてタグリーダライタ510による交信が行われる。このため、例えば、ミシン1に装着された糸駒21の糸量Qが、対象の色別模様部の使用糸量Pより少ない糸量であったとする。この場合、交信範囲をミシン1の周囲に置かれた糸駒21とすることにより、対象の色別模様部の使用糸量Pより多い糸量Qを有する糸駒21が見つかる可能性がある。その結果、縫製中に糸が足らなくなる可能性が少なくなる。   In the first embodiment, the user sets the communication range of the tag reader / writer 510 to the thread spool 21 mounted on the sewing machine 1, the thread spool 21 placed around the sewing machine 1, and the thread clamp 21 mounted on the sewing machine 1. And a thread spool 21 placed around the sewing machine 1 can be selected in total. According to the category selected by the user, the tag reader / writer 510 performs communication in the process of B4. For this reason, for example, it is assumed that the yarn amount Q of the yarn spool 21 attached to the sewing machine 1 is smaller than the used yarn amount P of the target color-specific pattern portion. In this case, by setting the communication range to the thread spool 21 placed around the sewing machine 1, there is a possibility that the thread spool 21 having the thread amount Q larger than the used thread amount P of the target color-specific pattern portion may be found. As a result, the possibility of running out of thread during sewing is reduced.

第1実施形態においては、A5の処理にて、ユーザは、タッチパネル111のタッチにより、使用糸色として必ず含める糸色に対応する糸駒キー352aを指定することができる。これにより、指定した糸色を、色別模様部の糸色に必ず含めることができる。即ち、ユーザの好みに応じて、刺繍模様に含める糸色を指定することができる。   In the first embodiment, in the process of A5, the user can designate the thread spool key 352a corresponding to the thread color to be always included as the thread color to be used by touching the touch panel 111. As a result, the designated thread color can always be included in the thread color of the color-specific pattern portion. That is, the thread color included in the embroidery pattern can be designated according to the user's preference.

[変形例]
本発明は上記実施形態に限定されるものではなく、本発明の要旨を逸脱しない範囲で種々の形態で実施することができる。
[Modification]
The present invention is not limited to the above embodiment, and can be implemented in various forms without departing from the gist of the present invention.

本実施形態においては、糸駒21の糸量Qと各色別模様部の使用糸量Pとを比較して、糸色候補をピックアップし、糸色候補の中からランダムに色別模様部に使用する使用糸色をそれぞれ抽出した。しかしながら、上記抽出方法に限らず、対象の糸駒21の糸量Qが、色別模様部の中で最も多い使用糸量P以上である所定の糸量以上の糸量を有するか否かを判断する。判断した結果、所定の糸量以上であると判断した糸色を糸色候補としてピックアップする。そして、読み出した糸色候補の中から各色別模様部に使用する糸色を全て抽出するようにしてもよい。所定の糸量とは、例えば糸駒1つ分の糸量である。これにより、一層簡単な処理で、糸が足らなくなることがなく、加工布31に刺繍模様を縫製することができる。   In the present embodiment, the thread quantity Q of the yarn spool 21 and the used thread quantity P of each color pattern portion are compared to pick up the thread color candidates and use them randomly from the thread color candidates in the color-specific pattern portions. Each used thread color was extracted. However, not limited to the above extraction method, it is determined whether or not the yarn amount Q of the target yarn piece 21 has a yarn amount equal to or greater than a predetermined yarn amount that is equal to or greater than the most used yarn amount P in the color-specific pattern portion. to decide. As a result of the determination, the thread color determined to be equal to or greater than the predetermined thread amount is picked up as a thread color candidate. Then, all the thread colors used for each color pattern portion may be extracted from the read thread color candidates. The predetermined yarn amount is, for example, a yarn amount for one yarn spool. As a result, the embroidery pattern can be sewn on the work cloth 31 without running out of thread with a simpler process.

本実施形態においては、A5の処理にて、ユーザは、糸駒キー352aを指定することにより、指定した糸色を、色別模様部に使用する使用糸色に必ず含めることができる。しかしながら、ユーザがタッチパネル111へタッチすることにより、ミシン1が、必ず含める糸色に限らず、使用糸色として含めない糸色を指定可能なよう構成されていてもよい。これにより、C7の配色処理において、使用糸色として含めない糸色として指定した糸色を除いて、使用糸色を抽出することができる。その結果、例えばユーザが嫌いな糸色で、刺繍模様が加工布31に刺繍されることがない。   In the present embodiment, in the process of A5, the user can always include the specified thread color in the used thread color used for the color-specific pattern portion by specifying the thread spool key 352a. However, when the user touches the touch panel 111, the sewing machine 1 is not limited to the thread color to be included, but may be configured to be able to specify a thread color that is not to be included as the used thread color. As a result, in the C7 color arrangement process, the used thread color can be extracted by removing the thread color designated as the thread color that is not included as the used thread color. As a result, for example, the embroidery pattern is not embroidered on the work cloth 31 with a thread color that the user dislikes.

糸立て台515は、複数の糸駒の載置が可能な構成であり、多針ミシン500に設けられていればよい。糸立て台515は、糸駒の載置数が、針棒510の個数等に応じて7個以上とする構成としてもよい。   The thread stand 515 is configured to be capable of placing a plurality of thread spools and may be provided in the multi-needle sewing machine 500. The thread stand 515 may be configured such that the number of thread spools is set to 7 or more according to the number of needle bars 510 and the like.

糸調子器514は、ロータリ皿521によって上糸に張力を付与すると共にこのロータリ皿521の回転量を検出することにより上糸の糸消費量を検出する構成である。しかしながら、上糸に張力を付与する為の糸調子皿を有する糸調子器と、上糸の糸消費量を検出する為の回転皿を有する糸消費量検出器とを別々に設けてもよい。   The thread tensioner 514 is configured to detect the thread consumption of the upper thread by applying tension to the upper thread by the rotary dish 521 and detecting the amount of rotation of the rotary dish 521. However, a thread tensioner having a thread tension tray for applying tension to the upper thread and a thread consumption detector having a rotating tray for detecting the thread consumption of the upper thread may be provided separately.

なお、上述したプログラムは、ハードディスク、フレキシブルディスク、CD−ROM、又はDVDなどのコンピュータで読み取り可能な記録媒体に記録され、コンピュータによって記録媒体から読み出されることによって実行されてもよい。また、このプログラムは、インターネットなどのネットワークを介して配布することが可能な伝送媒体であってもよい。   Note that the above-described program may be recorded on a computer-readable recording medium such as a hard disk, a flexible disk, a CD-ROM, or a DVD, and executed by being read from the recording medium by the computer. Further, this program may be a transmission medium that can be distributed via a network such as the Internet.

第1実施形態、及び第2実施形態では、刺繍模様を選択する選択手段と、使用糸量を取得する糸量取得手段と、タグリーダライタ510により読み取られた糸量と色別模様部の使用糸量とを比較する比較手段と、使用糸色を抽出する抽出手段と、使用糸色を色別模様部の糸色に割り当てる割当手段とを、CPU101が実行するソフトウェアにより実現したが、各手段をハードウェアにより実現してもよい。   In the first embodiment and the second embodiment, a selection unit that selects an embroidery pattern, a yarn amount acquisition unit that acquires a used thread amount, a thread amount read by the tag reader / writer 510, and a thread used for a color-specific pattern portion. The comparing means for comparing the quantity, the extracting means for extracting the used thread color, and the assigning means for assigning the used thread color to the thread color of the color-specific pattern portion are realized by software executed by the CPU 101. It may be realized by hardware.

〔本発明と実施例との対応関係〕
本実施形態における加工布31は、本発明における加工布の一例である。
本実施形態における刺繍データ243は、本発明における刺繍データの一例である。
本実施形態における複数の色別模様部401〜40nは、本発明における複数の色別模様部の一例である。
本実施形態における刺繍模様340は、本発明における刺繍模様の一例である。
本実施形態におけるミシン1、500は、本発明におけるミシンの一例である。
本実施形態における糸情報は、本発明における糸情報の一例である。
本実施形態における無線タグ801は、本発明におけるICタグの一例である。
本実施形態における糸駒21は、本発明における糸駒の一例である。
本実施形態におけるタグリーダライタ510は、本発明におけるリーダの一例である。
本実施形態における制御部100、及びA1は、本発明における選択手段の一例である。
本実施形態における配色記憶領域252の使用糸量Pは、本発明における使用糸量の一例である。
本実施形態における検索糸情報記憶領域250の糸量Qは、本発明における「糸情報の糸量」の一例である。
本実施形態における制御部100、及びD6は、本発明における糸量取得手段の一例である。
本実施形態における制御部100、及びD7は、本発明における比較手段の一例である。
本実施形態における配色記憶領域252の使用糸色は、本発明における使用糸色の一例である。
本実施形態における制御部100、及びD9は、本発明における抽出手段の一例である。
本実施形態における制御部100、及びD13は、本発明における割当手段の一例である。
本実施形態における縫製手段は、本発明における縫製手段の一例である。
本実施形態における刺繍模様340は、本発明における選択模様の一例である。
本実施形態における制御部100、及びE1は、本発明における判断手段の一例である。
本実施形態における制御部100、及びA5は、本発明における必須糸色指定手段の一例である。
[Correspondence Relationship Between the Present Invention and Examples]
The work cloth 31 in this embodiment is an example of the work cloth in the present invention.
The embroidery data 243 in this embodiment is an example of embroidery data in the present invention.
The plurality of color-specific pattern portions 401 to 40n in the present embodiment are examples of the plurality of color-specific pattern portions in the present invention.
The embroidery pattern 340 in the present embodiment is an example of the embroidery pattern in the present invention.
Sewing machines 1 and 500 in this embodiment are examples of the sewing machine in the present invention.
The yarn information in the present embodiment is an example of yarn information in the present invention.
The wireless tag 801 in this embodiment is an example of an IC tag in the present invention.
The yarn spool 21 in the present embodiment is an example of the yarn spool according to the present invention.
The tag reader / writer 510 in this embodiment is an example of a reader in the present invention.
The control unit 100 and A1 in the present embodiment are an example of selection means in the present invention.
The used yarn amount P in the color arrangement storage area 252 in this embodiment is an example of the used yarn amount in the present invention.
The yarn amount Q in the search yarn information storage area 250 in this embodiment is an example of the “yarn amount of yarn information” in the present invention.
The control unit 100 and D6 in this embodiment are an example of a yarn amount acquisition unit in the present invention.
The control part 100 and D7 in this embodiment are an example of the comparison means in this invention.
The used thread color in the color arrangement storage area 252 in the present embodiment is an example of the used thread color in the present invention.
The control unit 100 and D9 in this embodiment are an example of extraction means in the present invention.
The control unit 100 and D13 in this embodiment are an example of allocation means in the present invention.
The sewing means in the present embodiment is an example of the sewing means in the present invention.
The embroidery pattern 340 in the present embodiment is an example of the selected pattern in the present invention.
The control unit 100 and E1 in this embodiment are an example of a determination unit in the present invention.
The control unit 100 and A5 in the present embodiment are an example of essential thread color designation means in the present invention.

1、500 ミシン
2 ベッド部
3、502 脚柱部
4、503 アーム部
6、510 針棒
15 糸駒収容部
101 CPU
111、506b タッチパネル
31 加工布
504 針棒ケース
506 操作パネル
507 キャリッジ
513 糸調子台
514 糸調子器
515 糸立て台
16、516 糸立て棒
DESCRIPTION OF SYMBOLS 1,500 Sewing machine 2 Bed part 3,502 Leg pillar part 4,503 Arm part 6,510 Needle bar 15 Yarn piece accommodating part 101 CPU
111, 506b Touch panel 31 Work cloth 504 Needle bar case 506 Operation panel 507 Carriage 513 Thread tension table 514 Thread tension device 515 Thread stand 16, 516 Thread stand

Claims (9)

加工布上の縫製位置を指定する針落ち点データを含む刺繍データに基づき、複数の色別模様部からなる刺繍模様を縫製するミシンにおいて、
巻回される糸の糸色と糸量とを少なくとも含む糸情報を記憶したICタグを備えた糸駒であって、交信範囲内にある複数の糸駒の前記ICタグから前記糸情報を読取るリーダと、
前記刺繍模様を選択する選択手段と、
前記選択手段により選択された前記刺繍模様である選択模様の刺繍データから、前記選択模様の各色別模様部に使用する糸の使用量である使用糸量を取得する糸量取得手段と、
前記リーダにより読取られた複数の前記糸情報の糸量と、前記糸量取得手段により取得された前記各色別模様部の前記使用糸量と、を比較する比較手段と、
前記比較手段の比較結果に基づき、前記リーダにより読み取られた複数の前記糸情報の糸色の中から、前記選択模様の各色別模様部に使用する糸の糸色である使用糸色を抽出する抽出手段と、
前記抽出手段により抽出された前記使用糸色を前記各色別模様部の糸色に割り当てる割当手段と、
前記割当手段により割り当てられた前記各色別模様部の前記糸色に基づき、前記各色別模様部を縫製する縫製手段と、を備えることを特徴とするミシン。
In a sewing machine that sews an embroidery pattern composed of a plurality of color-specific pattern portions based on embroidery data including needle drop point data that specifies a sewing position on a work cloth.
A yarn piece having an IC tag storing yarn information including at least the yarn color and the amount of yarn to be wound, the reader reading the yarn information from the IC tags of a plurality of yarn pieces within a communication range When,
Selecting means for selecting the embroidery pattern;
A yarn amount obtaining unit that obtains a used yarn amount that is a used amount of a yarn to be used for each color pattern portion of the selected pattern from embroidery data of the selected pattern that is the embroidery pattern selected by the selecting unit;
A comparison unit that compares the yarn amounts of the plurality of pieces of yarn information read by the reader with the used yarn amounts of the color-specific pattern portions acquired by the yarn amount acquisition unit;
Based on the comparison result of the comparison means, the used thread color, which is the thread color of the thread used for each color pattern portion of the selected pattern, is extracted from the thread colors of the plurality of thread information read by the reader. Extraction means;
Allocating means for allocating the used thread color extracted by the extracting means to the thread color of each color-specific pattern portion;
A sewing machine comprising: sewing means for sewing the color-specific pattern portions based on the thread colors of the color-specific pattern portions assigned by the assigning means.
前記比較手段は、
前記リーダにより読み取られた前記糸情報の糸色が前記選択模様の縫製が可能であるか否かを判断する判断手段を有し、
前記抽出手段は、
前記判断手段により前記選択模様の縫製が可能であると判断された糸色の中から、前記使用糸色を抽出することを特徴とする請求項1に記載のミシン。
The comparison means includes
Determining means for determining whether the thread color of the thread information read by the reader is capable of sewing the selected pattern;
The extraction means includes
The sewing machine according to claim 1, wherein the used thread color is extracted from the thread colors determined to be capable of sewing the selected pattern by the determining unit.
前記判断手段は、
前記リーダにより読み取られた複数の前記糸情報の糸量が、対象の前記色別模様部の前記使用糸量より多い前記糸情報の糸色を、前記選択模様の縫製が可能な糸色であると判断することを特徴とする請求項2に記載のミシン。
The determination means includes
The thread color of the plurality of pieces of thread information read by the reader is a thread color that allows the selection pattern to be sewn with the thread color of the thread information that is larger than the amount of used thread of the target color-specific pattern portion. The sewing machine according to claim 2, wherein the sewing machine is determined as follows.
前記リーダにより読取られた複数の前記糸情報の糸量が、前記選択模様の複数の色別模様部の使用糸量の中で最も多い使用糸量以上である所定の糸量以上か否かを判断する十分判断手段を備え、
前記抽出手段は、
前記十分判断手段により前記所定の糸量以上であると判断された前記糸情報の糸色の中から、前記使用糸色を抽出することを特徴とする請求項1に記載のミシン。
Whether or not the yarn amounts of the plurality of pieces of yarn information read by the reader are equal to or greater than a predetermined yarn amount that is equal to or greater than the largest used yarn amount among the used yarn amounts of the plurality of color-specific pattern portions of the selected pattern It has sufficient judgment means to judge,
The extraction means includes
The sewing machine according to claim 1, wherein the used thread color is extracted from the thread colors of the thread information determined to be equal to or greater than the predetermined thread amount by the sufficient determination means.
前記交信範囲内にある複数の糸駒は、
前記ミシンに装着された糸駒を含むことを特徴とする請求項1〜4のいずれかに記載のミシン。
A plurality of thread spools within the communication range are:
The sewing machine according to any one of claims 1 to 4, further comprising a thread spool mounted on the sewing machine.
前記交信範囲内にある複数の糸駒は、
前記ミシンの周囲に置かれた糸駒を含むことを特徴とする請求項1〜4のいずれかに記載のミシン。
A plurality of thread spools within the communication range are:
The sewing machine according to any one of claims 1 to 4, further comprising a thread spool placed around the sewing machine.
前記交信範囲内にある複数の糸駒は、
前記ミシンに装着された糸駒、及び前記ミシンの周囲に置かれた糸駒を含むことを特徴とする請求項1〜4のいずれかに記載のミシン。
A plurality of thread spools within the communication range are:
The sewing machine according to any one of claims 1 to 4, comprising a thread spool mounted on the sewing machine and a thread spool placed around the sewing machine.
前記使用糸色として必ず含める糸色を指定する必須糸色指定手段を備え、
前記抽出手段は、
前記リーダにより読み取られた複数の前記糸情報の糸色の中から、前記必須糸色指定手段により指定された前記糸色を少なくとも含めるように、前記使用糸色を抽出することを特徴とする請求項1〜7のいずれかに記載のミシン。
An essential thread color designating means for designating a thread color to be included as the thread color to be used,
The extraction means includes
The used thread color is extracted so as to include at least the thread color designated by the essential thread color designation unit from among a plurality of thread colors of the thread information read by the reader. Item 8. The sewing machine according to any one of Items 1 to 7.
前記使用糸色として除く糸色を指定する除外糸色指定手段を備え、
前記抽出手段は、
前記リーダにより読み取られた複数の前記糸情報の糸色の中から、前記除外糸色指定手段により指定された前記糸色を除いて、前記使用糸色を抽出することを特徴とする請求項1〜7のいずれかに記載のミシン。
An exclusion thread color designating unit for designating a thread color to be excluded as the use thread color;
The extraction means includes
2. The used thread color is extracted by excluding the thread color designated by the excluded thread color designation means from a plurality of thread colors of the thread information read by the reader. The sewing machine according to any one of -7.
JP2012217002A 2012-09-28 2012-09-28 Sewing machine Pending JP2014068803A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012217002A JP2014068803A (en) 2012-09-28 2012-09-28 Sewing machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012217002A JP2014068803A (en) 2012-09-28 2012-09-28 Sewing machine

Publications (1)

Publication Number Publication Date
JP2014068803A true JP2014068803A (en) 2014-04-21

Family

ID=50744619

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012217002A Pending JP2014068803A (en) 2012-09-28 2012-09-28 Sewing machine

Country Status (1)

Country Link
JP (1) JP2014068803A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20240035215A1 (en) * 2022-07-29 2024-02-01 Brother Kogyo Kabushiki Kaisha Storage medium storing display program, display method, and display apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20240035215A1 (en) * 2022-07-29 2024-02-01 Brother Kogyo Kabushiki Kaisha Storage medium storing display program, display method, and display apparatus
US12281421B2 (en) * 2022-07-29 2025-04-22 Brother Kogyo Kabushiki Kaisha Storage medium storing display program, display method, and display apparatus

Similar Documents

Publication Publication Date Title
JP4973251B2 (en) Sewing machine, thread quantity processing program, and computer-readable recording medium recording the thread quantity processing program
US7762202B2 (en) Embroidery sewing system
US8301292B2 (en) Sewing machine and non-transitory computer-readable medium storing sewing machine control program
US8596210B2 (en) Sewing machine and computer-readable medium storing control program executable on sewing machine
JP4862929B2 (en) sewing machine
US8096248B2 (en) Embroidery data processing apparatus, embroidery sewing machine and computer-readable recording medium with recorded embroidery data processing program
US20120048162A1 (en) Sewing machine and non-transitory computer-readable medium storing sewing machine control program
JP2008212579A (en) Sewing machine, sewing marks, and sewing machine control program
US20120048163A1 (en) Sewing machine and non-transitory computer-readable medium storing sewing machine control program
JP2015158028A (en) Tambour, and sewing machine
US8909366B2 (en) Sewing machine and computer program product
US9031686B2 (en) Embroidery data processor, computer-readable storage medium storing embroidery data processing program and sewing machine
US8818546B2 (en) Multi-needle sewing machine and computer-readable storage medium storing embroidery data processing program
JP7003853B2 (en) sewing machine
JP2009297190A (en) Sewing machine
US10626534B2 (en) Sewing machine and non-transitory computer-readable medium
JP2014068803A (en) Sewing machine
JP2014105401A (en) Embroidery data generating device, sewing machine and embroidery data generating program
US11519114B2 (en) Multi-needle sewing machine
US8694147B2 (en) Embroidery data generating device, computer-readable storage medium storing embroidery data processing program and sewing machine
US9290873B2 (en) Sewing machine, information processing apparatus, and non-transitory computer-readable medium
JPH01110394A (en) Apparatus for sewing button-hole in computer sewing machine
US12146249B2 (en) Sewing error management device, sewing error management system, and non-transitory computer-readable storage medium storing sewing error management program
US20220316115A1 (en) Non-transitory computer readable storage medium and sewing machine
JP2011055945A (en) Embroidery frame and sewing machine