[go: up one dir, main page]

JPH0871275A - Motor control device for xy moving mechanism - Google Patents

Motor control device for xy moving mechanism

Info

Publication number
JPH0871275A
JPH0871275A JP21373994A JP21373994A JPH0871275A JP H0871275 A JPH0871275 A JP H0871275A JP 21373994 A JP21373994 A JP 21373994A JP 21373994 A JP21373994 A JP 21373994A JP H0871275 A JPH0871275 A JP H0871275A
Authority
JP
Japan
Prior art keywords
movement
axis direction
axis
motor
amount
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
JP21373994A
Other languages
Japanese (ja)
Inventor
Ikuo Tajima
郁夫 田島
Hideo Hasegawa
英男 長谷川
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.)
Tokai Kogyo Sewing Machine Co Ltd
Original Assignee
Tokai Kogyo Sewing Machine Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tokai Kogyo Sewing Machine Co Ltd filed Critical Tokai Kogyo Sewing Machine Co Ltd
Priority to JP21373994A priority Critical patent/JPH0871275A/en
Publication of JPH0871275A publication Critical patent/JPH0871275A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE: To smoothly feed an object from a shift position to the next shift position according to the stitch data. CONSTITUTION: An X-axis motor 30 moves an object by a shift quantity (ΔX) in the X-direction, and a Y-axis motor 40 moves the object by a shift quantity (ΔY) in the Y-axis direction based on the shift quantities (ΔX, ΔY) of the stitch data 10 inputted to a stitch data input means 22. A drive signal output means 24 outputs drive signals to the X-axis motor 30 and Y-axis motor 40 respectively to concurrently drive them so that the speed ratio between the X-axis direction and the Y-axis direction in an optional time is made equal to the ratio between the shift quantity (ΔX) in the X-axis direction and the shift quantity (ΔY) in the Y-axis direction during the shift of the object. The object is not moved in the X-axis direction only or in the Y-axis direction only, and it is straightly and smoothly moved from a shift position to the next shift position.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はXY移動機構のためのモ
ータ制御装置に関し、特にステッチデータに従って対象
物の送りを制御する技術に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a motor controller for an XY moving mechanism, and more particularly to a technique for controlling the feeding of an object according to stitch data.

【0002】[0002]

【従来の技術】一般的な刺繍ミシンでは、上下動する針
棒を備えたヘッドの下方において、刺繍枠に保持された
被刺繍物(これは対象物の一つである)がXY平面上で
水平方向に移動するように構成されている。その刺繍枠
の移動を制御するために、XY平面上の相対移動量を個
々に数値化したステッチデータが用いられる。なお、ス
テッチデータを集合させ、柄の全体を刺繍するためのデ
ータが「柄データ」である。
2. Description of the Related Art In a general embroidery sewing machine, an embroidered object (which is one of the objects) held by an embroidery frame is located on an XY plane below a head having a needle bar that moves up and down. It is configured to move horizontally. In order to control the movement of the embroidery frame, stitch data in which the relative movement amount on the XY plane is digitized individually is used. The data for collecting stitch data and embroidering the entire pattern is “pattern data”.

【0003】上記のステッチデータに従って刺繍枠の移
動を制御する刺繍ミシンについて、図15と図16を参
照しつつ説明する。まず、パルスモータを用いて刺繍枠
を移動させる場合について、図15を参照しつつ説明す
る。図15(A)において、ある位置Pd-1 から次の位
置Pd へ送り、その後次の位置Pd から次々の位置Pd+
1 へ刺繍枠を送る場合には、図15(B)に示すような
パルスを出力する。すなわち、刺繍枠をX軸方向に移動
させるX軸パルスモータとY軸方向に移動させるY軸パ
ルスモータのそれぞれに、基本周期をΔTとするパルス
を移動距離に対応する個数分だけ送る。
An embroidery sewing machine which controls the movement of the embroidery frame according to the stitch data will be described with reference to FIGS. 15 and 16. First, a case where the embroidery frame is moved using the pulse motor will be described with reference to FIG. In FIG. 15 (A), one position Pd-1 is sent to the next position Pd, and then the next position Pd is moved to the next position Pd +.
When sending the embroidery frame to 1, a pulse as shown in FIG. 15 (B) is output. That is, as many pulses as the basic period ΔT are sent to each of the X-axis pulse motor that moves the embroidery frame in the X-axis direction and the Y-axis pulse motor that moves the embroidery frame in the Y-axis direction.

【0004】図に示す例では、ある位置Pd-1 から次の
位置Pd の間では、X軸パルスモータに4パルス送り、
Y軸パルスモータに6パルス送っている。同様に、次の
位置Pd から次々の位置Pd+1 の間では、X軸パルスモ
ータに6パルス送り、Y軸パルスモータに4パルス送っ
ている。また、X軸・Y軸パルスモータに対するパルス
は、図示する期間ΔT1の間に送られ、期間ΔT2の間
には送られない。ここで、期間ΔT1は針棒が被刺繍物
の上方にあって、針棒と被刺繍物の相対移動が可能な期
間である。また、期間ΔT2は針棒が被刺繍物に刺さっ
ており、針棒と被刺繍物の相対移動が不適当な期間であ
る。
In the example shown in the figure, four pulses are fed to the X-axis pulse motor between a certain position Pd-1 and the next position Pd.
6 pulses are sent to the Y-axis pulse motor. Similarly, between the next position Pd and the next position Pd + 1, 6 pulses are sent to the X-axis pulse motor and 4 pulses are sent to the Y-axis pulse motor. Also, the pulses for the X-axis and Y-axis pulse motors are sent during the illustrated period ΔT1 and not during the period ΔT2. Here, the period ΔT1 is a period in which the needle bar is above the embroidered object and the needle bar and the embroidered object can move relative to each other. Further, the period ΔT2 is a period in which the needle bar pierces the embroidered object and the relative movement of the needle bar and the embroidered object is inappropriate.

【0005】ここで、位置Pd-1 から位置Pd へ送る際
には、時刻t20から時刻t22まではXY同軸で送り
(この結果、45度方向に移動する)、時刻t22から
時刻t24まではY軸方向にのみ送る。その後、時刻t
24から時刻t26までは刺繍枠を停止させる。同様
に、位置Pd から位置Pd+1 へ送る際には、時刻t26
から時刻t28まではXY同軸で送り(この結果、45
度方向に移動する)、時刻t28から時刻t30までX
軸方向にのみ送る。その後、時刻t24から時刻t26
までは刺繍枠を停止させる。上記のパルスモータの制御
は最も簡単な制御法であり、実際の刺繍枠は図15
(A)に破線で示すような軌跡でヘッドと相対的に送ら
れることになる。しかし、縫い針が被刺繍物に刺さるの
は刺繍枠が停止しているときであるため、実際の縫い目
は実線で示すものとなる。
Here, when sending from position Pd-1 to position Pd, it is sent from time t20 to time t22 by XY coaxial (as a result, it moves in the direction of 45 degrees), and from time t22 to time t24 Y. Send only in the axial direction. After that, time t
The embroidery frame is stopped from 24 to time t26. Similarly, when sending from position Pd to position Pd + 1, time t26
From time t28 to XY coaxial transmission (as a result, 45
Move in degrees), X from time t28 to time t30
Send only in the axial direction. Then, from time t24 to time t26
Until the embroidery frame is stopped. The above pulse motor control is the simplest control method, and the actual embroidery frame is shown in FIG.
It is sent relative to the head along the locus shown by the broken line in (A). However, since the sewing needle sticks into the embroidered object when the embroidery frame is stopped, the actual seam is shown by the solid line.

【0006】次に、サーボモータを用いて刺繍枠を移動
させる場合について、図16を参照しつつ説明する。な
お、図15と同一の要素や時刻には同一の番号を付し、
説明を省略する。また、図15(A)に示す場合と同様
に、刺繍枠はある位置Pd-1から次の位置Pd へ送り、
その後次の位置Pd から次々の位置Pd+1 へ送るものと
する。この場合、図16(B)に示すような加減速を伴
う速度パターンfxa,fyaに従って、X軸サーボモータ
とY軸サーボモータのそれぞれに駆動電圧を出力する。
この駆動電圧が大きくなるにつれてサーボモータの回転
数が高くなり、結果として刺繍枠の移動速度も比例して
大きくなる。
Next, the case where the embroidery frame is moved by using the servo motor will be described with reference to FIG. The same elements and times as those in FIG. 15 are assigned the same numbers,
Description is omitted. Further, as in the case shown in FIG. 15A, the embroidery frame is sent from one position Pd-1 to the next position Pd,
After that, the data is sent from the next position Pd to the next position Pd + 1. In this case, the drive voltage is output to each of the X-axis servo motor and the Y-axis servo motor according to the speed patterns fxa and fya with acceleration / deceleration as shown in FIG.
The rotation speed of the servo motor increases as the drive voltage increases, and as a result, the moving speed of the embroidery frame also increases proportionally.

【0007】具体的に、位置Pd-1 から位置Pd へ送る
際には、時刻t20でXY同軸で加速し始め、まずX軸
サーボモータが時刻t21で減速を終了し、その後にY
軸サーボモータが時刻t23で減速を終了する。同様
に、位置Pd から位置Pd+1 へ送る際には、時刻t26
でXY同軸で加速し始め、まずY軸サーボモータが時刻
t27で減速を終了し、その後にX軸サーボモータが時
刻t29で減速を終了する。上記のサーボモータの制御
は最も簡単な制御法であり、実際の刺繍枠は図16
(A)に破線で示すような軌跡でヘッドと相対的に送ら
れることになる。しかし、パルスモータの場合と同様
に、縫い針が被刺繍物に刺さるのは刺繍枠が停止してい
るときであるため、実際の縫い目は実線で示すものとな
る。
Specifically, when sending from the position Pd-1 to the position Pd, acceleration starts coaxially with XY at time t20, the X-axis servomotor first finishes decelerating at time t21, and then Y
The axis servo motor ends deceleration at time t23. Similarly, when sending from position Pd to position Pd + 1, time t26
Then, the Y-axis servo motor finishes decelerating at time t27, and then the X-axis servo motor finishes decelerating at time t29. The above-mentioned control of the servo motor is the simplest control method, and the actual embroidery frame is shown in FIG.
It is sent relative to the head along the locus shown by the broken line in (A). However, as in the case of the pulse motor, since the sewing needle sticks into the embroidered object when the embroidery frame is stopped, the actual stitches are shown by solid lines.

【0008】ところで、レーザ裁断装置をヘッドに有す
る装置では、レーザ光を連続的に照射して対象物(例え
ば、布生地や皮革)を裁断する。この装置の場合も、対
象物がXY平面上で水平方向に移動されるように構成さ
れている点は刺繍ミシンの場合と同じである。その反
面、裁断による切り口を連続した滑らかなものにするた
めに、対象物を連続的に送る。また、連続的に送るため
には、被刺繍物とレーザ光の相対位置関係を示す専用の
データが必要になる。このようなレーザ光による裁断装
置は、例えば特公昭63−3632号公報で開示されて
いる。なお、この技術は、高圧の水を対象物に当てて裁
断する水裁断装置や、インクを対象物に吹き付けるイン
クジェット装置を備えた彩色装置等のように、対象物に
対して連続的に作動する連続作動装置(連続作動手段)
の場合にも同様に適用することができる。
By the way, in an apparatus having a laser cutting device in the head, laser light is continuously irradiated to cut an object (for example, cloth or leather). This device is also the same as the embroidery sewing machine in that the object is configured to move in the horizontal direction on the XY plane. On the other hand, the object is continuously fed in order to make the cut edge continuous and smooth. Further, in order to send continuously, dedicated data indicating the relative positional relationship between the embroidered object and the laser light is required. Such a cutting device using laser light is disclosed in, for example, Japanese Patent Publication No. 63-3632. It should be noted that this technique continuously operates on an object, such as a water cutting device that applies high-pressure water to the object to cut it, or a coloring device that includes an inkjet device that sprays ink onto the object. Continuous operation device (continuous operation means)
The same can be applied to the case.

【0009】[0009]

【発明が解決しようとする課題】しかし、上記の特公昭
63−3632号公報で開示されている技術では、ステ
ッチデータとは別に専用のデータを作成する必要がある
ため、手間がかかるという問題がある。また、刺繍ミシ
ンのヘッドにレーザ裁断装置を設け、ステッチデータに
従って被刺繍物を裁断しようとしても、一定の方向を除
いて意図する軌跡で裁断が行われない。すなわち、X軸
やY軸に沿って移動する場合や、45度方向に移動する
場合を除いて直線にならず、ギザギザになってしまう。
例えば、パルスモータの場合には図15(A)に破線で
示すような軌跡で、サーボモータの場合には図16
(A)に破線で示すような軌跡で被刺繍物が裁断される
ことになる。
However, in the technique disclosed in the above Japanese Patent Publication No. 63-3632, it is necessary to create dedicated data in addition to the stitch data, which is troublesome. is there. Further, even if a laser cutting device is provided on the head of the embroidery sewing machine and an object to be embroidered is cut according to the stitch data, the cutting is not performed in an intended locus except for a certain direction. That is, except when moving along the X-axis or Y-axis, or when moving in the 45-degree direction, the line becomes jagged and becomes jagged.
For example, in the case of a pulse motor, the locus shown by the broken line in FIG.
The object to be embroidered is cut along the locus shown by the broken line in (A).

【0010】本発明はこのような点に鑑みてなされたも
のであり、第1の課題は、ある位置から次の位置へ対象
物を直線的に送ることである。第2の課題は、対象物を
連続的に送ることである。第3の課題は、ヘッドと対象
物の間の相対速度を一定にすることである。
The present invention has been made in view of the above circumstances, and a first object is to linearly feed an object from one position to the next position. The second problem is to send the object continuously. The third problem is to make the relative speed between the head and the object constant.

【0011】[0011]

【課題を解決するための第1の手段】本出願の請求項1
に記載された発明は、図1に模式的に示すように、対象
物をX軸方向に送るX軸モータ30と、前記対象物をY
軸方向に送るY軸モータ40を備え、そのX軸モータ3
0とそのY軸モータ40によって前記対象物をXY平面
内で移動させるXY移動機構のためのモータ制御装置で
あって、ある移動位置から次の移動位置へのX軸方向の
移動量(ΔX)とY軸方向の移動量(ΔY)を対にして
記憶しているステッチデータ10を入力するステッチデ
ータ入力手段22と、前記ステッチデータ入力手段22
に入力されたステッチデータ10の移動量(ΔX,Δ
Y)に基づいて、同一時間内にX軸モータ30が対象物
をX軸方向の移動量(ΔX)だけ移動させY軸モータ4
0が対象物をY軸方向の移動量(ΔY)だけ移動させ、
かつ、移動中の任意の時間におけるX軸方向とY軸方向
の速度比がX軸方向の移動量(ΔX)とY軸方向の移動
量(ΔY)の比と等しくなるようにX軸モータ30とY
軸モータ40にそれぞれ駆動信号を出力する駆動信号出
力手段24とを有する。
[First Means for Solving the Problems] Claim 1 of the present application
1 schematically shows an X-axis motor 30 for feeding an object in the X-axis direction and a Y-axis for the object.
A Y-axis motor 40 for feeding in the axial direction is provided, and the X-axis motor 3 is provided.
0 and its Y-axis motor 40 are motor control devices for an XY moving mechanism that moves the object in the XY plane, and the amount of movement in the X-axis direction from one moving position to the next moving position (ΔX). And the stitch data input means 22 for inputting the stitch data 10 stored by pairing the movement amount (ΔY) in the Y-axis direction, and the stitch data input means 22.
Amount of movement of stitch data 10 input to (ΔX, Δ
Based on Y), the X-axis motor 30 moves the object by the movement amount (ΔX) in the X-axis direction within the same time, and the Y-axis motor 4
0 moves the object by the amount of movement (ΔY) in the Y-axis direction,
Further, the X-axis motor 30 is set so that the speed ratio in the X-axis direction and the Y-axis direction at any time during movement becomes equal to the ratio of the X-axis direction movement amount (ΔX) and the Y-axis direction movement amount (ΔY). And Y
It has drive signal output means 24 for outputting drive signals to the shaft motors 40, respectively.

【0012】ここで、「モータ」という場合には、パル
スモータの他に、フィードバック制御系が組み込まれた
サーボモータのように、駆動信号を受けて作動する全て
のモータを含むものとする。また、「駆動信号」という
場合には、パルスモータに出力するパルス列だけでな
く、サーボモータに出力する駆動電圧を含むものとす
る。さらに、「移動位置」という場合には、絶対的な位
置だけでなく、相対的な位置をも含むものとする。
Here, the term "motor" includes not only pulse motors but also all motors that operate by receiving a drive signal, such as servo motors incorporating a feedback control system. The term "drive signal" includes not only the pulse train output to the pulse motor but also the drive voltage output to the servo motor. Furthermore, the term "movement position" includes not only an absolute position but also a relative position.

【0013】[0013]

【第1の手段による作用】請求項1の発明によれば、ス
テッチデータ入力手段22に入力されたステッチデータ
10の移動量(ΔX,ΔY)に基づいて、X軸モータ3
0は対象物をX軸方向の移動量(ΔX)だけ移動させ、
Y軸モータ40は対象物をY軸方向の移動量(ΔY)だ
け移動させる。この対象物の移動中に駆動信号出力手段
24は、任意の時間におけるX軸方向とY軸方向の速度
比がX軸方向の移動量(ΔX)とY軸方向の移動量(Δ
Y)の比と等しくなるように、X軸モータ30とY軸モ
ータ40にそれぞれ駆動信号を出力して同時に駆動させ
る。したがって、対象物はX軸方向のみやY軸方向のみ
に移動することがなく、ある移動位置から次の移動位置
に直線的にスムーズに移動する。
According to the first aspect of the present invention, the X-axis motor 3 is based on the movement amount (ΔX, ΔY) of the stitch data 10 input to the stitch data input unit 22.
0 moves the object by the amount of movement (ΔX) in the X-axis direction,
The Y-axis motor 40 moves the object by a movement amount (ΔY) in the Y-axis direction. During the movement of the object, the drive signal output means 24 determines that the speed ratio in the X-axis direction and the Y-axis direction at a given time is the movement amount (ΔX) in the X-axis direction and the movement amount (Δ
The drive signals are respectively output to the X-axis motor 30 and the Y-axis motor 40 so as to be equal to the ratio of (Y), and they are simultaneously driven. Therefore, the object does not move only in the X-axis direction or in the Y-axis direction but moves linearly and smoothly from one moving position to the next moving position.

【0014】[0014]

【課題を解決するための第2の手段】本出願の請求項2
に記載された発明は、対象物をX軸方向に送るX軸モー
タ30と、前記対象物をY軸方向に送るY軸モータ40
を備え、そのX軸モータ30とそのY軸モータ40によ
って前記対象物をXY平面内で移動させるXY移動機構
のためのモータ制御装置であって、ある移動位置から次
の移動位置へのX軸方向の移動量(ΔX)とY軸方向の
移動量(ΔY)を対にして記憶しているステッチデータ
10を入力するステッチデータ入力手段22と、X軸方
向の移動量(ΔX)に反比例するパルス間隔でX軸モー
タ30にパルスを出力し、Y軸方向の移動量(ΔY)に
反比例するパルス間隔でY軸モータ40にパルスを出力
する駆動信号出力手段24とを有する。
[Second Means for Solving the Problem] Claim 2 of the present application
The invention described in 1 is an X-axis motor 30 that sends an object in the X-axis direction, and a Y-axis motor 40 that sends the object in the Y-axis direction.
A motor control device for an XY moving mechanism for moving the object in the XY plane by the X-axis motor 30 and the Y-axis motor 40, the X-axis from one moving position to the next moving position. The stitch data input means 22 for inputting the stitch data 10 stored by pairing the movement amount (ΔX) in the direction and the movement amount (ΔY) in the Y axis direction and the stitch data input means 22 are in inverse proportion to the movement amount (ΔX) in the X axis direction. The drive signal output means 24 outputs pulses to the X-axis motor 30 at pulse intervals and outputs pulses to the Y-axis motor 40 at pulse intervals inversely proportional to the amount of movement (ΔY) in the Y-axis direction.

【0015】[0015]

【第2の手段による作用】請求項2の発明によれば、駆
動信号出力手段24がX軸モータ30にはX軸方向の移
動量(ΔX)に反比例するパルス間隔で、Y軸モータ4
0にはY軸方向の移動量(ΔY)に反比例するパルス間
隔でパルスを出力する。したがって、X軸とY軸の各移
動量に反比例するパルス間隔でパルスを送るので、対象
物はある移動位置から次の移動位置まで同一方向を維持
した状態で移動する。
According to the second aspect of the present invention, the drive signal output means 24 causes the X-axis motor 30 to drive the Y-axis motor 4 at a pulse interval inversely proportional to the movement amount (ΔX) in the X-axis direction.
At 0, pulses are output at pulse intervals inversely proportional to the amount of movement (ΔY) in the Y-axis direction. Therefore, since pulses are sent at pulse intervals that are inversely proportional to the X-axis and Y-axis movement amounts, the object moves from one movement position to the next movement position while maintaining the same direction.

【0016】[0016]

【課題を解決するための第3の手段】本出願の請求項3
に記載された発明は、請求項2に記載された発明におい
て、ある移動位置から次の移動位置への移動量を(ΔX
1,ΔY1)とし、次の移動位置から次々の移動位置へ
の移動量を(ΔX2,ΔY2)とする場合において、前
記駆動信号出力手段24は、X軸方向の移動量(ΔX
1)に基づくパルス間隔でΔX1回パルスを出力した後
に続けてX軸方向の移動量(ΔX2)に基づくパルス間
隔でΔX2回パルスを出力し、Y軸方向の移動量(ΔY
1)に基づくパルス間隔でΔY1回パルスを出力した後
に続けてY軸方向の移動量(ΔY2)に基づくパルス間
隔でΔY2回パルスを出力するように構成する。
[Third Means for Solving the Problems] Claim 3 of the present application
In the invention described in claim 2, in the invention described in claim 2, the movement amount from one movement position to the next movement position is (ΔX
1, ΔY1) and the movement amount from the next movement position to the next movement position is (ΔX2, ΔY2), the drive signal output means 24 causes the movement amount (ΔX) in the X-axis direction.
After the pulse is output ΔX1 times at the pulse interval based on 1), the pulse is output ΔX2 times at the pulse interval based on the movement amount (ΔX2) in the X-axis direction, and the movement amount in the Y-axis direction (ΔY
After the pulse is output ΔY1 times at the pulse interval based on 1), the pulse is output ΔY2 times at the pulse interval based on the movement amount (ΔY2) in the Y-axis direction.

【0017】[0017]

【第3の手段による作用】請求項3の発明によれば、駆
動信号出力手段24は、ある移動位置から次の移動位置
へは移動量(ΔX1,ΔY1)に基づくパルス間隔でパ
ルスを出力し、続いて次の移動位置から次々の移動位置
へは移動量(ΔX2,ΔY2)に基づくパルス間隔でパ
ルスを出力する。したがって、対象物は次の移動位置で
停止することなく、連続的に送られる。しかも、移動位
置間の移動は折れ線状にならない。
According to the third aspect of the invention, the drive signal output means 24 outputs pulses from one moving position to the next moving position at pulse intervals based on the moving amount (ΔX1, ΔY1). Then, pulses are output from the next movement position to the next movement position at pulse intervals based on the movement amount (ΔX2, ΔY2). Therefore, the object is continuously fed without stopping at the next movement position. Moreover, the movement between the movement positions does not form a polygonal line.

【0018】[0018]

【課題を解決するための第4の手段】本出願の請求項4
に記載された発明は、請求項2に記載された発明におい
て、前記駆動信号出力手段24は、X軸モータ30に出
力するパルス数の二乗と、Y軸モータ40に出力するパ
ルス数の二乗の和が、単位時間当たり一定になるように
パルスを出力する構成とする。
Fourth Means for Solving the Problems Claim 4 of the present application
In the invention described in claim 2, the drive signal output means 24 is the square of the number of pulses output to the X-axis motor 30 and the square of the number of pulses output to the Y-axis motor 40. The pulse is output so that the sum is constant per unit time.

【0019】[0019]

【第4の手段による作用】請求項4の発明によれば、駆
動信号出力手段24は、X軸方向とY軸方向のベクトル
和の方向に対してパルス数が一定になるようにパルスを
出力する。したがって、対象物の送り速度が一定に維持
される。
According to the invention of claim 4, the drive signal output means 24 outputs the pulses so that the number of pulses becomes constant in the direction of the vector sum in the X-axis direction and the Y-axis direction. To do. Therefore, the feeding speed of the object is kept constant.

【0020】[0020]

【課題を解決するための第5の手段】本出願の請求項5
に記載された発明は、対象物をX軸方向に送るX軸モー
タ30と、前記対象物をY軸方向に送るY軸モータ40
を備え、そのX軸モータ30とそのY軸モータ40によ
って前記対象物をXY平面内で移動させるXY移動機構
のためのモータ制御装置であって、ある移動位置から次
の移動位置へのX軸方向の移動量(ΔX)とY軸方向の
移動量(ΔY)を対にして記憶しているステッチデータ
10を入力するステッチデータ入力手段22と、同一時
間内に加速し始めた後に減速し終えるとともに、速度比
が時間に対して不変である移動速度の加減速パターン
を、移動量(ΔXまたはΔY)ごとに記憶している速度
パターン記憶手段と、前記ステッチデータ入力手段22
に入力されたステッチデータ10の移動量(ΔX,Δ
Y)に対応する前記速度パターン記憶手段に記憶された
移動速度の加減速パターンに従って、X軸モータ30と
Y軸モータ40にそれぞれ駆動信号を出力する駆動信号
出力手段24とを有する。ここで、速度比が時間に対し
て不変であれば、例えば移動量ΔX1とΔX2に対する
2つの加減速パターンにおいて、その速度比が加速開始
から減速終了まで変わらない。
Fifth Means for Solving the Problems Claim 5 of the present application
The invention described in 1 is an X-axis motor 30 that sends an object in the X-axis direction, and a Y-axis motor 40 that sends the object in the Y-axis direction.
A motor control device for an XY moving mechanism for moving the object in the XY plane by the X-axis motor 30 and the Y-axis motor 40, the X-axis from one moving position to the next moving position. The stitch data input means 22 for inputting the stitch data 10 stored by pairing the movement amount (ΔX) in the direction and the movement amount (ΔY) in the Y-axis direction and the stitch data input means 22 which starts accelerating within the same time and then finishes decelerating. At the same time, a speed pattern storage unit stores an acceleration / deceleration pattern of a moving speed whose speed ratio does not change with time for each moving amount (ΔX or ΔY), and the stitch data input unit 22.
Amount of movement of stitch data 10 input to (ΔX, Δ
Y) has drive signal output means 24 for outputting drive signals to the X-axis motor 30 and the Y-axis motor 40, respectively, according to the acceleration / deceleration pattern of the moving speed stored in the speed pattern storage means. Here, if the speed ratio does not change with time, for example, in two acceleration / deceleration patterns for the movement amounts ΔX1 and ΔX2, the speed ratio does not change from the start of acceleration to the end of deceleration.

【0021】[0021]

【第5の手段による作用】請求項5の発明によれば、ス
テッチデータ入力手段22に入力されたステッチデータ
10の移動量(ΔX,ΔY)に基づいて、駆動信号出力
手段24はX軸モータ30とY軸モータ40の加減速パ
ターンを速度パターン記憶手段から取得する。この加減
速パターンは、移動中の任意の時間におけるX軸方向と
Y軸方向の速度比がX軸方向の移動量(ΔX)とY軸方
向の移動量(ΔY)の比と等しくなるように選ばれてい
る。その後、駆動信号出力手段24は取得した加減速パ
ターンに従ってX軸モータ30とY軸モータ40にそれ
ぞれ駆動信号を出力する。したがって、対象物はX軸方
向とY軸方向の移動速度の比が一定に維持されるので、
ある移動位置から次の移動位置に直線的にスムーズに移
動する。
According to the fifth aspect of the present invention, the drive signal output means 24 is the X-axis motor based on the movement amount (ΔX, ΔY) of the stitch data 10 input to the stitch data input means 22. The acceleration / deceleration pattern of the motor 30 and the Y-axis motor 40 is acquired from the speed pattern storage means. This acceleration / deceleration pattern is such that the speed ratio in the X-axis direction and the Y-axis direction at an arbitrary time during movement becomes equal to the ratio of the X-axis direction movement amount (ΔX) and the Y-axis direction movement amount (ΔY). Has been selected. After that, the drive signal output means 24 outputs drive signals to the X-axis motor 30 and the Y-axis motor 40, respectively, according to the acquired acceleration / deceleration pattern. Therefore, since the ratio of the moving speeds of the X-axis direction and the Y-axis direction of the object is kept constant,
Moves smoothly from one moving position to the next.

【0022】[0022]

【課題を解決するための第6の手段】本出願の請求項6
に記載された発明は、請求項1,2又は5に記載された
発明において、対象物に対して連続的に作動する連続作
動手段と、前記対象物の移動速度に基づいて、前記連続
作動手段の単位移動量当たりの作動量が一定になるよう
に前記連続作動手段の出力を制御する出力制御手段とを
さらに有する。
[Sixth Means for Solving the Problems] Claim 6 of the present application
In the invention described in claim 1, 2 or 5, the continuous operation means for continuously operating the object, and the continuous operation means based on the moving speed of the object. And output control means for controlling the output of the continuous operation means so that the operation amount per unit movement amount of is constant.

【0023】ここで、「連続作動手段」とは、レーザ光
により対象物を裁断するレーザ裁断装置や、インクを対
象物に吹き付けて彩色するインクジェット装置、高圧の
水を対象物に当てて裁断する水裁断装置等の装置をい
う。また、「単位移動量当たりの作動量」とは、単位移
動量当たりのレーザ強度やインク量や水量のことであ
る。さらに、「作動」という場合には、刺繍、裁断、彩
色その他の対象物に対して行う全ての物理的又は化学的
な作用をも含むものとする。
Here, the "continuous operation means" means a laser cutting device for cutting an object with a laser beam, an ink jet device for spraying ink onto the object for coloring, and a high-pressure water to the object for cutting. A device such as a water cutting device. Further, the “actuation amount per unit movement amount” is the laser intensity, the ink amount, or the water amount per unit movement amount. Further, the term "actuation" includes embroidery, cutting, coloring, and all other physical or chemical actions performed on an object.

【0024】[0024]

【第6の手段による作用】請求項6の発明によれば、出
力制御手段が、対象物の移動速度に基づき単位移動量当
たりの作動量が一定になるように連続作動手段の出力を
制御する。したがって、ヘッドと対象物の間の相対的な
移動速度が変化しても、連続作動手段が対象物に対して
行う作動量が単位移動量当たり一定に維持される。
According to the sixth aspect of the present invention, the output control means controls the output of the continuous operating means so that the operating amount per unit moving amount becomes constant based on the moving speed of the object. . Therefore, even if the relative movement speed between the head and the object changes, the operation amount performed by the continuous operation means on the object is maintained constant per unit movement amount.

【0025】[0025]

【実施例】以下、本発明の一実施例を図面に基づいて説
明する。なお、説明を簡単にするために、刺繍ミシンに
おいて、例えば布生地や皮革のような被刺繍物の刺繍を
行うとともにレーザ光による裁断を行う例について説明
する。また、この刺繍ミシンでは、X軸モータ30とし
てX軸パルスモータ142を、Y軸モータ40としてY
軸パルスモータ132をそれぞれ適用する。
An embodiment of the present invention will be described below with reference to the drawings. For the sake of simplicity, an example will be described in which an embroidering machine, such as cloth or leather, is used for embroidery and cutting is performed with a laser beam. Further, in this embroidery sewing machine, the X-axis pulse motor 142 is used as the X-axis motor 30, and the Y-axis motor 40 is used as the Y-axis motor 40.
The axis pulse motor 132 is applied.

【0026】まず、第1の実施例について説明する。図
2は、刺繍ミシンの構成を示すブロック図であって、本
発明を実施するために必要な最小限の構成を示す。図に
おいて、ミシン制御装置100はモータ制御装置20の
一つであって、CPU110、ROM102、RAM1
04、表示制御回路106、表示装置108、入力処理
回路112および出力処理回路116によって構成され
ている。
First, the first embodiment will be described. FIG. 2 is a block diagram showing the structure of the embroidery sewing machine, and shows the minimum structure necessary for carrying out the present invention. In the figure, the sewing machine control device 100 is one of the motor control devices 20, and includes a CPU 110, a ROM 102, and a RAM 1.
04, a display control circuit 106, a display device 108, an input processing circuit 112, and an output processing circuit 116.

【0027】CPU110は、ROM102に格納され
たミシン制御プログラムに従ってミシン制御装置100
の全体を制御する。ROM102は、EPROMあるい
はEEPROMが使用される。また、ROM102に
は、上記ミシン制御プログラムの他に、一針ごとの刺繍
枠の移動位置を示すステッチデータ10の集合体である
柄データ等が格納されている。RAM104はSRAM
(あるいは、DRAM)やフラッシュRAM等が使用さ
れ、タイムコンスタント、対象物(後述する被刺繍物1
48)を送る送り速度および対象物が移動している際の
移動速度等のような各種のデータあるいは入出力信号が
格納される。
The CPU 110 executes the sewing machine control device 100 according to the sewing machine control program stored in the ROM 102.
Control the whole. As the ROM 102, EPROM or EEPROM is used. In addition to the sewing machine control program, the ROM 102 also stores pattern data, which is a set of stitch data 10 indicating the movement position of the embroidery frame for each stitch. RAM 104 is SRAM
(Alternatively, DRAM), flash RAM, etc. are used, and time constant, target (embroidered object 1 described later 1
Various data such as the feed speed for sending 48) and the moving speed when the object is moving, or input / output signals are stored.

【0028】表示制御回路106は、CPU110から
バス114を介して送られた表示制御データに従って、
表示装置108の表示を制御する回路である。すなわ
ち、表示制御データに含まれる柄データに従って線分図
形を順次描き、その柄を表示装置108に表示する。こ
の表示装置108としては、筐体の大きさをコンパクト
にし、消費電力やコストを低く抑えるため、モノクロの
液晶表示装置を用いるのが最適である。なお、表示装置
108には、他にカラーの液晶表示装置やCRT、プラ
ズマ表示装置、およびLED表示装置(LEDを矩形領
域に格子状に配置した表示装置)等のように、柄が表示
可能な他の表示装置を適用してもよい。
The display control circuit 106 follows the display control data sent from the CPU 110 via the bus 114.
This is a circuit that controls display on the display device 108. That is, line segment figures are sequentially drawn according to the pattern data included in the display control data, and the pattern is displayed on the display device 108. As the display device 108, a monochrome liquid crystal display device is optimally used in order to make the size of the housing compact and to suppress power consumption and cost. It should be noted that the display device 108 can display patterns, such as a color liquid crystal display device, a CRT, a plasma display device, and an LED display device (display device in which LEDs are arranged in a rectangular area in a grid pattern). Other display devices may be applied.

【0029】入力処理回路112には、キーボード(K
EY)120、ポインティングデバイス(pointing dev
ice )122、外部記憶装置124、X軸用エンコーダ
144およびY軸用エンコーダ134が接続されてい
る。この入力処理回路112は、これらの装置等から送
られたそれぞれの送信信号を受けて、ミシン制御装置1
00内で処理可能なデータ形式に変換し、バス114を
介してCPU110又はRAM104へ転送する。ここ
で、X軸用エンコーダ144とY軸用エンコーダ134
は、刺繍枠146が所定の間隔(例えば、0.1mm )ごと
に移動すると、それぞれの軸方向成分について1個のパ
ルスを発生する装置である。
The input processing circuit 112 includes a keyboard (K
EY) 120, pointing device (pointing dev
ice) 122, an external storage device 124, an X-axis encoder 144, and a Y-axis encoder 134 are connected. The input processing circuit 112 receives the respective transmission signals sent from these devices and the like and receives the sewing machine control device 1
The data is converted into a data format that can be processed in 00 and transferred to the CPU 110 or the RAM 104 via the bus 114. Here, the X-axis encoder 144 and the Y-axis encoder 134
Is a device for generating one pulse for each axial component when the embroidery frame 146 moves at a predetermined interval (for example, 0.1 mm).

【0030】ポインティングデバイス122としてはマ
ウスが最適である。なお、ポインティングデバイス12
2として、トラックボール(track ball)、ライトペ
ン、デジタイザ、タッチセンススクリーン(touch-sens
itive screen)等を適用してもよい。これらのうち、ト
ラックボールやライトペン、およびタッチセンススクリ
ーンを適用すれば、カーソルを移動させるための場所を
とらないため、省スペース化を図ることができる。ま
た、外部記憶装置124としてはフレキシブルディスク
装置(flexible disk device)が最適である。なお、外
部記憶装置124として、ハードディスク装置や光磁気
ディスク装置、紙テープリーダ/パンチ装置等のよう
に、大容量の記憶装置を適用してもよい。特に、ハード
ディスク装置を適用した場合にはアクセス速度が向上
し、光磁気ディスク装置を適用した場合には膨大なデー
タ量を記憶させることができる。
A mouse is most suitable as the pointing device 122. The pointing device 12
2, track ball, light pen, digitizer, touch-sensing screen (touch-sens)
positive screen) etc. may be applied. Of these, if a trackball, a light pen, and a touch-sensitive screen are applied, a space for moving the cursor is not taken, so that space can be saved. A flexible disk device is the most suitable as the external storage device 124. As the external storage device 124, a large-capacity storage device such as a hard disk device, a magneto-optical disk device, or a paper tape reader / punch device may be applied. In particular, when a hard disk device is applied, the access speed is improved, and when a magneto-optical disk device is applied, a huge amount of data can be stored.

【0031】出力処理回路116は、CPU110から
バス114を介して送られた駆動データを駆動装置13
0へ転送するためのインタフェースである。この駆動装
置130は、駆動データに従って主軸モータ128、レ
ーザ裁断装置140、X軸パルスモータ142およびY
軸パルスモータ132を駆動させる。これらのX軸パル
スモータ142、Y軸パルスモータ132および刺繍枠
146は、XY移動機構を具体化したものの一つであ
る。
The output processing circuit 116 receives drive data sent from the CPU 110 via the bus 114 and drives the drive device 13.
This is an interface for transferring to 0. The drive unit 130 includes a spindle motor 128, a laser cutting device 140, an X-axis pulse motor 142, and a Y-axis according to the drive data.
The axis pulse motor 132 is driven. The X-axis pulse motor 142, the Y-axis pulse motor 132, and the embroidery frame 146 are ones embodying the XY moving mechanism.

【0032】ここで、対象物の一つである被刺繍物14
8は刺繍枠146に保持され、針棒126とレーザ裁断
装置140は一つのヘッドに収容されている。主軸モー
タ128は、針棒126に設けられた縫い針を上下動さ
せ、被刺繍物148に刺繍を行う。レーザ裁断装置14
0は連続作動手段の一つであって、指令された制御電圧
に従ってレーザ強度(単位移動量当たりに照射するレー
ザ光の強度)を調整することができ、被刺繍物148に
照射して裁断する。X軸パルスモータ142は送られた
パルス数に従って刺繍枠146をX軸方向に移動させ、
Y軸パルスモータ132は送られたパルス数に従って刺
繍枠146をY軸方向に移動させる。なお、上記各構成
要素は、いずれもバス114に互いに結合されている。
また、対象物(被刺繍物148)は刺繍枠146に保持
されているため、刺繍枠146の移動速度は被刺繍物1
48の移動速度でもある。
Here, the embroidered object 14 which is one of the objects.
8 is held by the embroidery frame 146, and the needle bar 126 and the laser cutting device 140 are housed in one head. The main shaft motor 128 moves a sewing needle provided on the needle bar 126 up and down to embroider the embroidered object 148. Laser cutting device 14
Reference numeral 0 denotes one of continuous operation means, which can adjust the laser intensity (intensity of laser light emitted per unit movement amount) according to a commanded control voltage, and irradiates the embroidered object 148 for cutting. . The X-axis pulse motor 142 moves the embroidery frame 146 in the X-axis direction according to the number of pulses sent,
The Y-axis pulse motor 132 moves the embroidery frame 146 in the Y-axis direction according to the number of pulses sent. It should be noted that each of the above components is coupled to the bus 114.
Further, since the object (embroidered object 148) is held by the embroidery frame 146, the moving speed of the embroidery frame 146 is the
It is also the moving speed of 48.

【0033】次に、第1の実施例を実行するための処理
手順について、図3乃至図8を参照しつつ説明する。図
3,図5,図6は、第1の実施例を実施するための処理
手順を示すフローチャートである。これらの全体の処理
手順は駆動信号出力手段24を具体化した処理で手順で
あって、いずれも図2に示すROM102に格納された
処理プログラムをCPU110が実行することによって
実現される。なお、図3に示すステップS12は、ステ
ッチデータ入力手段22を具体化した処理ステップであ
る。
Next, a processing procedure for executing the first embodiment will be described with reference to FIGS. 3 to 8. FIG. 3, FIG. 5, and FIG. 6 are flowcharts showing the processing procedure for carrying out the first embodiment. The entire processing procedure is a processing embodying the drive signal output means 24, and is realized by the CPU 110 executing the processing program stored in the ROM 102 shown in FIG. Note that step S12 shown in FIG. 3 is a processing step that embodies the stitch data input means 22.

【0034】図3において、まず、刺繍ミシンの動作を
開始させるために必要な初期化処理を行う(ステップS
10)。そして、ROM102には複数の柄データが記
憶されているので、これらの柄データの一覧を表示装置
108に表示させ、編集の対象となる柄データを選択す
ると、ROM102からRAM104の所定の作業領域
に転送される(ステップS12)。こうして入力された
柄データに従って刺繍処理を行う(ステップS14)。
ここで、柄データの一例について、図4を参照しつつ説
明する。
In FIG. 3, first, an initialization process necessary to start the operation of the embroidery sewing machine is performed (step S).
10). Since a plurality of pattern data are stored in the ROM 102, a list of these pattern data is displayed on the display device 108, and when the pattern data to be edited is selected, the ROM 102 is changed to a predetermined work area of the RAM 104. It is transferred (step S12). Embroidery processing is performed according to the pattern data thus input (step S14).
Here, an example of the pattern data will be described with reference to FIG.

【0035】図4(A)に示すように、例えば刺繍枠1
46を、位置P0 を起点として最初に位置P1 に移動さ
せた後、途中で位置Pa-1 ,位置Pa ,位置Pa+1 を経
て、終点の位置Pn まで移動させる場合には、図4
(B)に示すような柄データ200が必要になる。
As shown in FIG. 4A, for example, an embroidery frame 1
4 is first moved to the position P1 from the position P0 as the starting point, and then moved to the end point position Pn through the positions Pa-1, Pa and Pa + 1 on the way.
The pattern data 200 as shown in (B) is required.

【0036】すなわち、柄データ200はn個のステッ
チデータからなり、これらの一つ一つのステッチデータ
がステッチデータ10に対応する。また、各ステッチデ
ータは[x軸移動量,y軸移動量,制御コード]の三要
素からなる。さらに、制御コードは識別コードと色コー
ドからなる。識別コードは「針棒」,「レーザ」,「イ
ンクジェット」等のように制御する対象を識別するため
に付された固有の数値データであり、色コードは被刺繍
物148に対して色を換えて作動させる場合における色
ごとに付された固有の数値データである。この柄データ
200には、位置P0 から位置P1 への移動量が先頭の
ステッチデータ202[x1 ,y1 ,f1 ]に格納さ
れ、位置Pa-1 から位置Pa への移動量がステッチデー
タ204[xa ,ya ,fa ]に格納され、位置Pa か
ら位置Pa+1 への移動量がステッチデータ206[xa+
1 ,ya+1 ,fa+1 ]に格納され、最後に位置Pn へ移
動するための移動量がステッチデータ208[xn ,y
n ,fn ]が格納されている。
That is, the pattern data 200 is composed of n stitch data, and each of these stitch data corresponds to the stitch data 10. Each stitch data is composed of three elements, [x-axis movement amount, y-axis movement amount, control code]. Furthermore, the control code consists of an identification code and a color code. The identification code is unique numerical data attached to identify the control target such as "needle bar", "laser", "inkjet", and the color code changes the color of the embroidered object 148. It is unique numerical data attached to each color when it is operated by. In this pattern data 200, the amount of movement from the position P0 to the position P1 is stored in the leading stitch data 202 [x1, y1, f1], and the amount of movement from the position Pa-1 to the position Pa is stitch data 204 [xa , Ya, fa], and the movement amount from the position Pa to the position Pa + 1 is stored in the stitch data 206 [xa +
1, ya + 1, fa + 1], and the movement amount for finally moving to the position Pn is stitch data 208 [xn, y
n, fn] are stored.

【0037】次に、上記の柄データに従って行われる刺
繍処理の具体的な手順について、図5を参照しつつ説明
する。図5において、まず、刺繍を開始するために必要
な初期化処理を行う(ステップS20)。初期化処理の
具体的な内容としては、例えば、刺繍枠146を原点に
戻したり、後述するステップS28において取得するス
テッチデータを指すポインタを柄データの先頭に設定し
たりする。次に、主軸モータ128を起動させた後(ス
テップS22)、刺繍が終わり(具体的には、ポインタ
が柄データの最終位置を超えた位置を指す)か否かを判
別する(ステップS24)。なお、第1回目の実行は、
ポインタが柄データの先頭のステッチデータを指すため
に刺繍が終わりではなく(NO)、ステップS28に進
む。
Next, a specific procedure of the embroidery process performed according to the pattern data will be described with reference to FIG. In FIG. 5, first, an initialization process necessary to start embroidery is performed (step S20). As specific contents of the initialization processing, for example, the embroidery frame 146 is returned to the origin, or a pointer pointing to stitch data acquired in step S28 described later is set to the head of the pattern data. Next, after the spindle motor 128 is activated (step S22), it is determined whether or not the embroidery has ended (specifically, the pointer points to a position beyond the final position of the pattern data) (step S24). In addition, the first execution is
Since the pointer points to the first stitch data of the pattern data, the embroidery is not the end (NO), and the process proceeds to step S28.

【0038】そして、ポインタが指すステッチデータを
取得し(ステップS28)、制御コード内の識別コード
が「針棒」か否かを検査する(ステップS32)。も
し、識別コードが「針棒」でない(NO)ならば、ポイ
ンタのインクリメントを行なって(ステップS26)、
次のステッチデータの処理に備える。すなわち、インク
リメントは、次のステッチデータの位置を指すような値
を設定する。一方、識別コードが「針棒」である(YE
S)場合には、制御コード内の色コードが前回指定され
た色コードと異なるか否かを検査し(ステップS3
4)、異なる場合にのみ色換処理を行う(ステップS3
6)。この色換処理では、指定された色の糸が通された
縫い針を選択する処理が行われる。
Then, the stitch data pointed by the pointer is acquired (step S28), and it is checked whether or not the identification code in the control code is "needle bar" (step S32). If the identification code is not "needle bar" (NO), the pointer is incremented (step S26),
Prepare for the next stitch data processing. That is, the increment sets a value indicating the position of the next stitch data. On the other hand, the identification code is "needle bar" (YE
In the case of S), it is checked whether or not the color code in the control code is different from the previously designated color code (step S3).
4) If only different, color conversion processing is performed (step S3).
6). In this color changing process, a process of selecting a sewing needle through which a thread of a specified color is passed is performed.

【0039】その後、枠移動のタイミングを図って(ス
テップS38)、停止している刺繍枠146をステッチ
データで指定された位置まで移動させる(ステップS4
0)。さらに、一針縫いのタイミングを図って(ステッ
プS42)、刺繍枠146を停止させた状態で刺繍を行
う(ステップS44)。なお、実際にステップS44
は、主軸モータ128の回転速度に従って一定の周期ご
とに実行される。このため、一定の周期の間に、ステッ
プS24乃至ステップS42の処理が実行される。
After that, the frame moving timing is set (step S38), and the stopped embroidery frame 146 is moved to the position designated by the stitch data (step S4).
0). Further, the timing of one-needle sewing is set (step S42), and embroidery is performed with the embroidery frame 146 stopped (step S44). In addition, in step S44
Is executed at regular intervals according to the rotation speed of the spindle motor 128. Therefore, the processes of steps S24 to S42 are executed during a fixed period.

【0040】一針の刺繍が行われた後は、次のステッチ
データについて処理を行うためにポインタをインクリメ
ントし(ステップS26)、ステップS24に戻る。こ
のステップS24では再び刺繍が終わりか否かを判別し
て、条件を満たさない限りは柄データの残りのステッチ
データについて、同様にステップS26乃至ステップS
44を実行する。そして、条件を満たしたとき(YE
S)、主軸モータ128を停止させ(ステップS3
0)、本処理手順を終了する。
After one stitch is embroidered, the pointer is incremented to process the next stitch data (step S26), and the process returns to step S24. In step S24, it is determined again whether or not the embroidery is finished, and unless the conditions are satisfied, the remaining stitch data of the pattern data are similarly subjected to steps S26 to S.
Step 44 is executed. And when the conditions are met (YE
S) to stop the spindle motor 128 (step S3
0), the processing procedure is ended.

【0041】図3に戻り、ステップS14の刺繍処理を
終えた後は、レーザ光による裁断処理を行う(ステップ
S16a)。この裁断処理の具体的な手順について、図
6を参照しつつ説明する。図6において、まず、裁断を
開始するために必要な初期化処理を行う(ステップS5
0)。初期化処理の具体的な内容としては、図5に示す
ステップS20と同様に、例えば刺繍枠146を原点に
戻したり、後述するステップS28において取得するス
テッチデータを指すポインタを柄データの先頭に戻した
りする。
Returning to FIG. 3, after finishing the embroidery process in step S14, a cutting process with laser light is performed (step S16a). A specific procedure of this cutting process will be described with reference to FIG. In FIG. 6, first, initialization processing necessary to start cutting is performed (step S5).
0). As the specific contents of the initialization processing, similar to step S20 shown in FIG. 5, for example, the embroidery frame 146 is returned to the origin, or the pointer indicating the stitch data acquired in step S28 described later is returned to the beginning of the pattern data. Or

【0042】次に、裁断が終わりか否かを判別する(ス
テップS52)。なお、第1回目の実行は、ポインタが
柄データの先頭のステッチデータを指すために裁断が終
わりではなく(NO)、ステップS56に進む。
Next, it is judged whether or not the cutting is completed (step S52). In the first execution, since the pointer points to the first stitch data of the pattern data, the cutting is not finished (NO), and the process proceeds to step S56.

【0043】そして、ポインタが指すステッチデータを
取得し(ステップS56)、制御コード内の識別コード
が「レーザ」か否かを検査する(ステップS58)。も
し、識別コードが「レーザ」でない(NO)ならば、ポ
インタのインクリメントを行なって(ステップS5
4)、次のステッチデータの処理に備える。一方、識別
コードが「レーザ」である(YES)場合には、刺繍枠
146を等速度で送るために、ステッチデータで指定さ
れたx軸移動量とy軸移動量に基づいてタイムコンスタ
ントTx ,Ty を求める(ステップS60)。なお、裁
断処理においては、制御コード内の色コードは、連続作
動の制御とは直接関係しないために無視される。
Then, the stitch data pointed by the pointer is acquired (step S56), and it is checked whether or not the identification code in the control code is "laser" (step S58). If the identification code is not "laser" (NO), the pointer is incremented (step S5).
4) Prepare for the next stitch data processing. On the other hand, when the identification code is "laser" (YES), the time constant Tx, based on the x-axis movement amount and the y-axis movement amount designated by the stitch data, in order to feed the embroidery frame 146 at a constant speed. Ty is calculated (step S60). In the cutting process, the color code in the control code is ignored because it is not directly related to the control of continuous operation.

【0044】ここで、上記のタイムコンスタントとは、
図2に示すX軸パルスモータ142とY軸パルスモータ
132に出力するパルスの期間であり、この値が小さい
ほど刺繍枠146の送り速度は速くなり、逆に値が大き
いほど刺繍枠146の送り速度は遅くなる。x軸方向タ
イムコンスタントTx とy軸方向タイムコンスタントT
y の算出は、次の各式によって行われる。なお、図7
(A)に示すように、例えばある位置Pa-1 から次の位
置Pa へ刺繍枠146を移動させる場合において、あら
かじめ設定された刺繍枠146の送り速度をV、x軸方
向送り速度をVx 、y軸方向送り速度をVy 、x軸移動
量をΔx、y軸移動量をΔyとする。 Vx =V・[Δx/{(Δx)2 +(Δy)2 1/2 ] Tx =1/Vx Vy =V・[Δy/{(Δx)2 +(Δy)2 1/2 ] Ty =1/Vy
Here, the above-mentioned time constant is
It is a period of pulses output to the X-axis pulse motor 142 and the Y-axis pulse motor 132 shown in FIG. 2. The smaller the value, the faster the feeding speed of the embroidery frame 146, and conversely, the larger the value, the shorter the feeding of the embroidery frame 146. The speed will slow down. x-axis time constant Tx and y-axis time constant T
The calculation of y is performed by the following equations. Note that FIG.
As shown in (A), for example, when the embroidery frame 146 is moved from one position Pa-1 to the next position Pa, the preset feed speed of the embroidery frame 146 is V, the x-axis direction feed speed is Vx, The y-axis feed rate is Vy, the x-axis movement amount is Δx, and the y-axis movement amount is Δy. Vx = V · [Δx / {(Δx) 2 + (Δy) 2 } 1/2 ] Tx = 1 / Vx Vy = V · [Δy / {(Δx) 2 + (Δy) 2 } 1/2 ] Ty = 1 / Vy

【0045】こうして算出されたタイムコンスタントT
x ,Ty は、図2に示す駆動装置130に送られる。駆
動装置130では、タイムコンスタントTx の期間ごと
に1パルスをX軸パルスモータ142に出力し、タイム
コンスタントTy の期間ごとに1パルスをY軸パルスモ
ータ132に出力して刺繍枠146をXY同軸で移動さ
せる。なお、図7(A)の例ではx軸方向とy軸方向の
速度比が4:3であるので、図7(B)に示すように時
刻t10から時刻t12までの1周期の間に、X軸パル
スモータ142には4つのパルスが、Y軸パルスモータ
132には3つのパルスがそれぞれ出力されている。こ
のことは、X軸方向とY軸方向の速度比がX軸方向の移
動量(ΔX)とY軸方向の移動量(ΔY)の比と等しく
なることを意味している。
The time constant T calculated in this way
x and Ty are sent to the driving device 130 shown in FIG. In the driving device 130, one pulse is output to the X-axis pulse motor 142 for each time constant Tx period, and one pulse is output to the Y-axis pulse motor 132 for each time constant Ty period to make the embroidery frame 146 coaxial with XY. To move. Note that in the example of FIG. 7A, the speed ratio in the x-axis direction and the y-axis direction is 4: 3, so as shown in FIG. 7B, during one cycle from time t10 to time t12, Four pulses are output to the X-axis pulse motor 142 and three pulses are output to the Y-axis pulse motor 132, respectively. This means that the speed ratio in the X-axis direction and the Y-axis direction becomes equal to the ratio of the movement amount (ΔX) in the X-axis direction and the movement amount (ΔY) in the Y-axis direction.

【0046】したがって、タイムコンスタントTx ,T
y に従ってパルスを出力することによって、刺繍枠14
6をある移動位置から次の移動位置へXY同軸で移動さ
せるように、直線補間がなされる。しかも、この移動中
は、任意の時間におけるX軸方向とY軸方向の速度比が
X軸方向の移動量(ΔX)とY軸方向の移動量(ΔY)
の比と等しくなるようにX軸モータ30とY軸40にパ
ルスを出力しているので、ある移動位置から次の移動位
置へ直線的にスムーズに刺繍枠146を送る。また、送
り速度Vに基づいてタイムコンスタントTx ,Ty を求
めているので、X軸方向とY軸方向のベクトル和の方向
に対してパルス数が一定になり、結果として全区間にお
ける刺繍枠146の移動速度を一定に維持する。
Therefore, the time constants Tx, T
By outputting a pulse according to y, the embroidery frame 14
Linear interpolation is performed so as to move 6 from one movement position to the next movement position on the XY axis. Moreover, during this movement, the speed ratio between the X-axis direction and the Y-axis direction at any time is such that the movement amount in the X-axis direction (ΔX) and the movement amount in the Y-axis direction (ΔY)
Since pulses are output to the X-axis motor 30 and the Y-axis 40 so as to be equal to the ratio of the above, the embroidery frame 146 is linearly and smoothly sent from one moving position to the next moving position. Further, since the time constants Tx and Ty are obtained based on the feed speed V, the number of pulses becomes constant in the direction of vector sum in the X-axis direction and the Y-axis direction, and as a result, the embroidery frame 146 of the entire section is changed. Keep the speed of movement constant.

【0047】その後、所定の制御電圧を図2に示すレー
ザ裁断装置140に出力し、レーザ光を照射させて被刺
繍物148を裁断しながら(ステップS64)、上記ス
テップS60で算出されたタイムコンスタントTx ,T
y に従って刺繍枠146を移動させ(ステップS6
4)、レーザ光の照射を停止する(ステップS66)。
なお、第1回目のステップS64の実行後は、刺繍枠1
46は本処理手順が終了するまで、停止することなく等
速度で、しかも連続的に移動する。
Thereafter, a predetermined control voltage is output to the laser cutting device 140 shown in FIG. 2 to irradiate the laser beam to cut the embroidered object 148 (step S64), and the time constant calculated in step S60 described above. Tx, T
The embroidery frame 146 is moved according to y (step S6
4), the irradiation of the laser light is stopped (step S66).
After the first execution of step S64, the embroidery frame 1
46 moves at a constant speed and continuously without stopping until the processing procedure is completed.

【0048】こうして刺繍枠146を移動させる間にレ
ーザ光による裁断が行われた後は、次のステッチデータ
について処理を行うためにポインタをインクリメントし
(ステップS54)、ステップS52に戻る。このステ
ップS52では再び裁断が終わりか否かを判別して、こ
の条件を満たさない限りは柄データの残りのステッチデ
ータについて、同様にステップS56乃至ステップS6
6を実行する。そして、条件を満たしたとき(YE
S)、刺繍枠146を停止させ、本処理手順を終了す
る。
After cutting with the laser beam while moving the embroidery frame 146 in this way, the pointer is incremented to process the next stitch data (step S54), and the process returns to step S52. In this step S52, it is judged again whether or not the cutting is over, and unless the condition is satisfied, the remaining stitch data of the pattern data is similarly subjected to the steps S56 to S6.
6 is executed. And when the conditions are met (YE
S), the embroidery frame 146 is stopped, and this processing procedure ends.

【0049】再び図3に戻り、ステップS16aの裁断
処理を終えた後、他に処理すべき柄データがあるか否か
を判断し(ステップS18)、他に処理すべき柄データ
がある(YES)場合にはステップS12乃至ステップ
S16aを繰り返す。もし、他に処理すべき柄データが
ない(NO)場合には、本処理手順を終了する。
Returning to FIG. 3 again, after finishing the cutting process of step S16a, it is judged whether or not there is other pattern data to be processed (step S18), and there is other pattern data to be processed (YES. In this case, steps S12 to S16a are repeated. If there is no other pattern data to be processed (NO), this processing procedure ends.

【0050】ここで、具体的な柄の場合、どのように処
理されるかを簡単に説明する。図8は柄の一例を示す図
であって、図8(A)には刺繍する柄の内容を、図8
(B)には柄データの構成をそれぞれ示す。図8(A)
において、柄300は三つの文字「ABC」と三つの図
形(家屋と立木を簡単化した図柄と、これらの図柄と上
記の文字を囲む楕円形の図柄)を一つの柄としたもので
ある。
Here, how to process a specific pattern will be briefly described. FIG. 8 is a diagram showing an example of the pattern. FIG. 8A shows the contents of the pattern to be embroidered.
(B) shows the structure of the pattern data. FIG. 8 (A)
In the above, the pattern 300 is one in which three characters "ABC" and three figures (a pattern in which a house and a standing tree are simplified, and these patterns and an elliptical pattern surrounding the above characters) are combined.

【0051】図8(B)に示す柄データ310は、上記
の柄300を被刺繍物148に対して作動させるステッ
チデータの集合体の一例である。この柄データ310
は、文字刺繍部312、図形刺繍部314および裁断部
316の三つのデータ部によって構成されている。文字
刺繍部312は三つの文字「ABC」を刺繍するための
l個のステッチデータからなり、図形刺繍部314は家
屋と立木の図柄を刺繍するためのm個のステッチデータ
からなる。これらの文字刺繍部312と図形刺繍部31
4には、いずれも刺繍を行う指令を示す「針棒」が識別
コードとして制御コードに指定されている。また、裁断
部316は楕円形の図柄で裁断するためのn個のステッ
チデータからなり、裁断を行う指令を示す「レーザ」が
識別コードとして制御コードに指定されている。
The pattern data 310 shown in FIG. 8B is an example of a set of stitch data for operating the pattern 300 on the embroidered object 148. This pattern data 310
Is composed of three data parts, a character embroidery part 312, a graphic embroidery part 314, and a cutting part 316. The character embroidery section 312 is composed of 1 stitch data for embroidering the three characters "ABC", and the graphic embroidery section 314 is composed of m stitch data for embroidering a house and standing tree pattern. These character embroidery section 312 and figure embroidery section 31
In each of the items 4, a "needle bar" indicating a command to perform embroidery is designated as an identification code in the control code. The cutting unit 316 is composed of n stitch data for cutting with an elliptical pattern, and "laser" indicating a command for cutting is specified as an identification code in the control code.

【0052】上記の柄データ310において、文字刺繍
部312と図形刺繍部314のステッチデータについて
は図5に示す刺繍処理で処理され、裁断部316のステ
ッチデータについては図6に示す裁断処理で処理され
る。このため、三つの文字「ABC」と、家屋と立木の
図柄を刺繍し、楕円形の図柄で裁断することになる。
In the pattern data 310, the stitch data of the character embroidery portion 312 and the graphic embroidery portion 314 is processed by the embroidery processing shown in FIG. 5, and the stitch data of the cutting portion 316 is processed by the cutting processing shown in FIG. To be done. For this reason, the three letters "ABC" and the design of the house and the standing tree are embroidered and cut into elliptical designs.

【0053】したがって、ステッチデータ入力手段22
(図3に示すステップS12)で入力されたステッチデ
ータ10の移動量(ΔX,ΔY)に基づいて、駆動信号
出力手段24(図3,図5,図6に示す処理手順)が直
線補間を行うとともに、移動中の任意の時間におけるX
軸方向とY軸方向の速度比がX軸方向の移動量(ΔX)
とY軸方向の移動量(ΔY)の比と等しくなるようにX
軸モータ30とY軸40にパルスを出力するので、ある
移動位置から次の移動位置へ直線的にスムーズに対象物
を送ることができる。このため、X軸方向のみの移動や
Y軸方向のみの移動がなく、ある移動位置から次の移動
位置に対象物はスムーズに移動するので、レーザ光で対
象物を裁断した場合には、その切り口を連続的で滑らか
なものにすることができる。
Therefore, the stitch data input means 22
Based on the movement amount (ΔX, ΔY) of the stitch data 10 input in (step S12 shown in FIG. 3), the drive signal output means 24 (processing procedure shown in FIGS. 3, 5 and 6) performs linear interpolation. Do X at any time during the move
The speed ratio in the axial direction and the Y-axis direction is the amount of movement in the X-axis direction (ΔX)
And the amount of movement in the Y-axis direction (ΔY) equal to X
Since the pulse is output to the shaft motor 30 and the Y-axis 40, the object can be linearly and smoothly sent from one moving position to the next moving position. Therefore, there is no movement only in the X-axis direction or only in the Y-axis direction, and the object moves smoothly from one moving position to the next moving position. Therefore, when cutting the object with the laser beam, The cut can be continuous and smooth.

【0054】また、駆動信号出力手段24は直線補間を
行うことにより、XY軸の各軸の移動量(ΔX,ΔY)
に反比例するパルス間隔でパルスを出力する(すなわ
ち、一定期間内において移動量に対応する数のパルスを
等時間間隔で出力する)ので、同一方向を維持しながら
等速度で対象物を送ることができる。このため、レーザ
光で対象物を裁断した場合には、その切り口を均一にす
ることができる。
Further, the drive signal output means 24 performs linear interpolation to thereby move the respective XY axes (ΔX, ΔY).
Since pulses are output at a pulse interval that is inversely proportional to (that is, a number of pulses corresponding to the movement amount are output at equal time intervals within a fixed period), it is possible to send an object at a constant speed while maintaining the same direction. it can. Therefore, when the object is cut with the laser light, the cut can be made uniform.

【0055】さらに、対象物をある移動位置に送って通
過させる場合において、駆動信号出力手段24はその移
動位置の前後で異なるパルス間隔でパルスを出力し、し
かも出力するパルスは連続するので、対象物は停止する
ことなく、連続的に送ることができる。このため、レー
ザ光で対象物を裁断した場合には、ある移動位置におけ
る切り口は連続的で滑らかなものになる。
Further, when the object is sent to a certain moving position and passed therethrough, the drive signal output means 24 outputs pulses at different pulse intervals before and after the moving position, and the outputted pulses are continuous, so Items can be sent continuously without stopping. Therefore, when the object is cut by the laser light, the cut at a certain moving position becomes continuous and smooth.

【0056】そして、駆動信号出力手段24はX軸方向
とY軸方向のベクトル和の方向に対してパルス数が一定
になるようにパルスを出力するので、対象物の送り速度
を終始一定に維持することができる。このため、レーザ
光で対象物を裁断した場合には、ある移動位置の切り口
を終始連続的で滑らかなものにすることができる。
Since the drive signal output means 24 outputs pulses so that the number of pulses becomes constant in the direction of vector sum in the X-axis direction and the Y-axis direction, the feeding speed of the object is kept constant all the time. can do. Therefore, when the object is cut with the laser light, the cut at a certain moving position can be made continuous and smooth all the time.

【0057】次に、第2の実施例について説明する。な
お、上記の第1の実施例とは、物理的な構成は図2と同
一であり、処理手順も図3,図5,図6と同一である。
なお、図6のステップS64は対象物を単に連続的に送
るだけである(逆に言えば、等速度で送る必要はない)
ので、ステップS60は必ずしも必要ではなくなる。こ
のステップS64の具体的な処理について、図9を参照
しつつ説明する。
Next, the second embodiment will be described. The physical configuration of the first embodiment is the same as that of FIG. 2, and the processing procedure is also the same as that of FIGS. 3, 5, and 6.
Note that step S64 in FIG. 6 simply sends the object continuously (in other words, it is not necessary to send it at a constant speed).
Therefore, step S60 is not always necessary. The specific process of step S64 will be described with reference to FIG.

【0058】図9は枠移動処理の具体例を示す図であっ
て、図9(A)には出力制御手段を具体化した処理手順
を示すフローチャートを、図9(B)には作動量の算出
方法をそれぞれ示す。図9(A)において、まず、あら
かじめ設定された刺繍枠146の送り速度を取得し(ス
テップS100)、この送り速度に基づいてレーザ裁断
装置140の作動量(すなわち、制御電圧)を算出する
(ステップS102)。
FIG. 9 is a diagram showing a specific example of the frame moving process. FIG. 9 (A) is a flowchart showing the processing procedure embodying the output control means, and FIG. 9 (B) is a flowchart showing the operation amount. The calculation methods are shown below. In FIG. 9A, first, a preset feed speed of the embroidery frame 146 is acquired (step S100), and the operation amount (that is, control voltage) of the laser cutting device 140 is calculated based on this feed speed ( Step S102).

【0059】この作動量f(v)は、図9(B)に示す
1次関数のグラフに従って、送り速度をvとしたとき、
次式によって算出される。ただし、係数a,bはレーザ
裁断装置140ごとに異なる固有の一定値である。 f(v)=av+b こうしてステップS102で算出された作動量、すなわ
ち制御電圧をレーザ裁断装置140に出力し(ステップ
S104)、本処理手順を終了する。
This operation amount f (v) is given by the graph of the linear function shown in FIG.
It is calculated by the following formula. However, the coefficients a and b are unique constant values that differ for each laser cutting device 140. f (v) = av + b Thus, the operation amount calculated in step S102, that is, the control voltage is output to the laser cutting device 140 (step S104), and this processing procedure is ended.

【0060】したがって、出力制御手段{図9(A)に
示す処理手順}を実行することにより、対象物(被刺繍
物148)に対して行われる単位移動量当たりの作動量
が一定になる。このため、連続作動手段(レーザ裁断装
置140)で対象物を裁断した場合には、ヘッドと対象
物の間の相対速度が変化しても、その切り口を均一にす
ることができる。なお、上記の例では、作動量f(v)
を1次関数のグラフに従って求めたが、連続作動手段に
おける制御電圧に対する実際の作動量の特性に応じて、
2次関数以上の多次関数のグラフに従って求めてもよ
い。この場合には、より最適な制御電圧により連続作動
手段を作動させることができる。
Therefore, by performing the output control means {the processing procedure shown in FIG. 9A}, the operation amount per unit movement amount performed on the object (embroidered object 148) becomes constant. Therefore, when the object is cut by the continuous operation means (laser cutting device 140), the cut can be made uniform even if the relative speed between the head and the object changes. In the above example, the operation amount f (v)
Was obtained according to the graph of the linear function, and according to the characteristic of the actual operating amount with respect to the control voltage in the continuous operating means,
It may be obtained according to a graph of a quadratic function or higher. In this case, the continuous operating means can be operated with a more optimal control voltage.

【0061】次に、第3の実施例について説明する。な
お、上記の第1の実施例とは、物理的な構成は図2と同
一であり、処理手順も図3,図5,図6と同一である。
なお、図6のステップS64は停止を含む任意の送り速
度で送ってもよく、ステップS60は必ずしも必要では
なくなる。このステップS64の具体的な処理につい
て、図10を参照しつつ説明する。ここで、ステップS
114とステップS116は、出力制御手段を具体化し
た他の処理の一つである。
Next, the third embodiment will be described. The physical configuration of the first embodiment is the same as that of FIG. 2, and the processing procedure is also the same as that of FIGS. 3, 5, and 6.
Note that step S64 of FIG. 6 may be performed at any feed speed including stop, and step S60 is not always necessary. The specific process of step S64 will be described with reference to FIG. Here, step S
114 and step S116 are one of other processes embodying the output control means.

【0062】図10は、枠移動処理の他の手順を示すフ
ローチャートである。図において、まず、所定期間(例
えば、0.1秒間)におけるX軸用エンコーダ144と
Y軸用エンコーダ134から出力されるパルスの数をカ
ウントし(ステップS110)、刺繍枠146の移動速
度を算出する(ステップS112)。
FIG. 10 is a flow chart showing another procedure of the frame moving process. In the figure, first, the number of pulses output from the X-axis encoder 144 and the Y-axis encoder 134 in a predetermined period (for example, 0.1 seconds) is counted (step S110), and the moving speed of the embroidery frame 146 is calculated. (Step S112).

【0063】この刺繍枠146の移動速度の算出は、次
式によって行われる。なお、現在の刺繍枠146の移動
速度をvi 、X軸用エンコーダ144から出力されるパ
ルスの数をCx 、Y軸用エンコーダ134から出力され
るパルスの数をCy 、1パルス当たりの移動量をL、上
記の所定期間をTc 、x軸方向移動速度をvx 、y軸方
向移動速度をvy とする。 vx =(Cx ・L)/Tc vy =(Cy ・L)/Tc vi ={(vx )2 +(vy )2 1/2
The moving speed of the embroidery frame 146 is calculated by the following equation. Note that the current moving speed of the embroidery frame 146 is vi, the number of pulses output from the X-axis encoder 144 is Cx, the number of pulses output from the Y-axis encoder 134 is Cy, and the moving amount per pulse is L, the predetermined period is Tc, the x-axis direction moving speed is vx, and the y-axis direction moving speed is vy. vx = (Cx · L) / Tc vy = (Cy · L) / Tc vi = {(vx) 2 + (vy) 2} 1/2

【0064】こうして算出された移動速度vi に基づい
て、図9のステップS102、S104と同様に、レー
ザ裁断装置140の作動量(すなわち、制御電圧)を算
出し(ステップS114)、レーザ裁断装置140に出
力し(ステップS116)、本処理手順を終了する。
Based on the moving speed vi thus calculated, the operation amount (that is, the control voltage) of the laser cutting device 140 is calculated (step S114), as in steps S102 and S104 of FIG. 9, and the laser cutting device 140 is calculated. (Step S116), and the present processing procedure ends.

【0065】したがって、刺繍枠146の移動速度vi
に従って、出力制御手段(図10のステップS114,
S116)が対象物に対して行う作動量を制御するの
で、単位移動量当たりの作動量が一定になる。このた
め、連続作動手段(レーザ裁断装置140)で対象物を
裁断した場合には、対象物の移動速度vi が変化した場
合や、対象物が連続的に送られない場合(例えば断続的
な送りのように、停止を含む送り)であっても、その切
り口は連続した滑らかなものになる。
Therefore, the moving speed vi of the embroidery frame 146 is
According to the output control means (step S114 of FIG. 10,
Since S116) controls the operation amount performed on the object, the operation amount per unit movement amount becomes constant. Therefore, when the object is cut by the continuous operation means (laser cutting device 140), the moving speed vi of the object changes, or the object cannot be fed continuously (for example, intermittent feeding). Even if it is a feed including stop), the cut end becomes continuous and smooth.

【0066】以上で説明した実施例では、刺繍ミシンで
刺繍を行うとともにレーザ光による裁断を行う例を説明
したが、刺繍を行うとともにインクジェット装置による
彩色を行う第4の実施例について説明する。図5,図1
1および図12は、第4の実施例を実施するための処理
手順を示すフローチャートである。これらの全体の処理
手順は駆動信号出力手段24を具体化した他の処理手順
であって、いずれも図2に示すROM102に格納され
た処理プログラムをCPU110が実行することによっ
て実現される。
In the embodiment described above, the embroidery machine performs embroidery and cutting with laser light is described. A fourth embodiment will be described in which embroidery is performed and coloring is performed by an ink jet device. 5 and 1
1 and FIG. 12 are flowcharts showing the processing procedure for implementing the fourth embodiment. These entire processing procedures are other processing procedures embodying the drive signal output means 24, and are all realized by the CPU 110 executing the processing program stored in the ROM 102 shown in FIG.

【0067】なお、上記の実施例と物理的な構成は、R
OM102には同一時間内に加速し始めた後に減速し終
える移動速度の加減速パターンを、移動量(ΔXまたは
ΔY)ごとに記憶する。この加減速パターンの一例を、
図13(A)に示す。また、レーザ裁断装置140を、
他の連続作動手段の一つであるインクジェット装置に変
える。この点を除き、他の要素は図2と同一である。こ
こで、インクジェット装置は、レーザ裁断装置140と
同様に、指令された制御電圧に従ってインク量(単位移
動量当たりに吹き付けるインクの量)を調整することが
できる。したがって、制御電圧が高くなるにつれてイン
ク量が多くなるため、彩色される線分が太くなる。
The above embodiment and the physical configuration are
The OM 102 stores an acceleration / deceleration pattern of a moving speed that starts decelerating and then decelerates within the same time for each moving amount (ΔX or ΔY). An example of this acceleration / deceleration pattern
It is shown in FIG. In addition, the laser cutting device 140,
The inkjet device is one of the other continuous operation means. Except for this point, the other elements are the same as those in FIG. Here, the inkjet device can adjust the ink amount (the amount of ink sprayed per unit movement amount) according to the commanded control voltage, similarly to the laser cutting device 140. Therefore, as the control voltage increases, the amount of ink increases, and the colored line segment becomes thicker.

【0068】図11は、メイン処理の他の手順を示すフ
ローチャートである。なお、図3と同一の要素には同一
番号を付し、説明を省略する。したがって、ステップS
14の刺繍処理の後に、インクジェット装置による彩色
処理を行う(ステップS16b)。この彩色処理の具体
的な手順について、図12(他に、必要に応じて図6)
を参照しつつ説明する。
FIG. 11 is a flow chart showing another procedure of the main processing. The same elements as those in FIG. 3 are designated by the same reference numerals and the description thereof will be omitted. Therefore, step S
After the embroidery process of 14, the coloring process is performed by the inkjet device (step S16b). The specific procedure of this coloring process is shown in FIG. 12 (and, if necessary, FIG. 6).
Will be described with reference to.

【0069】図12において、まず、彩色を開始するた
めに必要な初期化処理を行う(ステップS70)。初期
化処理の具体的な内容としては図6に示すステップS5
0と同様に、例えば、刺繍枠146を原点に戻したり、
後述するステップS76で取得するステッチデータを指
すポインタを柄データの先頭に設定したりする。次に、
彩色が終わりか否かを判別する(ステップS72)。な
お、第1回目の実行は、ポインタが柄データの先頭のス
テッチデータを指すために彩色が終わりではなく(N
O)、ステップS76に進む。
In FIG. 12, first, an initialization process necessary to start coloring is performed (step S70). The specific content of the initialization process is step S5 shown in FIG.
As with 0, for example, the embroidery frame 146 is returned to the origin,
A pointer pointing to the stitch data acquired in step S76 described later is set at the beginning of the pattern data. next,
It is determined whether the coloring is finished (step S72). In the first execution, since the pointer points to the first stitch data of the pattern data, the coloring is not the end (N
O), and proceeds to step S76.

【0070】そして、ポインタが指すステッチデータを
取得し(ステップS76)、制御コード内の識別コード
が「インクジェット」か否かを検査する(ステップS7
8)。もし、識別コードが「インクジェット」でない
(NO)ならば、ポインタのインクリメントを行なって
(ステップS74)、次のステッチデータの処理に備え
る。一方、識別コードが「インクジェット」である(Y
ES)場合には、刺繍枠146を等速度で送るために、
ステッチデータで指定されたx軸移動量とy軸移動量に
基づいてタイムコンスタントTx ,Ty を求める(ステ
ップS80)。なお、このタイムコンスタントTx ,T
y を求める方法はステップS60と同様であるので、説
明を省略する。
Then, the stitch data pointed by the pointer is obtained (step S76), and it is checked whether the identification code in the control code is "ink jet" (step S7).
8). If the identification code is not "inkjet" (NO), the pointer is incremented (step S74) to prepare for the processing of the next stitch data. On the other hand, the identification code is “inkjet” (Y
ES), in order to send the embroidery frame 146 at a constant speed,
Time constants Tx and Ty are obtained based on the x-axis movement amount and the y-axis movement amount designated by the stitch data (step S80). In addition, this time constant Tx, T
The method for obtaining y is the same as that in step S60, and therefore its description is omitted.

【0071】その後、制御コード内の色コードが前回指
定された色コードと異なるか否かを検査し(ステップS
82)、異なる場合にのみ色換処理を行う(ステップS
84)。この色換処理では、指定された色のインクを吹
き付けるノズルを選択する処理が行われる。そして、所
定の制御電圧をインクジェット装置に出力し、インクを
吹き付けて被刺繍物148を彩色しながら(ステップS
86)、上記ステップS80で算出されたタイムコンス
タントTx ,Ty に従って刺繍枠146を移動させ(ス
テップS88)、インクの吹き付けを停止する(ステッ
プS90)。なお、第1回目のステップS86の実行後
は、刺繍枠146は本処理手順が終了するまで、停止す
ることなく等速度で、しかも連続的に移動する。
Thereafter, it is checked whether the color code in the control code is different from the previously designated color code (step S
82), the color conversion process is performed only when the difference is present (step S).
84). In this color conversion process, a process of selecting a nozzle that sprays the ink of the designated color is performed. Then, a predetermined control voltage is output to the inkjet device, and ink is sprayed to color the embroidered object 148 (step S
86), the embroidery frame 146 is moved according to the time constants Tx and Ty calculated in step S80 (step S88), and the ink spraying is stopped (step S90). After the first execution of step S86, the embroidery frame 146 continuously moves at a constant speed without stopping until the processing procedure is completed.

【0072】こうして刺繍枠146を移動させる間にイ
ンクジェット装置による彩色が行われた後は、次のステ
ッチデータについて処理を行うためにポインタをインク
リメントし(ステップS74)、ステップS72に戻
る。このステップS72では再び彩色が終わりか否かを
判別して、条件を満たさない限りは柄データの残りのス
テッチデータについて、同様にステップS76乃至ステ
ップS90を実行する。そして、条件を満たしたとき
(YES)、刺繍枠146を停止させ、本処理手順を終
了する。
After coloring by the ink jet device while moving the embroidery frame 146 in this way, the pointer is incremented to process the next stitch data (step S74), and the process returns to step S72. In this step S72, it is judged again whether or not the coloring is over, and unless the condition is satisfied, the steps S76 to S90 are similarly executed for the remaining stitch data of the pattern data. Then, when the condition is satisfied (YES), the embroidery frame 146 is stopped, and this processing procedure is ended.

【0073】したがって、ステッチデータ入力手段22
(図3に示すステップS12)で入力されたステッチデ
ータ10の移動量(ΔX,ΔY)に基づいて、駆動信号
出力手段24(図5,図11および図12に示す処理手
順)が直線補間を行うとともに、移動中の任意の時間に
おけるX軸方向とY軸方向の速度比がX軸方向の移動量
(ΔX)とY軸方向の移動量(ΔY)の比と等しくなる
ようにX軸モータ30とY軸40にパルスを出力するの
で、ある移動位置から次の移動位置へ直線的にスムーズ
に対象物を送ることができる。このため、X軸方向のみ
の移動やY軸方向のみの移動がなく、ある移動位置から
次の移動位置に対象物はスムーズに移動するので、イン
クジェット装置で対象物にインクを吹き付けて彩色した
場合には、その線幅を連続的で一定にすることができ
る。
Therefore, the stitch data input means 22
Based on the movement amount (ΔX, ΔY) of the stitch data 10 input in (step S12 shown in FIG. 3), the drive signal output means 24 (processing procedure shown in FIGS. 5, 11 and 12) performs linear interpolation. The X-axis motor is moved so that the speed ratio in the X-axis direction and the Y-axis direction at any time during the movement becomes equal to the ratio of the X-axis direction movement amount (ΔX) and the Y-axis direction movement amount (ΔY). Since pulses are output to 30 and the Y-axis 40, the object can be smoothly sent linearly from one moving position to the next moving position. Therefore, there is no movement only in the X-axis direction or only in the Y-axis direction, and the object moves smoothly from one moving position to the next moving position. The line width can be made continuous and constant.

【0074】また、駆動信号出力手段24は直線補間を
行うことにより、XY軸の各軸の移動量(ΔX,ΔY)
に反比例するパルス間隔でパルスを出力する(すなわ
ち、一定期間内において移動量に対応する数のパルスを
等時間間隔で出力する)ので、同一方向を維持しながら
等速度で対象物を送ることができる。このため、インク
ジェット装置で被刺繍物148にインクを吹き付けて彩
色した場合には、その線幅を均一にすることができる。
Further, the drive signal output means 24 performs linear interpolation to thereby move the respective XY axes (ΔX, ΔY).
Since pulses are output at a pulse interval that is inversely proportional to (that is, a number of pulses corresponding to the amount of movement within a fixed period are output at equal time intervals), it is possible to send an object at a constant speed while maintaining the same direction. it can. Therefore, when ink is sprayed on the embroidered article 148 by an ink jet device to color it, the line width can be made uniform.

【0075】さらに、対象物をある移動位置に送って通
過させる場合において、駆動信号出力手段24はその移
動位置の前後で異なるパルス間隔でパルスを出力し、し
かも出力するパルスは連続するので、対象物は停止する
ことなく、連続的に送ることができる。このため、イン
クジェット装置で対象物にインクを吹き付けて彩色した
場合には、ある移動位置での線幅は連続的で一定にな
る。
Further, when the object is sent to a certain moving position and passed therethrough, the drive signal output means 24 outputs pulses at different pulse intervals before and after the moving position, and the pulses to be outputted are continuous. Items can be sent continuously without stopping. Therefore, when ink is sprayed on an object to be colored by the inkjet device, the line width at a certain moving position is continuous and constant.

【0076】そして、他の駆動信号出力手段24はX軸
方向とY軸方向のベクトル和の方向に対してパルス数が
一定になるようにパルスを出力するので、対象物の送り
速度を終始一定に維持することができる。このため、イ
ンクジェット装置で被刺繍物148にインクを吹き付け
て彩色した場合には、ある移動位置の線幅を終始連続的
で一定にすることができる。
Since the other drive signal output means 24 outputs pulses so that the number of pulses becomes constant in the direction of vector sum in the X-axis direction and the Y-axis direction, the feeding speed of the object is constant from beginning to end. Can be maintained at. For this reason, when ink is sprayed onto the embroidered article 148 by an inkjet device for coloring, the line width at a certain moving position can be made continuous and constant all the time.

【0077】なお、上記の第4の実施例は、連続作動手
段がレーザ裁断装置140とインクジェット装置で異な
る点を除き、第1の実施例に対応する。このため、第1
の実施例の変形例として第2の実施例と第3の実施例が
あると同様に、第4の実施例の変形例として第2の実施
例と第3の実施例を同様に適用してもよい。この場合、
第2の実施例を適用すれば、ヘッドと対象物の間の相対
速度が変化しても、彩色した線幅を一定にすることがで
きる。同様に、第3の実施例を適用すれば、対象物の移
動速度が変化した場合や、対象物が連続的に送られない
場合(すなわち、断続的な送りのように停止を含む送
り)であっても、彩色した線幅を一定にすることができ
る。
The fourth embodiment described above corresponds to the first embodiment except that the continuous cutting means is different between the laser cutting device 140 and the ink jet device. Therefore, the first
In the same manner as the second embodiment and the third embodiment as modifications of the above embodiment, the second embodiment and the third embodiment are similarly applied as modifications of the fourth embodiment. Good. in this case,
By applying the second embodiment, the colored line width can be made constant even if the relative speed between the head and the object changes. Similarly, when the third embodiment is applied, when the moving speed of the object changes or when the object cannot be continuously fed (that is, the feed including the stop like the intermittent feed). Even if there is, the colored line width can be made constant.

【0078】ここで、上記の第1の実施例から第4の実
施例まではX軸モータ30とY軸モータ40にパルスモ
ータを適用した場合について説明したが、X軸モータ3
0としてX軸サーボモータ150を、Y軸モータ40と
してY軸サーボモータ160をそれぞれ適用する場合に
ついて、以下に説明する。なお、図2に示す駆動装置1
30は、CPU110からバス114を介して送られた
駆動データに従って、X軸サーボモータ150とY軸サ
ーボモータ160にそれぞれ駆動電圧を出力する。X軸
サーボモータ150とY軸サーボモータ160は、この
駆動電圧に応じて刺繍枠146を移動させる。したがっ
て、刺繍枠146の移動速度はX軸サーボモータ150
とY軸サーボモータ160にそれぞれ出力する駆動電圧
に比例する。
Here, the case where the pulse motor is applied to the X-axis motor 30 and the Y-axis motor 40 has been described in the first to fourth embodiments, but the X-axis motor 3
A case where the X-axis servo motor 150 is applied as 0 and the Y-axis servo motor 160 is applied as the Y-axis motor 40 will be described below. The drive device 1 shown in FIG.
30 outputs drive voltages to the X-axis servomotor 150 and the Y-axis servomotor 160, respectively, according to the drive data sent from the CPU 110 via the bus 114. The X-axis servo motor 150 and the Y-axis servo motor 160 move the embroidery frame 146 according to this drive voltage. Therefore, the moving speed of the embroidery frame 146 is controlled by the X-axis servomotor 150.
And Y-axis servo motor 160 are respectively proportional to the drive voltage output to them.

【0079】この場合、図7(A)に示すように、例え
ばある位置Pa-1 から次の位置Paへ刺繍枠146を移
動させる場合には、図13(A)に示す移動速度の加減
速パターン群から適切な加減速パターンを選択し、図1
3(B)に示すような駆動電圧Eの出力制御を行う。す
なわち、図13(A)において、移動速度の加減速パタ
ーン群(fp1〜fp8)は同一時間内(時間tc 内)に加
速し始めた後に減速し終える移動速度の加減速パターン
であり、移動量(ΔXまたはΔY)ごとに記憶する。全
ての加減速パターンは、時刻t0 で加速し始め、時刻t
a で等速度で移動し始め、時刻tb で減速し始め、時刻
tc で停止する。したがって、一つ一つの加減速パター
ンは、移動量に応じて駆動する電圧Eが異なる。なお、
図示する移動速度の加減速パターン群(fp1〜fp8)
は、その一例である。
In this case, as shown in FIG. 7A, for example, when the embroidery frame 146 is moved from one position Pa-1 to the next position Pa, the moving speed shown in FIG. Select an appropriate acceleration / deceleration pattern from the pattern group and
The output control of the drive voltage E as shown in FIG. 3 (B) is performed. That is, in FIG. 13A, the acceleration / deceleration pattern group (fp1 to fp8) of the moving speed is the acceleration / deceleration pattern of the moving speed that starts to accelerate within the same time (within time tc) and then finishes decelerating. Store for each (ΔX or ΔY). All acceleration / deceleration patterns start to accelerate at time t0 and
It starts moving at a constant speed at a, starts decelerating at time tb, and stops at time tc. Therefore, in each acceleration / deceleration pattern, the driving voltage E differs depending on the amount of movement. In addition,
Acceleration / deceleration pattern group of moving speed shown (fp1 to fp8)
Is an example.

【0080】ここで、仮に加減速パターンfp3と加減速
パターンfp4の移動量の比が3:4であるときは、その
駆動電圧E3と駆動電圧E4の比も3:4になる。な
お、仮に加減速パターンfp3と加減速パターンfp4の移
動量の比が3:4であれば、その移動速度の比もまた
3:4になる。したがって、加減速パターンfp3と加減
速パターンfp4の各時間における速度比もまた3:4に
なり、速度比が時間に対して不変である。このため、移
動量ごとに対する加減速パターンにおいて、ある一つの
加減速パターンと他の一つの加減速パターンの速度比
は、加速開始から減速終了まで変わらない。図7(A)
において、ある位置Pa-1 から次の位置Pa への移動量
は、x軸方向の移動量とy軸方向の移動量の比として
4:3である。この場合、x軸方向の移動量には加減速
パターンfp4を、y軸方向には加減速パターンfp3を選
択するのが最適である。すなわち、X軸サーボモータ1
50には加減速パターンfp4に従って、Y軸サーボモー
タ160には加減速パターンfp3に従ってそれぞれ駆動
電圧Eを変化させながら出力する。
If the ratio of the amount of movement between the acceleration / deceleration pattern fp3 and the acceleration / deceleration pattern fp4 is 3: 4, the ratio between the driving voltage E3 and the driving voltage E4 is 3: 4. If the ratio of the movement amount between the acceleration / deceleration pattern fp3 and the acceleration / deceleration pattern fp4 is 3: 4, the ratio of the movement speed is also 3: 4. Therefore, the speed ratio of the acceleration / deceleration pattern fp3 and the acceleration / deceleration pattern fp4 at each time is also 3: 4, and the speed ratio does not change with time. Therefore, in the acceleration / deceleration pattern for each movement amount, the speed ratio of one acceleration / deceleration pattern to another acceleration / deceleration pattern does not change from the start of acceleration to the end of deceleration. FIG. 7 (A)
In the above, the amount of movement from one position Pa-1 to the next position Pa is 4: 3 as the ratio of the amount of movement in the x-axis direction to the amount of movement in the y-axis direction. In this case, it is optimal to select the acceleration / deceleration pattern fp4 for the movement amount in the x-axis direction and the acceleration / deceleration pattern fp3 for the y-axis direction. That is, the X-axis servo motor 1
The voltage 50 is output according to the acceleration / deceleration pattern fp4, and the Y-axis servo motor 160 is output while changing the drive voltage E according to the acceleration / deceleration pattern fp3.

【0081】図13(B)において、こうして選択され
た加減速パターンに従って、駆動電圧Eを時刻t10か
ら時刻t12までの間で変化させる。すなわち、X軸サ
ーボモータ150には加減速パターンfx に従って駆動
電圧Eを変化させ、Y軸サーボモータ160には加減速
パターンfy に従って駆動電圧Eを変化させる。この制
御により、刺繍枠146は時刻t10から時刻t11a
までは加速し、時刻t11aから時刻t11bまでは等
速度で移動し、時刻t11bから時刻t12までは減速
する。このとき、加減速パターンfx に従う駆動電圧E
と加減速パターンfy に従う駆動電圧Eの比が時刻t1
0から時刻t12までの間は常に4:3となっている。
In FIG. 13B, the drive voltage E is changed from time t10 to time t12 according to the acceleration / deceleration pattern thus selected. That is, the X-axis servo motor 150 changes the drive voltage E according to the acceleration / deceleration pattern fx, and the Y-axis servo motor 160 changes the drive voltage E according to the acceleration / deceleration pattern fy. By this control, the embroidery frame 146 moves from time t10 to time t11a.
Until time t11a to time t11b, the vehicle moves at a constant speed and decelerates from time t11b to time t12. At this time, the drive voltage E according to the acceleration / deceleration pattern fx
And the drive voltage E according to the acceleration / deceleration pattern fy is time t1.
It is always 4: 3 from 0 to time t12.

【0082】したがって、上記の加減速パターンfx と
加減速パターンfy に従ってサーボモータに駆動電圧E
を変化させながら出力することによって、刺繍枠146
をある移動位置から次の移動位置へXY同軸で移動させ
るように、直線補間を行うことができる。このため、サ
ーボモータを適用した場合でも、対象物(被刺繍物14
8)に対して連続作動手段を作動させた場合には、その
作動結果を連続した滑らかなものにすることができる。
例えば、レーザ裁断装置140でレーザ光を対象物に照
射して裁断する場合には、その切り口が連続した滑らか
なものになる。同様に、インクジェット装置で対象物に
インクを吹き付けて彩色した場合には、その線幅が連続
的でなめらかなものにすることができる。なお、連続作
動手段を上記の第3の実施例に従って、現在の対象物の
移動速度に応じて、対象物に対して行う単位移動量当た
りの作動量を一定にする制御を行えば、その作動結果は
連続した一定なものにすることができる。
Therefore, the drive voltage E is applied to the servo motor according to the acceleration / deceleration pattern fx and the acceleration / deceleration pattern fy described above.
By changing the output, the embroidery frame 146
It is possible to perform linear interpolation so that is moved from one movement position to the next movement position on the XY axis. Therefore, even when the servo motor is applied, the object (the embroidered object 14
When the continuous actuating means is actuated with respect to 8), the operation result can be made continuous and smooth.
For example, when the laser cutting device 140 irradiates and cuts an object with a laser beam, the cut end becomes continuous and smooth. Similarly, when ink is sprayed onto an object for coloring with an inkjet device, the line width can be made continuous and smooth. In addition, according to the third embodiment described above, if the control for making the operation amount per unit movement amount performed on the object constant according to the current moving speed of the object is performed, the operation is performed. The results can be continuous and constant.

【0083】以上ではXY移動機構のためのモータ制御
装置の一実施例について説明したが、このXY移動機構
のためのモータ制御装置におけるその他の部分の構造、
形状、大きさ、材質、個数、配置および動作条件等につ
いても、本実施例に限定されるものでない。例えば、駆
動信号出力手段24はステッチデータ10に従って直線
補間を行うように構成したが、曲線補間を行うように構
成してもよい。すなわち、図14(A)に示すように、
例えばある位置Pa-1 から次の位置Pa へ対象物を移動
させる場合において、X軸パルスモータ142とY軸パ
ルスモータ132にはそれぞれパルス間隔を変化させな
がらパルスを出力する。具体的には、図14(B)に示
すように、X軸パルスモータ142には、始めはパルス
間隔を長くし、次第に短くしながらパルスを出力する。
一方、Y軸パルスモータ132には、始めはパルス間隔
を短くし、次第に長くしながらパルスを出力する。こう
した二以上の位置に基づいて曲線補間を行う方法には、
円弧補間、スプライン(Spline)補間、ベジエ(Bezie
r)補間等がある。このようなパルス間隔の可変制御に
よって、図14(A)に示す曲線に沿って対象物をスム
ーズに移動させることができる。したがって、対象物を
曲線的に裁断したり、彩色したり等の作動を行うことが
できる。
An embodiment of the motor control device for the XY moving mechanism has been described above, but the structure of the other parts of the motor control device for the XY moving mechanism,
The shape, size, material, number, arrangement, operating conditions, etc. are not limited to those in this embodiment. For example, the drive signal output means 24 is configured to perform linear interpolation according to the stitch data 10, but may be configured to perform curved interpolation. That is, as shown in FIG.
For example, when the object is moved from one position Pa-1 to the next position Pa, pulses are output to the X-axis pulse motor 142 and the Y-axis pulse motor 132 while changing the pulse intervals. Specifically, as shown in FIG. 14 (B), the X-axis pulse motor 142 outputs a pulse while initially increasing the pulse interval and gradually shortening it.
On the other hand, the Y-axis pulse motor 132 outputs a pulse while the pulse interval is shortened at first and gradually lengthened. A method for performing curve interpolation based on these two or more positions is
Circular interpolation, Spline interpolation, Bezier
r) There is interpolation etc. By such variable control of the pulse interval, the object can be smoothly moved along the curve shown in FIG. Therefore, it is possible to perform operations such as curvilinearly cutting or coloring the object.

【0084】また、ステッチデータに含まれる制御コー
ドに所定のコードが指定された場合を「所定の条件を満
たす場合」として対象物(被刺繍物148)に対して連
続的に作動させるように構成したが、図2に示すキーボ
ード120に設けられたスイッチをオンする等のよう
に、所定の作動条件が設定された場合を「所定の条件を
満たす場合」として対象物に対して連続的に作動させる
構成としてもよい。この構成では、ステッチデータには
所定のコードが不要になるので、ステッチデータのデー
タ量を減らすことができる。また、対象物が送られてい
る途中で、対象物に対して連続的に作動させることがで
きる。
Further, the case where a predetermined code is designated as the control code included in the stitch data is set as "when the predetermined condition is satisfied" so that the object (embroidered object 148) is continuously operated. However, when a predetermined operating condition is set, such as when a switch provided on the keyboard 120 shown in FIG. 2 is turned on, the object is continuously operated as “when the predetermined condition is satisfied”. It may be configured to allow it. With this configuration, since a predetermined code is not required for the stitch data, the amount of stitch data can be reduced. Further, it is possible to continuously operate the object while the object is being sent.

【0085】同様に、ステッチデータに含まれる制御コ
ードに所定のコードが指定された場合と、所定の作動条
件が設定された場合の少なくとも一つを満たす場合を
「所定の条件を満たす場合」として対象物に対して連続
的に作動させるように構成してもよい。この構成では、
ステッチデータには所定のコードを指定するか、所定の
スイッチ等を設定するかいずれの方法でも条件設定がで
きるので、オペレータは都合のよい方法で条件設定を行
うことができる。
Similarly, the case where a predetermined code is designated as the control code included in the stitch data and the case where at least one of the case where the predetermined operation condition is set is satisfied is referred to as "when the predetermined condition is satisfied". It may be configured to operate continuously with respect to the object. With this configuration,
The condition can be set by any method of designating a predetermined code in the stitch data or setting a predetermined switch, so that the operator can set the condition by a convenient method.

【0086】また、連続作動手段には、レーザ光により
対象物を裁断するレーザ裁断装置140や、インクを対
象物に吹き付けて彩色するインクジェット装置を適用し
たが、高圧の水を対象物に当てて裁断する水裁断装置、
対象物を裁断するカッター(レーザ裁断装置を除く)、
対象物を温めたり焼き切るニクロム線、対象物を乾燥さ
せるドライヤ等のように、対象物に対して連続的に作動
させる他の連続作動装置も同様に適用することもでき
る。このような連続作動装置であっても、対象物に対し
て均一に作動させることができる。同様に、対象物には
被刺繍物148を適用したが、刺繍するための物に限ら
ず、裁断したり彩色したりする物(例えば、型紙)等の
ように、連続的に作動させて目的の形状を得る物を適用
してもよい。すなわち、本発明は平面的な一定形状をな
す物であれば、どのようなものでも適用することができ
る。
Further, as the continuous operating means, a laser cutting device 140 for cutting an object with a laser beam or an ink jet device for spraying ink on the object for coloring is applied, but high-pressure water is applied to the object. Water cutting device for cutting,
Cutter that cuts the object (excluding laser cutting device),
Other continuous operation devices that continuously operate on the object, such as a nichrome wire that heats or burns the object, a dryer that dries the object, and the like, can be similarly applied. Even such a continuous operation device can be operated uniformly on the object. Similarly, although the object to be embroidered 148 is applied to the object, it is not limited to the object to be embroidered, and the object to be continuously operated such as an object to be cut or colored (for example, paper pattern) is used. You may apply the thing which obtains the shape of. That is, the present invention can be applied to any thing having a constant planar shape.

【0087】さらに、所定の条件を満たすか否かによっ
て、連続送りを行うか間欠送りを行うかを分けるように
構成したが、所定の条件にかかわらず、すべて連続送り
を行うように構成してもよい。すなわち、刺繍を行う場
合にも連続送りで対象物を送ることになるが、縫い針を
対象物(被刺繍物148)に刺してから抜くまでの時間
はごく僅かであるので、針孔を若干大径にしておけば、
針折れ等の支障なしに刺繍を行うことができる。この構
成では、所定の条件とその判別が不要になるので、手間
がかからず、また間欠送りで刺繍する場合よりも速く行
うことができる。
Further, although it is arranged to decide whether to perform continuous feeding or intermittent feeding depending on whether or not a predetermined condition is satisfied, it is configured such that all continuous feeding is performed regardless of the predetermined condition. Good. That is, even when performing embroidery, the object is continuously fed, but since the time from when the sewing needle is pierced into the object (embroidered object 148) to when it is withdrawn is very short, the needle hole may be slightly opened. If you set a large diameter,
Embroidery can be performed without trouble such as broken needles. In this configuration, the predetermined condition and its determination are not necessary, so that it does not take time and can be performed faster than when embroidering by intermittent feeding.

【0088】そして、実施例では本発明を刺繍ミシンに
適用し、刺繍を行うとともにレーザ裁断装置による裁断
やインクジェット装置による彩色を行う構成としたが、
レーザ裁断装置のみをヘッドに設けた裁断装置や、イン
クジェット装置をヘッドに設けた彩色装置等のように、
対象物に対して連続的な作動のみを行う専用装置にも同
様に本発明を適用することができる。このような専用装
置では、所定の条件にかかわらず、すべて連続送りを行
えばよいため、対象物の裁断や彩色等の作動を素早く行
うことができる。
In the embodiment, the present invention is applied to an embroidery sewing machine to perform embroidery, cutting with a laser cutting device and coloring with an ink jet device.
Like a cutting device in which only a laser cutting device is provided in the head, or a coloring device in which an inkjet device is provided in the head,
The present invention can be similarly applied to a dedicated device that only continuously operates an object. In such a dedicated device, it is sufficient to carry out continuous feeding irrespective of the predetermined conditions, so that the cutting and coloring of the object can be quickly performed.

【0089】その他、柄データの入力処理(図3に示す
ステップS12)では、ROM102に格納された柄デ
ータをそのまま入力した後、表示制御回路106に転送
して表示するように構成したが、あらかじめ柄データを
所定の形式で圧縮してROM102に格納しておき、こ
の圧縮された柄データを読み出して演算や表示する際
に、上記圧縮された柄データを展開(復元)して演算や
表示を行うように構成してもよい。この構成では、柄デ
ータを圧縮してROM102に格納することで、柄デー
タを格納するために必要な容量が大幅に抑えられる。こ
のため、必要なROM102の容量を少なくすることが
でき、ひいてはモータ制御装置全体のコストを低く抑え
ることができる。ここで、圧縮方法としては、MR(mo
dified READ )方式やMMR(modified modified REA
D)方式の符号化法、ランレングス(Run-Length)符号
化法、LZ(Lempel-Ziv)符号化法、算術符号化法、L
ZSS符号化法、LZW(Lempel-Ziv-Welch)符号化法
などの符号化法が望ましい。
In addition, in the pattern data input process (step S12 shown in FIG. 3), the pattern data stored in the ROM 102 is directly input and then transferred to the display control circuit 106 for display. The pattern data is compressed in a predetermined format and stored in the ROM 102. When the compressed pattern data is read out and calculated or displayed, the compressed pattern data is expanded (restored) to perform calculation or display. It may be configured to do so. In this configuration, by compressing the pattern data and storing it in the ROM 102, the capacity required for storing the pattern data can be significantly reduced. For this reason, the required capacity of the ROM 102 can be reduced, which in turn can reduce the cost of the entire motor control device. Here, the compression method is MR (mo
dified READ) method and MMR (modified modified REA)
D) coding method, run-length coding method, LZ (Lempel-Ziv) coding method, arithmetic coding method, L
Encoding methods such as the ZSS encoding method and the LZW (Lempel-Ziv-Welch) encoding method are desirable.

【0090】同様に、柄データを外部記憶装置124に
記憶しておき、電源起動時又はリセット時にあらかじめ
RAM104へ柄データを転送(あるいは圧縮された柄
データを展開)し、あるいは必要に応じて外部記憶装置
にアクセスして柄データを取得するように構成してもよ
い。同様に、よく使用される基本的な柄データをROM
102に記憶し、あまり使用されない柄データを外部記
憶装置124に記憶するように、分散して記憶する構成
としてもよい。これらの構成によれば、外部記憶装置1
24はROM102に比べて膨大な容量を有するので、
非常に多くの柄データを記憶することができる。
Similarly, the pattern data is stored in the external storage device 124, and the pattern data is transferred (or the compressed pattern data is expanded) to the RAM 104 in advance at power-on or reset, or externally if necessary. The storage device may be accessed to obtain the pattern data. Similarly, basic pattern data that is often used is stored in ROM.
The pattern data stored in 102 may be distributed and stored so that the pattern data that is rarely used is stored in the external storage device 124. According to these configurations, the external storage device 1
24 has a huge capacity compared to the ROM 102,
A great deal of pattern data can be stored.

【0091】[0091]

【発明の効果】以上説明したように、請求項1の発明に
よれば、ステッチデータ入力手段に入力されたステッチ
データの移動量(ΔX,ΔY)に基づいて、X軸モータ
は対象物をX軸方向の移動量(ΔX)だけ移動させ、Y
軸モータは対象物をY軸方向の移動量(ΔY)だけ移動
させる。この対象物の移動中に駆動信号出力手段は、任
意の時間におけるX軸方向とY軸方向の速度比がX軸方
向の移動量(ΔX)とY軸方向の移動量(ΔY)の比と
等しくなるように、X軸モータとY軸モータにそれぞれ
駆動信号を出力して同時に駆動させる構成としたので、
対象物はX軸方向のみやY軸方向のみに移動することが
なく、ある移動位置から次の移動位置に直線的にスムー
ズに移動する。したがって、対象物に連続作動装置(レ
ーザ裁断装置やインクジェット装置等)を作動させる場
合には、その作動結果がギザギザにならず、連続した滑
らかなものにすることができる。
As described above, according to the first aspect of the invention, the X-axis motor moves the target object X based on the movement amount (ΔX, ΔY) of the stitch data input to the stitch data input means. Move by the amount of axial movement (ΔX)
The axis motor moves the object by a movement amount (ΔY) in the Y-axis direction. During the movement of the object, the drive signal output means causes the speed ratio in the X-axis direction and the Y-axis direction at a given time to be a ratio of the movement amount (ΔX) in the X-axis direction and the movement amount (ΔY) in the Y-axis direction. Since the driving signals are respectively output to the X-axis motor and the Y-axis motor so that they are equal to each other, they are simultaneously driven.
The object does not move only in the X-axis direction or only in the Y-axis direction, but moves linearly and smoothly from one movement position to the next movement position. Therefore, when the continuous operation device (laser cutting device, ink jet device, etc.) is operated on the object, the operation result is not jagged and can be made continuous and smooth.

【0092】また、請求項2の発明によれば、駆動信号
出力手段がX軸パルスモータにはX軸方向の移動量(Δ
X)に反比例するパルス間隔で、Y軸パルスモータには
Y軸方向の移動量(ΔY)に反比例するパルス間隔でパ
ルスを出力するように構成したので、X軸パルスモータ
とY軸パルスモータには各移動量に反比例するパルス間
隔でパルスが送られる。このため、対象物を直線的に送
ることができ、しかもある移動位置から次の移動位置へ
送る間は等速度で送ることができる。したがって、対象
物に連続作動装置を作動させる場合には、その作動結果
をより連続した滑らかなものにすることができる。
According to the invention of claim 2, the drive signal output means causes the X-axis pulse motor to move in the X-axis direction (Δ
The pulse interval is inversely proportional to (X) and the Y-axis pulse motor is configured to output pulses at pulse intervals inversely proportional to the movement amount (ΔY) in the Y-axis direction. Are pulsed at pulse intervals that are inversely proportional to the amount of movement. Therefore, the object can be sent in a straight line and can be sent at a constant speed while being sent from one moving position to the next moving position. Therefore, when the continuous operation device is operated on the object, the operation result can be made more continuous and smooth.

【0093】さらに、請求項3の発明によれば、ある移
動位置から次の移動位置へは移動量(ΔX1,ΔY1)
に基づくパルス間隔でパルスを出力し、続いて次の移動
位置から次々の移動位置へは移動量(ΔX2,ΔY2)
に基づくパルス間隔でパルスを出力するように構成した
ので、次の移動位置では対象物を停止させることなく、
連続的に、しかも等速度で送ることができる。したがっ
て、対象物が移動位置で停止することがなくなるため、
連続作動装置は一か所に連続して対象物に作動すること
もなくなる。このため、その作動結果を移動位置の前後
で連続した滑らかなものにすることができる。
Further, according to the invention of claim 3, the amount of movement (ΔX1, ΔY1) from one movement position to the next movement position.
Pulses are output at pulse intervals based on, and the amount of movement from the next movement position to the next movement position (ΔX2, ΔY2)
Since it is configured to output pulses at pulse intervals based on, without stopping the object at the next movement position,
It can be sent continuously and at a constant speed. Therefore, the object does not stop at the moving position,
The continuous actuating device also does not act on the object continuously in one place. Therefore, the operation result can be made continuous and smooth before and after the moving position.

【0094】そして、請求項4の発明によれば、駆動信
号出力手段は、X軸方向とY軸方向のベクトル和の方向
に対してパルス数が一定になるようにパルスを出力する
構成としたので、対象物の送り速度を一定に維持するこ
とができる。したがって、ある移動位置から次の移動位
置までの単位ベクトルと、次の移動位置から次々の移動
位置までの単位ベクトルが異なる場合でも、均一な作動
結果を得ることができる。
According to the invention of claim 4, the drive signal output means outputs the pulses so that the number of pulses becomes constant in the vector sum direction of the X-axis direction and the Y-axis direction. Therefore, the feeding speed of the object can be maintained constant. Therefore, even if the unit vector from one moving position to the next moving position and the unit vector from the next moving position to the next moving position are different, a uniform operation result can be obtained.

【0095】そして、請求項5の発明によれば、ステッ
チデータ入力手段に入力されたステッチデータの移動量
(ΔX,ΔY)に基づいて、駆動信号出力手段はX軸モ
ータとY軸モータの加減速パターンを速度パターン記憶
手段から取得する。この加減速パターンは、移動中の任
意の時間におけるX軸方向とY軸方向の速度比がX軸方
向の移動量(ΔX)とY軸方向の移動量(ΔY)の比と
等しくなるように選択する。その後、駆動信号出力手段
は取得した加減速パターンに従ってX軸モータとY軸モ
ータにそれぞれ駆動信号を出力する構成とした。このた
め、対象物はX軸方向とY軸方向の移動速度の比が一定
に維持され、ある移動位置から次の移動位置に直線的に
スムーズに移動する。したがって、対象物に連続作動装
置を作動させる場合には、その作動結果がギザギザにな
らず、直線的で滑らかなものにすることができる。
According to the invention of claim 5, the drive signal output means applies the X-axis motor and the Y-axis motor based on the movement amount (ΔX, ΔY) of the stitch data input to the stitch data input means. The deceleration pattern is acquired from the speed pattern storage means. This acceleration / deceleration pattern is such that the speed ratio in the X-axis direction and the Y-axis direction at an arbitrary time during movement becomes equal to the ratio of the X-axis direction movement amount (ΔX) and the Y-axis direction movement amount (ΔY). select. After that, the drive signal output means outputs the drive signals to the X-axis motor and the Y-axis motor in accordance with the acquired acceleration / deceleration pattern. Therefore, the object maintains a constant ratio of the moving speed in the X-axis direction and the moving speed in the Y-axis direction, and smoothly moves linearly from one moving position to the next moving position. Therefore, when the continuous actuation device is actuated on the object, the actuation result is not jagged and can be made linear and smooth.

【0096】それから、請求項6の発明によれば、出力
制御手段が、対象物の移動速度に基づき単位移動量当た
りの作動量が一定になるように連続作動手段の出力を制
御する構成としたので、連続作動手段が対象物に対して
行う作動量を単位移動量当たり一定に維持することがで
きる。したがって、ヘッドと対象物の間の相対的な移動
速度が変化した場合でも、その作動結果は連続した滑ら
かなものにすることができる。
According to the invention of claim 6, the output control means controls the output of the continuous operation means so that the operation amount per unit movement amount becomes constant based on the moving speed of the object. Therefore, the operation amount performed by the continuous operation means on the object can be kept constant per unit movement amount. Therefore, even when the relative movement speed between the head and the object changes, the operation result can be made continuous and smooth.

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

【図1】本発明のモータ制御装置の構成を示す概念図で
ある。
FIG. 1 is a conceptual diagram showing a configuration of a motor control device of the present invention.

【図2】刺繍ミシンの全体構成を示すブロック図であ
る。
FIG. 2 is a block diagram showing an overall configuration of an embroidery sewing machine.

【図3】メイン処理の手順を示すフローチャートであ
る。
FIG. 3 is a flowchart showing a procedure of main processing.

【図4】柄データの内容を示す図であって、(A)には
位置関係を、(B)には柄データの構成をそれぞれ示
す。
4A and 4B are diagrams showing the contents of pattern data, in which FIG. 4A shows the positional relationship and FIG. 4B shows the structure of the pattern data.

【図5】刺繍処理の手順を示すフローチャートである。FIG. 5 is a flowchart showing a procedure of embroidery processing.

【図6】裁断処理の手順を示すフローチャートである。FIG. 6 is a flowchart showing a procedure of cutting processing.

【図7】本発明のモータ制御装置における送り方法(直
線補間)を示す図であって、(A)には位置関係を、
(B)にはパルス波形をそれぞれ示す。
FIG. 7 is a diagram showing a feeding method (linear interpolation) in the motor control device of the present invention, in which FIG.
(B) shows pulse waveforms.

【図8】柄の一例を示す図であって、(A)には柄の内
容を、(B)には柄データの構成をそれぞれ示す。
FIG. 8 is a diagram showing an example of a pattern, in which (A) shows the content of the pattern and (B) shows the structure of the pattern data.

【図9】枠移動処理の具体例を示す図であって、(A)
には処理手順のフローチャートを、(B)には作動量の
算出方法をそれぞれ示す。
FIG. 9 is a diagram showing a specific example of a frame moving process, including (A)
A flowchart of a processing procedure is shown in (B), and a method of calculating an operation amount is shown in (B).

【図10】枠移動処理の他の手順を示すフローチャート
である。
FIG. 10 is a flowchart showing another procedure of a frame moving process.

【図11】メイン処理の他の手順を示すフローチャート
である。
FIG. 11 is a flowchart showing another procedure of main processing.

【図12】彩色処理の手順を示すフローチャートであ
る。
FIG. 12 is a flowchart illustrating a procedure of coloring processing.

【図13】サーボモータを適用した場合における送り方
法(直線補間)を示す図であり、(A)には加減速パタ
ーン群を、(B)には制御電圧の変化をそれぞれ示す。
FIG. 13 is a diagram showing a feeding method (linear interpolation) when a servo motor is applied, in which (A) shows a group of acceleration / deceleration patterns and (B) shows changes in control voltage.

【図14】本発明のモータ制御装置における他の送り方
法(曲線補間)を示す図であって、(A)には位置関係
を、(B)にはパルス波形をそれぞれ示す。
FIG. 14 is a diagram showing another feeding method (curve interpolation) in the motor control device of the present invention, in which (A) shows a positional relationship and (B) shows a pulse waveform.

【図15】従来のモータ制御装置でパルスモータを適用
した場合における送り方法を示す図であって、(A)に
は位置関係を、(B)にはパルス波形をそれぞれ示す。
FIG. 15 is a diagram showing a feeding method when a pulse motor is applied to a conventional motor control device, in which (A) shows a positional relationship and (B) shows a pulse waveform.

【図16】従来のモータ制御装置でサーボモータを適用
した場合における送り方法を示す図であって、(A)に
は位置関係を、(B)には制御電圧の変化をそれぞれ示
す。
16A and 16B are diagrams showing a feeding method when a servo motor is applied to a conventional motor control device, in which FIG. 16A shows a positional relationship and FIG. 16B shows a change in control voltage.

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

10 ステッチデータ 20 モータ制御装置 22 ステッチデータ入力手段 24 駆動信号出力手段 30 X軸モータ 40 Y軸モータ 10 stitch data 20 motor control device 22 stitch data input means 24 drive signal output means 30 X-axis motor 40 Y-axis motor

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 対象物をX軸方向に送るX軸モータと、
前記対象物をY軸方向に送るY軸モータを備え、そのX
軸モータとそのY軸モータによって前記対象物をXY平
面内で移動させるXY移動機構のためのモータ制御装置
であって、 ある移動位置から次の移動位置へのX軸方向の移動量
(ΔX)とY軸方向の移動量(ΔY)を対にして記憶し
ているステッチデータを入力するステッチデータ入力手
段と、 前記ステッチデータ入力手段に入力されたステッチデー
タの移動量(ΔX,ΔY)に基づいて、同一時間内にX
軸モータが対象物をX軸方向の移動量(ΔX)だけ移動
させY軸モータが対象物をY軸方向の移動量(ΔY)だ
け移動させ、かつ、移動中の任意の時間におけるX軸方
向とY軸方向の速度比がX軸方向の移動量(ΔX)とY
軸方向の移動量(ΔY)の比と等しくなるようにX軸モ
ータとY軸モータにそれぞれ駆動信号を出力する駆動信
号出力手段と、 を有することを特徴とするXY移動機構のためのモータ
制御装置。
1. An X-axis motor for feeding an object in the X-axis direction,
A Y-axis motor for feeding the object in the Y-axis direction is provided.
A motor controller for an XY moving mechanism that moves the object in the XY plane by means of an axis motor and its Y axis motor, the amount of movement in the X axis direction from one moving position to the next moving position (ΔX) And a movement amount (ΔY) in the Y-axis direction as a pair to input the stored stitch data, and based on the movement amount (ΔX, ΔY) of the stitch data input to the stitch data input unit. X in the same time
The axis motor moves the object by the amount of movement in the X-axis direction (ΔX), the Y-axis motor moves the object by the amount of movement in the Y-axis direction (ΔY), and the X-axis direction at any time during the movement. And the speed ratio in the Y-axis direction is the amount of movement in the X-axis direction (ΔX) and Y
A motor control for an XY movement mechanism, comprising: drive signal output means for outputting a drive signal to each of the X-axis motor and the Y-axis motor so as to be equal to the ratio of the amount of movement (ΔY) in the axial direction. apparatus.
【請求項2】 対象物をX軸方向に送るX軸モータと、
前記対象物をY軸方向に送るY軸モータを備え、そのX
軸モータとそのY軸モータによって前記対象物をXY平
面内で移動させるXY移動機構のためのモータ制御装置
であって、 ある移動位置から次の移動位置へのX軸方向の移動量
(ΔX)とY軸方向の移動量(ΔY)を対にして記憶し
ているステッチデータを入力するステッチデータ入力手
段と、 X軸方向の移動量(ΔX)に反比例するパルス間隔でX
軸モータにパルスを出力し、Y軸方向の移動量(ΔY)
に反比例するパルス間隔でY軸モータにパルスを出力す
る駆動信号出力手段と、 を有することを特徴とするXY移動機構のためのモータ
制御装置。
2. An X-axis motor for feeding an object in the X-axis direction,
A Y-axis motor for feeding the object in the Y-axis direction is provided.
A motor controller for an XY moving mechanism that moves the object in the XY plane by means of an axis motor and its Y axis motor, the amount of movement in the X axis direction from one moving position to the next moving position (ΔX) And a stitch data input means for inputting the stored stitch data by pairing the movement amount (ΔY) in the Y-axis direction, and X at a pulse interval inversely proportional to the movement amount (ΔX) in the X-axis direction.
A pulse is output to the axis motor to move in the Y-axis direction (ΔY)
And a drive signal output means for outputting a pulse to the Y-axis motor at a pulse interval inversely proportional to the motor control device for the XY movement mechanism.
【請求項3】 ある移動位置から次の移動位置への移動
量を(ΔX1,ΔY1)とし、次の移動位置から次々の
移動位置への移動量を(ΔX2,ΔY2)とする場合に
おいて、 前記駆動信号出力手段は、X軸方向の移動量(ΔX1)
に基づくパルス間隔でΔX1回パルスを出力した後に続
けてX軸方向の移動量(ΔX2)に基づくパルス間隔で
ΔX2回パルスを出力し、 Y軸方向の移動量(ΔY1)に基づくパルス間隔でΔY
1回パルスを出力した後に続けてY軸方向の移動量(Δ
Y2)に基づくパルス間隔でΔY2回パルスを出力する
ことを特徴とする請求項2記載のXY移動機構のための
モータ制御装置。
3. When the amount of movement from one movement position to the next movement position is (ΔX1, ΔY1) and the amount of movement from the next movement position to the next movement position is (ΔX2, ΔY2), The drive signal output means is a movement amount in the X-axis direction (ΔX1)
After outputting ΔX1 pulse at the pulse interval based on, the pulse is output ΔX2 times at the pulse interval based on the movement amount (ΔX2) in the X-axis direction, and at the pulse interval based on the movement amount (ΔY1) in the Y-axis direction ΔY.
The amount of movement in the Y-axis direction (Δ
3. The motor control device for an XY moving mechanism according to claim 2, wherein pulses are output ΔY2 times at pulse intervals based on Y2).
【請求項4】 前記駆動信号出力手段は、X軸モータに
出力するパルス数の二乗と、Y軸モータに出力するパル
ス数の二乗の和が、単位時間当たり一定になるようにパ
ルスを出力することを特徴とする請求項2記載のXY移
動機構のためのモータ制御装置。
4. The drive signal output means outputs pulses such that the sum of the square of the number of pulses output to the X-axis motor and the square of the number of pulses output to the Y-axis motor is constant per unit time. The motor controller for the XY movement mechanism according to claim 2.
【請求項5】 対象物をX軸方向に送るX軸モータと、
前記対象物をY軸方向に送るY軸モータを備え、そのX
軸モータとそのY軸モータによって前記対象物をXY平
面内で移動させるXY移動機構のためのモータ制御装置
であって、 ある移動位置から次の移動位置へのX軸方向の移動量
(ΔX)とY軸方向の移動量(ΔY)を対にして記憶し
ているステッチデータを入力するステッチデータ入力手
段と、 同一時間内に加速し始めた後に減速し終えるとともに、
速度比が時間に対して不変である移動速度の加減速パタ
ーンを、移動量(ΔXまたはΔY)ごとに記憶している
速度パターン記憶手段と、 前記ステッチデータ入力手段に入力されたステッチデー
タの移動量(ΔX,ΔY)に対応する前記速度パターン
記憶手段に記憶された移動速度の加減速パターンに従っ
て、X軸モータとY軸モータにそれぞれ駆動信号を出力
する駆動信号出力手段と、 を有することを特徴とするXY移動機構のためのモータ
制御装置。
5. An X-axis motor for feeding an object in the X-axis direction,
A Y-axis motor for feeding the object in the Y-axis direction is provided.
A motor controller for an XY moving mechanism that moves the object in an XY plane by an axis motor and a Y axis motor thereof, and a moving amount (ΔX) in a X axis direction from a certain moving position to a next moving position. And stitch data input means for inputting the stored stitch data by pairing the movement amount (ΔY) in the Y-axis direction, and starting deceleration within the same time and then finishing deceleration.
Speed pattern storage means for storing, for each movement amount (ΔX or ΔY), an acceleration / deceleration pattern of a moving speed whose speed ratio does not change with time; and movement of stitch data input to the stitch data input means. Drive signal output means for outputting drive signals to the X-axis motor and the Y-axis motor in accordance with the acceleration / deceleration pattern of the moving speed stored in the speed pattern storage means corresponding to the amount (ΔX, ΔY). A motor controller for a featured XY movement mechanism.
【請求項6】 対象物に対して連続的に作動する連続作
動手段と、 前記対象物の移動速度に基づいて、前記連続作動手段の
単位移動量当たりの作動量が一定になるように前記連続
作動手段の出力を制御する出力制御手段と、 をさらに有することを特徴とする請求項1,2又は5記
載のXY移動機構のためのモータ制御装置。
6. A continuous operation means for continuously operating with respect to an object, and the continuous operation means so that an operation amount per unit movement amount of the continuous operation means becomes constant based on a moving speed of the object. The motor control device for the XY moving mechanism according to claim 1, further comprising: output control means for controlling the output of the operating means.
JP21373994A 1994-09-07 1994-09-07 Motor control device for xy moving mechanism Pending JPH0871275A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21373994A JPH0871275A (en) 1994-09-07 1994-09-07 Motor control device for xy moving mechanism

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21373994A JPH0871275A (en) 1994-09-07 1994-09-07 Motor control device for xy moving mechanism

Publications (1)

Publication Number Publication Date
JPH0871275A true JPH0871275A (en) 1996-03-19

Family

ID=16644214

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21373994A Pending JPH0871275A (en) 1994-09-07 1994-09-07 Motor control device for xy moving mechanism

Country Status (1)

Country Link
JP (1) JPH0871275A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002126382A (en) * 2000-10-20 2002-05-08 Juki Corp Sewing material feeder
KR101250286B1 (en) * 2010-12-28 2013-04-03 썬스타알앤씨(주) Method for controling tabouret transferrence of sewing machine
CN113832625A (en) * 2021-10-29 2021-12-24 诸暨创加电子设备有限公司 Embroidery machine tabouret driving gain adjusting method and device based on displacement graphic method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002126382A (en) * 2000-10-20 2002-05-08 Juki Corp Sewing material feeder
KR101250286B1 (en) * 2010-12-28 2013-04-03 썬스타알앤씨(주) Method for controling tabouret transferrence of sewing machine
CN113832625A (en) * 2021-10-29 2021-12-24 诸暨创加电子设备有限公司 Embroidery machine tabouret driving gain adjusting method and device based on displacement graphic method
CN113832625B (en) * 2021-10-29 2022-07-19 诸暨创加电子设备有限公司 Embroidery machine tabouret driving gain adjusting method and device based on displacement graphic method

Similar Documents

Publication Publication Date Title
US5122717A (en) Apparatus for producing NC programs using menu icons to define operations and producing method thereof
EP0511395A1 (en) Conversational type numerical control equipment
JPH1094945A (en) Machining limit area designating method and manual machining method in numerical control device
EP0146628B1 (en) Automatic programming method
JPH0871275A (en) Motor control device for xy moving mechanism
US6842651B1 (en) Programmable controller having plural speed pattern generators
US6909939B1 (en) Numerical control method and numerical control device
WO1990012348A1 (en) Method of plotting nc program
US5065329A (en) Laser oscillator control method for changing a currently executing command program
US20200096968A1 (en) Non-transitory computer-readable medium including a preview presentation program, processing method, and cam system
JPH05297925A (en) Interactive numerical controller
JP2000353003A (en) Nc data recognition device
US5583409A (en) Numerical control apparatus and method for controlling a machine
JPS59200306A (en) Graphic processing method for shift of nc device
JP2813079B2 (en) Numerical control unit
US6263256B1 (en) Embroidery pattern display apparatus
JP3660038B2 (en) Numerical controller
EP0893747B1 (en) A monitoring device for a grinding machine
JPS603926B2 (en) Electric discharge machining control method
EP0615179B1 (en) Numeric controller
JPH04315551A (en) Nc data producing device
JPH08112465A (en) Embroidery sewing machine
JPH04362706A (en) Display system for numerical controller
JPH04177409A (en) Tool locus display device
JPH08263121A (en) Machining path tracing-back system for cnc

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040126

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040316