JP2013208204A - Sewing data editing device and sewing machine - Google Patents

Sewing data editing device and sewing machine Download PDF

Info

Publication number
JP2013208204A
JP2013208204A JP2012079455A JP2012079455A JP2013208204A JP 2013208204 A JP2013208204 A JP 2013208204A JP 2012079455 A JP2012079455 A JP 2012079455A JP 2012079455 A JP2012079455 A JP 2012079455A JP 2013208204 A JP2013208204 A JP 2013208204A
Authority
JP
Japan
Prior art keywords
sewing
data
sewing data
cpu
pattern
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2012079455A
Other languages
Japanese (ja)
Inventor
Yoshihide Sugihara
良英 杉原
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 JP2012079455A priority Critical patent/JP2013208204A/en
Publication of JP2013208204A publication Critical patent/JP2013208204A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Sewing Machines And Sewing (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a sewing data editing device for generating sewing data which does not cause positional deviation even when enlarging or reducing each of a plurality of patterns to be formed on a sewing object, and provide a sewing machine.SOLUTION: A CPU captures an image of a presser frame including a plurality of openings (S15), detects the inner edges of the openings by image processing (S17) and displays a plurality of enclosed areas on a display unit (S19). An operator activates enclosed areas each including a pattern desired to be enlarged or reduced. The CPU designates the active enclosed areas as specific areas (S25) and sets the center position of each specific area as a reference position in each specific area for enlargement or reduction (S27). The CPU reads sewing data (S31) and enlarges or reduces stitch data having needle location points in each specific area by using the reference position as a reference (S33: YES, S37). The CPU generates sewing data which enables sewing of a plurality of patterns each enlarged or reduced by using the reference position corresponding to each of the plurality of patterns as the reference without influence on a positional relationship.

Description

本発明は、ミシンが縫製対象物に模様を縫製する為の針落ち点を示す縫製データを編集する縫製データ編集装置及びミシンに関する。   The present invention relates to a sewing data editing apparatus and a sewing machine for editing sewing data indicating a needle drop point for sewing a pattern onto a sewing object.

針落ち点を示す縫製データに従って縫製対象物に模様を縫製するミシンがある。針落ち点は、ミシンの縫針が下降して縫製対象物(加工布等)に刺さる縫製対象物上の予定位置である。縫製データは模様を縫製する為の多数の針落ち点を縫製順に並べたデータである。縫製データは、縫目で模様を形成する為の実縫いデータと、縫針に対する縫製対象物の相対位置を、縫目を形成せずに変更する為の空送りデータを含む。   There is a sewing machine that sews a pattern on a sewing object in accordance with sewing data indicating a needle entry point. The needle drop point is a predetermined position on the sewing object at which the sewing needle of the sewing machine descends and pierces the sewing object (work cloth or the like). The sewing data is data in which a large number of needle drop points for sewing a pattern are arranged in the sewing order. The sewing data includes actual sewing data for forming a pattern with stitches and pre-feed data for changing the relative position of the sewing object with respect to the sewing needle without forming the stitches.

縫製対象物に形成する模様を拡大又は縮小して縫製可能なミシンがある。例えば特許文献1のミシンは、縫製データ中の実縫いデータを拡縮し、空送りデータに基づく位置に移動した縫製対象物に模様を縫製する。該ミシンは、空送りデータを拡縮対象から外す事で、拡縮前の模様の形成予定位置に、拡縮後の模様を形成する事ができる。ミシンは、ミシンに固有の標準原点、該標準原点とは異なる縫い始め点等を拡縮の基準となる基準点とし、模様の拡縮を行う。特許文献1のミシンは菊穴かがり縫い用の模様を縫製するものであり、模様における穴開け位置に基準点を重ねて拡縮すれば、基準点に位置する部分は拡縮後も位置ずれしない。   There is a sewing machine that can be sewn by enlarging or reducing a pattern formed on a sewing object. For example, the sewing machine disclosed in Patent Document 1 enlarges / reduces actual sewing data in the sewing data, and sews a pattern on the sewing object moved to a position based on the pre-feed data. The sewing machine can form the pattern after enlargement / reduction at the planned formation position of the pattern before enlargement / reduction by removing the pre-feed data from the enlargement / reduction object. The sewing machine performs pattern enlargement / reduction using a standard origin unique to the sewing machine, a sewing start point different from the standard origin, and the like as reference points for enlargement / reduction. The sewing machine disclosed in Patent Document 1 is used to sew a pattern for chrysanthemum hole stitching, and if a reference point is overlapped and enlarged at the drilling position in the pattern, the portion located at the reference point is not displaced even after enlargement / reduction.

特開平7−328257号公報JP 7-328257 A

一つの縫製データは一つの基準点に基づき模様の拡縮を行う為、特許文献1のミシンで複数の模様を縫製する場合、穴開け位置に基準点を重ねた模様は位置ずれしないが、他の模様は異なる基準点に基づく拡縮となるので位置ずれする場合がある。作業者は、複数の模様を一つの縫製対象物に縫製する場合、模様毎に異なる拡縮用の縫製データを編集する必要があり、手間が掛かった。   Since one piece of sewing data scales the pattern based on one reference point, when sewing a plurality of patterns with the sewing machine of Patent Document 1, the pattern in which the reference point is overlapped at the drilling position is not displaced. Since the pattern is enlarged or reduced based on different reference points, the pattern may be displaced. When an operator sew a plurality of patterns on a single sewing object, it is necessary to edit different enlargement / reduction sewing data for each pattern, which is troublesome.

本発明の目的は、縫製対象物に形成する複数の模様を夫々拡縮しても位置ずれを生じない縫製データを生成する縫製データ編集装置及びミシンを提供する事である。   An object of the present invention is to provide a sewing data editing device and a sewing machine that generate sewing data that does not cause a positional shift even if a plurality of patterns formed on a sewing object are enlarged or reduced.

請求項1の縫製データ編集装置は、縫製対象物に模様を形成する為の縫製データを編集する縫製データ編集装置であって、前記模様の形成の際に前記縫製対象物を保持する保持部材を基準に前記縫製対象物上の複数の特定の領域である特定領域を指定する指定手段と、前記縫製データに基づき、前記指定手段に指定された夫々の前記特定領域内に針落ち点を有する複数の部位を夫々対象模様として取得する取得手段と、前記取得手段によって取得された複数の前記対象模様の拡大または縮小を行う際の基準となる位置である基準位置を夫々設定する設定手段と、前記縫製データを編集し、前記設定手段に設定された前記基準位置を基準に複数の前記対象模様を夫々拡大または縮小した拡縮模様を形成する為の拡縮縫製データを生成する生成手段と、を備えた事を特徴とする。   The sewing data editing device according to claim 1 is a sewing data editing device that edits sewing data for forming a pattern on a sewing object, and includes a holding member that holds the sewing object when the pattern is formed. Designating means for designating a specific area, which is a plurality of specific areas on the sewing object as a reference, and a plurality of needle drop points in each of the specific areas designated by the designating means based on the sewing data Acquisition means for acquiring each part as a target pattern, setting means for setting a reference position, which is a reference position when enlarging or reducing the plurality of target patterns acquired by the acquisition means, A generator that edits sewing data and generates enlarged / reduced sewing data for forming an enlarged / reduced pattern obtained by enlarging or reducing a plurality of the target patterns based on the reference position set by the setting means. , Characterized in that it is provided with a, and.

縫製データ編集装置は、複数の模様同士の位置関係を変えずに拡縮した模様を縫製できる縫製データを生成する事ができる。故に作業者は、縫製対象物に形成する模様の大きさが異なる毎に夫々異なる縫製データを作成する必要がなく、手間が掛からない。ミシンは、一つの縫製データがあれば、縫製対象物の様々なサイズに対応して拡縮した模様を容易に縫製する事ができる。   The sewing data editing device can generate sewing data that can sew an enlarged / reduced pattern without changing the positional relationship between a plurality of patterns. Therefore, the operator does not need to create different sewing data every time the size of the pattern to be formed on the sewing object is different, and labor is not required. If the sewing machine has one piece of sewing data, it can easily sew patterns that have been enlarged or reduced in accordance with various sizes of the sewing object.

請求項2の縫製データ編集装置において、前記設定手段は、前記特定領域の中央の位置を前記基準位置に設定する事を特徴とする。複数の特定領域の夫々において中央の位置を基準位置に設定すれば、作業者は、複数の特定領域に夫々基準位置を設定する手間を省く事ができる。   3. The sewing data editing apparatus according to claim 2, wherein the setting means sets a center position of the specific area as the reference position. If the center position is set as the reference position in each of the plurality of specific areas, the operator can save the trouble of setting the reference position in each of the plurality of specific areas.

請求項3の縫製データ編集装置において、前記設定手段による前記対象模様の拡大または縮小は、すべての前記対象模様に対し、同率で行う事を特徴とする。複数の対象模様に対して一括して同率の拡大または縮小を行う事ができるので、作業者は、対象模様ごとに拡大率また縮小率を設定する必要がなく、手間を省く事ができる。   4. The sewing data editing apparatus according to claim 3, wherein the target pattern is enlarged or reduced by the setting means at the same rate for all the target patterns. Since a plurality of target patterns can be enlarged or reduced at the same rate, the operator does not need to set an enlargement rate or a reduction rate for each target pattern, thereby saving labor.

請求項4の縫製データ編集装置は、前記保持部材は開口部を有する押え枠であり、前記押え枠を撮影する撮影手段と、前記撮影手段によって撮影された前記押え枠の前記開口部により前記縫製対象物を取り囲む包囲領域を検出する検出手段と、をさらに備え、前記指定手段は、前記検出手段によって検出された前記包囲領域を前記特定領域として指定する事を特徴とする。撮影した画像に基づき検出する包囲領域を特定領域に指定できるので、作業者は、人の操作による特定領域の指定を行わずとも済み、手間を省く事ができる。   The sewing data editing apparatus according to claim 4, wherein the holding member is a presser frame having an opening, and the sewing unit includes a photographing unit that photographs the presser frame and the opening of the presser frame photographed by the photographing unit. Detecting means for detecting an enclosing area surrounding the object, wherein the designating means designates the enclosing area detected by the detecting means as the specific area. Since the surrounding area to be detected based on the captured image can be designated as the specific area, the operator does not need to designate the specific area by a human operation, and can save labor.

請求項5の縫製データ編集装置は、前記撮影手段が撮影した画像を表示する表示手段と、前記表示手段によって表示された前記画像において、任意の領域を決定する決定手段と、をさらに備え、前記指定手段は、前記決定手段によって決定された領域を、前記特定領域として指定する事を特徴とする。作業者は、撮影した画像を見ながら任意の領域を決定し、特定領域に指定する事ができるので、拡縮が不要な模様が特定領域から外れるように領域を決定すれば、所望する模様のみの拡縮を行う事ができる。   The sewing data editing apparatus according to claim 5, further comprising: display means for displaying an image photographed by the photographing means; and determination means for determining an arbitrary area in the image displayed by the display means, The designating means designates the area determined by the determining means as the specific area. The operator can determine an arbitrary area while looking at the captured image and designate it as a specific area. Therefore, if the area is determined so that a pattern that does not need to be scaled out of the specific area, only the desired pattern can be obtained. Can be scaled.

請求項6の縫製データ編集装置は、前記表示手段に表示された前記画像に重ね、前記縫製データに基づいて複数の前記対象模様を描画する描画手段と、前記描画手段によって描画された前記対象模様の拡大または縮小の実施を選択可能な選択手段と、をさらに備え、前記生成手段は、前記選択手段によって拡大または縮小を実施する選択がなされた前記対象模様を対象に、前記拡縮模様を形成する為の前記拡縮縫製データを生成する事を特徴とする。作業者は、撮影した画像に重ねて描画した対象模様を見ながら、拡縮を実施する対象模様を選択できるので、確実に所望する模様のみの拡縮を行う事ができる。   The sewing data editing apparatus according to claim 6, wherein the sewing data editing apparatus overlaps the image displayed on the display means and draws a plurality of the target patterns based on the sewing data, and the target pattern drawn by the drawing means. Selecting means capable of selecting whether to enlarge or reduce the image, and the generating means forms the enlarged / reduced pattern with respect to the target pattern selected to be enlarged or reduced by the selecting means. For this purpose, the enlargement / reduction sewing data is generated. The operator can select the target pattern to be scaled while looking at the target pattern drawn over the captured image, so that only the desired pattern can be reliably scaled.

請求項7のミシンは、請求項1から6の何れかに記載の縫製データ編集装置と、前記保持部材を保持し、前記保持部材を水平面内で移動させる移動機構と、前記縫製データ編集装置によって編集された前記拡縮縫製データに従って前記移動機構を制御し、前記縫製対象物に前記拡縮模様を縫製する縫製手段と、を備えた事を特徴とする。ミシンは、縫製データ編集装置が編集した拡縮縫製データに従った拡縮模様の縫製を行う事ができる。故に作業者は、縫製対象物に形成する模様の大きさが異なる毎に夫々異なる縫製データを作成する必要がなく、手間が掛からない。ミシンは、一つの縫製データがあれば、縫製対象物の様々なサイズに対応して拡縮した模様を容易に縫製する事ができる。   A sewing machine according to a seventh aspect includes a sewing data editing device according to any one of the first to sixth aspects, a moving mechanism that holds the holding member and moves the holding member in a horizontal plane, and the sewing data editing device. Sewing means for controlling the moving mechanism in accordance with the edited enlargement / reduction sewing data and sewing the enlargement / reduction pattern on the sewing object. The sewing machine can sew an enlarged / reduced pattern according to the enlarged / reduced sewing data edited by the sewing data editing device. Therefore, the operator does not need to create different sewing data every time the size of the pattern to be formed on the sewing object is different, and labor is not required. If the sewing machine has one piece of sewing data, it can easily sew patterns that have been enlarged or reduced in accordance with various sizes of the sewing object.

ミシン1の斜視図である。1 is a perspective view of a sewing machine 1. FIG. 保持体60が保持する加工布150に縫製データ180に基づく模様151〜153を縫製した様子を示す図である。It is a figure which shows a mode that the patterns 151-153 based on the sewing data 180 were sewn on the work cloth 150 which the holding body 60 hold | maintains. ミシン1の電気的構成を示すブロック図である。2 is a block diagram showing an electrical configuration of the sewing machine 1. FIG. 縫製データ180を説明する為の概念的な構成を示す図である。4 is a diagram showing a conceptual configuration for explaining sewing data 180. FIG. 縫製データ編集処理のフローチャートである。It is a flowchart of a sewing data edit process. ディスプレイ81に包囲領域A1〜A3を表示した様子を示す図である。It is a figure which shows a mode that surrounding area A1-A3 was displayed on the display 81. FIG. 拡縮縫製データ280を説明する為の概念的な構成を示す図である。It is a figure which shows the notional structure for demonstrating the expansion / contraction sewing data 280. FIG. 保持体60が保持する加工布150に拡縮縫製データ280に基づく模様251、152、253を縫製した様子を示す図である。It is a figure which shows a mode that the patterns 251, 152, 253 based on the expansion / contraction sewing data 280 were sewn on the work cloth 150 which the holding body 60 hold | maintains.

以下、図面を参照し、本発明の実施形態のミシン1について説明する。図1の左斜め下側、右斜め上側、左斜め上側、右斜め下側は夫々ミシン1の前側、後側、左側、右側である。   Hereinafter, a sewing machine 1 according to an embodiment of the present invention will be described with reference to the drawings. 1 are a front side, a rear side, a left side, and a right side of the sewing machine 1, respectively.

図1、図2を参照し、ミシン1の全体構造について説明する。図1に示す如く、ミシン1は、ベッド部2、脚柱部3、アーム部4を備える。ベッド部2はテーブル95に載置する。ベッド部2は前後方向に延び、内部に垂直釜(図示略)等を備える。脚柱部3はベッド部2後側から鉛直上方に延びる。脚柱部3は内部にミシンモータ112(図3参照)等を備える。アーム部4は脚柱部3上側からベッド部2の上面に対向して前方に延び、前端に頭部7を備える。アーム部4は内部に主軸、針棒駆動機構(図示略)等を備える。針棒10は、頭部7の下端から下方へ延びる。縫針11は針棒10の下端に装着する。   The overall structure of the sewing machine 1 will be described with reference to FIGS. As shown in FIG. 1, the sewing machine 1 includes a bed portion 2, a pedestal column portion 3, and an arm portion 4. The bed unit 2 is placed on the table 95. The bed portion 2 extends in the front-rear direction and includes a vertical hook (not shown) and the like inside. The pedestal part 3 extends vertically upward from the rear side of the bed part 2. The pedestal 3 includes a sewing machine motor 112 (see FIG. 3) and the like. The arm portion 4 extends forward from the upper side of the pillar portion 3 so as to face the upper surface of the bed portion 2, and includes a head portion 7 at the front end. The arm unit 4 includes a main shaft, a needle bar drive mechanism (not shown), and the like. The needle bar 10 extends downward from the lower end of the head 7. The sewing needle 11 is attached to the lower end of the needle bar 10.

ミシン1は、ベッド部2の上方に作業台5と移送装置6を備える。作業台5は、針板55を備える。針板55は、針棒10に装着した縫針11の直下の位置に、縫針11が挿通可能な針穴(図示略)を有する。移送装置6は、移送板61、昇降部62、押え枠63、移送板保持部64、X軸移動機構(図示略)、腕部65、Y軸移動機構(図示略)を備える。   The sewing machine 1 includes a work table 5 and a transfer device 6 above the bed portion 2. The work table 5 includes a needle plate 55. The needle plate 55 has a needle hole (not shown) through which the sewing needle 11 can be inserted at a position immediately below the sewing needle 11 attached to the needle bar 10. The transfer device 6 includes a transfer plate 61, an elevating / lowering unit 62, a presser frame 63, a transfer plate holding unit 64, an X-axis moving mechanism (not shown), an arm unit 65, and a Y-axis moving mechanism (not shown).

移送板61は水平方向に配置した板部材であり、後述の押え枠63と略同一形状の開口部を有する。移送板保持部64は左右方向に延び、移送板61をX軸方向(左右方向)に移動可能に支持する。X軸移動機構は、ベッド部2の内部に設けてある。X軸移動機構は、X軸モータ114(図3参照)を駆動源として、移送板61をX軸方向(左右方向)へ移動する。移送板保持部64に連結する腕部65は、脚柱部3内に設けたY軸移動機構に接続する。Y軸移動機構は、Y軸モータ116(図3参照)を駆動源として、腕部65をY軸方向(前後方向)へ移動する。移送板保持部64は、腕部65の移動に伴ってY軸方向(前後方向)へ移動する。   The transfer plate 61 is a plate member arranged in the horizontal direction and has an opening having substantially the same shape as a presser frame 63 described later. The transfer plate holding part 64 extends in the left-right direction, and supports the transfer plate 61 so as to be movable in the X-axis direction (left-right direction). The X-axis moving mechanism is provided inside the bed portion 2. The X-axis moving mechanism moves the transfer plate 61 in the X-axis direction (left-right direction) using the X-axis motor 114 (see FIG. 3) as a drive source. The arm portion 65 connected to the transfer plate holding portion 64 is connected to a Y-axis moving mechanism provided in the pedestal column portion 3. The Y-axis moving mechanism moves the arm portion 65 in the Y-axis direction (front-rear direction) using the Y-axis motor 116 (see FIG. 3) as a drive source. The transfer plate holding part 64 moves in the Y-axis direction (front-rear direction) as the arm part 65 moves.

移送板保持部64が支持する移送板61は、移送板保持部64と共に移動する。移送板保持部64は、昇降部62を昇降可能に支持する。押え枠63は昇降部62下端に連結する枠状の板部材である。図2に示す如く、押え枠63は三つの開口部67、68、69を有する。開口部67〜69は押え枠63の左右方向に並び、夫々上下方向に貫通する。開口部68は押え枠63の中央に位置し、円形の左右両側が夫々開口内へ凹む形状を有する。開口部67、69は夫々開口部68の左右に位置し、略円形を有する。押え枠63の開口部67〜69は、移送板61の開口部(図1参照)と略同一形状である。作業者は縫製対象物(例えば加工布150)を移送板61上に載置する。昇降部62が下方に移動すると、押え枠63は下降する。押え枠63と移送板61は、加工布150を上下から挟んで保持する。以下、移送板61と押え枠63を総称して保持体60という。   The transfer plate 61 supported by the transfer plate holding unit 64 moves together with the transfer plate holding unit 64. The transfer plate holding part 64 supports the elevating part 62 so that it can be elevated. The presser frame 63 is a frame-shaped plate member connected to the lower end of the elevating part 62. As shown in FIG. 2, the presser frame 63 has three openings 67, 68 and 69. The openings 67 to 69 are arranged in the left-right direction of the presser frame 63 and penetrate in the up-down direction. The opening 68 is located at the center of the presser frame 63 and has a shape in which both the left and right sides of the circle are recessed into the opening. The openings 67 and 69 are located on the left and right of the opening 68, respectively, and have a substantially circular shape. The openings 67 to 69 of the presser frame 63 have substantially the same shape as the openings (see FIG. 1) of the transfer plate 61. The operator places a sewing object (for example, the work cloth 150) on the transfer plate 61. When the elevating part 62 moves downward, the presser frame 63 descends. The presser frame 63 and the transfer plate 61 hold the work cloth 150 from above and below. Hereinafter, the transfer plate 61 and the presser frame 63 are collectively referred to as a holding body 60.

図1に示す如く、ミシン1はテーブル95上に立てた支柱9の先端に操作パネル8を備える。操作パネル8は、各種情報、各種指示を入力する為のタッチパネル82と、情報表示用のディスプレイ81を備える。ディスプレイ81は、後述のイメージセンサ50で撮影した撮影画像の表示、ミシン1の動作に係る各種情報の表示、仮想の操作キーの表示等を行う。タッチパネル82は、本実施形態では感圧式であり、作業者がスタイラスペン85、指等で触れた位置を検出する。タッチパネル82はディスプレイ81に重ねて配置している。   As shown in FIG. 1, the sewing machine 1 includes an operation panel 8 at the tip of a column 9 that stands on a table 95. The operation panel 8 includes a touch panel 82 for inputting various information and various instructions, and a display 81 for displaying information. The display 81 displays a captured image taken by an image sensor 50 described later, displays various information related to the operation of the sewing machine 1, displays a virtual operation key, and the like. The touch panel 82 is pressure-sensitive in this embodiment, and detects a position touched by an operator with the stylus pen 85, a finger, or the like. The touch panel 82 is disposed so as to overlap the display 81.

ミシン1は、テーブル95の下方に制御装置100(図3参照)を収容する制御箱110を備える。操作パネル8は支柱9内に通したケーブル(図示略)を介して制御装置100に接続する。ミシン1は、テーブル95下方にフットスイッチ90を備える。フットスイッチ90は制御装置100にコードで接続するペダル式のスイッチである。作業者は、ミシン1の各種動作(例えばミシンモータ112の駆動、押え枠63の昇降等)を開始する時にフットスイッチ90を踏み込む。   The sewing machine 1 includes a control box 110 that houses the control device 100 (see FIG. 3) below the table 95. The operation panel 8 is connected to the control device 100 via a cable (not shown) passed through the support 9. The sewing machine 1 includes a foot switch 90 below the table 95. The foot switch 90 is a pedal type switch that is connected to the control device 100 with a cord. The operator depresses the foot switch 90 when starting various operations of the sewing machine 1 (for example, driving the sewing machine motor 112, raising and lowering the presser frame 63, etc.).

ミシン1は、頭部7内の下端側にイメージセンサ50を備える。イメージセンサ50は、ミシン1のフレーム(図示略)に設けた支持部51に固定する。イメージセンサ50は、周知のCMOS(Complementary Metal Oxide Semiconductor)であり、撮影した画像の画像データを出力する。イメージセンサ50のレンズ(図示略)は移送装置6の保持体60を撮影可能な方向に向いている。イメージセンサ50の撮影範囲は保持体60の押え枠63の開口部67〜69の縁を含めて開口部67〜69内を撮影可能な範囲である。   The sewing machine 1 includes an image sensor 50 on the lower end side in the head 7. The image sensor 50 is fixed to a support portion 51 provided on a frame (not shown) of the sewing machine 1. The image sensor 50 is a well-known CMOS (Complementary Metal Oxide Semiconductor) and outputs image data of a captured image. The lens (not shown) of the image sensor 50 faces the direction in which the holding body 60 of the transfer device 6 can be photographed. The photographing range of the image sensor 50 is a range in which the inside of the openings 67 to 69 can be photographed including the edges of the openings 67 to 69 of the presser frame 63 of the holding body 60.

図3を参照し、ミシン1の電気的構成について説明する。図3に示す如く、ミシン1の制御装置100は、CPU101、ROM102、RAM103、不揮発性メモリ104、入出力インターフェース(I/F)106、駆動回路113、115、117、メモリドライブ107を備える。CPU101、ROM102、RAM103、不揮発性メモリ104は、バス105を介して入出力I/F106に電気的に接続する。CPU101は、ミシン1の制御を司り、ROM102が記憶する各種プログラムに従って、縫製に関わる各種演算及び処理を実行する。ROM102は、ミシン1固有の識別番号、各種プログラム、各種初期設定パラメータ等を記憶する。RAM103は、CPU101の演算結果、フラグ、ポインタ、カウンタ等を一時的に記憶する。不揮発性メモリ104は、コンパクトフラッシュ(登録商標)等のメモリカード(図示略)等を介して縫製データの管理者が導入した縫製データ、作業者が入力した各種設定情報等を記憶する。縫製データについては後述する。   The electrical configuration of the sewing machine 1 will be described with reference to FIG. As shown in FIG. 3, the control device 100 of the sewing machine 1 includes a CPU 101, a ROM 102, a RAM 103, a nonvolatile memory 104, an input / output interface (I / F) 106, drive circuits 113, 115, 117, and a memory drive 107. The CPU 101, ROM 102, RAM 103, and nonvolatile memory 104 are electrically connected to the input / output I / F 106 via the bus 105. The CPU 101 controls the sewing machine 1 and executes various calculations and processes related to sewing according to various programs stored in the ROM 102. The ROM 102 stores an identification number unique to the sewing machine 1, various programs, various initial setting parameters, and the like. The RAM 103 temporarily stores calculation results of the CPU 101, flags, pointers, counters, and the like. The nonvolatile memory 104 stores sewing data introduced by a sewing data manager via a memory card (not shown) such as a compact flash (registered trademark), various setting information input by an operator, and the like. Sewing data will be described later.

メモリドライブ107は入出力I/F106に電気的に接続する。メモリドライブ107は、メモリカード(図示略)からデータの読出しと、メモリカードにデータの書込みを行う。作業者は、縫製対象物に応じて異なるステッチデータ(後述)の組合せを含む縫製データを用いる。不揮発性メモリ104は、縫製データの管理者が作成した独自の縫製データを記憶する。管理者は、該縫製データを例えばPC等で作成し、メモリカードを介してミシン1に導入する事ができる。   The memory drive 107 is electrically connected to the input / output I / F 106. The memory drive 107 reads data from a memory card (not shown) and writes data to the memory card. The operator uses sewing data including a combination of different stitch data (described later) depending on the sewing object. The nonvolatile memory 104 stores unique sewing data created by the sewing data manager. The administrator can create the sewing data with a PC or the like and introduce it into the sewing machine 1 via a memory card.

駆動回路113、115、117は、入出力I/F106に電気的に接続する。駆動回路113はミシンモータ112に電気的に接続する。CPU101は、駆動回路113を介してミシンモータ112を制御する。ミシンモータ112は主軸(図示略)を回転駆動する。駆動回路115はX軸モータ114に電気的に接続する。駆動回路117はY軸モータ116に電気的に接続する。CPU101は、駆動回路115、117を介してX軸モータ114、Y軸モータ116を制御する。X軸モータ114、Y軸モータ116は何れもパルスモータである。X軸モータ114、Y軸モータ116は夫々、X軸移動機構(図示略)、Y軸移動機構(図示略)を駆動する事で、保持体60をX軸方向、Y軸方向に移動する。CPU101は、縫製時に、縫製データに基づきミシンモータ112を駆動して主軸を回転駆動する事で、針棒10の上下動と垂直釜(図示略)の回転を制御する。CPU101は、ミシンモータ112の駆動と同時に、縫製データに基づきX軸モータ114、Y軸モータ116を駆動して、保持体60の位置を制御する。ミシン1は該動作で縫製対象物上に縫製を行う。   The drive circuits 113, 115, and 117 are electrically connected to the input / output I / F 106. The drive circuit 113 is electrically connected to the sewing machine motor 112. The CPU 101 controls the sewing machine motor 112 via the drive circuit 113. The sewing machine motor 112 rotationally drives a main shaft (not shown). The drive circuit 115 is electrically connected to the X-axis motor 114. The drive circuit 117 is electrically connected to the Y-axis motor 116. The CPU 101 controls the X-axis motor 114 and the Y-axis motor 116 via the drive circuits 115 and 117. Both the X-axis motor 114 and the Y-axis motor 116 are pulse motors. The X-axis motor 114 and the Y-axis motor 116 move the holding body 60 in the X-axis direction and the Y-axis direction by driving an X-axis movement mechanism (not shown) and a Y-axis movement mechanism (not shown), respectively. The CPU 101 controls the vertical movement of the needle bar 10 and the rotation of the vertical hook (not shown) by driving the sewing machine motor 112 based on the sewing data and rotationally driving the spindle during sewing. The CPU 101 controls the position of the holding body 60 by driving the X-axis motor 114 and the Y-axis motor 116 based on the sewing data simultaneously with the driving of the sewing machine motor 112. The sewing machine 1 performs sewing on the sewing object by this operation.

操作パネル8、フットスイッチ90は夫々、制御装置100の入出力I/F106に電気的に接続する。フットスイッチ90については前述の通りである。操作パネル8はディスプレイ81、タッチパネル82等を備える。CPU101は、作業者がタッチパネル82で触れた位置と、ディスプレイ81に表示する画像を構成する画素とを対応付ける。故にCPU101は、作業者が情報又は指示を入力する場合、例えばディスプレイ81に仮想キー等を表示し、タッチパネル82が検出した作業者の接触位置に基づき、作業者が操作した仮想キーを特定する。イメージセンサ50は入出力I/F106に電気的に接続する。イメージセンサ50については前述の通りである。   The operation panel 8 and the foot switch 90 are electrically connected to the input / output I / F 106 of the control device 100, respectively. The foot switch 90 is as described above. The operation panel 8 includes a display 81, a touch panel 82, and the like. The CPU 101 associates the position touched by the operator with the touch panel 82 and the pixels constituting the image displayed on the display 81. Therefore, when the worker inputs information or instructions, the CPU 101 displays a virtual key or the like on the display 81, for example, and identifies the virtual key operated by the worker based on the contact position of the worker detected by the touch panel 82. The image sensor 50 is electrically connected to the input / output I / F 106. The image sensor 50 is as described above.

図2、図4を参照し、本実施形態の縫製データの一例である縫製データ180について説明する。図4に示す如く、縫製データ180は、加工布150(図2参照)に縫目で模様151、152、153(図2参照)を形成する場合に用いる251個のデータの集合体である。図2に示す如く、ミシン1は、保持体60の押え枠63が有する三つの開口部67〜69内に露出する加工布150に、模様151〜153を夫々縫製する。本実施形態の模様151、153は、例えば、鞄に取付ける持ち手の取付け位置を補強するあて布157、159の縫合わせにおいて形成する模様で、空送りをはさんだ二重のラインにて構成されている。尚、模様152は、例えばブランド名を表示するタグ158の縫合わせにおいて形成する模様である。   The sewing data 180, which is an example of the sewing data of the present embodiment, will be described with reference to FIGS. As shown in FIG. 4, the sewing data 180 is an aggregate of 251 data used when the patterns 151, 152, 153 (see FIG. 2) are formed on the work cloth 150 (see FIG. 2) with stitches. As shown in FIG. 2, the sewing machine 1 sews patterns 151 to 153 on the work cloth 150 exposed in the three openings 67 to 69 of the presser frame 63 of the holding body 60. The patterns 151 and 153 of the present embodiment are, for example, patterns formed by stitching the dressing cloths 157 and 159 that reinforce the attachment position of the handle that is attached to the heel, and are configured by double lines sandwiching the idle feed. ing. The pattern 152 is a pattern that is formed, for example, when the tag 158 that displays the brand name is sewn together.

図4に示す如く、縫製データ180が備える各データは、CPU101がデータを読出す順序を示す順位181と、縫製データの種類、各種設定、指示値等からなる指示情報182を備える。縫製データ180は、一又は複数のステッチデータ171、172、173、174、175、空送りデータ191、192、193、194、195、原点移動データ185、制御データ189を含む。   As shown in FIG. 4, each piece of data included in the sewing data 180 includes a rank 181 indicating the order in which the CPU 101 reads the data, and instruction information 182 including sewing data types, various settings, instruction values, and the like. The sewing data 180 includes one or more stitch data 171, 172, 173, 174, 175, blank feed data 191, 192, 193, 194, 195, origin movement data 185, and control data 189.

ステッチデータ171〜175の指示情報182は、模様151〜153を夫々縫製する為の複数の針落ち点を、縫針11の位置と保持体60(図1参照)の位置との相対位置で示すデータである。針落ち点は、針棒10と共に縫針11が下方に移動した時、縫針11が刺さる縫製対象物(加工布150)上の予定位置である。針落ち点は、保持体60に対して設定するX,Y座標系の座標データで示す。座標データは、データの読出し順に一つ前の順位の針落ち点に対する今回の針落ち点の方向及び距離を、相対的な座標で示すものである。ステッチデータ171〜175は、縫目で模様151〜153を夫々縫製する為の多数の針落ち点の座標データを縫製順に並べたデータである。   The instruction information 182 of the stitch data 171 to 175 is data indicating a plurality of needle drop points for sewing the patterns 151 to 153 by relative positions between the position of the sewing needle 11 and the position of the holding body 60 (see FIG. 1). It is. The needle drop point is a predetermined position on the sewing object (work cloth 150) where the sewing needle 11 sticks when the sewing needle 11 moves downward together with the needle bar 10. The needle drop point is indicated by coordinate data in the X, Y coordinate system set for the holding body 60. The coordinate data indicates, in relative coordinates, the direction and distance of the current needle drop point with respect to the previous needle drop point in the data reading order. The stitch data 171 to 175 is data in which coordinate data of a large number of needle drop points for sewing the patterns 151 to 153 with stitches are arranged in the sewing order.

空送りデータ191〜195の指示情報182は、縫目を形成せずに保持体60を移動して、縫針11に対する加工布150の相対位置を変更する為のデータである。空送りデータ192は、模様151の外側のラインを形成した後、内側のラインの形成位置に移動する場合に用いる。空送りデータ195は、模様153の外側のラインを形成した後、内側のラインの形成位置に移動する場合に用いる。空送りデータ191、193、194は、加工布150に複数の模様151〜153を形成する為、保持体60を夫々の模様の形成位置に移動する場合に用いる。空送りデータ191〜195は、上記同様、移動元の座標に対する相対的な移動先の座標の座標データで示す。   The instruction information 182 of the idle feed data 191 to 195 is data for changing the relative position of the work cloth 150 with respect to the sewing needle 11 by moving the holding body 60 without forming a stitch. The pre-feed data 192 is used when moving to the formation position of the inner line after forming the outer line of the pattern 151. The pre-feed data 195 is used when the outer line of the pattern 153 is formed and then moved to the inner line forming position. The pre-feed data 191, 193, 194 is used when the holder 60 is moved to each pattern forming position in order to form a plurality of patterns 151-153 on the work cloth 150. Similarly to the above, the idle feed data 191 to 195 are indicated by coordinate data of coordinates of the movement destination relative to the coordinates of the movement source.

原点移動データ185の指示情報182は、保持体60を移動する位置を縫針11に対する絶対的な位置で示すデータである。原点移動データ185は、保持体60を原点位置O(例えば押え枠63の中心)に移動する場合に用いる。制御データ189の指示情報182は、ミシン1の動作の制御に関する指示等を示すデータである。制御データ189は、例えば、縫製対象物の脱着と縫製開始操作がなされるのを待機する場合に用いる「待機」指示、空送りの前又は縫製の最後に糸を切る「糸切り」指示、縫製の終了を指示する「エンド」指示等を行う場合に用いる。尚、縫製データ180は、押え棒(図示略)の動作を指示する間欠押えデータ、糸の色を示す糸色データ、針棒10の上下動の早さを指示する縫製速度データ等、縫製に必要な各種パラメータを指示するデータを含んでもよい。   The instruction information 182 of the origin movement data 185 is data indicating the position to move the holding body 60 as an absolute position with respect to the sewing needle 11. The origin movement data 185 is used when the holder 60 is moved to the origin position O (for example, the center of the presser frame 63). The instruction information 182 of the control data 189 is data indicating an instruction related to control of the operation of the sewing machine 1. The control data 189 includes, for example, a “standby” instruction used when waiting for a sewing object to be attached and detached and a sewing start operation, a “thread trimming” instruction to cut a thread before skipping or at the end of sewing, This is used when performing an “end” instruction or the like for instructing the end of the operation. The sewing data 180 includes intermittent presser data that instructs the operation of the presser bar (not shown), thread color data that indicates the color of the thread, sewing speed data that indicates the speed of the vertical movement of the needle bar 10, and the like. Data for indicating various necessary parameters may be included.

図2、図4を参照し、ミシン1のCPU101が縫製データ180に従い縫製を行う場合の例について説明する。CPU101は、縫製データ180の原点移動データ185が示す順位181が「0」の指示情報182に従って、縫針11の位置が原点位置Oにくるように保持体60を移動する。保持体60は、CPU101が指示情報182に従いX軸モータ114、Y軸モータ116の駆動を制御する事で移動する。CPU101は、空送りデータ191が示す順位181が「1」の指示情報182に従って、保持体60を原点位置Oから(X,Y)=(−100,10)の位置に移動する。該位置は、模様151の縫製における最初の針落ち点N1となる。CPU101は、制御データ186が示す順位181が「2」の指示情報182に従い、保持体60の動作を一時停止し、縫製開始操作がなされるのを待機する。   An example in which the CPU 101 of the sewing machine 1 performs sewing according to the sewing data 180 will be described with reference to FIGS. The CPU 101 moves the holding body 60 so that the position of the sewing needle 11 comes to the origin position O in accordance with the instruction information 182 whose rank 181 indicated by the origin movement data 185 of the sewing data 180 is “0”. The holding body 60 moves when the CPU 101 controls the driving of the X-axis motor 114 and the Y-axis motor 116 according to the instruction information 182. The CPU 101 moves the holding body 60 from the origin position O to the position (X, Y) = (− 100, 10) in accordance with the instruction information 182 whose rank 181 indicated by the pre-feed data 191 is “1”. This position is the first needle drop point N1 in the sewing of the pattern 151. The CPU 101 temporarily stops the operation of the holding body 60 and waits for a sewing start operation in accordance with the instruction information 182 in which the rank 181 indicated by the control data 186 is “2”.

CPU101は、縫製開始操作がなされると、ステッチデータ171が示す順位181が「3」の指示情報182に従い、保持体60を針落ち点N1から相対的に(X,Y)=(2.5,0)の位置に移動し、縫針11の直下に次の針落ち点N3を配置する。縫針11は、ミシンモータ112が駆動する主軸の回転によって針棒10が上下動すると、保持体60の移動に合わせて針落ち点に刺さり、針落ち点N1、N3間に縫目を形成する。CPU101は、以降同様にステッチデータ171が示す順位181が「4」〜「51」の指示情報182に従って該動作を繰り返し、加工布150上に模様151の外側のラインを縫製する。   When the sewing start operation is performed, the CPU 101 moves the holder 60 relative to the needle drop point N1 (X, Y) = (2.5) according to the instruction information 182 in which the rank 181 indicated by the stitch data 171 is “3”. , 0), and the next needle drop point N3 is arranged immediately below the sewing needle 11. When the needle bar 10 moves up and down by the rotation of the main shaft driven by the sewing machine motor 112, the sewing needle 11 is pierced at the needle drop point in accordance with the movement of the holding body 60, and forms a stitch between the needle drop points N1 and N3. Similarly, the CPU 101 repeats this operation in accordance with the instruction information 182 in which the rank 181 indicated by the stitch data 171 is “4” to “51”, and sews the outer line of the pattern 151 on the work cloth 150.

CPU101は、制御データ189が示す順位181が「52」の指示情報182に従い、糸切りを行う。CPU101は、空送りデータ192が示す順位181が「53」の指示情報182に従い、模様151の外側のラインの最後の針落ち点N51から相対的に(X,Y)=(5,−5)の位置に移動する。該位置は、模様151の内側のラインの縫製における最初の針落ち点N53となる。CPU101は、ステッチデータ172が示す順位181が「54」〜「87」の指示情報182に従って針落ち点間を結ぶ縫目を形成し、加工布150上に模様151の内側のラインを縫製する。   The CPU 101 performs thread trimming in accordance with the instruction information 182 whose rank 181 indicated by the control data 189 is “52”. The CPU 101 follows (X, Y) = (5, −5) relative to the last needle drop point N51 of the line outside the pattern 151 in accordance with the instruction information 182 in which the rank 181 indicated by the blank feed data 192 is “53”. Move to the position. This position is the first needle drop point N53 in the sewing of the line inside the pattern 151. The CPU 101 forms stitches connecting the needle drop points according to the instruction information 182 whose rank 181 indicated by the stitch data 172 is “54” to “87”, and sews the inner line of the pattern 151 on the work cloth 150.

CPU101は、空送りデータ193が示す順位181が「89」の指示情報182に従い、模様151の最後の針落ち点N87から相対的に(X,Y)=(60,−30)の位置に移動する。該位置は、模様152の縫製における最初の針落ち点N89となる。CPU101は、ステッチデータ173が示す順位181が「90」〜「161」の指示情報182に従って針落ち点間を結ぶ縫目を形成し、加工布150上に模様152を縫製する。   The CPU 101 moves to the position of (X, Y) = (60, −30) relative to the last needle drop point N87 of the pattern 151 in accordance with the instruction information 182 whose rank 181 indicated by the pre-feed data 193 is “89”. To do. This position is the first needle drop point N89 in the sewing of the pattern 152. The CPU 101 forms stitches that connect the needle drop points according to the instruction information 182 in which the rank 181 indicated by the stitch data 173 is “90” to “161”, and sews the pattern 152 on the work cloth 150.

CPU101は上記同様、加工布150に模様153を形成し、最後の針落ち点N248に到達したら、制御データ189に従って糸切りを行う。CPU101は、制御データ188が示す順位181が「250」の指示情報182が「エンド」であるので、縫製データ180に基づく模様151〜153の縫製を終了する。   Similarly to the above, the CPU 101 forms the pattern 153 on the work cloth 150 and, when reaching the final needle drop point N248, performs thread trimming according to the control data 189. The CPU 101 ends the sewing of the patterns 151 to 153 based on the sewing data 180 because the instruction information 182 whose rank 181 indicated by the control data 188 is “250” is “END”.

CPU101は、次の縫製の為に、順位181を「0」に戻し、縫製データ180の順位181が「0」〜「2」の指示情報182に従って待機位置に移動し、縫製開始操作がなされるのを待機する。   The CPU 101 returns the rank 181 to “0” for the next sewing, moves to the standby position according to the instruction information 182 in which the rank 181 of the sewing data 180 is “0” to “2”, and performs a sewing start operation. Wait for.

後述の縫製データ編集処理において、イメージセンサ50は、保持体60の押え枠63を撮影する。CPU101は、撮影画像に対し公知の画像処理を施し、押え枠63の開口部67〜69の内周側の縁(内エッジ)を検出する。画像処理の一例として、例えば、公知の色抽出処理、二値化処理、膨張・収縮処理を挙げる事ができる。色抽出処理は、押え枠63の色を予め設定又は作業者が指定する事で、撮影画像に写る縫製対象物を透明化し、押え枠63を抽出する事ができる。二値化処理は、撮影画像に写る押え枠63の部分の画素と押え枠63以外の部分の画素を区別する事ができる。膨張・収縮処理は、周りの画素群から孤立した画素を除去し、撮影画像に写る押え枠63の部分に生じたノイズ、小突起、小さな欠け等を除去する事ができる。膨張・収縮処理は、環状の押え枠63が例えば開環部分を有する場合、該開環部分を埋める事もできる。   In the sewing data editing process described later, the image sensor 50 photographs the presser frame 63 of the holding body 60. The CPU 101 performs known image processing on the photographed image, and detects inner edges (inner edges) of the openings 67 to 69 of the presser frame 63. Examples of image processing include, for example, known color extraction processing, binarization processing, and expansion / contraction processing. In the color extraction process, the color of the presser frame 63 is set in advance or designated by the operator, so that the sewing object shown in the photographed image can be made transparent and the presser frame 63 can be extracted. In the binarization process, the pixel of the part of the presser frame 63 that appears in the captured image can be distinguished from the pixel of the part other than the presser frame 63. The expansion / contraction processing can remove isolated pixels from the surrounding pixel group, and can remove noise, small protrusions, small chips, and the like generated in the portion of the presser frame 63 shown in the photographed image. In the expansion / contraction process, when the annular presser frame 63 has, for example, a ring opening portion, the ring opening portion can be filled.

イメージセンサ50は、撮影方向及び画角を予め調整し、固定している。故にミシン1は、イメージセンサ50の撮影画像を構成する各画素を、縫製データの座標データが示す位置に予め対応付けている。後述の縫製データ編集処理において、CPU101は、操作パネル8のディスプレイ81に撮影画像を表示する。上記の如く、CPU101は、作業者がタッチパネル82においてスタイラスペン85等で触れた位置と、ディスプレイ81が表示する画像を構成する画素とを対応付ける事ができる。故にCPU101は、ディスプレイ81に表示した撮影画像上で作業者が触れた位置を、縫針11に対する絶対的な位置の座標に対応付ける事ができる。   The image sensor 50 adjusts and fixes the shooting direction and the angle of view in advance. Therefore, the sewing machine 1 associates each pixel constituting the captured image of the image sensor 50 with the position indicated by the coordinate data of the sewing data in advance. In the sewing data editing process described later, the CPU 101 displays a captured image on the display 81 of the operation panel 8. As described above, the CPU 101 can associate the position touched by the operator with the stylus pen 85 or the like on the touch panel 82 with the pixels constituting the image displayed on the display 81. Therefore, the CPU 101 can associate the position touched by the operator on the captured image displayed on the display 81 with the coordinates of the absolute position with respect to the sewing needle 11.

縫製データの管理者は、縫製対象物に縫製する模様の種類が同じであり、縫製する模様の大きさを変更したい場合がある。該場合は、例えば鞄に取付ける補強用のあて布157、159の大きさを変更したい場合である。本実施形態のミシン1は、CPU101が後述の縫製データ編集処理を実行する事で、従来は模様の大きさが変更となる毎に縫製データを作成して対応していた模様の拡縮を、一つの縫製データで対応する事ができる。   The administrator of the sewing data may want to change the size of the pattern to be sewn because the types of patterns to be sewn on the sewing object are the same. In this case, for example, it is necessary to change the size of the reinforcing addressing cloths 157 and 159 attached to the heel. In the sewing machine 1 of the present embodiment, the CPU 101 executes sewing data editing processing, which will be described later, so that the sewing data is conventionally created every time the size of the pattern is changed, and the scale of the corresponding pattern can be reduced. One sewing data can be used.

図5〜図8を参照し、ミシン1の縫製データ編集処理について説明する。尚、本実施形態は、図2に示す、加工布150に縫い付けるあて布157、159の大きさ変更に伴い、該あて布157、159の縫合わせで形成する模様151,153の大きさを拡大し、タグ158の縫合わせで形成する模様152の大きさは変更しない場合を例に、説明を行うものとする。縫製データ180は、管理者がメモリカードを介してミシン1に導入し、不揮発性メモリ104が記憶する。CPU101は、縫製データ編集処理において、各種フラグ、カウンタ、読込ポインタ等の変数を使用する。尚、読込ポインタは縫製データの読込位置(アドレス)を指定する為のポインタである。   The sewing data editing process of the sewing machine 1 will be described with reference to FIGS. In this embodiment, the size of the patterns 151 and 153 formed by sewing the addressing cloths 157 and 159 is changed in accordance with the change in the size of the addressing cloths 157 and 159 sewn on the work cloth 150 shown in FIG. The description will be made taking as an example a case where the size of the pattern 152 formed by enlarging and sewing the tag 158 is not changed. The sewing data 180 is introduced into the sewing machine 1 by the administrator via the memory card, and is stored in the nonvolatile memory 104. The CPU 101 uses variables such as various flags, counters, and read pointers in the sewing data editing process. The reading pointer is a pointer for designating a reading position (address) of sewing data.

図5に示す縫製データ編集処理は、作業者がミシン1の電源スイッチ(図示略)をONにすると、CPU101がROM102からプログラムを読出して実行する。CPU101は、ROM102が記憶する他の制御プログラムと並行しての縫製データ編集処理を実行する。CPU101は、作業者が電源スイッチをOFFにした場合、縫製データ編集処理を終了する。   The sewing data editing process shown in FIG. 5 is executed by the CPU 101 reading a program from the ROM 102 when the operator turns on a power switch (not shown) of the sewing machine 1. The CPU 101 executes sewing data editing processing in parallel with other control programs stored in the ROM 102. When the operator turns off the power switch, the CPU 101 ends the sewing data editing process.

CPU101は、操作パネル8のディスプレイ81にミシン1の操作画面(図示外)を表示する。図5に示す如く、作業者が加工布150に縫製する模様を拡縮する為、縫製データ180を編集する指示(変更キーON)を行わない場合(S11:NO)、処理をS45の処理に進める。CPU101は、作業者がフットスイッチ90又は操作パネル8を操作してミシン1の操作を行った場合(S45:YES)、操作に応じたミシン1の縫製動作を実行する(S47)。CPU101は処理をS11の処理に戻す。CPU101は、作業者がミシン1の操作を行わなかった場合(S45:NO)、そのまま処理をS11の処理に戻し、待機する。   The CPU 101 displays an operation screen (not shown) of the sewing machine 1 on the display 81 of the operation panel 8. As shown in FIG. 5, when the operator does not give an instruction to edit the sewing data 180 (change key ON) in order to enlarge or reduce the pattern to be sewn on the work cloth 150 (S11: NO), the process proceeds to the process of S45. . When the operator operates the foot switch 90 or the operation panel 8 to operate the sewing machine 1 (S45: YES), the CPU 101 executes the sewing operation of the sewing machine 1 according to the operation (S47). The CPU 101 returns the process to the process of S11. When the operator does not operate the sewing machine 1 (S45: NO), the CPU 101 returns the process to the process of S11 and waits.

CPU101は、作業者が操作パネル8を操作して変更キーをONにした場合(S11:YES)、ディスプレイ81に、模様の拡大又は縮小の度合いを示す拡縮率の入力画面を表示する。CPU101は、作業者が入力した拡縮率をRAM103に記憶し(S13)、イメージセンサ50で保持体60の押え枠63を撮影する(S15)。本実施形態では、作業者は、拡縮率として横方向140%、縦方向140%を入力したものとする。CPU101は撮影画像の画像処理を行う。押え枠63は、上記の如く三つの開口部67〜69を備える。CPU101は、押え枠63の開口部67〜69の内エッジを夫々検出する(S17)。   When the operator operates the operation panel 8 to turn on the change key (S11: YES), the CPU 101 displays an enlargement / reduction rate input screen indicating the degree of pattern enlargement or reduction on the display 81. The CPU 101 stores the enlargement / reduction ratio input by the worker in the RAM 103 (S13), and images the presser frame 63 of the holding body 60 with the image sensor 50 (S15). In the present embodiment, it is assumed that the operator inputs 140% in the horizontal direction and 140% in the vertical direction as the enlargement / reduction ratio. The CPU 101 performs image processing of the captured image. The presser frame 63 includes the three openings 67 to 69 as described above. The CPU 101 detects the inner edges of the openings 67 to 69 of the presser frame 63 (S17).

CPU101は撮影画像を操作パネル8のディスプレイ81に表示する(S19)。図6に示す如く、CPU101は、画像処理によって得られた内エッジが構成する閉じた領域を夫々包囲領域A1、A2、A3とし、包囲領域A1〜A3を示す線(一例として太点線)を撮影画像に重ねてディスプレイ81に表示する。CPU101は包囲領域A1〜A3の座標値の平均値を演算し、夫々の中央位置C1、C2、C3の座標を求める。CPU101は、包囲領域A1〜A3内に形成する模様151〜153を拡縮する場合の基準位置の候補として、中央位置C1〜C3を示すマークを撮影画像に重ねてディスプレイ81に表示する。更にCPU101は縫製データ180を読込み、ステッチデータ171〜175に基づく模様151〜153をコンピュータグラフィックスで再現した仮模様161、162、163を、撮影画像に重ねてディスプレイ81に表示する。   The CPU 101 displays the captured image on the display 81 of the operation panel 8 (S19). As shown in FIG. 6, the CPU 101 captures the closed areas formed by the inner edge obtained by the image processing as the surrounding areas A1, A2, and A3, and the lines indicating the surrounding areas A1 to A3 (thick dotted lines as an example). The image is displayed on the display 81 so as to overlap the image. The CPU 101 calculates the average value of the coordinate values of the surrounding areas A1 to A3, and obtains the coordinates of the respective central positions C1, C2, and C3. The CPU 101 superimposes marks indicating the center positions C1 to C3 on the captured image and displays them on the display 81 as candidates for reference positions when the patterns 151 to 153 formed in the surrounding areas A1 to A3 are enlarged or reduced. Further, the CPU 101 reads the sewing data 180, and displays the temporary patterns 161, 162, and 163 obtained by reproducing the patterns 151 to 153 based on the stitch data 171 to 175 on the display 81 on the captured image.

縫製データ編集処理では、CPU101は、特定領域として指定する一又は複数の領域内に針落ち点を有する模様を対象に、夫々の領域に設定する基準位置を基準とする拡縮を行う。作業者は、CPU101が画像処理で検出した包囲領域A1〜A3の全ての領域内の模様に対して一様に拡縮を行う予定であり、且つ拡縮の基準位置を夫々中央位置C1〜C3とするのであれば、包囲領域A1〜A3の修正を行わない。図5に示す如く、該場合(S21:NO)、CPU101は処理をS23の処理に進め、包囲領域A1〜A3を夫々特定領域に指定し、中央位置C1〜C3を夫々の基準位置に設定する(S23)。尚、作業者は、スタイラスペン85で各特定領域の基準位置を示すマークを任意に移動し、基準位置を変更する事ができる。CPU101は、処理をS29の処理に進める。   In the sewing data editing process, the CPU 101 performs enlargement / reduction on the basis of a reference position set in each area for a pattern having a needle drop point in one or a plurality of areas designated as the specific area. The operator plans to uniformly enlarge / reduce the patterns in all the surrounding areas A1 to A3 detected by the image processing by the CPU 101, and set the reference positions for the enlargement / reduction to the center positions C1 to C3, respectively. If so, the surrounding areas A1 to A3 are not corrected. As shown in FIG. 5, in this case (S21: NO), the CPU 101 proceeds to the process of S23, designates the surrounding areas A1 to A3 as specific areas, and sets the central positions C1 to C3 as the respective reference positions. (S23). The operator can arbitrarily move the mark indicating the reference position of each specific area with the stylus pen 85 to change the reference position. The CPU 101 advances the process to step S29.

作業者は、CPU101が画像処理で検出した包囲領域A1〜A3の内、一部の包囲領域内の模様に対して拡縮を行う場合、包囲領域の設定を修正する事ができる。該場合(S21:YES)、CPU101は処理をS25の処理に進める。図6に示す如く、作業者はスタイラスペン85を用い、CPU101がディスプレイ81に表示した包囲領域A1〜A3を示す太点線をポイントする。CPU101は、作業者が撮影画面上で触れた位置をタッチパネル82で検出し、包囲領域A1〜A3を示す太点線上であれば、作業者がポイントする度に包囲領域A1〜A3をアクティブ又は非アクティブにする。CPU101は、作業者がアクティブに設定した包囲領域A1、A3を、特定領域P1、P3(図8参照)に指定する(S25)。尚、作業者は、スタイラスペン85で任意の閉じた領域を描き、包囲領域として設定する事も可能である。該場合、CPU101は、作業者が撮影画面上で触れた位置に、包囲領域を表す太点線を表示する。   The operator can correct the setting of the surrounding area when performing enlargement / reduction on a pattern in a part of the surrounding area A1 to A3 detected by the image processing by the CPU 101. In this case (S21: YES), the CPU 101 advances the process to S25. As shown in FIG. 6, the worker uses the stylus pen 85 to point the thick dotted lines indicating the surrounding areas A1 to A3 displayed on the display 81 by the CPU 101. The CPU 101 detects the position touched on the shooting screen by the touch panel 82, and if the position is on the thick dotted line indicating the surrounding areas A1 to A3, the CPU 101 activates or deactivates the surrounding areas A1 to A3 each time the worker points. Activate. The CPU 101 designates the surrounding areas A1 and A3 set as active by the worker as the specific areas P1 and P3 (see FIG. 8) (S25). The operator can also draw an arbitrary closed area with the stylus pen 85 and set it as the surrounding area. In this case, the CPU 101 displays a thick dotted line representing the surrounding area at the position touched by the worker on the shooting screen.

CPU101は、特定領域P1、P3の中央位置C1、C3を、夫々の基準位置F1、F3(図8参照)に設定する(S27)。尚、上記同様、作業者は基準位置F1、F3を示すマークの位置を、スタイラスペン85でドラッグして移動し、基準位置を変更する事ができる。本実施形態では、作業者は基準位置F1、F3を、夫々、特定領域P1、P3の中央位置C1、C3に設定する。CPU101は、特定領域P1、P3の指定と基準位置F1、F3の設定が終わると、処理をS29の処理に進める。   The CPU 101 sets the center positions C1 and C3 of the specific areas P1 and P3 to the respective reference positions F1 and F3 (see FIG. 8) (S27). As described above, the operator can change the reference position by dragging and moving the mark positions indicating the reference positions F1 and F3 with the stylus pen 85. In this embodiment, the operator sets the reference positions F1 and F3 to the center positions C1 and C3 of the specific areas P1 and P3, respectively. When the specification of the specific areas P1 and P3 and the setting of the reference positions F1 and F3 are completed, the CPU 101 advances the process to S29.

CPU101は、縫製データ180に基づく縫製を行う為、読込ポインタを縫製データ180の先頭、即ち順位181が「0」の指示情報182を記憶した不揮発性メモリ104のアドレスに設定する(S29)。CPU101は、不揮発性メモリ104に、編集後の縫製データ180である拡縮縫製データ280(図7参照)の記憶領域を確保する。CPU101は読込ポインタに従い縫製データ180を読込む。   In order to perform sewing based on the sewing data 180, the CPU 101 sets the reading pointer to the head of the sewing data 180, that is, the address of the nonvolatile memory 104 that stores the instruction information 182 with the rank 181 of “0” (S29). The CPU 101 secures a storage area for the enlarged / reduced sewing data 280 (see FIG. 7), which is the edited sewing data 180, in the nonvolatile memory 104. The CPU 101 reads the sewing data 180 according to the reading pointer.

CPU101は、縫製データ180の内、特定領域内の針落ち点または中継点を拡縮対象とする。中継点とは、縫製データ180において、模様151〜153の形成に関わらない保持体60の移動で縫針11が到達する位置である。中継点は、例えば、縫製対象物の脱着の容易化の為に保持体60を手前に移動させる場合、又は先に縫い付けたボタン等の立体的なパーツの縫針11との干渉を避ける為、保持体60を回避させる場合に用いる。   The CPU 101 sets a needle drop point or a relay point in a specific area in the sewing data 180 as an enlargement / reduction target. The relay point is a position where the sewing needle 11 arrives by the movement of the holding body 60 regardless of the formation of the patterns 151 to 153 in the sewing data 180. The relay point is, for example, when moving the holding body 60 forward to facilitate the attachment / detachment of the sewing object, or in order to avoid interference with the sewing needle 11 of a three-dimensional part such as a button sewn first. Used when the holding body 60 is avoided.

図7に示す如く、CPU101は、針落ち点または中継点に関係しない原点移動データ185又は制御データ189(図4参照)について、指示情報182をそのまま拡縮縫製データ280に書込む。図5に示す如く、CPU101が、縫製データ180から読込んだ座標データは、一つ前の順位(前順位)の針落ち点に対する今回の針落ち点の方向及び距離を、相対的な座標で示すものであるので、累積演算を行い(S31)、縫針11に対する針落ち点又は中継点の絶対的な位置を示す座標データを算出する。   As shown in FIG. 7, the CPU 101 writes the instruction information 182 as it is into the enlargement / reduction sewing data 280 for the origin movement data 185 or the control data 189 (see FIG. 4) not related to the needle entry point or the relay point. As shown in FIG. 5, the coordinate data read from the sewing data 180 by the CPU 101 is the relative coordinates of the direction and distance of the current needle drop point with respect to the needle drop point of the previous rank (previous rank). Therefore, cumulative calculation is performed (S31), and coordinate data indicating the absolute position of the needle drop point or relay point with respect to the sewing needle 11 is calculated.

CPU101は、ステッチデータ171〜175、及び、空送りデータ191〜195の針落ち点又は中継点の座標データが特定領域P1、P3(図8参照)内に有るか否かを確認する(S33)。CPU101は、模様151のステッチデータ171、172、及び、空送りデータ192を読込んだ場合、針落ち点又は中継点の絶対的な位置の座標データが特定領域P1内に有るので(S33:YES)、処理をS37の処理に進める。CPU101は、ステッチデータ171、172、及び、空送りデータ192の指示情報182が示す針落ち点の座標データを、S13の処理でRAM103に記憶した拡縮率(例えば横方向140%、縦方向140%)に従って拡縮する(S37)。CPU101は、拡縮後の座標データへの拡縮縫製データ280の前順位における針落ち点又は中継点からの相対移動量を求める(S39)。CPU101は、求めた相対移動量を新たなステッチデータ271、272、及び、空送りデータ292の指示情報182として拡縮縫製データ280に書込んで、読込ポインタを次に進め(S41)、指示情報182が「エンド」でなければ(S43:NO)、処理をS31の処理に戻す。   The CPU 101 confirms whether the coordinate data of the stitch point or relay point of the stitch data 171 to 175 and the pre-feed data 191 to 195 is within the specific areas P1 and P3 (see FIG. 8) (S33). . When the CPU 101 reads the stitch data 171 and 172 of the pattern 151 and the blank feed data 192, the coordinate data of the absolute position of the needle entry point or the relay point is in the specific area P1 (S33: YES) ), The process proceeds to the process of S37. The CPU 101 stores the scale data (for example, 140% in the horizontal direction and 140% in the vertical direction) in which the stitch point data 171 and 172 and the coordinate data of the needle drop point indicated by the instruction information 182 of the blank feed data 192 are stored in the RAM 103 in the process of S13. ) To enlarge / reduce (S37). The CPU 101 obtains a relative movement amount from the needle drop point or the relay point in the preceding rank of the enlarged / reduced sewing data 280 to the enlarged / reduced coordinate data (S39). The CPU 101 writes the calculated relative movement amount in the expansion / contraction sewing data 280 as the new stitch data 271 and 272 and the instruction information 182 of the idle feed data 292, advances the reading pointer (S41), and indicates the instruction information 182. Is not “END” (S43: NO), the process returns to the process of S31.

図7に示す如く、CPU101は、S31〜S43の処理を繰り返し、縫製データ180の順位181が「3」〜「87」のステッチデータ171、172、及び、空送りデータ192が有する全ての針落ち点の座標データを拡縮する。CPU101は、拡縮した針落ち点の座標データを、順位181が「3」〜「87」の新たなステッチデータ271,272、及び空送りデータ292として、拡縮縫製データ280に書込む。CPU101は、特定領域P1内に針落ち点が存在するステッチデータ171、172、及び、空送りデータ192が有する全ての針落ち点の座標データを拡縮しているので、拡縮後の模様形状は崩れない。   As shown in FIG. 7, the CPU 101 repeats the processes of S31 to S43, and stitches 171 and 172 whose rank 181 of the sewing data 180 is “3” to “87” and all the needle drops included in the pre-feed data 192 are included. Scale the point coordinate data. The CPU 101 writes the coordinate data of the enlarged and reduced needle entry points in the enlarged / reduced sewing data 280 as new stitch data 271 and 272 having ranks 181 of “3” to “87” and pre-feed data 292. Since the CPU 101 expands / contracts the coordinate data of all the needle drop points included in the stitch data 171 and 172 and the stitching data 192 in which the needle drop point exists in the specific area P1, the pattern shape after the enlargement / reduction is collapsed. Absent.

CPU101は、模様152のステッチデータ173を読込んだ場合、針落ち点の絶対的な位置の座標データが特定領域P1、P3内に無いので(S33:NO)、処理をS35の処理に進める。CPU101は、ステッチデータ173の指示情報182が示す座標データを変更せず、拡縮縫製データ280の前順位における針落ち点又は中継点からの相対移動量を求める(S35)。CPU101は、求めた相対移動量を新たな空送りデータ293として拡縮縫製データ280に書込んで、読込ポインタを次の順位に進め(S39)、指示情報182が「エンド」でなければ(S3:NO)、処理をS31の処理に戻す。   When the CPU 101 reads the stitch data 173 of the pattern 152, the coordinate data of the absolute position of the needle drop point is not in the specific areas P1 and P3 (S33: NO), and the process proceeds to the process of S35. The CPU 101 does not change the coordinate data indicated by the instruction information 182 of the stitch data 173, and obtains the relative movement amount from the needle drop point or relay point in the previous rank of the enlargement / reduction sewing data 280 (S35). The CPU 101 writes the obtained relative movement amount as new idle feed data 293 in the enlargement / reduction sewing data 280, advances the reading pointer to the next rank (S39), and the instruction information 182 is not “end” (S3: NO), the process is returned to the process of S31.

図7に示す如く、CPU101は、S31〜S43の処理を繰り返し、縫製データ180の順位181が「90」〜「161」のステッチデータ173について、指示情報182が示す座標データをそのまま拡縮縫製データ280に書込む。   As shown in FIG. 7, the CPU 101 repeats the processes of S31 to S43, and the coordinate data indicated by the instruction information 182 for the stitch data 173 whose rank 181 of the sewing data 180 is “90” to “161” is directly enlarged / reduced sewing data 280. Write to.

CPU101は、縫製データ180の順位181が「163」の空送りデータ194(図4参照)を読み込んだ場合、針落ち点又は中継点の絶対的な位置の座標データが特定領域P3内にあるので(S33:YES)、基準位置F3を基準として拡縮し(S37)、拡縮後の座標データへの拡縮縫製データ280の前順位における針落ち点又は中継点からの相対移動量を求める(S39)。CPU101は、求めた相対移動量を新たな空送りデータ294の指示情報182として拡縮縫製データ280に書込んで、読込ポインタを次に進める(S41)。   When the CPU 101 reads the idle feed data 194 (see FIG. 4) whose rank 181 of the sewing data 180 is “163”, the coordinate data of the absolute position of the needle entry point or the relay point is in the specific area P3. (S33: YES), the reference position F3 is used as a reference for enlargement / reduction (S37), and the relative movement amount from the needle entry point or relay point in the previous rank of the enlargement / reduction sewing data 280 to the coordinate data after enlargement / reduction is obtained (S39). The CPU 101 writes the obtained relative movement amount in the enlargement / reduction sewing data 280 as the instruction information 182 of the new idle feed data 294, and advances the reading pointer (S41).

模様153は、針落ち点の絶対的な位置の座標データが、特定領域P3内に有る(図8参照)。CPU101は、縫製データ180の順位181が「164」〜「248」のステッチデータ174、175、及び、空送りデータ195が有する全ての針落ち点の座標データを拡縮する。CPU101は、拡縮した針落ち点の座標データを、順位181が「164」〜「248」の新たなステッチデータ274,275、及び空送りデータ295として、拡縮縫製データ280に書込む。   In the pattern 153, the coordinate data of the absolute position of the needle drop point is in the specific area P3 (see FIG. 8). The CPU 101 expands / contracts the coordinate data of all the needle drop points included in the stitch data 174 and 175 having the rank 181 of the sewing data 180 of “164” to “248” and the blank feed data 195. The CPU 101 writes the coordinate data of the enlarged and reduced needle entry points in the enlarged / reduced sewing data 280 as new stitch data 274 and 275 and rank feed data 295 having the ranks 181 of “164” to “248”.

CPU101は、縫製データ180の順位181が「249」と「250」の指示情報182が示す制御データ189をそのまま拡縮縫製データ280に書込む。図5に示す如く、CPU101は、該制御データ189が「エンド」であるので(S43:YES)、拡縮縫製データ280の作成を完了し、処理をS45の処理に進める。   The CPU 101 writes the control data 189 indicated by the instruction information 182 whose rank 181 of the sewing data 180 is “249” and “250” into the enlargement / reduction sewing data 280 as it is. As shown in FIG. 5, since the control data 189 is “END” (S43: YES), the CPU 101 completes the creation of the enlarged / reduced sewing data 280 and advances the process to the process of S45.

図8に示す如く、模様251、253は、夫々基準位置F1、F3を基準に模様151、153を拡大した模様である。CPU101は処理をS45の処理に進め、作業者がミシン1を操作して縫製を開始するまで待機する(S45:NO)。CPU101は、作業者がミシン1の操作を行った場合(S45:YES)、拡縮縫製データ280に基づく模様251、152、253を縫製する(S47)。CPU101は、模様251、152、253の縫製が終了すると、処理をS11の処理に戻し、待機する。   As shown in FIG. 8, the patterns 251 and 253 are patterns obtained by enlarging the patterns 151 and 153 with reference to the reference positions F1 and F3, respectively. The CPU 101 advances the process to S45 and waits until the operator operates the sewing machine 1 and starts sewing (S45: NO). When the operator operates the sewing machine 1 (S45: YES), the CPU 101 sews patterns 251, 152, and 253 based on the enlargement / reduction sewing data 280 (S47). When the sewing of the patterns 251, 152, and 253 is completed, the CPU 101 returns the process to the process of S 11 and stands by.

以上説明した通り、本実施形態のミシン1のCPU101は、模様151、153の位置関係を変えずに拡縮した模様251、253を縫製できる拡縮縫製データ280を生成する事ができる。故に作業者は、縫製対象物に形成する模様の大きさが異なる毎に夫々異なる縫製データを作成する必要がなく、手間が掛からない。CPU101は、一つの縫製データがあれば、縫製対象物の様々なサイズに対応して拡縮した模様を容易に縫製する事ができる。   As described above, the CPU 101 of the sewing machine 1 according to the present embodiment can generate the enlargement / reduction sewing data 280 that can sew the enlarged patterns 251 and 253 without changing the positional relationship between the patterns 151 and 153. Therefore, the operator does not need to create different sewing data every time the size of the pattern to be formed on the sewing object is different, and labor is not required. If there is one piece of sewing data, the CPU 101 can easily sew a pattern that has been enlarged or reduced according to various sizes of the sewing object.

CPU101は、複数の包囲領域A1〜A3の夫々の中央位置C1〜C3を特定領域の基準位置に設定する事ができる。故に作業者は、複数の特定領域に夫々基準位置を設定する手間を省く事ができる。CPU101は、複数の模様に対して一括して同率の拡縮率で拡縮する事ができる。故に作業者は、模様ごとに拡縮率を設定する必要がなく、手間を省く事ができる。CPU101は、撮影画像を画像処理して検出する包囲領域を特定領域に指定できる。故に作業者は、複数の特定領域を夫々指定しなくとも済み、手間を省く事ができる。又、作業者は、撮影した画像を見ながら任意の領域を決定し、特定領域に指定する事もできる。作業者は、拡縮が不要な模様が特定領域から外れるように包囲領域を決定すれば、所望する模様のみの拡縮を行う事ができる。CPU101は、撮影画像に重ねて仮模様を表示する事ができる。故に作業者は、仮模様を見ながら拡縮を実施する模様を選択できるので、確実に所望する模様のみの拡縮を行う事ができる。   The CPU 101 can set the center positions C1 to C3 of the plurality of surrounding areas A1 to A3 as the reference positions of the specific areas. Therefore, the worker can save the trouble of setting the reference position in each of the plurality of specific areas. The CPU 101 can enlarge / reduce a plurality of patterns at the same rate. Therefore, the operator does not need to set the enlargement / reduction ratio for each pattern, and can save labor. The CPU 101 can designate a surrounding area to be detected by performing image processing on a captured image as a specific area. Therefore, the operator does not need to specify a plurality of specific areas, and can save labor. In addition, the operator can determine an arbitrary area while looking at the captured image and designate it as a specific area. The operator can enlarge / reduce only the desired pattern by determining the surrounding area so that the pattern that does not need to be enlarged / reduced deviates from the specific area. The CPU 101 can display a temporary pattern on the captured image. Therefore, the operator can select a pattern to be enlarged / reduced while viewing the temporary pattern, so that only the desired pattern can be reliably enlarged / reduced.

本実施形態では、加工布150は、「縫製対象物」に相当する。制御装置100は、「縫製データ編集装置」に相当する。保持体60は、「保持部材」に相当する。S23又はS25の処理で特定領域を指定するCPU101は、「指定手段」に相当する。S33の処理で特定領域P1、P3内に針落ち点を有する模様151、153を本発明の「対象模様」として取得するCPU101は、「取得手段」に相当する。S23又はS27の処理で基準位置を設定するCPU101は、「設定手段」に相当する。S37の処理で模様151、153のステッチデータを拡縮し、本発明の「拡縮模様」に相当する模様251、253のステッチデータを生成するCPU101は、「生成手段」に相当する。イメージセンサ50は「撮影手段」に相当する。S17の処理で画像処理により開口部67〜69の内エッジを包囲領域として検出するCPU101は、「検出手段」に相当する。ディスプレイ81は、「表示手段」に相当する。S25の処理で作業者がアクティブにした包囲領域A1、A3を決定するCPU101は、「決定手段」に相当する。S19の処理で、撮影画像に重ねて縫製データ180に基づく仮模様161〜163を描画するCPU101は、「描画手段」に相当する。S25の処理で作業者がスタイラスペン85でポイントした太点線をアクティブ又は非アクティブにする事で拡縮の実施を選択可能なCPU101は、「選択手段」に相当する。移送装置6は「移動機構」に相当する。ミシン1の制御を司るCPU101は、「縫製手段」に相当する。   In the present embodiment, the work cloth 150 corresponds to a “sewing object”. The control device 100 corresponds to a “sewing data editing device”. The holding body 60 corresponds to a “holding member”. The CPU 101 that designates the specific area in the processing of S23 or S25 corresponds to “designating means”. The CPU 101 that acquires the patterns 151 and 153 having the needle drop points in the specific areas P1 and P3 as the “target pattern” of the present invention in the process of S33 corresponds to “acquiring means”. The CPU 101 that sets the reference position in the processing of S23 or S27 corresponds to “setting means”. The CPU 101 that generates the stitch data of the patterns 251 and 253 corresponding to the “enlarged / reduced pattern” of the present invention by expanding and reducing the stitch data of the patterns 151 and 153 in the process of S37 corresponds to “generating means”. The image sensor 50 corresponds to “photographing means”. The CPU 101 that detects the inner edges of the openings 67 to 69 by the image processing in the process of S17 corresponds to the “detection unit”. The display 81 corresponds to “display means”. The CPU 101 that determines the surrounding areas A1 and A3 activated by the worker in the process of S25 corresponds to “determination means”. In the process of S19, the CPU 101 that draws the temporary patterns 161 to 163 based on the sewing data 180 so as to overlap the photographed image corresponds to “drawing means”. The CPU 101 that can select the execution of enlargement / reduction by activating or deactivating the thick dotted line pointed by the operator with the stylus pen 85 in the process of S25 corresponds to “selection means”. The transfer device 6 corresponds to a “moving mechanism”. The CPU 101 that controls the sewing machine 1 corresponds to “sewing means”.

本発明は、前述の実施形態の他に種々の変更が可能である。CPU101は、特定領域P1、P3に針落ち点を有する模様151、153のステッチデータ171、172、174、175に対して一様の拡縮率で拡縮を行ったが、特定領域P1と特定領域P3とに異なる拡縮率を設定してもよい。即ちCPU101は、複数の特定領域毎に異なる拡縮率を設定してもよい。CPU101は、模様の全体に対して拡縮を行ったが、模様の一部を拡縮してもよい。CPU101はイメージセンサ50で保持体60の押え枠63を撮影し、撮影画像上で特定領域を指定したが、イメージセンサ50に代えてスキャナ等で特定領域及び基準位置を図示した型紙等を撮込み、画像処理で特定領域及び基準位置の座標を求めてもよい。CPU101はS23の処理で各特定領域の中心位置を夫々基準位置に設定したが、各特定領域内に針落ち点を有する夫々の模様の座標データに基づく中央の位置を基準位置に設定してもよい。   The present invention can be variously modified in addition to the above-described embodiment. The CPU 101 scales the stitch data 171, 172, 174, and 175 of the patterns 151 and 153 having the needle drop points in the specific areas P 1 and P 3 at a uniform scaling ratio, but the specific area P 1 and the specific area P 3 Different scaling ratios may be set. That is, the CPU 101 may set different scaling ratios for each of the plurality of specific areas. Although the CPU 101 performs enlargement / reduction on the entire pattern, the CPU 101 may enlarge / reduce a part of the pattern. The CPU 101 photographs the presser frame 63 of the holding body 60 with the image sensor 50 and designates a specific area on the captured image. The coordinates of the specific area and the reference position may be obtained by image processing. The CPU 101 sets the center position of each specific area as the reference position in the process of S23, but even if the center position based on the coordinate data of each pattern having a needle drop point in each specific area is set as the reference position. Good.

1 ミシン
6 移送装置
50 イメージセンサ
60 保持体
63 枠
67〜69 開口部
81 ディスプレイ
100 制御装置
101 CPU
150 加工布
151〜153、251、253 模様
161〜163 仮模様
180 縫製データ
280 拡縮縫製データ
DESCRIPTION OF SYMBOLS 1 Sewing machine 6 Transfer apparatus 50 Image sensor 60 Holding body 63 Frame 67-69 Opening part 81 Display 100 Control apparatus 101 CPU
150 Work cloth 151-153, 251,253 Pattern 161-163 Temporary pattern 180 Sewing data 280 Enlargement / reduction sewing data

Claims (7)

縫製対象物に模様を形成する為の縫製データを編集する縫製データ編集装置であって、
前記模様の形成の際に前記縫製対象物を保持する保持部材を基準に前記縫製対象物上の複数の特定の領域である特定領域を指定する指定手段と、
前記縫製データに基づき、前記指定手段に指定された夫々の前記特定領域内に針落ち点を有する複数の部位を夫々対象模様として取得する取得手段と、
前記取得手段によって取得された複数の前記対象模様の拡大または縮小を行う際の基準となる位置である基準位置を夫々設定する設定手段と、
前記縫製データを編集し、前記設定手段に設定された前記基準位置を基準に複数の前記対象模様を夫々拡大または縮小した拡縮模様を形成する為の拡縮縫製データを生成する生成手段と、
を備えた事を特徴とする縫製データ編集装置。
A sewing data editing device for editing sewing data for forming a pattern on a sewing object,
Designating means for designating a specific area, which is a plurality of specific areas on the sewing object, with reference to a holding member that holds the sewing object when forming the pattern;
Acquisition means for acquiring a plurality of portions having needle drop points in each of the specific areas designated by the designation means based on the sewing data, respectively;
Setting means for setting a reference position, which is a reference position when enlarging or reducing the plurality of target patterns acquired by the acquiring means,
Generating means for editing the sewing data and generating enlarged / reduced sewing data for forming an enlarged / reduced pattern obtained by enlarging or reducing the plurality of the target patterns based on the reference position set in the setting means;
Sewing data editing device characterized by having.
前記設定手段は、前記特定領域の中央の位置を前記基準位置に設定する事を特徴とする請求項1に記載の縫製データ編集装置。   The sewing data editing apparatus according to claim 1, wherein the setting means sets a center position of the specific area as the reference position. 前記設定手段による前記対象模様の拡大または縮小は、すべての前記対象模様に対し、同率で行う事を特徴とする請求項1または2に記載の縫製データ編集装置。   The sewing data editing apparatus according to claim 1 or 2, wherein the target pattern is enlarged or reduced by the setting means at the same rate for all the target patterns. 前記保持部材は開口部を有する押え枠であり、前記押え枠を撮影する撮影手段と、
前記撮影手段によって撮影された前記押え枠の前記開口部により前記縫製対象物を取り囲む包囲領域を検出する検出手段と、
をさらに備え、
前記指定手段は、前記検出手段によって検出された前記包囲領域を前記特定領域として指定する事を特徴とする請求項1から3の何れかに記載の縫製データ編集装置。
The holding member is a presser frame having an opening, and a photographing unit for photographing the presser frame
Detecting means for detecting a surrounding region surrounding the sewing object by the opening of the presser frame imaged by the imaging means;
Further comprising
The sewing data editing apparatus according to any one of claims 1 to 3, wherein the designation unit designates the surrounding area detected by the detection unit as the specific area.
前記撮影手段が撮影した画像を表示する表示手段と、
前記表示手段によって表示された前記画像において、任意の領域を決定する決定手段と、
をさらに備え、
前記指定手段は、前記決定手段によって決定された領域を、前記特定領域として指定する事を特徴とする請求項4に記載の縫製データ編集装置。
Display means for displaying an image taken by the photographing means;
Determining means for determining an arbitrary region in the image displayed by the display means;
Further comprising
The sewing data editing apparatus according to claim 4, wherein the designation unit designates an area determined by the determination unit as the specific area.
前記表示手段に表示された前記画像に重ね、前記縫製データに基づいて複数の前記対象模様を描画する描画手段と、
前記描画手段によって描画された前記対象模様の拡大または縮小の実施を選択可能な選択手段と、
をさらに備え、
前記生成手段は、前記選択手段によって拡大または縮小を実施する選択がなされた前記対象模様を対象に、前記拡縮模様を形成する為の前記拡縮縫製データを生成する事を特徴とする請求項5に記載の縫製データ編集装置。
Drawing means for drawing a plurality of the target patterns on the basis of the sewing data, superimposed on the image displayed on the display means;
Selection means capable of selecting execution of enlargement or reduction of the target pattern drawn by the drawing means;
Further comprising
The said generation means produces | generates the said expansion / contraction sewing data for forming the said expansion / contraction pattern for the said target pattern by which the selection which implements expansion or reduction by the said selection means was made into object. The sewing data editing device described.
請求項1から6の何れかに記載の縫製データ編集装置と、
前記保持部材を保持し、前記保持部材を水平面内で移動させる移動機構と、
前記縫製データ編集装置によって編集された前記拡縮縫製データに従って前記移動機構を制御し、前記縫製対象物に前記拡縮模様を縫製する縫製手段と、
を備えた事を特徴とするミシン。
The sewing data editing device according to any one of claims 1 to 6,
A moving mechanism for holding the holding member and moving the holding member in a horizontal plane;
Sewing means for controlling the moving mechanism according to the enlargement / reduction sewing data edited by the sewing data editing device and sewing the enlargement / reduction pattern on the sewing object;
Sewing machine characterized by having
JP2012079455A 2012-03-30 2012-03-30 Sewing data editing device and sewing machine Pending JP2013208204A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012079455A JP2013208204A (en) 2012-03-30 2012-03-30 Sewing data editing device and sewing machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012079455A JP2013208204A (en) 2012-03-30 2012-03-30 Sewing data editing device and sewing machine

Publications (1)

Publication Number Publication Date
JP2013208204A true JP2013208204A (en) 2013-10-10

Family

ID=49526739

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012079455A Pending JP2013208204A (en) 2012-03-30 2012-03-30 Sewing data editing device and sewing machine

Country Status (1)

Country Link
JP (1) JP2013208204A (en)

Similar Documents

Publication Publication Date Title
JP5942389B2 (en) sewing machine
US8948901B2 (en) Sewing machine
US20140060407A1 (en) Sewing machine and non-transitory computer-readable medium
US11781255B2 (en) Non-transitory computer-readable storage medium, embroidery pattern displaying device, and method
JP2007020645A (en) Embroidery data processor, and program
JP2013099455A (en) Sewing machine
US8594830B2 (en) Computer controlled embroidery sewing machine with image capturing
US9885131B2 (en) Sewing machine
JP2006271880A (en) Data editing device for processing machine, data editing device for sewing machine, data editing method for processing machine, data editing method for sewing machine and recording medium
JP2015104442A (en) Sewing machine
JP2011101695A (en) Embroidery data processing apparatus, sewing machine, embroidery data processing program, and storage medium storing embroidery data processing program
US8176861B2 (en) Embroidery data processor, sewing machine, and computer readable medium for embroidery data processing
US9290873B2 (en) Sewing machine, information processing apparatus, and non-transitory computer-readable medium
JP2011087753A (en) Sewing machine
WO2017130734A1 (en) Sewing machine and sewing data editing program
JP2013208204A (en) Sewing data editing device and sewing machine
JP2007111233A (en) Sewing machine
JP2013208203A (en) Sewing machine
US11028512B2 (en) Sewing machine and non-transitory computer-readable medium
JP2005185297A (en) Embroidery sewing machine
JP7294184B2 (en) multi-needle sewing machine
JP2012192156A (en) Sewing machine
US10619279B2 (en) Decoration pattern data generating apparatus, sewing machine, and non-transitory recording medium
JP2023111581A (en) sewing machine
JP2007135911A (en) Sewing machine