JP2582367B2 - Embroidery frame drive of embroidery machine - Google Patents

Embroidery frame drive of embroidery machine

Info

Publication number
JP2582367B2
JP2582367B2 JP62109434A JP10943487A JP2582367B2 JP 2582367 B2 JP2582367 B2 JP 2582367B2 JP 62109434 A JP62109434 A JP 62109434A JP 10943487 A JP10943487 A JP 10943487A JP 2582367 B2 JP2582367 B2 JP 2582367B2
Authority
JP
Japan
Prior art keywords
embroidery frame
pulse
embroidery
main shaft
rotation speed
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.)
Expired - Fee Related
Application number
JP62109434A
Other languages
Japanese (ja)
Other versions
JPS63275373A (en
Inventor
憲次郎 西野
幸弘 小林
義夫 柴田
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.)
DATSUKUSU KK
Barudan Co Ltd
Original Assignee
DATSUKUSU KK
Barudan 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 DATSUKUSU KK, Barudan Co Ltd filed Critical DATSUKUSU KK
Priority to JP62109434A priority Critical patent/JP2582367B2/en
Publication of JPS63275373A publication Critical patent/JPS63275373A/en
Application granted granted Critical
Publication of JP2582367B2 publication Critical patent/JP2582367B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】 発明の目的 (産業上の利用分野) 本発明は、主軸の回転により上下動する縫針に同期さ
せて刺繍枠を良好に駆動することのできる刺繍機の刺繍
枠駆動装置に関する。
Description: Object of the Invention (Industrial application field) The present invention relates to an embroidery frame driving device of an embroidery machine which can satisfactorily drive an embroidery frame in synchronization with a sewing needle which moves up and down by rotation of a main shaft. About.

(従来の技術) 従来刺繍機は、主軸の回転をクランク機構を介して縫
針の上下運動に変換しており、更に刺繍枠駆動装置によ
ってこの縫針の運動に同期して刺繍を施す布施を保持し
ている刺繍枠を駆動することで、縫針と布地との相対位
置関係を変更して刺繍処理を可能としている。
(Prior Art) Conventional embroidery machines convert the rotation of a main shaft into a vertical movement of a sewing needle via a crank mechanism. Further, an embroidery frame driving device holds an application for performing embroidery in synchronization with the movement of the sewing needle. By driving the embroidery frame, the relative positional relationship between the sewing needle and the fabric is changed to enable embroidery processing.

そのため、従来の刺繍枠駆動装置は主軸に回転角度を
検出するためのエンコーダを装着し、そのエンコーダか
ら入力されるパルス信号をカウントして縫針が布地から
抜けている期間中に刺繍枠駆動を開始し、所定数のパル
ス信号が入力される毎に刺繍枠を所定量づつ移動するよ
うに構成されている。
For this reason, the conventional embroidery frame driving device mounts an encoder for detecting the rotation angle on the main shaft, counts pulse signals input from the encoder, and starts embroidery frame driving while the sewing needle is falling off the fabric. The embroidery frame is moved by a predetermined amount each time a predetermined number of pulse signals are input.

(発明が解決しようとする問題点) しかし、上記のごとき刺繍機の刺繍枠駆動装置にあっ
ても未だに十分なものではなく、次のような問題点があ
った。
(Problems to be Solved by the Invention) However, the embroidery frame driving device of the embroidery machine as described above is still not enough, and has the following problems.

縫針と連結される主軸は、縫針の上下動に応じた負荷
の変動を直接受ける構成である。例えば、縫針が布地に
突き刺さる下死点および縫針を最上部にまで持ち上げる
上死点等では大きなトルクを必要として回転速度は低下
し、それ以外の回転角度では比較的小さなトルクで十分
となるため回転速度は上昇する。従って、主軸の回転角
度を検出しているエンコーダの出力パルスも上記トルク
の変動の影響を受け主軸の1回転中でもパルス周期が大
きく異なることになる。
The main shaft connected to the sewing needle is configured to directly receive a change in load according to the vertical movement of the sewing needle. For example, at the bottom dead center where the sewing needle pierces the fabric and at the top dead center where the sewing needle is lifted up to the top, a large torque is required and the rotation speed decreases, and at other rotation angles a relatively small torque is sufficient, so that the rotation is sufficient. Speed increases. Accordingly, the output pulse of the encoder that detects the rotation angle of the main shaft also has a great difference in pulse period even during one rotation of the main shaft due to the influence of the torque fluctuation.

この様な変動要因を有するパルス信号を基準として刺
繍枠を駆動する従来の刺繍枠駆動装置は、結果として刺
繍枠の駆動速度の基準が変動するために枠駆動に振動を
生じ、スムースな刺繍枠駆動を実行することができず正
確な位置決めや、円滑な起動・制動ができないばかり
か、最悪の場合には枠駆動の動力源であるステッピング
モータが脱調する可能性もあった。
The conventional embroidery frame driving device that drives the embroidery frame based on the pulse signal having such a variation factor generates vibration in the frame drive because the reference of the driving speed of the embroidery frame fluctuates as a result. In addition to being unable to execute driving, accurate positioning and smooth start-up / braking cannot be performed, and in the worst case, the stepping motor, which is the power source for driving the frame, may lose synchronization.

また、刺繍枠に限らず物体を円滑に移動させるために
は、その物体の質量およびその物体を駆動する駆動装置
の出力に応じた最適な始動、移動、制動の速度が存在す
る。しかし、従来の刺繍枠駆動装置は主軸の回転により
入力されるパルス信号に完全に依存した駆動しかでき
ず、刺繍枠駆動の最適な制御を実行させることができな
かった。
In addition, in order to smoothly move an object, not limited to the embroidery frame, there are optimal starting, moving, and braking speeds according to the mass of the object and the output of a driving device that drives the object. However, the conventional embroidery frame driving device can only drive completely depending on the pulse signal input by the rotation of the main shaft, and cannot execute the optimal control of the embroidery frame driving.

本発明は、上記問題点を解決するためになされたもの
で、主軸の回転変動に対しも何等の影響を受けずスムー
スに刺繍枠の移動を制御でき、正確、かつ円滑な刺繍枠
の駆動を行うことのできる刺繍機の刺繍枠駆動装置を提
供することをその目的としている。
The present invention has been made in order to solve the above problems, and can control the movement of the embroidery frame smoothly without being affected by the rotation fluctuation of the main shaft, and can drive the embroidery frame accurately and smoothly. It is an object of the present invention to provide an embroidery frame driving device of an embroidery machine that can perform the embroidery frame driving.

発明の構成 (問題点を解決するための手段) 上記問題点を解決するために本発明の構成した手段は
第1図の基本的構成図に示すごとく、主軸の回転により
上下動する縫針に同期して該縫針が縫い処理を施す布地
を保持する刺繍枠を駆動し、所望の刺繍模様を前記布地
に形成する刺繍機の刺繍枠駆動装置において、 前記主軸の回転角度に同期した検出信号を出力する主
軸回転角度検出手段と、 該主軸回転角度検出手段の検出信号に基づいて、前記
主軸の平均回転速度を算出する平均回転速度算出手段
と、 該平均回転速度算出手段の算出したした平均回転速度
に対応するパルス周期を決定するパルス周期決定手段
と、 該パルス周期決定手段の決定したパルス周期のパルス
信号を発生するパルス信号発生手段と、 該パルス信号発生手段のパルス信号に同期して前記刺
繍枠を駆動する同期駆動手段と、 を備えることを特徴とする刺繍機の刺繍枠駆動装置を要
旨としている。
Structure of the Invention (Means for Solving the Problems) In order to solve the above problems, the means constructed according to the present invention is, as shown in the basic configuration diagram of FIG. The sewing needle drives an embroidery frame that holds a fabric to be sewn, and an embroidery frame driving device of an embroidery machine that forms a desired embroidery pattern on the fabric outputs a detection signal synchronized with a rotation angle of the main shaft. Spindle rotation angle detection means, average rotation speed calculation means for calculating an average rotation speed of the spindle based on a detection signal of the spindle rotation angle detection means, and average rotation speed calculated by the average rotation speed calculation means Pulse cycle determining means for determining a pulse cycle corresponding to: pulse signal generating means for generating a pulse signal having the pulse cycle determined by the pulse cycle determining means; pulses of the pulse signal generating means And a synchronous drive means for driving the embroidery frame in synchronization with a signal.

(作用) 本発明の刺繍機の刺繍枠駆動装置によれば、主軸回転
角度検出手段が主軸の回転角度に同期して出力する検出
信号に基づいて、平均回転速度算出手段が主軸の平均回
転速度を算出する。そして、パルス周期決定手段が、こ
の平均回転速度に対応するパルス周期を決定し、パルス
信号発生手段に与える。すると、パルス信号発生手段
が、この主軸の平均回転速度に対応するパルス周期のパ
ルス信号を発生する。同期駆動手段は、このパルス信号
に同期して刺繍枠を駆動する。
(Operation) According to the embroidery frame driving device of the embroidery machine of the present invention, the average rotation speed calculating means determines the average rotation speed of the main shaft based on the detection signal output by the main shaft rotation angle detecting means in synchronization with the rotation angle of the main shaft. Is calculated. Then, the pulse cycle determining means determines a pulse cycle corresponding to the average rotation speed and supplies the pulse cycle to the pulse signal generating means. Then, the pulse signal generating means generates a pulse signal having a pulse cycle corresponding to the average rotation speed of the main shaft. The synchronous driving means drives the embroidery frame in synchronization with the pulse signal.

ここで、主軸は、1回転中に変動要因を含んでいるた
め、主軸回転角度検出手段の検出信号そのものには、前
述したように、縫針の上下動の影響などによる微視的な
変動が含まれている。しかし、本発明によれば、平均回
転速度算出手段によって主軸の平均回転速度が算出され
ているので、こうした微視的な変動の影響が除去され
る。従って、同期駆動手段による刺繍枠の駆動は主軸の
回転変動の影響を受けない安定したものとなる。
Here, since the main shaft includes a fluctuation factor during one rotation, the detection signal itself of the main shaft rotation angle detecting means includes a microscopic fluctuation due to the effect of the vertical movement of the sewing needle as described above. Have been. However, according to the present invention, since the average rotation speed of the main shaft is calculated by the average rotation speed calculation means, the influence of such microscopic fluctuation is removed. Therefore, the driving of the embroidery frame by the synchronous driving means becomes stable without being affected by the fluctuation of the rotation of the main shaft.

以下、本発明をより具体的に説明するために実施例を
挙げて説明する。
Hereinafter, the present invention will be described more specifically with reference to examples.

(実施例) 第2図ないし第3図は、実施例の刺繍機の刺繍枠駆動
装置を採用した多針刺繍機の構成説明図である。
(Embodiment) FIGS. 2 and 3 are explanatory views of the configuration of a multi-needle embroidery machine employing an embroidery frame driving device of the embroidery machine of the embodiment.

第2図に示すように2頭型の多針刺繍機10は、コント
ローラ20から入力される刺繍模様を縫い上げるため、入
力された情報をドライバーユニット30によって解析して
公知の一針データを作成し、縫針40の中からその一針デ
ータに従った縫針を選択して刺繍糸を選び、上下動させ
るとともに、その上下動に同期して刺繍枠50のX−Y方
向の移動を制御する。
As shown in FIG. 2, the two-head type multi-needle embroidery machine 10 analyzes input information by a driver unit 30 to create known one-needle data in order to sew an embroidery pattern input from a controller 20. Then, the embroidery thread is selected from the sewing needles 40 according to the one-needle data to select the embroidery thread, and is moved up and down, and the movement of the embroidery frame 50 in the X-Y direction is controlled in synchronization with the up and down movement.

第3図が、上記ドライバーユニット30の詳細な構成ブ
ロック図である。図において針換えモータ32が多針の縫
針から任意の1の縫針を選択するための動力源となるも
のである。縫いモータ34は上記針換えモータ32によって
選択された縫針を上下動するためのもので、その選択さ
れた縫針にクランク軸を介して連結される主軸を回転さ
せ、縫針を所定速度で上下動させる。なお、主軸の回転
状況を検出するため、主軸の所定回転角度、例えば5°
毎にパルス信号を出力するエンコーダ35が主軸に着設さ
れている。ステッピングモータからなるX軸モータ36、
Y軸モータ38は、刺繍枠50をX軸方向、Y軸方向に移動
させる際の動力源となるものである。公知のように、X
軸モータ36はステップ信号が入力される度に刺繍枠50を
X方向に1単位距離だけ移動し、またY軸モータ38はス
テップ信号が入力される度に刺繍枠50をY方向に1単位
距離だけ移動するように、刺繍枠50に取り付けられるベ
ルトをプーリなどを介して回転駆動するのである。
FIG. 3 is a detailed configuration block diagram of the driver unit 30. In the figure, a needle changing motor 32 serves as a power source for selecting an arbitrary one of the multi-needle sewing needles. The sewing motor 34 is for moving the sewing needle selected by the needle changing motor 32 up and down, and rotates a main shaft connected to the selected sewing needle via a crankshaft to move the sewing needle up and down at a predetermined speed. . In order to detect the rotation state of the spindle, a predetermined rotation angle of the spindle, for example, 5 °
An encoder 35 that outputs a pulse signal every time is mounted on the main shaft. X-axis motor 36 consisting of a stepping motor,
The Y-axis motor 38 is a power source for moving the embroidery frame 50 in the X-axis direction and the Y-axis direction. As is known, X
The axis motor 36 moves the embroidery frame 50 by one unit distance in the X direction each time a step signal is input, and the Y axis motor 38 moves the embroidery frame 50 one unit distance in the Y direction each time a step signal is input. The belt attached to the embroidery frame 50 is rotationally driven via a pulley or the like so as to move only.

また、図示のように多針刺繍機10のドライバーユニッ
ト30は、使用者の操作するコントローラ20に接続され、
このコントローラ20から入力される制御データを解析し
つつ動作する通常のマイクロコンピュータを中心とした
ディジタル論理回路であり、論理演算を実行するCPU30
A、各種のプログラムを記憶しているROM30B、情報の一
時的記憶を実行するRAM30Cを備えている。前記したエン
コーダ35の出力はインターフェイス30Dを介して適宜CPU
30Aに取り込まれる。また、各種のモータ、すなわち刺
繍枠30をX−Y方向に移動させるX軸モータ36、Y軸モ
ータ38および針換えモータ32、縫いモータ34、の駆動信
号を出力するモータコントローラ30G〜30Iは、CPU30Aか
らの制御信号に従ってモータの励磁相を適宜変更してモ
ータを所望の速度で、所望の回転角度だけ回転させる。
更に、本実施例のドライバーユニット30はディジタル素
子としてパルス発生器30Jを備えている。これは、CPU30
Aから任意のパルス周期Tを設定させるとその周期Tの
パルス信号を、以後規則正しく発生するものである。
Further, as shown, the driver unit 30 of the multi-needle embroidery machine 10 is connected to the controller 20 operated by the user,
This is a digital logic circuit centered on a normal microcomputer that operates while analyzing control data input from the controller 20, and a CPU 30 that executes logical operations.
A, a ROM 30B for storing various programs, and a RAM 30C for temporarily storing information. The output of the above-described encoder 35 is appropriately sent to the CPU via the interface 30D.
Incorporated in 30A. Further, motor controllers 30G to 30I that output drive signals of various motors, that is, an X-axis motor 36, a Y-axis motor 38, a needle changing motor 32, and a sewing motor 34 for moving the embroidery frame 30 in the XY directions, The excitation phase of the motor is appropriately changed according to the control signal from the CPU 30A, and the motor is rotated at a desired speed at a desired rotation angle.
Further, the driver unit 30 of this embodiment includes a pulse generator 30J as a digital element. This is CPU30
When an arbitrary pulse period T is set from A, a pulse signal of the period T is generated regularly thereafter.

以上のように構成されるドライバーユニット30は、公
知のようにコントローラ20から入力される制御コードを
解析し、その解析結果に基づきエンコーダ35の検出結果
を監視しつつ各モータを駆動することで、所望の刺繍模
様を刺繍枠50に保持される布地に施すことが可能とな
る。
The driver unit 30 configured as described above analyzes a control code input from the controller 20 as is known, and drives each motor while monitoring a detection result of the encoder 35 based on the analysis result. A desired embroidery pattern can be applied to the cloth held by the embroidery frame 50.

本実施例のドライバーユニット30は上記各モータの駆
動制御に際して、特にX軸モータ36、Y軸モータ38の制
御に際して、特有のパルス信号発生プログラムおよび刺
繍枠駆動プログラムを実行することで、刺繍枠50のX−
Y駆動を実行している。第4図および第5図がROM30Bに
格納されるそのパルス信号発生プログラムおよび刺繍枠
駆動プログラムのフローチャートである。
The driver unit 30 of the present embodiment executes a specific pulse signal generation program and an embroidery frame driving program at the time of drive control of each of the above motors, particularly at the time of controlling the X-axis motor 36 and the Y-axis motor 38. X-
Y drive is being performed. 4 and 5 are flowcharts of the pulse signal generation program and the embroidery frame driving program stored in the ROM 30B.

以下、このフローチャートに沿って刺繍枠50の駆動制
御を詳説する。
Hereinafter, the drive control of the embroidery frame 50 will be described in detail with reference to this flowchart.

まず、パルス信号発生プログラムはCPU30Aに所定時間
毎に、あるいは主軸の所定回転角度毎に割り込み処理さ
れるもので、初めにエンコーダ35の現在の検出出力を入
力し(ステップ100)、この入力結果から主軸の平均的
な回転数Nが算出される(ステップ110)。ここで主軸
の平均的な回転数Nとは、主軸の1回転以上の数回転に
要した時間によって決定される巨視的な回転数として算
出されるもので、回転変動の大きい1回転中の微視的な
算出結果である回転数をいわない。こうして回転数Nが
算出された後にはその算出結果に基づきパルス周期Tが
決定される(ステップ120)。このパルス周期Tは、回
転数Nで回転している主軸の回転数をエンコーダ35によ
って検出する時の出力されるパルス列の有する平均的な
周期、あるいはその所定倍の精度のパルス列の有する周
期のことである。すなわち、現在の主軸の回転数Nをエ
ンコーダ35によって、あるいはより高精度の他のエンコ
ーダによって検出したと仮定するときに得られるエンコ
ーダからのパルス周期Tを決定するのである。こうして
決定されたパルス周期Tは、パルス発振器30Jに出力設
定され(ステップ130)、以後パルス発振器30Jはその周
期Tのパルス信号を安定して発振することになる。以上
の一連の処理の後には本プログラムの処理は終了し、CP
U30Aは再び中断していた他のプログラムの処理を開始す
る。
First, the pulse signal generation program is interrupted by the CPU 30A at predetermined time intervals or at predetermined rotation angles of the spindle. First, the current detection output of the encoder 35 is input (step 100). An average rotation speed N of the main shaft is calculated (step 110). Here, the average rotational speed N of the main shaft is calculated as a macroscopic rotational speed determined by the time required for one or more rotations of the main shaft, and is a fine rotation during one rotation in which rotation fluctuation is large. It does not refer to the rotational speed that is a visual calculation result. After the rotation speed N is calculated in this way, the pulse period T is determined based on the calculation result (step 120). The pulse period T is an average period of a pulse train output when the rotation speed of the main spindle rotating at the rotation speed N is detected by the encoder 35, or a period of a pulse train having a precision twice as high as the average. It is. That is, the pulse period T from the encoder obtained when it is assumed that the current rotational speed N of the main shaft is detected by the encoder 35 or by another encoder having higher precision is determined. The pulse period T thus determined is output to the pulse oscillator 30J (step 130), and thereafter, the pulse oscillator 30J stably oscillates the pulse signal of the period T. After the above series of processing, the processing of this program ends and the CP
U30A starts the processing of another program that has been interrupted again.

一方、CPU30Aはコントローラ20からの制御コードの解
析の結果、刺繍枠50を距離LだけX方向、あるいはY方
向に移動することが必要となったときに刺繍枠駆動プロ
グラムの実行を開始する。第5図がその刺繍枠駆動プロ
グラムのフローチャートである。
On the other hand, the CPU 30A starts executing the embroidery frame driving program when it is necessary to move the embroidery frame 50 by the distance L in the X direction or the Y direction as a result of analyzing the control code from the controller 20. FIG. 5 is a flowchart of the embroidery frame driving program.

本プログラムの処理が開始されると、まず目標となる
刺繍枠50の移動距離Lの読み込みがなされ(ステップ20
0)、次ぎにその移動距離Lに基づいたパルス間隔テー
ブルの検索処理が実行される(ステップ210)。
When the processing of this program is started, first, the movement distance L of the target embroidery frame 50 is read (step 20).
0) Then, a search process of the pulse interval table based on the moving distance L is executed (step 210).

刺繍枠50を移動距離Lだけスムースに移動させるに
は、第6図の説明図に示すようにパルス発生器30Jの発
生するパルス列の入力により経過時間を知り、その経過
時間に漸次移動速度を上昇させ、そして移動距離Lの約
半分程度の移動を完了した後には今度は漸次移動速度を
減少して刺繍枠50を停止することが望ましい。この様に
パルス発生器30Jのパルス列の入力に基づき刺繍枠50の
移動を実行するならば、主軸の回転数Nが上昇したとき
の刺繍枠50の移動についても簡単に適合することができ
る。すなわち、主軸の回転数Nに応じたパルス周期Tが
パルス信号発生プログラムの処理によりパルス発生器30
Jに設定されるため、主軸の回転角度から判断して縫針
が布地から抜けている期間内での刺繍枠50の移動が容易
に実現できるのである。第6図における(a)図が主軸
の回転数Nが高くパルス発生器30Jの発生するパルス周
期Tが短い場合、(b)図が主軸の回転数Nが低くパル
ス発生器30Jの発生するパルス周期Tが長い場合の、刺
繍枠50の移動速度とパルス列との関係を示したものであ
る。
In order to smoothly move the embroidery frame 50 by the moving distance L, as shown in the explanatory diagram of FIG. 6, the elapsed time is known by inputting the pulse train generated by the pulse generator 30J, and the moving speed is gradually increased at the elapsed time. It is desirable that the embroidery frame 50 be stopped by gradually decreasing the moving speed after completing the movement of about half of the moving distance L. If the movement of the embroidery frame 50 is executed based on the input of the pulse train of the pulse generator 30J in this manner, the movement of the embroidery frame 50 when the rotation speed N of the main shaft increases can be easily adapted. That is, the pulse period T corresponding to the rotation speed N of the main shaft is changed by the pulse generator 30 by the processing of the pulse signal generation program.
Since it is set to J, the movement of the embroidery frame 50 can be easily realized within the period in which the sewing needle is removed from the fabric, judging from the rotation angle of the main shaft. In FIG. 6, (a) shows a case where the rotation speed N of the main shaft is high and the pulse period T generated by the pulse generator 30J is short, and (b) shows a pulse where the rotation speed N of the main shaft is low and the pulse generated by the pulse generator 30J. This shows the relationship between the moving speed of the embroidery frame 50 and the pulse train when the period T is long.

この第6図に示すような刺繍枠50の移動を移動距離L
に応じて最適に実行するためのデータが記述されている
ものがパルス間隔テーブルである。このパルス間隔テー
ブルは、予めROM30Bに格納されている移動距離Lに対応
した最も効率の良い移動の態様をパルス信号との対応に
基づいて記述したもので、例えば第7図に例示するよう
な記憶内容である。図示のように移動距離がL1,L2,…
…,LNであるとき、刺繍枠50をスムースに移動するため
には、その刺繍枠50の移動を司るX軸モータ36またはY
軸モータ38の1単位距離の駆動をパルス発生器30Jから
の何パルスの信号入力がなされたときに実行すれば良い
のかを示す情報として記述されている。
The movement of the embroidery frame 50 as shown in FIG.
The pulse interval table describes data for optimal execution according to the above. The pulse interval table describes the most efficient movement mode corresponding to the movement distance L stored in the ROM 30B in advance based on the correspondence with the pulse signal. Content. As shown, the moving distance is L1, L2, ...
.., LN, in order to move the embroidery frame 50 smoothly, the X-axis motor 36 or Y which controls the movement of the embroidery frame 50 is used.
It is described as information indicating how many pulses of the signal input from the pulse generator 30J should be executed to drive the shaft motor 38 by one unit distance.

上記ステップ210において移動距離Lに対応したパル
ス間隔テーブルの検索が完了すると、続いてその検索し
たテーブルのデータを順次読み出す処理が実行される
(ステップ220)。例えば、ステップ210において移動距
離L1のテーブルを検索した場合について説明するなら
ば、第7図におけるパルス間隔テーブルには移動距離L1
の移動に際して、1回のステップ信号を出力するために
カウントすべきパルス信号の数が全移動距離L1に渡って
定められているのであり、この移動距離L1用に定められ
ている数値、27、14、11、9、……、9、11、14、27が
本ステップ210を処理する度に順に読み出されることに
なる。続いて実行されるステップ230では、上記ステッ
プ220で読み出される数値の列が既に総ての数値の列の
読み出しを完了し、終了したか否かの判断がなされ、既
に終了している場合には本プログラムの総ての処理を終
了する。
When the search of the pulse interval table corresponding to the moving distance L is completed in step 210, a process of sequentially reading the data of the searched table is executed (step 220). For example, to describe a case where the table of the moving distance L1 is searched in step 210, the moving distance L1 is stored in the pulse interval table in FIG.
In the movement, the number of pulse signals to be counted in order to output one step signal is determined over the entire movement distance L1, and the numerical value defined for this movement distance L1, 27, .., 9, 11, 14, and 27 are sequentially read each time this step 210 is processed. In the subsequently executed step 230, it is determined whether or not the sequence of numerical values read out in step 220 has already completed reading of all the numerical value columns, and it is determined whether or not the process has been completed. All processing of this program ends.

一方、未だに数値の列の読み出しが終了していないと
きには、次のステップ240へと進み、今回読み出した数
値とパルス発生器30Jの発生しているパルスのカウント
値との比較を行い、両数値が一致するか否かを判断す
る。これは、Xモータ36またはYモータ38に1単位距離
の移動を実行するタイミングを前記のごとくパルス発生
器30Jからのパルス信号に従って実行するためである。
前記した移動距離L1の例で説明すると、前記パルス間隔
テーブルより読み出される数値は、1単位距離の移動を
実行した後に次の1単位距離の移動を実行するためには
27個のパルス信号を入力した時に、実行することが必要
であることを指示しているのである。以後同様に、14パ
ルス入力後に更に1単位距離の移動のためステップ信号
を、11パルス入力後に次の4回目のステップ移動を、…
…、と順に実行していくことを表している。
On the other hand, if the reading of the sequence of numerical values has not been completed yet, the process proceeds to the next step 240, where the numerical value read this time is compared with the count value of the pulse generated by the pulse generator 30J, and both numerical values are compared. It is determined whether they match. This is because the timing of executing the movement of one unit distance to the X motor 36 or the Y motor 38 is executed in accordance with the pulse signal from the pulse generator 30J as described above.
To explain with the example of the moving distance L1 described above, the numerical value read from the pulse interval table is such that, after executing the movement of one unit distance, executing the movement of the next one unit distance
When 27 pulse signals are input, it indicates that execution is necessary. After that, similarly, after the input of 14 pulses, a step signal for further movement of one unit distance is input, after the input of 11 pulses, the next step movement for the fourth time,.
, And so on.

従って、本ステップ240にてパルス間隔テーブルから
読み出した今回の数値と前回のステップ信号を出力して
からのパルス信号の数をカウントしているカウンタの内
容とを比較し、両数値が一致するまで待機し、一致した
と同時に次のステップ250の処理へと移行して1単位距
離の移動を必要としているX軸モータ36、あるいはY軸
モータ38にステップ信号を出力するのである。
Therefore, the current value read from the pulse interval table in step 240 is compared with the contents of the counter that counts the number of pulse signals since the previous step signal was output, and until the values match. The process waits, and at the same time when the values match, the process proceeds to the next step 250 to output a step signal to the X-axis motor 36 or the Y-axis motor 38 which needs to move by one unit distance.

以上の一連の処理の後には処理は再度ステップ220へ
と戻り、パルス間隔テーブルから新たな数値を読み出し
て以後同様な処理を繰り返す。
After the above series of processing, the processing returns to step 220 again, a new numerical value is read from the pulse interval table, and the same processing is repeated thereafter.

この様なX軸モータ36Y軸モータ38のステップ駆動を
実行するならば、第8図に図示するように刺繍枠50の移
動が制御される。図は上記例で示した移動距離L1の場合
について、その移動の開始時点でのカウンタにカウント
されるパルス数と刺繍枠50の1単位移動距離との関係を
示したものである。図のように刺繍枠50はその移動の初
期において徐々に移動速度を上昇するような理想的な駆
動がなされるようになる。
If the step driving of the X-axis motor 36 and the Y-axis motor 38 is executed, the movement of the embroidery frame 50 is controlled as shown in FIG. The figure shows the relationship between the number of pulses counted by the counter at the start of the movement and the one unit movement distance of the embroidery frame 50 for the movement distance L1 shown in the above example. As shown in the figure, the embroidery frame 50 is ideally driven such that the moving speed gradually increases at the beginning of the movement.

また、上記刺繍枠50の移動の時間的な基準となるパル
ス信号はパルス発生器30Jによって発生される極めて安
定したパルス列である。従って、刺繍枠50の移動はパル
ス間隔テーブルに設定された数値のみによって決定され
る安定した移動が実現されることになる。
The pulse signal that serves as a time reference for the movement of the embroidery frame 50 is an extremely stable pulse train generated by the pulse generator 30J. Therefore, stable movement of the embroidery frame 50 determined by only the numerical value set in the pulse interval table is realized.

以上は、刺繍枠50を安定に移動する場合について説明
したが、更に本実施例では刺繍枠50の移動速度を任意の
速度に変更することも簡単に実現できる。すなわち、従
来にあっては、刺繍枠50の移動速度を変更する場合には
前記したパルス間隔テーブルを変更するしか方法は無く
ROMを複数用意したり、ROMの記憶内容を変更するなど、
装置構成が複雑となったり、コストが高騰していた。し
かし、本実施例では、パルス発生器に設定するパルス周
期Tの値を変更するのみでその強度が簡単に変更でき、
しかもその場合でも刺繍枠50の移動はパルス間隔テーブ
ルに記憶されている無いようによって徐々に速度を変更
してスムースに移動を完了できるのである。例えば、主
軸の回転数が一定の場合にあってもパルス発生器30Jに
設定するパルス周期Tを変更するならば、前記第6図に
示したように刺繍枠50の移動は基準となるパルスのカウ
ントに要する時間が簡単に変更され所望の速度に制御で
きるのである。
The case where the embroidery frame 50 is stably moved has been described above. However, in this embodiment, the moving speed of the embroidery frame 50 can be easily changed to an arbitrary speed. That is, conventionally, the only way to change the moving speed of the embroidery frame 50 is to change the pulse interval table described above.
Prepare multiple ROMs, change the storage contents of the ROM, etc.
The device configuration was complicated and the cost was soaring. However, in this embodiment, the intensity can be easily changed only by changing the value of the pulse period T set in the pulse generator,
Moreover, even in such a case, the movement of the embroidery frame 50 can be smoothly changed by gradually changing the speed so that the movement is not stored in the pulse interval table. For example, if the pulse period T set in the pulse generator 30J is changed even when the rotation speed of the main shaft is constant, the movement of the embroidery frame 50 becomes the reference pulse as shown in FIG. The time required for counting can be easily changed and the desired speed can be controlled.

発明の効果 以上、実施例を挙げて詳述したように本発明の刺繍機
の刺繍枠駆動装置は主軸の回転変動に対しも何等の影響
を受けずスムースに刺繍枠の移動を制御でき、正確、か
つ円滑な刺繍枠の駆動を行うことのできる。
As described above in detail with reference to the embodiments, the embroidery frame driving device of the embroidery machine of the present invention can smoothly control the movement of the embroidery frame without being affected by the rotation fluctuation of the spindle. In addition, the embroidery frame can be driven smoothly.

また、刺繍枠の移動速度を変更する場合にも単にパル
ス周期を変更するだけの簡単な処理を実行するだけでよ
く、刺繍枠の移動を自由に制御できる。
Also, when changing the moving speed of the embroidery frame, it is only necessary to execute a simple process of simply changing the pulse period, and the movement of the embroidery frame can be freely controlled.

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

第1図は本発明の刺繍機の刺繍枠駆動装置の基本的構成
を示す基本構成図、第2図は実施例の刺繍枠駆動装置を
採用した刺繍機の概略構成図、第3図はそのドライバー
ユニットのブロック図、第4図および第5図はそのドラ
イバーユニットにおいて実行されるプログラムのフロー
チャート、第6図は刺繍枠駆動とパルス信号との関係説
明図、第7図はパルス間隔テーブルの説明図、第8図は
実施例による刺繍枠駆動の説明図、を示している。 20……コントローラ、30……ドライバーユニット 30……パルス発生器、36……X軸モータ 38……Y軸モータ、35……エンコーダ 50……刺繍枠
FIG. 1 is a basic configuration diagram showing a basic configuration of an embroidery frame drive device of an embroidery machine of the present invention, FIG. 2 is a schematic configuration diagram of an embroidery machine employing the embroidery frame drive device of the embodiment, and FIG. FIG. 4 is a block diagram of the driver unit, FIGS. 4 and 5 are flowcharts of programs executed in the driver unit, FIG. 6 is a diagram for explaining the relationship between embroidery frame driving and pulse signals, and FIG. 7 is a description of a pulse interval table. FIGS. 8A and 8B are explanatory diagrams of embroidery frame driving according to the embodiment. 20: Controller, 30: Driver unit 30: Pulse generator, 36: X-axis motor 38: Y-axis motor, 35: Encoder 50: Embroidery frame

───────────────────────────────────────────────────── フロントページの続き (72)発明者 柴田 義夫 愛知県一宮市大字定水寺字塚越20番地 株式会社バルダン内 (56)参考文献 特開 昭56−130181(JP,A) 特開 昭61−76190(JP,A) ────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Yoshio Shibata 20 Oka Tsukakoshi, Ichinomiya, Ichinomiya, Aichi Pref. Barudan Co., Ltd. (56) References JP-A-56-130181 (JP, A) JP-A-61-76190 (JP, A)

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】主軸の回転により上下動する縫針に同期し
て該縫針が縫い処理を施す布地を保持する刺繍枠を駆動
し、所望の刺繍模様を前記布地に形成する刺繍機の刺繍
枠駆動装置において、 前記主軸の回転角度に同期した検出信号を出力する主軸
回転角度検出手段と、 該主軸回転角度検出手段の検出信号に基づいて、前記主
軸の平均回転速度を算出する平均回転速度算出手段と、 該平均回転速度算出手段の算出したした平均回転速度に
対応するパルス周期を決定するパルス周期決定手段と、 該パルス周期決定手段の決定したパルス周期のパルス信
号を発生するパルス信号発生手段と、 該パルス信号発生手段のパルス信号に同期して前記刺繍
枠を駆動する同期駆動手段と、 を備えることを特徴とする刺繍機の刺繍枠駆動装置。
1. An embroidery frame drive of an embroidery machine for forming a desired embroidery pattern on the cloth by driving the embroidery frame holding the cloth to be sewn in synchronization with the sewing needle moving up and down by the rotation of the main shaft. In the device, a main shaft rotation angle detection unit that outputs a detection signal synchronized with the rotation angle of the main shaft, and an average rotation speed calculation unit that calculates an average rotation speed of the main shaft based on the detection signal of the main shaft rotation angle detection unit Pulse period determination means for determining a pulse period corresponding to the average rotation speed calculated by the average rotation speed calculation means; and pulse signal generation means for generating a pulse signal having the pulse period determined by the pulse period determination means. An embroidery frame driving device for an embroidery machine, comprising: synchronous driving means for driving the embroidery frame in synchronization with a pulse signal of the pulse signal generating means.
JP62109434A 1987-05-02 1987-05-02 Embroidery frame drive of embroidery machine Expired - Fee Related JP2582367B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62109434A JP2582367B2 (en) 1987-05-02 1987-05-02 Embroidery frame drive of embroidery machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62109434A JP2582367B2 (en) 1987-05-02 1987-05-02 Embroidery frame drive of embroidery machine

Publications (2)

Publication Number Publication Date
JPS63275373A JPS63275373A (en) 1988-11-14
JP2582367B2 true JP2582367B2 (en) 1997-02-19

Family

ID=14510148

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62109434A Expired - Fee Related JP2582367B2 (en) 1987-05-02 1987-05-02 Embroidery frame drive of embroidery machine

Country Status (1)

Country Link
JP (1) JP2582367B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56130181A (en) * 1980-03-17 1981-10-12 Brother Ind Ltd Programming device for sewing machine
JPS6176190A (en) * 1984-09-20 1986-04-18 ブラザー工業株式会社 Processed cloth feed control apparatus of sewing machine

Also Published As

Publication number Publication date
JPS63275373A (en) 1988-11-14

Similar Documents

Publication Publication Date Title
US5660129A (en) Sewing machine
JP2582367B2 (en) Embroidery frame drive of embroidery machine
JP3126359B2 (en) Frame movement control device of computer embroidery machine
US5603272A (en) Two-needle type sewing machine
US4683827A (en) Movement control apparatus for sewing machine
JP2004041554A (en) Sewing machine controller, sewing machine controlling method, and sewing machine control program
US5755171A (en) Control apparatus and method for sewing machine
JPH0335955B2 (en)
JPH0638596A (en) Pulse motor driving and controlling device and method in sewing machine
US5566632A (en) Control method for automatic sewing machine and apparatus thereof
JP2574294B2 (en) Embroidery machine jump control device
JPH024400A (en) Automatic embroidery sewing machine
JPS5987516A (en) Digital servo-control device of motor for positioning object to be driven
JP2764627B2 (en) Safety device for detachable external memory of sewing machine
JP2005328972A (en) Device and method for controlling sewing machine motor
JPH09291461A (en) Frame movement control unit for automatic embroidering machine
JPH0693941B2 (en) Cloth feeder for sewing machine
JPH0213061B2 (en)
JPH0157593B2 (en)
JP2685781B2 (en) Embroidery machine
JP2871823B2 (en) Embroidery sewing machine
JPH08150279A (en) Sewing machine driving mechanism
KR20040094371A (en) Electric zigzag sewing machine
JPS5818852Y2 (en) Sewing machine cloth feed control device
JP2001300165A (en) Button sewing machine

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees