JPH05253368A - Seam data composing device for sewing machine - Google Patents

Seam data composing device for sewing machine

Info

Publication number
JPH05253368A
JPH05253368A JP5177092A JP5177092A JPH05253368A JP H05253368 A JPH05253368 A JP H05253368A JP 5177092 A JP5177092 A JP 5177092A JP 5177092 A JP5177092 A JP 5177092A JP H05253368 A JPH05253368 A JP H05253368A
Authority
JP
Japan
Prior art keywords
data
needle
feed
error
stitch
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
JP5177092A
Other languages
Japanese (ja)
Inventor
Masahiro Mizuno
雅裕 水野
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 JP5177092A priority Critical patent/JPH05253368A/en
Publication of JPH05253368A publication Critical patent/JPH05253368A/en
Pending legal-status Critical Current

Links

Landscapes

  • Sewing Machines And Sewing (AREA)

Abstract

PURPOSE:To provide a data composing device automatically making stitching data for a required form by taking the errors in the longitudinally feeding direction of the applied cloth, caused by the arc oscillation of a zigzag sewing machine needle, into consideration. CONSTITUTION:A needle-location point memory is forced to memorize X, Y position data of the needle-location points for a stitching pattern. The lateral width H of the stitching pattern, a conversion coefficient (k) of the needle- oscillation position, and the X-abscissa Zp of the center of the lateral width are operated (S3-S5) in accordance with the X-position data and the needle- oscillation data (Nn) are operated (S7) in accordance with these data and X- abscissa data. And the longitudinally feeding data are operated (S11) in accordance with the Y-position data of the needle-drop point, and the laterally feeding data are operated (S12) in accordance with the X-abscissa data and the needle- oscillating position data (Nn). When the accumulated error of the longitudinally feeding direction resulting from the needle-oscillation and the feeding reaches one feed pitch, the longitudinally feeding data of the seam data are corrected (S13-S20).

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、送り具の縦送り量を規
定する縦送りデータと針の揺動位置を規定する針揺動位
置データとを一組として構成された縫目データに基づ
き、送り具を縦方向に移動させるとともに、針を水平釜
の外周に沿った円弧軌跡上で揺動させることにより加工
布に対する針落ち点を移動させて縫目模様を形成するよ
うにしたミシンのための縫目データ作成装置に関するも
のである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention is based on stitch data composed of a set of vertical feed data which defines the vertical feed amount of a feeding tool and needle swing position data which defines the swing position of a needle. , Of the sewing machine that moves the needle in the arc direction along the outer circumference of the horizontal shuttle and moves the needle drop point with respect to the work cloth to form a stitch pattern while moving the feeder in the vertical direction. The present invention relates to a stitch data creating device.

【0002】[0002]

【従来の技術】まず、従来のミシンについて説明する
と、布を支持するベッドと、そのベッドに支持された加
工布をそれに平行な面内で縦方向と横方向とにそれぞれ
移動させる送り歯と、下端に針を備えベッドに対して上
下方向に往復運動を行い、且つ、ベッドに対して横方向
において水平釜の外周に沿った円弧軌跡上の複数の揺動
位置を取り得る針棒と、その針を加工布の上方で停止さ
せるために針棒クランク機構と針棒との駆動連結を解除
する針棒釈放装置と、加工布に模様を刺繍するのに必要
な複数の針落ち点の各々の、送り歯の縦送り量を規定す
る縦送りデータおよび横送り量を規定する横送りデータ
と針の揺動位置を規定する針揺動位置データと針棒釈放
装置による針棒釈放の有無を示す針落ちデータとを一組
として表した縫目データに基づき、送り歯及びその駆動
装置であるステップモータの移動量と針の揺動量と針の
上下動とを制御することによって加工布に模様を刺繍す
るコントローラとを含むミシンが既に知られている。
2. Description of the Related Art First, a conventional sewing machine will be described. A bed for supporting a cloth, a feed dog for moving a work cloth supported on the bed in a vertical direction and a horizontal direction in a plane parallel to the bed, respectively. A needle bar having a needle at its lower end, which reciprocates vertically with respect to the bed, and which can take a plurality of swing positions on an arc locus along the outer circumference of the horizontal shuttle in the lateral direction with respect to the bed; A needle bar releasing device that releases the drive connection between the needle bar crank mechanism and the needle bar to stop the needle above the work cloth, and a plurality of needle drop points required to embroider a pattern on the work cloth. , Vertical feed data that defines the vertical feed amount of the feed dog, horizontal feed data that defines the horizontal feed amount, needle swing position data that defines the swing position of the needle, and the presence or absence of needle bar release by the needle bar release device. The stitch data that represents the needle drop data as a set A sewing machine including a controller that embroiders a pattern on a work cloth by controlling the amount of movement of a feed dog and a step motor that is a drive device thereof, the amount of rocking of a needle, and the vertical movement of the needle based on There is.

【0003】この種のミシンで刺繍を行う際には、模様
の横方向における最大寸法(以下、単に横幅という)が
針が取り得る揺動範囲を超える場合、送り歯によって加
工布を横方向に移動させ、これにより、針の揺動量の不
足を補うようにしている。そして、1回の送り歯の横送
り量が所定の最大送り可能量を越える場合、針棒釈放装
置を作動させて加工布の横送りのみを行い、その後に残
りの横送りを行うと共に針棒釈放装置を不作動として縫
目形成を行っているのである。
When embroidering with this kind of sewing machine, when the maximum size of the pattern in the lateral direction (hereinafter referred to simply as the lateral width) exceeds the swing range that the needle can take, the work cloth is laterally moved by the feed dog. By moving the needle, the shortage of the swinging amount of the needle is compensated. When the lateral feed amount of one feed tooth exceeds the predetermined maximum feedable amount, the needle bar releasing device is operated to laterally feed the work cloth only, and then the remaining lateral feed and the needle bar The release device is inoperative and the seams are formed.

【0004】この様なミシンにおいては、刺繍模様を縫
製するためには、予め縫目データを作成しておく必要が
ある。予め作成した縫目データをROM等の記憶媒体に
記憶させておき、必要に応じて所望の刺繍模様の縫目デ
ータを読み出せば、コントローラが1針毎に縦送りデー
タ,横送りデータ,針揺動位置データ,針落ちデータを
読み出して送り歯を縦横方向に移動させると共に針を揺
動,上下動させて刺繍模様が形成されるのである。
In such a sewing machine, in order to sew an embroidery pattern, it is necessary to create stitch data in advance. If the stitch data created in advance is stored in a storage medium such as a ROM and the stitch data of the desired embroidery pattern is read out as necessary, the controller can feed the stitch length data, cross feed data, and stitch data for each stitch. The embroidery pattern is formed by reading the rocking position data and the needle drop data, moving the feed dog in the vertical and horizontal directions, and rocking and vertically moving the needle.

【0005】そして、従来のデータ作成装置において
は、縫目データをROM等の記憶媒体に記憶させるため
に、作成者が針落ち点毎に縦送りデータ,横送りデー
タ,針揺動位置データ,針落ちデータを決定して入力し
ていた。しかしながら、針は水平釜の外周に沿った円弧
軌跡上を揺動するため、針の揺動位置に応じて縦送り方
向における針位置が変化するとともに、送り歯で加工布
を送る際、針落ち点の縦方向移動量が縦送りデータの示
す量に一致しない送り誤差が発生し、刺繍模様の形状が
変化してしまう。尚、この送り誤差の原因としては、ミ
シンにおいて、送り歯で加工布を送ると送り歯と加工布
とのずれや滑り、機械的な遅れ等により、最初の1ステ
ップ目の送り量がその次以降の1ステップ当りの送り量
よりも少なくなるからである。このため、刺繍縫目の形
状を所望のものにするために、作成者が誤差を演算し、
その誤差分の補正縫目データを新たに作成して追加入力
している。
In the conventional data preparation device, in order to store the stitch data in a storage medium such as a ROM, the preparer makes longitudinal feed data, lateral feed data, needle swing position data, The needle drop data was decided and input. However, since the needle oscillates along an arcuate path along the outer circumference of the horizontal shuttle, the needle position in the vertical feed direction changes according to the oscillating position of the needle, and the needle falls when the work cloth is fed by the feed dog. A feed error in which the vertical movement amount of the point does not match the amount indicated by the vertical feed data occurs, and the shape of the embroidery pattern changes. As a cause of this feed error, when the work cloth is fed by the feed dog in the sewing machine, the feed amount in the first step is the next due to the slippage and slippage between the feed tooth and the work cloth, mechanical delay, etc. This is because the feed amount per subsequent step is smaller. Therefore, in order to obtain the desired shape of the embroidery seam, the creator calculates the error,
Corrected stitch data for the error is newly created and additionally input.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、近年の
刺繍模様の大型化、複雑化に伴い、ひとつの刺繍模様に
おける針落ち点の数が増加したため、刺繍縫目の形状を
所望のものにするために、作成者が誤差を計算し、その
誤差分の補正縫目データを新たに作成して追加入力する
ことは、非常に時間がかかり、且つ誤りも多い作業とな
っていた。
However, since the number of needle drop points in one embroidery pattern has increased with the recent increase in size and complexity of the embroidery pattern, the shape of the embroidery stitch is desired. In addition, it is a very time-consuming and error-prone task for the creator to calculate the error, and to newly create and additionally input the corrected stitch data for the error.

【0007】本発明は、上述した問題点を解決するため
になされたものであり、その目的は、針揺動に伴う縦送
り方向の誤差と送り歯で加工布を送る際の送り誤差とを
解消した状態で送り歯の縦送りデータと針揺動位置デー
タとを一組とした縫目データを自動的に作成し得るミシ
ンのための縫目データ作成装置を提供するにある。
The present invention has been made in order to solve the above-mentioned problems, and an object thereof is to eliminate an error in the vertical feed direction due to needle swing and a feed error when a work cloth is fed by a feed dog. (EN) Provided is a stitch data creation device for a sewing machine capable of automatically creating stitch data in which a set of vertical feed data of a feed dog and needle swing position data is set in a canceled state.

【0008】[0008]

【課題を解決するための手段】この目的を達成するため
本発明の請求項1に係るミシンのための縫目データ作成
装置は、図1に示すように、縫目を形成する複数の針落
ち点の各々の、縦方向における位置を規定する縦方向位
置データと横方向における位置を規定する横方向位置デ
ータとを記憶する針落ち点データ記憶手段と、針落ち点
の縦方向位置データから送り歯の縦送りデータを針落ち
点毎に演算するとともに、針落ち点の横方向位置データ
から針揺動位置データを針落ち点毎に演算する縫目デー
タ演算手段と、演算された複数の針揺動位置の各々の円
弧軌跡の弦からの変倚誤差を演算するとともに、その縫
目データ演算手段によって演算された送り量と送り具に
よる加工布の送り量との送り誤差を演算し、その変倚誤
差と送り誤差との累積値を演算し、変倚誤差と送り誤差
との累積値が所定の値を越えた場合、変倚誤差と送り誤
差とを解消すべく縫目データ演算手段により作成された
縫目データを補正演算する縫目データ補正手段とを備え
ている。
In order to achieve this object, a stitch data creating device for a sewing machine according to a first aspect of the present invention, as shown in FIG. 1, has a plurality of needle drops forming stitches. A needle drop point data storage unit that stores vertical position data that defines the position of each point in the vertical direction and horizontal position data that defines the position in the horizontal direction, and feed from the vertical position data of the needle drop point. Stitch data calculation means for calculating vertical feed data of teeth for each needle drop point and needle swing position data for each needle drop point from lateral position data of the needle drop point, and a plurality of calculated needles The displacement error from the chord of each arc locus of the swing position is calculated, and the feed error between the feed amount calculated by the stitch data calculation means and the feed amount of the work cloth by the feed tool is calculated. Between the variation error and the feed error When the product value is calculated and the cumulative value of the variation error and the feed error exceeds a predetermined value, the stitch data created by the stitch data calculation means is corrected in order to eliminate the variation error and the feed error. And stitch data correction means for calculating.

【0009】この目的を達成するため本発明の請求項2
に係るミシンのための縫目データ作成装置は、変倚誤差
と送り誤差とを解消するために補正演算される縫目デー
タが、送り具の縦送り量を規定する縦送りデータである
縫目データ補正手段を備えている。
In order to achieve this object, claim 2 of the present invention
In the stitch data creation device for a sewing machine according to the above, the stitch data corrected and calculated to eliminate the displacement error and the feed error is the stitch length data that defines the vertical feed amount of the feed tool. A data correction means is provided.

【0010】[0010]

【作用】上記の構成を有する請求項1に係る縫目データ
作成装置においては、針落ち点データ記憶手段に複数の
針落ち点の各々の、縦方向における位置を規定する縦方
向位置データと横方向における位置を規定する横方向位
置データとが記憶される。縫目データ演算手段は、針落
ち点の縦方向位置データから送り歯の縦送りデータを針
落ち点毎に演算するとともに、針落ち点の横方向位置デ
ータから針揺動位置データを針落ち点毎に演算する。縫
目データ補正手段は、縫目データ演算手段により演算さ
れた複数の針揺動位置の各々の円弧軌跡の弦からの変倚
誤差を演算するとともに、縫目データ演算手段によって
演算された送り量と送り具による加工布の送り量との送
り誤差を演算し、その変倚誤差と送り誤差との累積値を
演算し、変倚誤差と送り誤差との累積値が所定の値を越
えた場合、変倚誤差と送り誤差とを解消すべく縫目デー
タを補正演算する。
In the stitch data creating device according to the first aspect of the present invention, the needle drop point data storage means defines the vertical position data and the horizontal position data that define the position of each of the plurality of needle drop points in the vertical direction. And lateral position data defining a position in the direction. The stitch data calculation means calculates the vertical feed data of the feed dog for each needle drop point from the vertical position data of the needle drop point, and the needle swing position data from the lateral position data of the needle drop point. Calculate each time. The stitch data correction means calculates the deviation error from the chord of the arc locus of each of the plurality of needle swing positions calculated by the stitch data calculation means, and the feed amount calculated by the stitch data calculation means. And the feed amount of the work cloth fed by the feed tool are calculated, the cumulative value of the variable error and the feed error is calculated, and the cumulative value of the variable error and the feed error exceeds the predetermined value. , The stitch data is corrected and calculated to eliminate the variation error and the feed error.

【0011】上記の構成を有する請求項2に係る縫目デ
ータ作成装置においては、縫目データ補正手段が、変倚
誤差と送り誤差とを解消するため、送り具の縦送り量を
規定する縦送りデータを補正演算する。
In the stitch data creating device according to the second aspect of the present invention, the stitch data correcting means defines the vertical feed amount of the feed tool in order to eliminate the variation error and the feed error. Compensate feed data.

【0012】[0012]

【実施例】以下、本発明を具体化した一実施例を図面を
参照して説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.

【0013】まず、本実施例におけるミシンは、図2に
示す様に、加工布が載置されるミシンベッドを構成する
針板Tに貫通形成された針孔10を横切って上下動され
る針11と、その針板Tの下方に配置され針11と協働
して加工布に縫目を形成する水平全回転釜13と、針板
Tの開口部内に配置され針板上面に出没して加工布を縦
送り方向(図中のY方向)と横送り方向(図中のX方
向)に所定の送りピッチでそれぞれ移送する送り歯20
とを有している。そして、針孔10は水平釜13の外周
に沿って円弧状に形成されており、針11は針孔10に
沿って水平釜の回転軸線を中心とした円弧軌跡上を揺動
される。これは、水平釜の13の剣先131が回転運動
しているため、常に針と剣先との出合いを一定に保つた
めである。
First, as shown in FIG. 2, the sewing machine according to the present embodiment has a needle which is moved up and down across a needle hole 10 formed through a needle plate T which constitutes a sewing machine bed on which a work cloth is placed. 11, a horizontal full rotary hook 13 which is arranged below the needle plate T and cooperates with the needle 11 to form stitches on the work cloth, and which is arranged in the opening of the needle plate T and appears on the upper surface of the needle plate. A feed dog 20 for transferring the work cloth in a vertical feed direction (Y direction in the drawing) and a horizontal feed direction (X direction in the drawing) at a predetermined feed pitch.
And have. The needle hole 10 is formed in an arc shape along the outer circumference of the horizontal shuttle 13, and the needle 11 is swung along the needle hole 10 on an arc locus about the rotation axis of the horizontal shuttle. This is because the 13 blade points 131 of the horizontal hook are rotating, so that the contact between the needle and the blade points is always kept constant.

【0014】ミシンの制御装置は、図3に示すように、
論理演算回路の中心となるCPU30とROM31とR
AM32とEEPROMからなる縫目データメモリ33
と入出力回路35とをコモンバス34を介して相互に接
続して構成したものである。入出力回路35にはドライ
バ36〜40を介してミシンモータ41,針揺動ステッ
プモータ42,縦送りステップモータ43,横送りステ
ップモータ44,針棒釈放ソレノイド45がそれぞれ接
続されている。
As shown in FIG. 3, the control device of the sewing machine is as follows.
CPU30, ROM31 and R, which are the core of the logical operation circuit
Stitch data memory 33 consisting of AM 32 and EEPROM
And an input / output circuit 35 are connected to each other via a common bus 34. A sewing machine motor 41, a needle swing step motor 42, a vertical feed step motor 43, a horizontal feed step motor 44, and a needle bar release solenoid 45 are connected to the input / output circuit 35 via drivers 36 to 40, respectively.

【0015】また、ミシンにおいて、送り歯20で加工
布を送る場合、送り歯20と加工布とのずれや滑り、機
械的な遅れ等の原因により、最初の1ステップ目の送り
量がその次以降の1ステップ当りの送り量よりも少なく
なる。その特性は、送り歯20による加工布の縦方向の
送り量を縦軸とし、送り歯20の駆動装置である縦送り
ステップモータ43のステップ数を横軸としたグラフの
図4に示してある。はじめの1ステップ目での加工布送
り量は、0.24mmで、その次以降のステップ毎の加
工布送り量は0.34mmであることが実験により確認
されている。このように送り歯20により縦方向に加工
布が送られる毎にメモリー上の1スッテプ縦送りの0.
34mmに対して0.1mmの送り誤差データが、送り
の正逆に対応し正方向の縦送りではマイナスの送り誤差
データ、逆方向の縦送りではプラスの送り誤差データが
生じる。
Further, in the sewing machine, when the work cloth is fed by the feed dog 20, the feed amount of the first step is the next due to a cause such as a slippage and a slip between the feed dog 20 and the work cloth, and a mechanical delay. It is smaller than the subsequent feed amount per step. The characteristic is shown in FIG. 4 of a graph with the vertical feed amount of the work cloth by the feed dog 20 as the vertical axis and the number of steps of the vertical feed step motor 43 as the drive device of the feed tooth 20 as the horizontal axis. .. It has been confirmed by experiments that the work cloth feed amount in the first step is 0.24 mm, and the work cloth feed amount in each subsequent step is 0.34 mm. Thus, every time the work cloth is fed in the vertical direction by the feed dog 20, one step vertical feed of 0.
The feed error data of 0.1 mm with respect to 34 mm corresponds to the forward and reverse of the feed, and negative feed error data is generated in the forward vertical feed, and positive feed error data is generated in the reverse vertical feed.

【0016】針棒釈放ソレノイド45は周知の針棒釈放
装置を制御するものであり、その針棒釈放装置はソレノ
イド45の励磁により針棒クランク機構と針棒との駆動
連結を解除して針棒(針11)を加工布の上方に停止さ
せ針と加工布との相対的な送りのみを行わせ、消磁によ
り針棒クランク機構と針棒とを連結して針棒を上下往復
動させるものである。
The needle bar releasing solenoid 45 controls a known needle bar releasing device. The needle bar releasing device releases the driving connection between the needle bar crank mechanism and the needle bar by exciting the solenoid 45, and the needle bar releasing device 45 releases the driving force. The (needle 11) is stopped above the work cloth to perform only relative feed between the needle and the work cloth, and the needle bar crank mechanism and the needle bar are connected by demagnetization to reciprocate the needle bar up and down. is there.

【0017】ROM31には、縫目データメモリ33に
記憶された縫目データを、ミシンモータ41により回転
される主軸の特定の回転位相の検知に応答して1針分読
み出して針揺動ステップモータ42と縦送りステップモ
ータ43と横送りステップモータ44と針棒釈放ソレノ
イド45とを駆動制御するプログラムが格納されてい
る。この縫目データは、針揺動位置データと縦送りデー
タと横送りデータと針棒釈放データとを一組として一回
の送り制御単位毎に作成されて縫目データメモリ33に
格納されている。尚、送り制御単位は、針の上下動の有
無にかかわらずミシンの主軸の一回転の間に行われる針
揺動と送り歯の縦横送りとの駆動量を示すものである。
The stitch data stored in the stitch data memory 33 is read into the ROM 31 by one stitch in response to the detection of a specific rotation phase of the main shaft rotated by the sewing machine motor 41, and the needle swing step motor is read. 42, a program for driving and controlling the vertical feed step motor 43, the horizontal feed step motor 44, and the needle bar release solenoid 45 is stored. This stitch data is created for each feed control unit once as a set of needle swing position data, vertical feed data, horizontal feed data, and needle bar release data, and is stored in the stitch data memory 33. .. The feed control unit indicates the drive amount of the needle swing and the vertical and horizontal feed of the feed dog performed during one rotation of the main shaft of the sewing machine regardless of whether the needle is vertically moved.

【0018】このミシンの機械的な特性として、図5に
示されているように、針揺動ステップモータ42のステ
ップ数は14に設定されており、針揺動位置データは−
7から7までの整数値(針揺動位置を示す値)として与
えられる。つまり、針揺動位置データの値が−7の時、
針11は図2中の最も左の位置に揺動され、針揺動位置
データの値が7の時、針11は図2中の最も右の位置に
揺動される。また針揺動位置データの値が0の時は最大
振幅Wmの左右揺動の中心位置に揺動される。尚、この
揺動の1ステップの大きさは0.5mmに設定されてい
る。そして、針の揺動軌跡の半径は18mmに設定され
ている。
As the mechanical characteristics of this sewing machine, as shown in FIG. 5, the number of steps of the needle rocking step motor 42 is set to 14, and the needle rocking position data is-.
It is given as an integer value from 7 to 7 (a value indicating the needle swing position). That is, when the value of the needle swing position data is -7,
The needle 11 is swung to the leftmost position in FIG. 2, and when the value of the needle swing position data is 7, the needle 11 is swung to the rightmost position in FIG. Further, when the value of the needle swing position data is 0, the needle swing position is swung to the center position of the horizontal swing with the maximum amplitude Wm. The magnitude of one step of this swing is set to 0.5 mm. The radius of the needle swing trajectory is set to 18 mm.

【0019】また、ミシンにおいて、針は半径18mm
の円弧軌跡に沿って14ステップの揺動運動をするもの
であるが、その1ステップ毎に横方向の位置が変化する
だけでなく縦方向の位置もまた変化するものである。つ
まり、針の揺動位置は円弧軌跡の弦からステップ毎に変
化するものであり、円弧軌跡の両端を基準とすると各ス
テップ毎の変倚量は、図6に示すような値となる。
In the sewing machine, the needle has a radius of 18 mm.
Although the rocking motion is performed in 14 steps along the arcuate locus, the position in the horizontal direction changes and the position in the vertical direction also changes for each step. That is, the swinging position of the needle changes from the chord of the arc locus at each step, and the displacement amount at each step becomes a value as shown in FIG. 6 with reference to both ends of the arc locus.

【0020】一方、送り歯20を図2中のY方向に移動
させる縦送りステップモータ43の1ステップの送り量
は0.34mmに設定されており、送り歯20を図2中
のX方向に移動させる横送りステップモータ44の1ス
テップの送り量は0.5mmに設定されている。この縦
送りステップモータ43の縦送りデータはステップ数に
プラス,マイナスの符号を付した形式で与えられ、プラ
スの値の場合は正送りを示し、マイナスの値の場合は逆
送りを示している。また、横送りステップモータ44の
横送りデータは、縦送りデータと同様に、ステップ数に
プラス,マイナスの符号を付した形式で与えられ、プラ
スの値の場合は加工布送り込み側からみて加工布を左方
へ送ることを示し、マイナスの値の場合は加工布送り込
み側からみて加工布を右方に送ることを示している。
On the other hand, the feed amount per step of the vertical feed step motor 43 for moving the feed dog 20 in the Y direction in FIG. 2 is set to 0.34 mm, and the feed dog 20 is moved in the X direction in FIG. The feed amount of one step of the lateral feed step motor 44 to be moved is set to 0.5 mm. The vertical feed data of the vertical feed step motor 43 is given in a format in which plus and minus signs are added to the number of steps. A positive value indicates forward feed, and a negative value indicates reverse feed. .. Similarly to the vertical feed data, the horizontal feed data of the horizontal feed step motor 44 is given in a format in which the number of steps is added with a plus or minus sign. In the case of a plus value, the work cloth is viewed from the work feed side. Is sent to the left, and a negative value indicates that the work cloth is sent to the right when viewed from the work cloth feeding side.

【0021】また、針棒釈放データは、針11の加工布
への針落ちの有無を表し、針棒釈放データが0の時はミ
シンの針棒釈放装置の針棒釈放ソレノイド45が非励磁
とされて針棒クランク機構と針棒とが連結されて針棒が
上下駆動され、針棒釈放データが1の時は針棒釈放ソレ
ノイド45が励磁されて針棒クランク機構と針棒との連
結が解除されて針棒が停止することを意味する。
The needle bar release data indicates whether or not the needle 11 has dropped onto the work cloth. When the needle bar release data is 0, the needle bar release solenoid 45 of the needle bar release device of the sewing machine is not excited. Then, the needle bar crank mechanism and the needle bar are connected and the needle bar is driven up and down. When the needle bar release data is 1, the needle bar release solenoid 45 is excited to connect the needle bar crank mechanism and the needle bar. This means that the needle bar stops when it is released.

【0022】以上のように構成されたミシンを使用して
刺繍縫目を形成するに先立って縫目データメモリ33に
縫目データを記憶しておく必要がある。この縫目データ
を作成するためのデータ作成装置50の構成以下に説明
する。
It is necessary to store the stitch data in the stitch data memory 33 before forming the embroidery stitch using the sewing machine configured as described above. The structure of the data creation device 50 for creating this stitch data will be described below.

【0023】このデータ作成装置50は、図7に示され
ているように、論理演算回路の中心となるCPU51と
そのCPU51を駆動させるためのプログラムを格納し
たROM52とRAM53とをコモンバス54を介して
相互に接続したものである。尚、ROM52には前述し
た縦送りステップモータ43の最初の1ステップ目の送
り量(=0.24mm)とその次以降の1ステップ当り
の送り量(=0.34mm)とその差による送り誤差デ
ータの値(=0.1mm)と、針11の揺動における円
弧軌跡の両端を基準とすると各ステップ毎の変倚量が、
針揺動位置に対する誤差量のテーブル(針位置誤差テー
ブルと称する)という形式でROM52に予め記憶され
る。また、コモンバス54には、針落ち点をXY方向の
位置データとして入力するためのデジタイザ55が接続
され、そのデジタイザ55により入力された針落ち点デ
ータを記憶するための針落ち点メモリ(針落ち点データ
記憶手段)60が接続され、縫目データメモリ33に縫
目データを書き込むためのPROMライター61が出力
ポートを介して接続されている。
As shown in FIG. 7, the data creating apparatus 50 includes a CPU 51, which is the center of a logical operation circuit, a ROM 52 storing a program for driving the CPU 51, and a RAM 53, via a common bus 54. They are connected to each other. It should be noted that the ROM 52 has a feed error due to the difference between the feed amount (= 0.24 mm) of the first first step of the vertical feed step motor 43 and the feed amount of each subsequent step (= 0.34 mm), and the difference therebetween. With reference to the data value (= 0.1 mm) and both ends of the arc locus in the swing of the needle 11, the amount of change in each step is
It is stored in advance in the ROM 52 in the form of a table of an error amount with respect to the needle swing position (referred to as a needle position error table). Further, the common bus 54 is connected to a digitizer 55 for inputting the needle entry point as position data in the XY directions, and a needle entry point memory (needle entry point memory for storing the needle entry point data input by the digitizer 55). A point data storage means) 60 is connected, and a PROM writer 61 for writing stitch data in the stitch data memory 33 is connected via an output port.

【0024】また、RAM53には縫目データ領域と誤
差領域が設定されており、この縫目データ領域には、各
針落ち点に対応して、送り歯20の縦送りデータと、送
り歯20の横送りデータと、針11の針落ちの有無を表
す針棒釈放データと、針11の針揺動位置データが記憶
される。そして、各針落ち点に対して針棒釈放データは
予め0に設定されている。一方、誤差領域には、各針落
ち点に対応して、縫目の補正を行うかどうかの目安とな
る誤差データが記憶される。
Further, a stitch data area and an error area are set in the RAM 53, and in this stitch data area, the vertical feed data of the feed dog 20 and the feed tooth 20 are associated with each needle drop point. Lateral feed data, needle bar release data indicating the presence / absence of needle drop of the needle 11, and needle swing position data of the needle 11 are stored. The needle bar release data is set to 0 in advance for each needle drop point. On the other hand, in the error area, error data is stored corresponding to each needle drop point, which is a standard for whether or not to correct the stitch.

【0025】次に、このデータ作成装置50による縫目
データの作成を、図8のフローチャートに沿って説明す
る。
Next, creation of stitch data by the data creating device 50 will be described with reference to the flow chart of FIG.

【0026】まず、1目盛り0.34mmの縦送り方向
のY軸、1目盛り0.5mmの横送り方向のX軸に基づ
く図9で表される座標系を設定し、その座標系において
模様「A」の所望の針落ち点P1〜P37を決定する。
即ち、デジタイザ55により図10における点P1〜点
P37が指定され、各点のXY方向の位置データが針落
ち位置データとして針落ち点メモリ60に記憶される。
これらの各点P1〜P37のXY方向の位置データは図
11に記載の表の通りである。
First, the coordinate system shown in FIG. 9 is set based on the Y axis in the longitudinal feed direction of 0.34 mm per scale and the X axis in the transverse feed direction of 0.5 mm per scale, and the pattern " The desired needle drop points P1 to P37 of "A" are determined.
That is, points P1 to P37 in FIG. 10 are designated by the digitizer 55, and the position data of each point in the XY directions is stored in the needle drop point memory 60 as needle drop position data.
The position data in the XY directions of these points P1 to P37 are as shown in the table of FIG.

【0027】まず、CPU51はステップ1(ステップ
S1;以下ステップをSと略記する。)において、針落
ち点メモリ60から針落ち点の位置データを読み出して
RAM53の所定の領域に記憶させる。
First, the CPU 51 reads the position data of the needle drop point from the needle drop point memory 60 and stores it in a predetermined area of the RAM 53 in step 1 (step S1; the following step is abbreviated as S).

【0028】次に、CPU51はS2において、読み出
された針落ち点の位置データからX座標の最大値Xma
xとX座標の最小値Xminとを検出する。本実施例で
はCPU51は、X座標の最大値Xmaxとして点P14
の値(=38)を検出し、X座標の最小値Xminとし
て点P3 ,P22の値(=0)を検出する。
Next, in S2, the CPU 51 determines the maximum value Xma of the X coordinate from the read position data of the needle drop point.
The x and the minimum value Xmin of the X coordinate are detected. In this embodiment, the CPU 51 determines the point P14 as the maximum value Xmax of the X coordinate.
Value (= 38) is detected, and the value (= 0) at points P3 and P22 is detected as the minimum value Xmin of the X coordinate.

【0029】そして、CPU51はS3において、最大
値Xmaxから最小値Xminを差し引くことにより、
刺繍模様の横幅Hを演算する。そしてCPU51は、図
10の模様「A」の場合、横幅H(=38)を求める。
Then, the CPU 51 subtracts the minimum value Xmin from the maximum value Xmax in S3,
The width H of the embroidery pattern is calculated. Then, the CPU 51 obtains the lateral width H (= 38) in the case of the pattern "A" in FIG.

【0030】次に、CPU51は、今回の刺繍模様の横
幅Hの範囲内でX軸上に想定されている複数のX座標点
の各々と、針11の複数の揺動位置の各々との間の対応
関係を決定するための作業をS4以降において行う。各
X座標点と各針揺動位置との間の対応関係は、針11が
布の最大X座標点と最小X座標点との中央X座標点を貫
く際には針揺動位置が中立位置にあり、かつ、針11が
布の最大X座標点を貫く際には針揺動位置が右端位置に
あり、かつ、針11が布の最小X座標点を貫く際には針
揺動位置が左端位置にあり、かつ、各X座標点が上記中
央X座標点から離れる程、針11の中立位置からの揺動
量が増加するように、決定されるのである。
Next, the CPU 51 sets a distance between each of a plurality of X coordinate points assumed on the X axis within the width H of the embroidery pattern of this time and each of a plurality of swing positions of the needle 11. The work for determining the correspondence relationship of is performed after S4. The correspondence between each X coordinate point and each needle swing position is that the needle swing position is the neutral position when the needle 11 penetrates the center X coordinate point of the maximum X coordinate point and the minimum X coordinate point of the cloth. And when the needle 11 penetrates the maximum X coordinate point of the cloth, the needle swing position is at the right end position, and when the needle 11 penetrates the minimum X coordinate point of the cloth, the needle swing position is It is determined that the swing amount from the neutral position of the needle 11 increases as the X coordinate point is located at the left end position and the X coordinate points are farther from the central X coordinate point.

【0031】まず、CPU51はS4において、刺繍模
様の横幅Hを針揺動ステップ数(=14)で割り算する
ことによって上記X座標点のX座標値Xnを針揺動位置
Nnに換算するための係数k(=2.714・・・)を
演算する。この係数kについて小数点以下があれば、小
数点以下を残す。
First, in S4, the CPU 51 divides the lateral width H of the embroidery pattern by the number of needle swing steps (= 14) to convert the X coordinate value Xn of the X coordinate point into the needle swing position Nn. The coefficient k (= 2.714 ...) Is calculated. If there is a decimal point for this coefficient k, the decimal point is left.

【0032】次に、CPU51はS5において、刺繍模
様の横幅の中心座標(針揺動位置データが0となる点)
のX座標値Zpを最大値Xmax(=38)と最小値X
min(=0)との和を2で除することによって、今回
の模様「A」の横幅の中心座標のX座標値Zp(=1
9)を求める。このX座標値Zpについて小数点以下が
あれば、小数点以下を残す。
Next, in S5, the CPU 51 determines the center coordinates of the lateral width of the embroidery pattern (the point where the needle swing position data becomes 0).
X coordinate value Zp of the maximum value Xmax (= 38) and the minimum value X
By dividing the sum with min (= 0) by 2, the X coordinate value Zp (= 1 of the center coordinate of the width of the pattern “A” this time.
9) is required. If there is a decimal point for this X coordinate value Zp, the decimal point is left.

【0033】次に、CPU51は、模様「A」の各針落
ち点Pnに対する針揺動位置Nnを演算する。
Next, the CPU 51 calculates the needle swing position Nn for each needle drop point Pn of the pattern "A".

【0034】まず、CPU51はS6において、カウン
タnを1に初期化する。
First, the CPU 51 initializes the counter n to 1 in S6.

【0035】次に、CPU51はS7において、針落ち
点P1のX座標値X1から中心座標のX座標値Zpを減
算し、それをS4にて求めた係数kで除算し、小数点以
下は四捨五入することによって点P1 の針揺動位置デー
タN1 を演算して、RAM53の縫目データ領域に記憶
させる。
Next, in S7, the CPU 51 subtracts the X coordinate value Zp of the center coordinate from the X coordinate value X1 of the needle drop point P1, divides it by the coefficient k obtained in S4, and rounds off to the right of the decimal point. By doing so, the needle swing position data N1 at the point P1 is calculated and stored in the stitch data area of the RAM 53.

【0036】そして、CPU51はS8において、この
演算を全部の針落ち点Pnについて行っていないことを
判別し、S9において、カウンタnをインクリメント
し、S7に戻る。そして、S7において針落ち点P1と
同様に針落ち点P2以降について、針揺動位置データN
2 (=−7)を演算し、RAM53の縫目データ領域に
記憶させる。そして全ての針落ち点についての演算が終
了すると、S8においてYESと判断して、CPU51
はS10に進む。ここS7において、演算された各針落
ち点についての針揺動位置データは図12から図14の
表に示してある。尚、参考までに、S7において演算さ
れた針揺動位置を、X座標の値順(0から38)に図1
5の表に示す。
Then, the CPU 51 determines in S8 that this calculation is not performed for all needle drop points Pn, the counter n is incremented in S9, and the process returns to S7. Then, in S7, as with the needle drop point P1, for the needle drop point P2 and thereafter, the needle swing position data N
2 (= -7) is calculated and stored in the stitch data area of the RAM 53. When the calculation for all needle drop points is completed, YES is determined in S8, and the CPU 51
Proceeds to S10. The needle swing position data for each needle drop point calculated in S7 is shown in the tables of FIGS. For reference, the needle swing position calculated in S7 is shown in the order of the X coordinate values (0 to 38) in FIG.
It is shown in the table of No. 5.

【0037】次に、CPU51は、針落ち点毎に縫目を
形成する縫目データと縫目の補正を行うかどうかの目安
とする誤差データとを演算し、RAM53の縫目データ
領域及び誤差領域に記憶させる。この誤差データは、針
11が針孔10に沿って水平釜の回転軸線を中心とした
円弧軌跡上を揺動されることから生じる針の変倚誤差デ
ータと、縦送りのステップモータ43の最初の1ステッ
プ目の送り量がその次以降の1ステップ当りの送り量よ
りも少なくことから生じる送り誤差データとを演算する
ことにより求められる。
Next, the CPU 51 calculates the stitch data for forming the stitch at each needle drop point and the error data which is a standard for determining whether or not to correct the stitch, and determines the stitch data area and the error in the RAM 53. Store in the area. The error data includes the displacement error data of the needle 11 caused by the needle 11 swinging along the needle hole 10 on an arc locus centering on the rotation axis of the horizontal shuttle, and the initial value of the vertical feed step motor 43. Is calculated by calculating the feed error data resulting from the fact that the feed amount of the first step is smaller than the feed amount per subsequent step.

【0038】まず、CPU51はS10において、カウ
ンタjを1に初期化する。
First, the CPU 51 initializes a counter j to 1 in S10.

【0039】次に、CPU51はS11において、針落
ち点P1 の場合、縦送りデータ(=0)を設定し、S1
2において横送りデータ(=0)を設定して、RAM5
2に記憶させる。
Next, in S11, the CPU 51 sets vertical feed data (= 0) for the needle drop point P1, and S1 is set.
2 sets the horizontal feed data (= 0), and RAM5
Store in 2.

【0040】次に、CPU51はS13において、針落
ち点P1 の場合、S7により設定された針揺動位置デー
タにより、針が揺動された時の加工布に対する実際の針
落ち点と、針落ち点メモリ60に記憶された目標とする
針落ち点P1 との針の変倚誤差データを、針11の相対
位置関係から針揺動位置データN0 (=−7)とN1
(=−6)とに対応する図6の誤差量の差として求め
る。故に針落ち点P1 については初回なので、CPU5
1はその差(=0−0.0919=−0.0919m
m)を縫目の補正を行うかどうかの目安とする誤差デー
タとして、RAM53の誤差領域に記憶させる。
Next, in S13, in the case of the needle drop point P1, the CPU 51 uses the needle swing position data set in S7 to determine the actual needle drop point for the work cloth when the needle is swung and the needle drop point. The needle deviation error data stored in the point memory 60 with respect to the target needle drop point P1 is converted into needle swing position data N0 (= -7) and N1 from the relative positional relationship of the needle 11.
It is calculated as the difference between the error amounts in FIG. 6 corresponding to (= −6). Therefore, the needle drop point P1 is the first time, so CPU5
1 is the difference (= 0-0.0919 = -0.0919m
m) is stored in the error area of the RAM 53 as error data that is a standard for determining whether to correct the stitches.

【0041】次に、CPU51はS14において、S1
1で演算した縦送りデータ(=0)より送り誤差データ
が発生しないと演算する。そしてCPU51は、送り誤
差データはS13で演算したままの誤差データを、RA
M53の誤差領域に記憶させる。
Next, the CPU 51 proceeds to S14, where S1
It is calculated that the feed error data does not occur from the vertical feed data (= 0) calculated in 1. Then, the CPU 51 uses the error data that has been calculated in S13 as the feed error data as RA
It is stored in the error area of M53.

【0042】次に、CPU51は、縫目データに補正を
行うかどうかの条件とする補正境界値を設定する。とい
うのは、縦送りモータ43のはじめの1ステップ目の送
り量とその次以降の1ステップ当りの送り量が異なるの
で、縦送りデータを0から1または0から−1に修正し
た場合とそれ以外では、誤差データの修正値が異なるか
らである。
Next, the CPU 51 sets a correction boundary value as a condition for correcting the stitch data. This is because the feed amount in the first step of the vertical feed motor 43 is different from the feed amount in each subsequent step, so that when the vertical feed data is corrected from 0 to 1 or from 0 to -1, This is because the correction value of the error data is different except for.

【0043】まず、CPU51はS15において、縦送
りデータが0であると判断して、S16において、RO
M52より縦送りモータ43のはじめの1ステップの送
り量(=0.24mm)を呼び出して、その0.24m
mを補正境界値として設定する。
First, the CPU 51 determines in S15 that the vertical feed data is 0, and in S16, RO
0.24m by calling the feed amount (= 0.24mm) for the first step of the vertical feed motor 43 from M52.
Set m as the correction boundary value.

【0044】次に、CPU51はS18において、S1
3において演算された変倚誤差データとS14において
演算された送り誤差データとの誤差合計である誤差デー
タ(=−0.0919mm)の絶対値(=0.091
9)がS16で設定された補正境界値(=0.24m
m)よりも大きくなってないことを判断する。次に、C
PU51はS21において、全部の針落ち点Pjについ
て縫目データの作成が終了していないことを判断して、
S22において、カウンタjをインクリメントしてS1
1の処理に戻る。
Next, the CPU 51 proceeds to S18, where S1
The absolute value (= 0.091 mm) of the error data (= -0.0919 mm), which is the total error between the variable error data calculated in 3 and the feed error data calculated in S14.
9) is the correction boundary value set in S16 (= 0.24 m
Judge that it is not larger than m). Then C
In S21, the PU 51 determines that the stitch data has not been created for all needle drop points Pj,
In S22, the counter j is incremented to S1.
Return to processing of 1.

【0045】次に、CPU51はS11において、針落
ち点P2 のY座標のデータ(=4)を読み出し、1針毎
に縦送りによって移動しなければならない送り量Fを現
在の針落ち点P2 のY座標値から一つ前の針落ち点P1
のY座標値(=0)を減算することによって求める。そ
の送り量F(=4)が縦送りステップモータ43のステ
ップ数に相当するので、CPU51は送り量FをRAM
53の縫目データ領域に針落ち点P2 の縦送りデータと
して記憶させる。
Next, in S11, the CPU 51 reads the Y-coordinate data (= 4) of the needle drop point P2 and sets the feed amount F, which must be moved by vertical feed for each stitch, to the current needle drop point P2. The needle drop point P1 immediately before the Y coordinate value
It is obtained by subtracting the Y coordinate value (= 0) of. Since the feed amount F (= 4) corresponds to the number of steps of the vertical feed step motor 43, the CPU 51 stores the feed amount F in the RAM.
It is stored in the stitch data area 53 as vertical feed data for the needle drop point P2.

【0046】次に、CPU51はS12において、針落
ち点P2 のX座標のデータ(=1)を読み出し、1針毎
に横送りによって移動しなければならない送り量Sを現
在の針落ち点P2 のX座標値から一つ前の針落ち点P1
のX座標値(=4)を減算し、更に針落ち点P1 から針
落ち点P2 までの針揺動量(=−1)を減算して求め
る。その送り量S(=−2)が横送りステップモータ4
4のステップ数に相当するので、CPU51は送り量S
をRAM53の縫目データ領域に針落ち点P2 の横送り
データとして記憶させる。
Next, in S12, the CPU 51 reads the X-coordinate data (= 1) of the needle drop point P2 and sets the feed amount S, which must be moved laterally for each stitch, to the current needle drop point P2. The needle drop point P1 immediately before from the X coordinate value
X coordinate value (= 4) is subtracted, and the needle swing amount (= -1) from the needle drop point P1 to the needle drop point P2 is subtracted. The feed amount S (= -2) is the lateral feed step motor 4
Since it corresponds to the number of steps of 4, the CPU 51 sends the feed amount S
Is stored in the stitch data area of the RAM 53 as the lateral feed data of the needle drop point P2.

【0047】次に、CPU51はS13において、実際
の針落ち点と目標とする針落ち点P2 との針の変倚誤差
データを、針揺動位置データN1 (=−6)とN2 (=
−7)とに対応する図6の誤差量の差(=0.0919
−0=+0.0919mm)として演算し、針落ち点P
1 で求めた誤差データ(=−0.0919mm)に針の
変倚誤差データ(=+0.0919mm)を加算して、
RAM53の誤差領域に再演算された誤差データ(=0
mm)を記憶させる。
Next, in S13, the CPU 51 obtains needle displacement error data between the actual needle drop point and the target needle drop point P2 by the needle swing position data N1 (= -6) and N2 (=
-7) and the error amount difference of FIG. 6 corresponding to (= 0.0919
-0 = + 0.0919mm), and the needle drop point P
Add the deviation data (= + 0.0919mm) of the needle to the error data (= -0.0919mm) obtained in 1, and
Error data recalculated in the error area of the RAM 53 (= 0
mm) is memorized.

【0048】次に、CPU51はS14において、S1
1で演算した縦送りデータ(=4)がプラス方向である
ことより送り誤差データ(=−0.1mm)を演算す
る。そして、CPU51はS13で演算された誤差デー
タ(=0mm)にこの送り誤差データ(=−0.1m
m)を加算して、誤差データを再演算するとともに、R
AM53の誤差領域に誤差データ(=−0.1mm)を
記憶させる。
Next, the CPU 51 proceeds to S14, where S1
Since the vertical feed data (= 4) calculated in 1 is in the plus direction, the feed error data (= -0.1 mm) is calculated. Then, the CPU 51 adds the feed error data (= -0.1 m) to the error data (= 0 mm) calculated in S13.
m) is added to recalculate the error data and R
Error data (= -0.1 mm) is stored in the error area of AM53.

【0049】次に、CPU51はS15において、縦送
りデータ(=4)が0でないと判断して、S17におい
て、ROM52より縦送りモータ43の1ステップの送
り量(=0.34mm)を呼び出して、その0.34m
mを補正境界値として設定する。
Next, the CPU 51 determines in S15 that the vertical feed data (= 4) is not 0, and in S17, calls the feed amount (= 0.34 mm) for one step of the vertical feed motor 43 from the ROM 52. , 0.34m
Set m as the correction boundary value.

【0050】次に、CPU51はS15において、誤差
データ(=−0.1mm)の絶対値(=0.1)がS1
7で設定した補正境界値(=0.34mm)よりも大き
くなっていないことを判断する。次に、CPU51はS
21において、全部の針落ち点Pjについて縫目データ
の作成が終了していないことを判断して、S22におい
て、カウンタjをインクリメントしてS11の処理に戻
る。
Next, the CPU 51 determines in S15 that the absolute value (= 0.1) of the error data (= -0.1 mm) is S1.
It is determined that it is not larger than the correction boundary value (= 0.34 mm) set in 7. Next, the CPU 51 executes S
In 21, it is determined that the stitch data has not been created for all needle drop points Pj, and in S22, the counter j is incremented and the process returns to S11.

【0051】同様の演算を行っていき針落ち点P4 の場
合について説明すると、CPU51はS11において、
針落ち点P4 のY座標のデータ(=14)を読み出し、
現在の針落ち点P4 のY座標値から針落ち点P3 のY座
標値(=10)を減算することによって送り量F(=
4)を求め、RAM53の縫目データ領域に針落ち点P
4 の縦送りデータとして送り量Fを記憶させる。
Explaining the case of the needle drop point P4 by performing the same calculation, the CPU 51 determines in S11 that
Read the Y coordinate data (= 14) of the needle drop point P4,
By subtracting the Y coordinate value (= 10) of the needle drop point P3 from the Y coordinate value of the current needle drop point P4, the feed amount F (=
4) is obtained and the needle drop point P is set in the stitch data area of the RAM 53.
The feed amount F is stored as the vertical feed data of 4.

【0052】次に、CPU51はS12において、針落
ち点P4 のX座標のデータ(=4)を読み出し、現在の
針落ち点P4 のX座標値から針落ち点P3 のX座標値
(=0)を減算し、更に針落ち点P3 から針落ち点P4
までの針揺動量(=+1)を減算して送り量S(=3)
を求め、RAM53の縫目データ領域に針落ち点P4 の
横送りデータとして送り量Sを記憶させる。
Next, in S12, the CPU 51 reads the X coordinate data (= 4) of the needle drop point P4, and from the X coordinate value of the current needle drop point P4, the X coordinate value (= 0) of the needle drop point P3. Is subtracted, and the needle drop point P3 to the needle drop point P4
Feed amount S (= 3) by subtracting the needle swing amount (= + 1) up to
Then, the feed amount S is stored in the stitch data area of the RAM 53 as the lateral feed data of the needle drop point P4.

【0053】次に、CPU51はS13において、実際
の針落ち点と目標とする針落ち点P4 との針の変倚誤差
データを、針揺動位置データN3 (=−7)とN4 (=
−6)とに対応する図6の誤差量の差(=0−0.09
19=−0.0919mm)として演算し、針落ち点P
3 で求めた誤差データ(=−0.2mm)に針の変倚誤
差データ(=−0.0919mm)を加算し、RAM5
3の誤差領域に誤差データ(=−0.2919mm)を
記憶させる。
Next, in S13, the CPU 51 obtains needle displacement error data between the actual needle drop point and the target needle drop point P4 by the needle swing position data N3 (= -7) and N4 (=
-6) and the difference in the error amount of FIG. 6 (= 0-0.09
19 = -0.0919 mm), and the needle drop point P
The error data of the needle (= -0.0919 mm) is added to the error data (= -0.2 mm) obtained in 3, and RAM5
The error data (= -0.2919 mm) is stored in the error area of 3.

【0054】次に、CPU51はS14において、S1
1で演算した縦送りデータ(=4)がプラス方向である
ことより送り誤差データ(=−0.1mm)を設定す
る。そして、S13で演算した誤差データ(=−0.2
919mm)にこの送り誤差データ(=−0.1mm)
を加算して、誤差データを再演算するとともに、RAM
53の誤差領域に誤差データ(=−0.3919mm)
を記憶させる。
Next, the CPU 51 advances to S1 in S14.
Since the vertical feed data (= 4) calculated in 1 is in the plus direction, the feed error data (= -0.1 mm) is set. The error data calculated in S13 (= -0.2
This feed error data (= -0.1 mm)
Is added to recalculate the error data and RAM
Error data in the error area of 53 (= -0.3919 mm)
Memorize

【0055】次に、CPU51はS15において、縦送
りデータ(=4)が0でないと判断して、S17におい
て、ROM52より縦送りモータ43の1ステップの送
り量(=0.34mm)を呼び出して、その0.34m
mを補正境界値として設定する。
Next, in S15, the CPU 51 determines that the vertical feed data (= 4) is not 0, and in S17, calls the one-step feed amount (= 0.34 mm) of the vertical feed motor 43 from the ROM 52. , 0.34m
Set m as the correction boundary value.

【0056】次に、CPU51はS18において、誤差
データ(=−0.3919mm)の絶対値(=0.39
19)がS17で設定された補正境界値(=0.34m
m)よりも大きくなったことを判断する。
Next, the CPU 51 determines in S18 the absolute value (= 0.39) of the error data (= -0.3919 mm).
19) is the correction boundary value set in S17 (= 0.34 m
It is judged that it has become larger than m).

【0057】次に、CPU51はS19において、誤差
の発生方向とは逆の方向の縦送り1ピッチ分の縫目デー
タを書き換える。それにはCPU51は、針落ち点P4
の誤差データ(=−0.3919mm)の符号を判別
し、誤差がマイナス方向に発生していると判断し、縦送
りデータ(=4)へ1を加算する。
Next, in S19, the CPU 51 rewrites the stitch data for one vertical feed pitch in the direction opposite to the direction in which the error occurs. To this end, the CPU 51 determines that the needle drop point P4
The sign of the error data (= -0.3919 mm) is determined, it is determined that the error occurs in the negative direction, and 1 is added to the vertical feed data (= 4).

【0058】次に、CPU51はS20において、先の
S19の縦送りデータの書き換えの方向に対応して、加
算しているのでS14で演算した誤差データ(=−0.
3919mm)に正の縦送りの1ピッチ分(=0.34
mm)を加算する。そして、CPU51は、RAM53
の誤差領域に再演算した誤差データ(=−0.0519
mm)を記憶させる。
Next, in S20, the CPU 51 adds in accordance with the rewriting direction of the vertical feed data in S19, so the error data calculated in S14 (= -0.
One pitch of positive vertical feed to 3919 mm (= 0.34)
mm) is added. And CPU51 is RAM53.
Error data (= -0.0519)
mm) is memorized.

【0059】次に、CPU51はS21において、全部
の針落ち点Pjについて縫目データの作成が終了してい
ないことを判断して、S22において、カウンタjをイ
ンクリメントしてS11の処理に戻る。
Next, in S21, the CPU 51 determines that the stitch data has not been created for all needle drop points Pj, and in S22, the counter j is incremented and the process returns to S11.

【0060】以下同様にして演算を行っていき針落ち点
P22の場合について説明すると、CPU51は、S11
において縦送りデータ(=−1)、S12において横送
りデータ(=−3)、S13において変倚誤差データ
(=+0.1691mm)と誤差データ(=+0.42
mm)、S14において送り誤差データ(=+0.1m
m)と誤差データ(=+0.52mm)を演算し、RA
M53の縫目データ領域と誤差領域にそれぞれを記憶さ
せる。
In the following, the same calculation is performed and the case of the needle drop point P22 will be described.
For vertical feed data (= -1), for S12 horizontal feed data (= -3), for S13 variable error data (= + 0.1691 mm) and error data (= + 0.42).
mm), feed error data in S14 (= +0.1 m
m) and error data (= + 0.52 mm) are calculated, and RA
Each is stored in the stitch data area and the error area of M53.

【0061】次に、CPU51はS15において、縦送
りデータ(=4)が0でないと判断して、S17におい
て補正境界値(=0.34mm)を設定する。
Next, in S15, the CPU 51 determines that the vertical feed data (= 4) is not 0, and sets a correction boundary value (= 0.34 mm) in S17.

【0062】次に、CPU51はS18において、誤差
データ(=+0.52mm)の絶対値(=0.52)が
S17で設定された補正境界値(=0.34mm)より
も大きくなったことを判断する。
Next, in S18, the CPU 51 confirms that the absolute value (= 0.52) of the error data (= + 0.52 mm) becomes larger than the correction boundary value (= 0.34 mm) set in S17. to decide.

【0063】次に、CPU51はS19において、誤差
の発生方向とは逆の方向の縦送り1ピッチ分の縫目デー
タを書き換える。それにはCPU51は、針落ち点P22
の誤差データ(=+0.52mm)の符号を判別し、誤
差がプラス方向に発生していると判断し、縦送りデータ
(=−1)から1を減算する。
Next, in S19, the CPU 51 rewrites the stitch data for one vertical feed pitch in the direction opposite to the direction in which the error occurs. To do this, the CPU 51 sets the needle drop point P22.
The sign of the error data (= + 0.52 mm) is determined, it is determined that the error occurs in the plus direction, and 1 is subtracted from the vertical feed data (= -1).

【0064】次に、CPU51はS20において、先の
S19の縦送りデータの書き換えの方向に対応して、減
算しているのでS14で演算した誤差データ(=+0.
52mm)に逆の縦送りの1ピッチ分(=0.34m
m)を減算する。そして、CPU51は、RAM53の
誤差領域に再演算した誤差データ(=+0.18mm)
を記憶させ、同様にS21,S22を経て、S11の処
理に戻る。
Next, in S20, the CPU 51 subtracts in accordance with the rewriting direction of the vertical feed data in S19, so the error data calculated in S14 (= + 0.
52 mm), which is one vertical pitch (= 0.34 m)
Subtract m). Then, the CPU 51 recalculates error data (= + 0.18 mm) in the error area of the RAM 53.
Is stored, and similarly, through S21 and S22, the process returns to S11.

【0065】この後も同様にして針落ち点の縫目データ
が図12から図14に示すように作成され、以下の針落
ち点で下記のような縦送りデータに対して書き換えを行
う。
After this, similarly, stitch data at the needle drop points are created as shown in FIGS. 12 to 14, and the following vertical feed data is rewritten at the following needle drop points.

【0066】針落ち点P4 で縦送りデータに、1を加算
する。
At the needle drop point P4, 1 is added to the vertical feed data.

【0067】針落ち点P5 で縦送りデータに、1を加算
する。
At the needle drop point P5, 1 is added to the vertical feed data.

【0068】針落ち点P8 で縦送りデータに、1を加算
する。
At the needle drop point P8, 1 is added to the vertical feed data.

【0069】針落ち点P22で縦送りデータに、1を減算
する。
At the needle drop point P22, 1 is subtracted from the vertical feed data.

【0070】針落ち点P30で縦送りデータに、1を減算
する。
At the needle drop point P30, 1 is subtracted from the vertical feed data.

【0071】針落ち点P36で縦送りデータに、1を加算
する。
At the needle drop point P36, 1 is added to the vertical feed data.

【0072】そして、針落ち点P37の縫目データまで作
成した後、CPU51はS21において、全部の針落ち
点Pjについて縫目データの作成が終了していることを
判断して、縫目データ作成のためのプログラムを終了す
る。
After creating the stitch data of the needle drop point P37, the CPU 51 determines in S21 that the creation of the stitch data has been completed for all the needle drop points Pj and creates the stitch data. Exit the program for.

【0073】このようにして縫目データの作成が終了す
ると、作成者は、ミシンに装着される縫目データメモリ
33をPROMライター61に装着して縫目データメモ
リ33にRAM53の縫目データ領域の縫目データを記
憶させるのである。こうして、縫目データを記憶した縫
目データメモリ33をミシンに装着すれば、縫目模様
(本実施例では模様「A」)を型くずれすることなしに
形成することが可能となるのである。
When the creation of the stitch data is completed in this way, the creator attaches the stitch data memory 33 to be mounted on the sewing machine to the PROM writer 61 and causes the stitch data memory 33 to store the stitch data area in the RAM 53. The stitch data of is stored. Thus, by mounting the stitch data memory 33 storing the stitch data on the sewing machine, the stitch pattern (the pattern "A" in this embodiment) can be formed without losing its shape.

【0074】ここで、CPU51のS7,S12の処理
が本発明の縫目データ演算手段に相当し、S13〜S2
0の処理が本発明の縫目データ補正手段に相当するので
ある。
Here, the processes of S7 and S12 of the CPU 51 correspond to the stitch data calculation means of the present invention, and S13 to S2.
The processing of 0 corresponds to the stitch data correcting means of the present invention.

【0075】尚、本発明は前述の実施例にのみ限定され
るものではなく、その主旨を逸脱しない範囲内において
のみ種々の変形が可能である。例えば、本実施例におい
ては、縫目データの縦送りデータを書き換える条件の誤
差が補正境界値と等しくなったときとし、補正境界値を
縦送りステップモータ43の1ステップの送り量分とし
たが、この補正境界値を、例えば縦送りステップモータ
43の1ステップの送り量の半分として縦送りデータを
書き換えれば、目標針落ち点により近い点に針が落ちる
様なデータを作成できるのは明らかである。
It should be noted that the present invention is not limited to the above-described embodiments, and various modifications can be made without departing from the spirit of the invention. For example, in the present embodiment, it is assumed that the error in the condition for rewriting the vertical feed data of the stitch data is equal to the correction boundary value, and the correction boundary value is the feed amount of one step of the vertical feed step motor 43. By rewriting the vertical feed data by using this corrected boundary value as, for example, half the feed amount of one step of the vertical feed step motor 43, it is clear that data can be created such that the needle falls to a point closer to the target needle drop point. is there.

【0076】[0076]

【発明の効果】以上詳述したことから明らかなように、
本発明は、針落ち点データ記憶手段に複数の針落ち点の
各々の、縦方向における位置を規定する縦方向位置デー
タと横方向における位置を規定する横方向位置データと
を記憶させれば、縫目データ演算手段が針落ち点の縦方
向位置データから送り歯の縦送りデータを針落ち点毎に
演算するとともに、針落ち点の横方向位置データから針
揺動位置データを針落ち点毎に演算し、縫目データ補正
手段が縫目データ演算手段により演算された複数の針揺
動位置の各々の円弧軌跡の弦からの変倚誤差を演算する
とともに、縫目データ演算手段によって演算された送り
量と送り具による加工布の送り量との送り誤差を演算
し、その変倚誤差と送り誤差とを解消すべく縫目データ
を補正演算するように構成されているので、針揺動に伴
う縦送り方向の誤差を解消した状態の送り歯の縦送りデ
ータと針揺動位置データとを自動的に作成し得、所望の
形状をなす縫目模様の縫目模様データを短時間にて作成
することができるという効果を有する。
As is clear from the above description,
According to the present invention, if the needle drop point data storage means stores the vertical position data that defines the vertical position and the horizontal position data that defines the horizontal position of each of the plurality of needle drop points, The stitch data calculation means calculates the vertical feed data of the feed dog for each needle drop point from the vertical position data of the needle drop point, and the needle swing position data for each needle drop point from the lateral position data of the needle drop point. The stitch data correction means calculates the displacement error from the chord of the arc locus of each of the plurality of needle swing positions calculated by the stitch data calculation means, and is calculated by the stitch data calculation means. The feed error between the feed amount and the feed amount of the work cloth fed by the feed device is calculated, and the stitch data is corrected and calculated to eliminate the variation error and the feed error. Error in the vertical feed direction due to The effect that the vertical feed data and the needle swing position data of the feed dog in the canceled state can be automatically created, and the stitch pattern data of the stitch pattern having a desired shape can be created in a short time. Have.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明を表すブロック図である。FIG. 1 is a block diagram showing the present invention.

【図2】ミシンの針と送り歯と釜との関係を示す説明図
である。
FIG. 2 is an explanatory diagram showing a relationship among a needle, a feed dog, and a shuttle of the sewing machine.

【図3】縫目データにより動作されるミシンのブロック
図である。
FIG. 3 is a block diagram of a sewing machine operated by stitch data.

【図4】送り歯による加工布の縦方向の送り量とステッ
プモータのステップ数の関係を示す説明図である。
FIG. 4 is an explanatory diagram showing a relationship between a vertical feed amount of a work cloth by a feed dog and the number of steps of a step motor.

【図5】針の揺動軌跡と揺動位置とを示す説明図であ
る。
FIG. 5 is an explanatory diagram showing a swing locus and a swing position of a needle.

【図6】針の揺動位置と誤差量との関係を示す説明図で
ある。
FIG. 6 is an explanatory diagram showing a relationship between a swing position of a needle and an error amount.

【図7】本発明を具体化した一実施例のデータ作成装置
のブロック図である。
FIG. 7 is a block diagram of a data creation device according to an embodiment of the present invention.

【図8】データ作成装置のCPU51の動作を示すフロ
ーチャートである。
FIG. 8 is a flowchart showing an operation of the CPU 51 of the data creation device.

【図9】縫目データを作成する際に使用される座標系を
示す説明図である。
FIG. 9 is an explanatory diagram showing a coordinate system used when creating stitch data.

【図10】縫目模様「A」の針落ち位置を示す説明図で
ある。
FIG. 10 is an explanatory diagram showing a needle drop position of a stitch pattern “A”.

【図11】縫目模様「A」の針落ち位置の各々の位置デ
ータを示す表である。
FIG. 11 is a table showing position data of respective needle drop positions of the stitch pattern “A”.

【図12】データ作成装置のRAM53の縫目データ領
域に記憶された縫目データを示す表である。
FIG. 12 is a table showing stitch data stored in a stitch data area of a RAM 53 of the data creation device.

【図13】データ作成装置のRAM53の縫目データ領
域に記憶された縫目データを示す表である。
FIG. 13 is a table showing stitch data stored in a stitch data area of a RAM 53 of the data creation device.

【図14】データ作成装置のRAM53の縫目データ領
域に記憶された縫目データを示す表である。
FIG. 14 is a table showing stitch data stored in a stitch data area of a RAM 53 of the data creation device.

【図15】縫目データを作成する際に使用されるX座標
の各々に対する針揺動位置データを示す表である。
FIG. 15 is a table showing needle swing position data for each X coordinate used when creating stitch data.

【符号の説明】[Explanation of symbols]

10 針孔 11 針 13 水平釜 20 送り歯 33 縫目データメモリ 42 針揺動ステップモータ 43 縦送りステップモータ 44 横送りステップモータ 50 データ作成装置 51 CPU 52 ROM 53 RAM 60 針落ち点メモリ 10 Needle hole 11 Needle 13 Horizontal hook 20 Feed dog 33 Stitch data memory 42 Needle swing step motor 43 Vertical feed step motor 44 Horizontal feed step motor 50 Data creation device 51 CPU 52 ROM 53 RAM 60 Needle entry point memory

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 送り具の縦送り量を規定する縦送りデー
タと針の揺動位置を規定する針揺動位置データとを一組
として構成された縫目データに基づき、前記送り具を縦
方向に移動させるとともに、前記針を水平釜の外周に沿
った円弧軌跡上で揺動させることにより加工布に対する
針落ち点を移動させて縫目模様を形成するようにしたミ
シンのための縫目データ作成装置であって、 前記複数の針落ち点の各々の、前記縦方向における位置
を規定する縦方向位置データと前記横方向における位置
を規定する横方向位置データとを記憶する針落ち点デー
タ記憶手段と、 前記針落ち点の縦方向位置データから前記送り具の縦送
りデータを針落ち点毎に演算するとともに、前記針落ち
点の横方向位置データから前記針揺動位置データを針落
ち点毎に演算する縫目データ演算手段と、 演算された複数の針揺動位置の各点に対する前記円弧軌
跡の弦からの変倚誤差を演算するとともに、前記縫目デ
ータ演算手段によって演算された送り量と前記送り具に
よる加工布の送り量との送り誤差を演算し、その変倚誤
差と送り誤差との累積値を演算し、前記変倚誤差と送り
誤差との累積値が所定の値を越えた場合、前記変倚誤差
と送り誤差とを解消すべく前記縫目データ演算手段によ
り作成された縫目データを補正演算する縫目データ補正
手段とを有することを特徴とするミシンのための縫目デ
ータ作成装置。
1. A longitudinal direction of the feeding device is defined based on stitch data composed of a set of vertical feed data defining the vertical feed amount of the feeding device and needle rocking position data defining the rocking position of the needle. Stitches for a sewing machine in which the needle drop point for the work cloth is moved by moving the needle in a circular arc path along the outer circumference of the horizontal shuttle while forming a stitch pattern. A data creating device, wherein each of the plurality of needle drop points stores vertical position data that defines a position in the vertical direction and lateral position data that defines a horizontal position data that defines a position in the horizontal direction. The storage unit and the vertical position data of the needle drop point are used to calculate the vertical feed data of the feed tool for each needle drop point, and the needle swing position data is also dropped from the lateral position data of the needle drop point. Calculate point by point Stitch data calculation means for calculating the displacement error from the chord of the arc locus for each of the calculated plurality of needle swing positions, and the feed amount calculated by the stitch data calculation means and the When the feed error with the feed amount of the work cloth by the feed tool is calculated, the cumulative value of the variation error and the feed error is calculated, and the cumulative value of the variation error and the feed error exceeds a predetermined value. Stitch data for a sewing machine, the stitch data correcting unit correcting and correcting the stitch data created by the stitch data calculating unit so as to eliminate the variation error and the feed error. Creation device.
【請求項2】 前記縫目データ補正手段おいて、前記変
倚誤差と送り誤差とを解消するために補正演算される縫
目データが、前記送り具の縦送り量を規定する縦送りデ
ータであることを特徴とする請求項1のミシンのための
縫目データ作成装置。
2. The stitch data corrected by the stitch data correcting means in order to eliminate the displacement error and the feed error is vertical feed data that defines the vertical feed amount of the feed tool. 2. A stitch data creating device for a sewing machine according to claim 1, wherein
JP5177092A 1992-03-10 1992-03-10 Seam data composing device for sewing machine Pending JPH05253368A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5177092A JPH05253368A (en) 1992-03-10 1992-03-10 Seam data composing device for sewing machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5177092A JPH05253368A (en) 1992-03-10 1992-03-10 Seam data composing device for sewing machine

Publications (1)

Publication Number Publication Date
JPH05253368A true JPH05253368A (en) 1993-10-05

Family

ID=12896187

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5177092A Pending JPH05253368A (en) 1992-03-10 1992-03-10 Seam data composing device for sewing machine

Country Status (1)

Country Link
JP (1) JPH05253368A (en)

Similar Documents

Publication Publication Date Title
JPH05123470A (en) Embroidery sewing machine of electronic control type
JP2006187417A (en) Sewing machine
JPH05253368A (en) Seam data composing device for sewing machine
JPH05253371A (en) Seam data composing device for sewing machine
JPH05253372A (en) Seam data composing device for sewing machine
JPH05253369A (en) Seam data composing device for sewing machine
JP4464546B2 (en) Electronic staggered sewing machine
JPH05253366A (en) Seam data composing device for sewing machine
JPH05253370A (en) Seam data composing device for sewing machine
JPH0631063A (en) Seam data generating device for sewing machine
JPH05137859A (en) Stitch data preparing device for sewing machine
JPH0631066A (en) Seam data generating device for sewing machine
JPH05137860A (en) Stitch data preparing device for sewing machine
JP2764631B2 (en) Stop sewing controller of sewing machine
JPH0667425B2 (en) Sewing system
JP4133957B2 (en) Lower thread detection sewing machine that can sew a continuous pattern
JPS60872B2 (en) Pattern forming position setting device for automatic sewing machines
JPH0523458A (en) Sewing machine control data generating device
JPH11188187A (en) Electronic control type pattern sewing machine
JPH04288191A (en) Embroidery data making device
JPH0675622B2 (en) Sewing equipment
JP3973237B2 (en) Lower thread detection sewing machine that can sew a continuous pattern
JP3146458B2 (en) Electronically controlled pattern sewing machine
KR20040094371A (en) Electric zigzag sewing machine
JPH05161767A (en) Pattern data generating device