JP2005087230A - Control device and control program of driving mechanism - Google Patents

Control device and control program of driving mechanism Download PDF

Info

Publication number
JP2005087230A
JP2005087230A JP2003320651A JP2003320651A JP2005087230A JP 2005087230 A JP2005087230 A JP 2005087230A JP 2003320651 A JP2003320651 A JP 2003320651A JP 2003320651 A JP2003320651 A JP 2003320651A JP 2005087230 A JP2005087230 A JP 2005087230A
Authority
JP
Japan
Prior art keywords
reference position
stepping motor
drive mechanism
correction amount
operating body
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
JP2003320651A
Other languages
Japanese (ja)
Inventor
Minoru Yamaguchi
稔 山口
信次 ▲よし▼田
Shinji Yoshida
Toru Takemura
徹 竹村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2003320651A priority Critical patent/JP2005087230A/en
Priority to CNB2004100856530A priority patent/CN100567607C/en
Publication of JP2005087230A publication Critical patent/JP2005087230A/en
Pending legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To enable to simplify the correction work to set a position of an effector which is driven by a driving mechanism including a stepping motor at a position of the origin. <P>SOLUTION: Fiduciary position detecting sections are formed on disk plates for detecting rotation positions which are respectively fixed to output shafts of X feeding motor and Y feeding motor which comprise stepping motors, and a fiduciary position X detecting sensor and a fiduciary position Y detecting sensor detect the fiduciary position detecting sections (S31). A correction amount which is input as a displacement amount of the position of the origin of an embroidery frame corresponding to the fiduciary position of the feeding motors which are detected by those fiduciary position X and Y detecting sensors through the fiduciary position detecting sections is memorized in a correction amount memory (S32 and S34), so that the correction control of the feeding motors is performed on the basis of the correction amount to correct the displacement amount of the position of the origin of the embroidery frame corresponding to the fiduciary positions of the feeding motors (S33 and S35). <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、駆動機構の制御装置及びその制御プログラムに関し、特にステッピングモータの出力軸に固定した回転位置検出用ディスク板に基準位置検出部を形成し、その検出部を検出手段で検出でき、しかも作動体の原点位置をズレ量として入力された補正量で補正するようにしたものに関する。   The present invention relates to a control device for a drive mechanism and a control program therefor, and in particular, a reference position detector is formed on a rotational position detection disk plate fixed to an output shaft of a stepping motor, and the detector can be detected by a detector. The present invention relates to an actuator that corrects the origin position of an operating body with a correction amount that is input as a deviation amount.

従来、例えば、直線縫いやジグザグ縫いが可能な各種の電子制御式ミシンでは、針棒揺動機構や送り機構等の駆動機構を駆動するためにステッピングモータを用いており、制御装置によりこれら各駆動機構毎に設けられたステッピングモータを制御することにより、縫製制御に同期させて駆動機構を駆動させるようにしている。   Conventionally, for example, various electronically controlled sewing machines capable of performing linear stitching and zigzag stitching have used stepping motors to drive drive mechanisms such as a needle bar swing mechanism and a feed mechanism, and each of these drives is controlled by a control device. By controlling the stepping motor provided for each mechanism, the drive mechanism is driven in synchronization with the sewing control.

ところで、ステッピングモータは、制御系を簡略化できるように、オープン・ループ制御を行うのが通常である。従って、ミシンに電源を投入させた際には、縫製を開始するに先立って、各機構部のステッピングモータを制御して、各機構部毎に動作範囲の基準位置(原点位置)を設定する初期化処理が実行される。その後、予め選択した縫製データに基づいて各機構部のステッピングモータが夫々制御されて縫製作業が実行される。   By the way, the stepping motor normally performs open loop control so that the control system can be simplified. Therefore, when the sewing machine is turned on, before starting sewing, the stepping motor of each mechanism unit is controlled to set the reference position (origin position) of the operation range for each mechanism unit. Processing is executed. Thereafter, the stepping motor of each mechanism unit is controlled based on the preselected sewing data, and the sewing operation is executed.

例えば、特許第3354330号公報に記載の縫製データ補正装置には、ワークホルダーの原点位置に対する誤差を解消させるように、ワークホルダーに取付けた位置検出板に、第1及び第2検出マークが形成してあり、X軸原点センサ及びY軸原点センサに基づいてワークホルダーを原点位置に移動させたときに、縫針と第1及び第2検出マークのズレ量を解消するように、ワークホルダーがX軸方向又はY軸方向に移動させた移動量を加味して、縫製データに含まれる多数の針落ちデータの全てを補正するようにしてある(例えば、特許文献1)。   For example, in the sewing data correction apparatus described in Japanese Patent No. 3354330, first and second detection marks are formed on a position detection plate attached to a work holder so as to eliminate an error with respect to the origin position of the work holder. When the work holder is moved to the home position based on the X-axis origin sensor and the Y-axis origin sensor, the work holder is placed on the X-axis so as to eliminate the displacement between the sewing needle and the first and second detection marks. In consideration of the amount of movement moved in the direction or the Y-axis direction, all of the many needle drop data included in the sewing data is corrected (for example, Patent Document 1).

特許第3354330号公報 (第9〜12頁、図1,図5,図12)Japanese Patent No. 3354330 (pages 9 to 12, FIG. 1, FIG. 5, FIG. 12)

このように、特許第3354330号公報に記載の縫製データ補正装置においては、ワークホルダーの原点位置に対するX方向誤差とY方向誤差を縫製データに反映するようにし、縫製データの各針落ちデータを補正するようにしてあるため、縫製作業を実行するその都度、ワークホルダーの原点位置に対する誤差を設定し、更に、その誤差に基づいて縫製データの補正作業を必要とするため、縫製作業の準備作業に多大の時間を要することになるので、作業能率が低下するという問題がある。   As described above, in the sewing data correction apparatus described in Japanese Patent No. 3354330, the X direction error and the Y direction error with respect to the origin position of the work holder are reflected in the sewing data, and each needle drop data of the sewing data is corrected. Therefore, each time a sewing operation is performed, an error is set with respect to the origin position of the work holder, and a correction operation for sewing data is required based on the error. Since a great deal of time is required, there is a problem that work efficiency is lowered.

請求項1の駆動機構の制御装置は、ステッピングモータを含む駆動機構で駆動される作動体を作動範囲の原点位置に設定する駆動機構の制御装置において、ステッピングモータの出力軸に固定された回転位置検出用ディスク板と、回転位置検出用ディスク板に形成された基準位置検出部と、基準位置検出部を検出可能な基準位置用検出手段と、基準位置用検出手段により基準位置検出部を介して検出されたステッピングモータの基準位置に対する作動体の原点位置のズレ量として入力された補正量を記憶する補正量記憶手段と、補正量記憶手段に記憶されている補正量に応じて、ステッピングモータの基準位置に対する作動体の原点位置のズレ量を補正するようにステッピングモータを補正制御する補正制御手段とを設けたものである。   The drive mechanism control device according to claim 1 is a drive mechanism control device for setting an operating body driven by a drive mechanism including a stepping motor to an origin position of an operating range, wherein the rotational position is fixed to the output shaft of the stepping motor. A detection disk plate, a reference position detection unit formed on the rotation position detection disk plate, a reference position detection unit capable of detecting the reference position detection unit, and a reference position detection unit via the reference position detection unit; A correction amount storage means for storing a correction amount input as a deviation amount of the origin position of the operating body with respect to the detected reference position of the stepping motor, and the stepping motor of the stepping motor according to the correction amount stored in the correction amount storage means Correction control means for correcting and controlling the stepping motor so as to correct the amount of deviation of the origin position of the operating body with respect to the reference position is provided.

基準位置用検出手段により基準位置検出部を介して検出されたステッピングモータの基準位置に対する作動体の原点位置のズレ量として入力された補正量が、補正量記憶手段に記憶されるので、補正制御手段は、補正量記憶手段に記憶されている補正量に応じて、ステッピングモータの基準位置に対する作動体の原点位置のズレ量を補正するようにステッピングモータを補正制御する。   Since the correction amount input as the deviation amount of the origin position of the working body with respect to the reference position of the stepping motor detected by the reference position detection means via the reference position detection unit is stored in the correction amount storage means, correction control is performed. The means corrects and controls the stepping motor so as to correct the deviation of the origin position of the operating body from the reference position of the stepping motor in accordance with the correction amount stored in the correction amount storage means.

ここで、前記補正制御手段は、駆動機構による作動体の作動開始前に、ステッピングモータを基準位置に回転させた後、作動体が原点位置に位置するようにステッピングモータを補正制御する場合(請求項1に従属の請求項2)には、駆動機構による作動体の作動開始前に、ステッピングモータの基準位置合わせしてから、作動体の原点位置合わせが完了しているため、直ぐにステッピングモータを制御して作動体を作動できる。   Here, the correction control means performs correction control of the stepping motor so that the operating body is located at the origin position after the stepping motor is rotated to the reference position before the operation of the operating body by the drive mechanism is started (claim). In claim 2) dependent on item 1, since the reference position of the stepping motor is adjusted before the operation of the operating body by the drive mechanism is started, the positioning of the origin of the operating body is completed. The operating body can be controlled to operate.

ここで、前記補正制御手段は、駆動機構による作動体の作動開始前に、ステッピングモータを基準位置に回転させるとともに、駆動機構による作動体の作動開始に際して、作動体が原点位置に位置するようにステッピングモータを補正制御する場合(請求項1に従属の請求項3)には、駆動機構による作動体の作動開始前に、ステッピングモータの基準位置合わせが完了しているため、駆動機構による作動体の作動開始に際しては、作動体の原点位置合わせだけを実行すればよい。   Here, the correction control means rotates the stepping motor to the reference position before starting the operation of the operating body by the drive mechanism, and causes the operating body to be positioned at the origin position when starting the operation of the operating body by the drive mechanism. When correction control is performed on the stepping motor (Claim 3 dependent on Claim 1), the reference position adjustment of the stepping motor is completed before the operation of the operating body by the driving mechanism is completed. At the start of the operation, only the origin position alignment of the operating body needs to be executed.

ここで、前記ステッピングモータを回転させるように指令するための回転指令手段と、その回転指令手段による回転指令量に応じたステッピングモータの回転位置と、ステッピングモータの基準位置との差を補正量として算出する補正量算出手段とを備えた場合(請求項1〜3の何れかに従属の請求項4)には、回転指令手段により回転指令量を指令するだけで、ステッピングモータの基準位置との差である補正量が、補正量算出手段により算出される。   Here, the rotation command means for commanding the stepping motor to rotate, and the difference between the rotation position of the stepping motor corresponding to the rotation command amount by the rotation command means and the reference position of the stepping motor is used as the correction amount. And a correction amount calculation means for calculating (claim 4 dependent on any one of claims 1 to 3), only by instructing the rotation command amount by the rotation command means, A correction amount that is a difference is calculated by the correction amount calculation means.

ここで、前記ステッピングモータが、加工布を押える布押えと縫針を下端に取付けた針棒と縫糸を挟持する糸調子皿の少なくとも1つを出力軸の回転によって駆動機構を駆動させる駆動源として縫製装置に設けられた場合(請求項1〜4何れかに従属の請求項5)には、布押えと針棒と糸調子皿の少なくとも1つの駆動機構の駆動源としてこのステッピングモータを適用することで、駆動機構の駆動制御が簡単化する。   Here, the stepping motor sews at least one of the presser foot for pressing the work cloth, the needle bar with the sewing needle attached to the lower end, and the thread tension plate holding the sewing thread as a drive source for driving the drive mechanism by rotating the output shaft. When provided in the apparatus (Claim 5 depending on any one of Claims 1 to 4), this stepping motor is applied as a drive source of at least one drive mechanism of the presser foot, the needle bar, and the thread tension plate. Thus, the drive control of the drive mechanism is simplified.

ここで、前記回転位置検出用ディスク板の外周部に基準位置検出部が形成され、基準位置検出部には半径方向に所定幅を有する円弧状の有壁部が形成されている場合(請求項1〜5何れかに従属の請求項6)には、基準位置検出部の有壁部以外の部分は、所謂、無壁部であるため、その無壁部を外周部に形成したため、内周側に切欠き部のように形成する場合に比べて、回転位置検出用ディスク板を簡単に作成でき、しかも回転位置検出用ディスク板を薄板のフィルム状にも形成でき、低コスト化が可能になる。   Here, a reference position detection portion is formed on the outer peripheral portion of the rotational position detection disk plate, and an arc-shaped wall portion having a predetermined width in the radial direction is formed on the reference position detection portion. In claim 6) dependent on any one of 1 to 5, since the portion other than the wall portion of the reference position detection portion is a so-called no-wall portion, the no-wall portion is formed on the outer peripheral portion. Compared to the case of forming a notch on the side, the rotational position detection disk plate can be easily created, and the rotational position detection disk plate can also be formed in a thin film shape, enabling cost reduction. Become.

請求項7の駆動機構の制御装置は、ステッピングモータを含む駆動機構を介して駆動される作動体を作動範囲の原点位置に設定する駆動機構の制御装置において、ステッピングモータの出力軸に固定された回転位置検出用ディスク板と、回転位置検出用ディスク板に形成された基準位置検出部と、基準位置検出部を検出可能な基準位置用検出手段と、基準位置用検出手段が回転位置検出用ディスクの基準位置を検出する場合のステッピングモータの基準となる第1の回転位置と、作動体が作動体の原点位置にある場合のステッピングモータの第1の回転位置とは異なる第2の回転位置との2つの回転位置の差に対応する補正量を記憶する補正量記憶手段と、駆動機構による作動体の作動開始前に、ステッピングモータを基準位置に回転させるとともに、駆動機構による作動体の作動開始に際して、補正量記憶手段の補正量を加味して作動体の第1作動位置に位置するようにステッピングモータを制御する制御手段とを設けたものである。   According to a seventh aspect of the present invention, there is provided a drive mechanism control device which is fixed to an output shaft of a stepping motor in a drive mechanism control device which sets an operating body driven via a drive mechanism including a stepping motor to an origin position of an operation range. Rotation position detection disk plate, reference position detection section formed on the rotation position detection disk board, reference position detection means capable of detecting the reference position detection section, and reference position detection means as a rotation position detection disk A first rotational position that is a reference of the stepping motor when detecting the reference position of the stepping motor, and a second rotational position that is different from the first rotational position of the stepping motor when the operating body is at the origin position of the operating body Correction amount storage means for storing a correction amount corresponding to the difference between the two rotational positions, and the stepping motor is rotated to the reference position before the operation of the operating body by the drive mechanism is started. Both during start of operation of the operating member by the drive mechanism, is provided with a control means for controlling the stepping motor so that by adding a correction amount of the correction amount storage means located in a first operating position of the actuating member.

基準位置用検出手段が回転位置検出用ディスクの基準位置を検出する場合のステッピングモータの基準となる第1の回転位置と、作動体が作動体の原点位置にある場合のステッピングモータの第1の回転位置とは異なる第2の回転位置との2つの回転位置の差に対応する補正量が補正量記憶手段記憶されるので、制御手段は、駆動機構による作動体の作動開始前に、ステッピングモータを基準位置に回転させるとともに、駆動機構による作動体の作動開始に際して、補正量記憶手段の補正量を加味して作動体の第1作動位置に位置するようにステッピングモータを制御する。   A first rotational position that serves as a reference for the stepping motor when the reference position detecting means detects the reference position of the rotational position detecting disk, and a first stepping motor that is used when the operating body is at the origin position of the operating body. Since the correction amount corresponding to the difference between the two rotational positions of the second rotational position different from the rotational position is stored in the correction amount storage means, the control means can perform the stepping motor before starting the operation of the operating body by the drive mechanism. And the stepping motor is controlled so as to be positioned at the first operating position of the operating body in consideration of the correction amount stored in the correction amount storage means when starting the operation of the operating body by the drive mechanism.

請求項8の駆動機構の制御プログラムは、ステッピングモータを含む駆動機構で駆動される作動体を作動範囲の原点位置に設定する駆動機構の制御装置のコンピュータに実行させる駆動機構の制御プログラムであって、ステッピングモータの出力軸に固定された回転位置検出用ディスク板に形成された基準位置検出部を介して基準位置用検出手段により検出されたステッピングモータの基準位置に対する作動体の原点位置のズレ量として入力された補正量を記憶する補正量記憶ルーチンと、補正量記憶手段に記憶されている補正量に応じて前記ステッピングモータの基準位置と作動体のズレ量を補正するようにステッピングモータを補正制御する補正制御ルーチンとを含むものである。   The drive mechanism control program according to claim 8 is a drive mechanism control program that is executed by a computer of a drive mechanism control device that sets an operating body driven by a drive mechanism including a stepping motor to an origin position of an operating range. The deviation of the origin position of the working body from the reference position of the stepping motor detected by the reference position detecting means via the reference position detecting portion formed on the rotational position detecting disk plate fixed to the output shaft of the stepping motor Correction amount storage routine for storing the correction amount input as, and correction of the stepping motor so as to correct the deviation of the reference position of the stepping motor and the working body according to the correction amount stored in the correction amount storage means And a correction control routine to be controlled.

駆動機構の制御プログラムは、ステッピングモータを含む駆動機構で駆動される作動体を作動範囲の原点位置に設定する駆動機構の制御装置のコンピュータに実行させる駆動機構の制御プログラムであって、ステッピングモータの出力軸に固定された回転位置検出用ディスク板に形成された基準位置検出部を介して基準位置用検出手段により検出されたステッピングモータの基準位置に対する作動体の原点位置のズレ量として入力された補正量を記憶する補正量記憶ルーチンと、補正量記憶手段に記憶されている補正量に応じて前記ステッピングモータの基準位置と作動体のズレ量を補正するようにステッピングモータを補正制御する補正制御ルーチンとを含むので、請求項1と同様に作用する。   The drive mechanism control program is a drive mechanism control program for causing a computer of a drive mechanism control device to set an operating body driven by a drive mechanism including a stepping motor to an origin position of an operation range. This is input as the deviation of the origin position of the working body from the reference position of the stepping motor detected by the reference position detecting means via the reference position detecting portion formed on the rotational position detecting disk plate fixed to the output shaft. A correction amount storage routine for storing the correction amount, and a correction control for correcting and controlling the stepping motor so as to correct the deviation amount of the reference position of the stepping motor and the working body according to the correction amount stored in the correction amount storage means And the routine operates in the same manner as in the first aspect.

請求項1の発明によれば、ステッピングモータを含む駆動機構で駆動される作動体を作動範囲の原点位置に設定する駆動機構の制御装置において、回転位置検出用ディスク板と、基準位置検出部と、基準位置用検出手段と、補正量記憶手段と、補正制御手段とを設けたので、ステッピングモータの基準位置に対する作動体の原点位置の補正量を補正量記憶手段に記憶し、その補正量記憶手段に記憶されている補正量に応じて、ステッピングモータの基準位置に対する作動体の原点位置のズレ量を補正できるため、作動体を原点位置に位置合わせする補正作業を格段に簡単化させることができる。   According to the first aspect of the present invention, in the control device for the drive mechanism that sets the operating body driven by the drive mechanism including the stepping motor to the origin position of the operation range, the rotational position detection disk plate, the reference position detection unit, Since the reference position detection means, the correction amount storage means, and the correction control means are provided, the correction amount of the origin position of the working body with respect to the reference position of the stepping motor is stored in the correction amount storage means, and the correction amount storage is performed. According to the correction amount stored in the means, the deviation amount of the origin position of the operating body relative to the reference position of the stepping motor can be corrected, so that the correction work for aligning the operating body to the origin position can be greatly simplified. it can.

また、ステッピングモータの基準位置に対する作動体の原点位置の補正量を補正量記憶手段に記憶できるため、制御装置の電源を切断しない限り、補正量を再設定する必要がなく、作動体の原点位置設定が容易になり、しかも作業性を大幅に改善できる。   Further, since the correction amount of the origin position of the operating body relative to the reference position of the stepping motor can be stored in the correction amount storage means, it is not necessary to reset the correction amount unless the control device is turned off. Setting becomes easy and workability can be greatly improved.

請求項2の発明によれば、前記補正制御手段は、駆動機構による作動体の作動開始前に、ステッピングモータを基準位置に回転させた後、作動体が原点位置に位置するようにステッピングモータを補正制御するので、駆動機構による作動体の作動開始に際して、ステッピングモータの基準位置合わせ及び作動体の原点位置合わせが完了しているため、ステッピングモータの制御による作動体の作動開始を迅速に行え、作業性を改善することができる。その他請求項1と同様の効果を奏する。   According to a second aspect of the present invention, the correction control means rotates the stepping motor to the reference position before starting the operation of the operating body by the drive mechanism, and then sets the stepping motor so that the operating body is positioned at the origin position. Since the correction control is performed, when the operation of the operating body by the drive mechanism is started, the reference position adjustment of the stepping motor and the origin position alignment of the operating body are completed. Workability can be improved. Other effects similar to those of the first aspect are obtained.

請求項3の発明によれば、前記補正制御手段は、駆動機構による作動体の作動開始前に、ステッピングモータを基準位置に回転させるとともに、駆動機構による作動体の作動開始に際して、作動体が原点位置に位置するようにステッピングモータを補正制御するので、駆動機構による作動体の作動開始に際しては、未だ実行されていない作動体の原点位置合わせだけを実行するだけなので、作業性を改善することができる。その他請求項1と同様の効果を奏する。   According to the invention of claim 3, the correction control means rotates the stepping motor to the reference position before starting the operation of the operating body by the drive mechanism. Since the stepping motor is corrected and controlled so as to be positioned at the position, when starting the operation of the operating body by the drive mechanism, only the origin position alignment of the operating body that has not yet been executed is executed, so that the workability can be improved. it can. Other effects similar to those of the first aspect are obtained.

請求項4の発明によれば、前記ステッピングモータを回転させるように指令するための回転指令手段と、その回転指令手段による回転指令量に応じたステッピングモータの回転位置と、ステッピングモータの基準位置との差を補正量として算出する補正量算出手段とを設けたので、回転指令手段により回転指令量を指令するだけで、ステッピングモータの基準位置との差である補正量を算出することができ、補正量演算の簡単化が図れる。その他請求項1〜3の何れかと同様の効果を奏する。   According to the invention of claim 4, the rotation command means for commanding the stepping motor to rotate, the rotation position of the stepping motor according to the rotation command amount by the rotation command means, and the reference position of the stepping motor Since the correction amount calculation means for calculating the difference between the two as a correction amount is provided, the correction amount that is the difference from the reference position of the stepping motor can be calculated simply by commanding the rotation command amount by the rotation command means. The correction amount calculation can be simplified. Other effects similar to those of any one of claims 1 to 3 are provided.

請求項5の発明によれば、前記ステッピングモータは、加工布を押える布押えと縫針を下端に取付けた針棒と縫糸を挟持する糸調子皿の少なくとも1つを出力軸の回転によって駆動機構を駆動させる駆動源として縫製装置に設けられたので、布押えと針棒と糸調子皿の少なくとも1つの駆動機構の駆動源として、このステッピングモータの適用が可能になり、駆動機構の駆動制御の簡単化だけでなく、縫製装置の制御系の簡単化を図ることがで   According to a fifth aspect of the present invention, the stepping motor has at least one of a presser foot that holds the work cloth, a needle bar with a sewing needle attached to the lower end, and a thread tension plate that clamps the sewing thread by rotating the output shaft. Since the sewing device is provided as a drive source to be driven, this stepping motor can be applied as a drive source for at least one of the presser foot, the needle bar and the thread tension plate, and the drive control of the drive mechanism can be simplified. As well as simplifying the control system of the sewing machine.

請求項6の発明によれば、前記回転位置検出用ディスク板の外周部に基準位置検出部が形成され、基準位置検出部には円弧状且つ半径方向に所定幅を有する有壁部が形成されているので、基準位置検出部の有壁部以外の部分は、所謂、無壁部であり、その無壁部を、内周側に切欠き部として形成するのではなく、外周部に形成したため、回転位置検出用ディスク板の作成を簡単化することができ、しかも回転位置検出用ディスク板を薄板のフィルム状にも形成できるため、回転位置検出用ディスク板の軽量化及び低コスト化が可能になる。その他請求項1〜5の何れかと同様の効果を奏する。   According to a sixth aspect of the present invention, a reference position detecting portion is formed on the outer peripheral portion of the rotational position detecting disk plate, and a wall portion having an arc shape and a predetermined width in the radial direction is formed on the reference position detecting portion. Therefore, the portion other than the wall portion of the reference position detection portion is a so-called no-wall portion, and the no-wall portion is not formed as a notch on the inner peripheral side, but is formed on the outer peripheral portion. Rotating position detection disc plate can be simplified, and the rotating position detection disc plate can be formed into a thin film, which can reduce the weight and cost of the rotating position detection disc plate. become. Other effects similar to those of any one of claims 1 to 5 can be achieved.

請求項7の発明によれば、ステッピングモータを含む駆動機構で駆動される作動体を作動範囲の原点位置に設定する駆動機構の制御装置において、回転位置検出用ディスク板と、基準位置検出部と、基準位置用検出手段と、補正量記憶手段と、制御手段とを設けたので、ステッピングモータの基準となる第1の回転位置と、作動体が作動体の原点位置にある場合のステッピングモータの第2の回転位置との2つの回転位置の差に対応する補正量が補正量記憶手段記憶され、駆動機構による作動体の作動開始前に、ステッピングモータを基準位置に位置合わせするとともに、駆動機構による作動体の作動開始に際して、補正量記憶手段の補正量を加味して作動体の第1作動位置に位置するようにステッピングモータを制御できるため、作動体を原点位置合わせすることなく第1作動位置に移動でき、補正作業を簡単化できる上、作業性を改善することができる。   According to the seventh aspect of the present invention, in the control device of the drive mechanism for setting the operating body driven by the drive mechanism including the stepping motor to the origin position of the operating range, the rotational position detecting disk plate, the reference position detecting unit, Since the reference position detection means, the correction amount storage means, and the control means are provided, the first rotation position that is the reference of the stepping motor and the stepping motor of the stepping motor when the operating body is at the origin position of the operating body are provided. The correction amount corresponding to the difference between the two rotation positions from the second rotation position is stored in the correction amount storage means, and before the operation of the operating body by the drive mechanism is started, the stepping motor is aligned with the reference position, and the drive mechanism Since the stepping motor can be controlled so as to be positioned at the first operating position of the operating body in consideration of the correction amount of the correction amount storage means at the start of operation of the operating body by the It can be moved to the first operative position without aligning point location, on can be simplified correction operation can be improved workability.

請求項8の発明によれば、駆動機構の制御プログラムは、ステッピングモータを含む駆動機構で駆動される作動体を作動範囲の原点位置に設定する駆動機構の制御装置のコンピュータに実行させる駆動機構の制御プログラムであって、ステッピングモータの出力軸に固定された回転位置検出用ディスク板に形成された基準位置検出部を介して基準位置用検出手段により検出されたステッピングモータの基準位置に対する作動体の原点位置のズレ量として入力された補正量を記憶する補正量記憶ルーチンと、補正量記憶手段に記憶されている補正量に応じて前記ステッピングモータの基準位置と作動体のズレ量を補正するようにステッピングモータを補正制御する補正制御ルーチンとを含むので、これら補正量記憶ルーチンと補正制御ルーチンとを含む制御プログラムを制御装置のコンピュータで実行することで、請求項1と同様の効果を奏する。   According to the invention of claim 8, the control program for the drive mechanism is a program for the drive mechanism to be executed by the computer of the control device for the drive mechanism that sets the operating body driven by the drive mechanism including the stepping motor to the origin position of the operating range. A control program for a working body relative to a reference position of a stepping motor detected by a reference position detecting means via a reference position detecting unit formed on a rotating position detecting disk plate fixed to the output shaft of the stepping motor. A correction amount storage routine for storing the correction amount input as the deviation amount of the origin position, and the reference position of the stepping motor and the deviation amount of the operating body are corrected according to the correction amount stored in the correction amount storage means. Includes a correction control routine for correcting and controlling the stepping motor. By performing a computer control unit a control program including the same effects as claim 1.

電子制御式のジグザグミシンに設けた刺繍枠をX送りモータ及びY送りモータで駆動させるように構成され、これらのX送りモータ及びY送りモータの出力軸に回転位置検出用ディスクが夫々固定され、この回転位置検出用ディスクに形成された基準位置検出部と回転位置検出部を夫々専用の位置検出センサで検出できるようにした。   An embroidery frame provided on an electronically controlled zigzag sewing machine is configured to be driven by an X feed motor and a Y feed motor, and rotational position detection disks are respectively fixed to output shafts of these X feed motor and Y feed motor. The reference position detection unit and the rotation position detection unit formed on the rotation position detection disk can be detected by dedicated position detection sensors.

本実施例のジグザグミシンM(これが縫製装置に相当する)は、図1に示すように、ミシンベッド部1と、ミシンベッド部1の右端部から立設された脚柱部2と、脚柱部2の上端からミシンベッド部1に対向するように左方へ延びるアーム部3を有する。   As shown in FIG. 1, a zigzag sewing machine M according to this embodiment includes a sewing machine bed portion 1, a leg column portion 2 erected from the right end portion of the sewing machine bed portion 1, and a leg column. The arm portion 3 extends leftward from the upper end of the portion 2 so as to face the sewing machine bed portion 1.

ミシンベッド部1には、送り歯を上下動させる送り歯上下動機構(図示略)及び前後動させる送り歯前後動機構(図示略)、下糸ボビンを収容し縫針6と協働する糸輪捕捉器(例えば、水平釜)等が設けられている。脚柱部2の側面側には、オプション的に追加される多数の刺繍模様の模様データ(縫製データと模様表示データ)を記録したROMカード7を、内部のカード用コネクタ13(図6参照)に接続する為のカード用スロット2aが形成されている。   The sewing machine bed 1 accommodates a feed dog vertical movement mechanism (not shown) for moving the feed dog up and down, a feed dog forward and backward movement mechanism (not shown) for moving back and forth, and a lower thread bobbin and cooperating with the sewing needle 6. A catcher (for example, a horizontal hook) is provided. On the side surface of the pedestal 2, a ROM card 7 in which pattern data (sewing data and pattern display data) of a number of embroidery patterns that are optionally added is recorded is an internal card connector 13 (see FIG. 6). A card slot 2a for connection to the card is formed.

アーム部3には、下端に縫針6を装着した針棒5を上下動させる針棒駆動機構、針棒5を布送り方向と直交する方向に揺動させる針棒揺動機構(図示略)、天秤を針棒5の上下動に調時して上下動させる天秤駆動機構(図示略)等が設けられている。尚、送り歯上下動機構と針棒上下動機構とはミシンモータ17で駆動され、針棒揺動機構は針棒揺動用ステッピングモータ18で駆動され、送り歯前後動機構は送り歯前後駆動用ステッピングモータ19で駆動される(図6参照)   The arm portion 3 includes a needle bar drive mechanism that moves the needle bar 5 with the sewing needle 6 attached to the lower end thereof up and down, a needle bar swing mechanism (not shown) that swings the needle bar 5 in a direction perpendicular to the cloth feed direction, A scale drive mechanism (not shown) or the like that moves the scale up and down by adjusting the vertical movement of the needle bar 5 is provided. The feed dog vertical movement mechanism and the needle bar vertical movement mechanism are driven by a sewing machine motor 17, the needle bar rocking mechanism is driven by a needle bar rocking stepping motor 18, and the feed dog forward / backward movement mechanism is for feed dog forward / backward driving. Driven by stepping motor 19 (see FIG. 6)

アーム部3の頭部4には、縫製作業の起動と停止を指令する起動停止スイッチ12が設けられている。アーム部3の前面には大型でカラーの液晶ディスプレイ(以下、単にカラーディスプレイという)10が設けられ、このカラーディスプレイ10には、実用模様や刺繍模様等の種々の縫目模様や各種の機能名、更には模様や種々のメッセージ等が表示される。このカラーディスプレイ10の前面には、複数の刺繍模様や模様名や機能を示す機能名の表示位置の各々に対応させて、透明電極からなるタッチキー11がマトリックス状に設けられている。   The head 4 of the arm unit 3 is provided with a start / stop switch 12 for instructing start and stop of the sewing work. A large color liquid crystal display (hereinafter simply referred to as a color display) 10 is provided on the front surface of the arm unit 3. The color display 10 includes various stitch patterns such as a practical pattern and an embroidery pattern, and various function names. Furthermore, patterns and various messages are displayed. Touch keys 11 made of transparent electrodes are provided in a matrix on the front surface of the color display 10 so as to correspond to display positions of a plurality of embroidery patterns, pattern names, and function names indicating functions.

即ち、所望の刺繍模様の選択や機能の支持を、これら刺繍模様や機能名に対応するタッチキー11を押圧操作することで実現することができる。ベッド部1の左端側部分には、通称フリーアームと称されるフリーベッド部が消せされ、このフリーベッド部に刺繍枠駆動機構20が着脱可能に装着される。   That is, selection of a desired embroidery pattern and support of functions can be realized by pressing the touch keys 11 corresponding to these embroidery patterns and function names. A free bed portion, commonly referred to as a free arm, is erased from the left end portion of the bed portion 1, and an embroidery frame drive mechanism 20 is detachably attached to the free bed portion.

刺繍枠駆動機構20は、その本体ケース20aと、加工布を着脱自在に装着する刺繍枠21(これが作動体に相当する)と、刺繍枠21をY方向(前後方向)へ駆動するY方向駆動機構を内蔵したY方向駆動部22と、このY方向駆動部22をX方向(左右方向)へ駆動するX方向駆動機構であって本体ケース20a内に収容されたX方向駆動機構とを備え、X方向駆動機構にX送りモータ23が連結され、Y方向駆動機構にY送りモータ24(図6参照)が連結されている。   The embroidery frame drive mechanism 20 includes a main body case 20a, an embroidery frame 21 on which a work cloth is detachably attached (this corresponds to an operating body), and a Y-direction drive that drives the embroidery frame 21 in the Y direction (front-rear direction). A Y-direction drive unit 22 having a built-in mechanism, and an X-direction drive mechanism that drives the Y-direction drive unit 22 in the X direction (left-right direction) and is housed in the main body case 20a. An X feed motor 23 is connected to the X direction drive mechanism, and a Y feed motor 24 (see FIG. 6) is connected to the Y direction drive mechanism.

それ故、X送りモータ23はX方向駆動機構に含まれ、Y送りモータ24はY方向駆動機構に含まれている。尚、X送り及びY送りモータ23,24は、夫々図示しないタイミングベルトを循環するように構成されている。   Therefore, the X feed motor 23 is included in the X direction drive mechanism, and the Y feed motor 24 is included in the Y direction drive mechanism. The X-feed and Y-feed motors 23 and 24 are configured to circulate through timing belts (not shown).

刺繍枠駆動機構20がフリーベッド部に装着されると、X送り及びY送りモータ23,24がコネクタ14を介してジグザグミシンMの制御装置45に電気的に接続され、制御装置45によりX送り及びY送りモータ23,24が駆動制御され、加工布がセットされた刺繍枠21をX方向とY方向とに独立に移動駆動しつつ刺繍縫製できるようになっている。但し、刺繍枠駆動機構20が装着されていないときには、直線模様やジクザグ模様等の実用模様を縫製可能であり、刺繍枠駆動機構20を装着したときに、刺繍模様の縫製が可能になる。   When the embroidery frame drive mechanism 20 is mounted on the free bed portion, the X feed and Y feed motors 23 and 24 are electrically connected to the control device 45 of the zigzag sewing machine M via the connector 14, and the control device 45 performs the X feed. The Y feed motors 23 and 24 are driven and controlled so that the embroidery frame 21 on which the work cloth is set can be embroidery sewn while being driven to move independently in the X and Y directions. However, when the embroidery frame driving mechanism 20 is not mounted, a practical pattern such as a linear pattern or a zigzag pattern can be sewn. When the embroidery frame driving mechanism 20 is mounted, the embroidery pattern can be sewn.

次に、刺繍枠21を駆動するX送りモータ23及びY送りモータ24の駆動軸に夫々固定された回転位置検出用ディスク板30と、この回転位置検出用ディスク板30に形成された回転位置検出部及び基準位置検出部、これら回転位置検出部及び基準位置検出部を検出可能な検出センサについて説明する。   Next, the rotational position detection disk plate 30 fixed to the drive shafts of the X feed motor 23 and the Y feed motor 24 for driving the embroidery frame 21, and the rotational position detection formed on the rotational position detection disk plate 30. A detection sensor capable of detecting the rotation position detection unit and the reference position detection unit will be described.

但し、X送りモータ23に設けられた回転位置検出用ディスク板30及び検出センサと、Y送りモータ24に設けられた回転位置検出用ディスク板30及び検出センサとは同様に構成されたものであるため、X送りモータ23に設けられた回転位置検出用ディスク板30及び検出センサについて、図2〜図3に基づいて説明する。   However, the rotational position detection disk plate 30 and detection sensor provided in the X feed motor 23 and the rotational position detection disk plate 30 and detection sensor provided in the Y feed motor 24 are configured in the same manner. Therefore, the rotational position detection disk plate 30 and the detection sensor provided in the X-feed motor 23 will be described with reference to FIGS.

X送りモータ23の出力軸23aの一端部には、回転位置検出用ディスク板30が軸方向と直交状に固定部材31で固定されるとともに、その出力軸23aの他端部には、X方向駆動機構に連結するためのセクタギヤ42が固定されている。即ち、X送りモータ23は、刺繍枠21をX方向に駆動させるX方向駆動機構の駆動源として設けられている。   A rotational position detecting disk plate 30 is fixed to one end of the output shaft 23a of the X feed motor 23 by a fixing member 31 orthogonal to the axial direction, and the other end of the output shaft 23a is fixed to the X direction. A sector gear 42 for coupling to the drive mechanism is fixed. That is, the X feed motor 23 is provided as a drive source of an X direction drive mechanism that drives the embroidery frame 21 in the X direction.

但し、X送りモータ23の1回転以内で、X方向駆動機構を介して刺繍枠21を最大移動距離分移動可能である。回転位置検出用ディスク板30には、図4に示すように、中心部側(半径方向内側)に、半径方向に所定幅を有する環状の回転位置検出部30aが設けられるとともに、その外側(半径方向外側)に、半径方向に所定幅を有する環状の基準位置検出部30cが設けられている。内側の回転位置検出部30aには、所定の分解能として、例えば、400個のスリット30bが所定間隔毎に放射状に形成されている。   However, within one rotation of the X feed motor 23, the embroidery frame 21 can be moved by the maximum movement distance via the X direction drive mechanism. As shown in FIG. 4, the rotational position detecting disk plate 30 is provided with an annular rotational position detecting portion 30a having a predetermined width in the radial direction on the center side (radially inner side) and on the outer side (radius). An annular reference position detector 30c having a predetermined width in the radial direction is provided on the outer side in the direction. In the inner rotational position detection unit 30a, for example, 400 slits 30b are radially formed at predetermined intervals as a predetermined resolution.

また、外側の基準位置検出部30cには、360°のうちの180°にだけ、半径方向に所定幅を有する円弧状の検出壁部30d(これが有壁部に相当する)が突出状に形成され、その他の部分は無壁状態になっている。そこで、回転位置検出用ディスク板30に接近させて略C字状の取付け基板32が配置され、スペーサ33等を介して固定ボルト34によりX送りモータ23に支持されている。また、これら回転位置検出用ディスク板30や取付け基板32等は、カバー部材35により保護されている。   In addition, the outer reference position detection unit 30c is formed with an arc-shaped detection wall 30d (which corresponds to a walled portion) having a predetermined width in the radial direction so as to protrude only at 180 ° out of 360 °. The other parts are wallless. Therefore, a substantially C-shaped mounting substrate 32 is disposed close to the rotational position detecting disk plate 30 and supported by the X feed motor 23 by a fixing bolt 34 via a spacer 33 or the like. The rotational position detecting disk plate 30 and the mounting substrate 32 are protected by a cover member 35.

その取付け基板32には、内側の回転位置検出部30aに対応するように、第1及び第2回転位置X検出センサ36,37を組込んだ回転位置検出器38(これが回転位置用検出手段に相当する)が固着されるとともに、外側の基準位置検出部30cに対応するように、基準位置X検出センサ39を組込んだ基準位置検出器40(これが基準位置用検出手段に相当する)が固着されている。ここで、第1及び第2回転位置X検出センサ36,37及び基準位置X検出センサ39は、夫々フォトエンコーダにより構成された同様の検出用センサである。   The mounting substrate 32 has a rotational position detector 38 (which is a rotational position detection means) incorporating first and second rotational position X detection sensors 36 and 37 so as to correspond to the inner rotational position detector 30a. And a reference position detector 40 incorporating a reference position X detection sensor 39 (which corresponds to reference position detection means) is fixed so as to correspond to the outer reference position detection unit 30c. Has been. Here, the first and second rotational position X detection sensors 36 and 37 and the reference position X detection sensor 39 are similar detection sensors each constituted by a photo encoder.

ところで、回転位置検出器38に組込まれた第1回転位置X検出センサ36と第2回転位置X検出センサ37とは、周方向に所定位相角だけズラせて配置されているため、図5に示すように、第1回転位置X検出センサ36から回転位置A検出信号(所謂、A相信号)が出力されるとともに、第2回転位置X検出センサ37から回転位置B検出信号(所謂、B相信号)が出力される。これら回転位置A検出信号と回転位置B検出信号とは、相互に所定位相角(例えば、約90°)だけズレた検出信号である。   Incidentally, since the first rotational position X detection sensor 36 and the second rotational position X detection sensor 37 incorporated in the rotational position detector 38 are arranged with a predetermined phase angle shifted in the circumferential direction, FIG. As shown, a rotational position A detection signal (so-called A phase signal) is output from the first rotational position X detection sensor 36, and a rotational position B detection signal (so-called B phase) is output from the second rotational position X detection sensor 37. Signal) is output. The rotational position A detection signal and the rotational position B detection signal are detection signals that are shifted from each other by a predetermined phase angle (for example, about 90 °).

それ故、これら回転位置A検出信号と回転位置B検出信号の位相ズレ方向に基づいて、回転位置検出用ディスク板30の回転方向、つまりX送りモータ23の回転方向を検出可能になっている。基準位置検出器40に組込まれた基準位置X検出センサ39から出力される基準位置検出信号(所謂、Z相信号)は、図5に示すように、180°に亙る湾曲帯状の検出壁部30dに対応する場合に「L」レベルの基準位置検出信号が出力され、検出壁部30dに対応しない場合に「H」レベルの基準位置検出信号が出力される。   Therefore, the rotational direction of the rotational position detection disk plate 30, that is, the rotational direction of the X-feed motor 23 can be detected based on the phase shift direction of the rotational position A detection signal and the rotational position B detection signal. A reference position detection signal (a so-called Z-phase signal) output from a reference position X detection sensor 39 incorporated in the reference position detector 40 is a curved belt-shaped detection wall 30d extending 180 ° as shown in FIG. The reference position detection signal of “L” level is output when the signal corresponds to “H”, and the reference position detection signal of “H” level is output when the signal does not correspond to the detection wall 30d.

ここで、X送りモータ23の基準位置(これが第1の回転位置に相当する)は、図5に示すように、基準位置X検出センサ39から出力される基準位置検出信号が「H」レベルのときに、X送りモータ23を正回転させて、基準位置検出信号が「L」レベルに切換わる位置に設定されている。   Here, the reference position of the X-feed motor 23 (which corresponds to the first rotational position) is such that the reference position detection signal output from the reference position X detection sensor 39 is “H” level as shown in FIG. In some cases, the X-feed motor 23 is rotated forward so that the reference position detection signal is switched to the “L” level.

この場合、X送りモータ23の基準位置は、回転位置検出用ディスク板30の180°の回転位置、つまり刺繍枠21のX方向移動範囲の中央位置に設定されている(図5参照)。更に、取付け基板32には、これら第1及び第2回転位置X検出センサ36,37と基準位置X検出センサ39からの検出信号を信号線を介して制御装置Cに供給する差込みコネクタ41が接続されている。   In this case, the reference position of the X feed motor 23 is set to the 180 ° rotation position of the rotation position detecting disk plate 30, that is, the center position of the movement range of the embroidery frame 21 in the X direction (see FIG. 5). Further, an insertion connector 41 for supplying detection signals from the first and second rotational position X detection sensors 36 and 37 and the reference position X detection sensor 39 to the control device C through a signal line is connected to the mounting board 32. Has been.

次に、電子制御ミシンMの制御系について説明する。
図6に示すように、制御装置45は、入力インターフェース46と、CPU47とROM48及びRAM49と電気的に書換え可能な不揮発性のフラッシュメモリ50とを含むコンピュータと、出力インターフェース51と、これらを接続するデータバス等のバス52とを有する。
Next, a control system of the electronic control sewing machine M will be described.
As shown in FIG. 6, the control device 45 connects the input interface 46, a computer including a CPU 47, a ROM 48 and a RAM 49, and an electrically rewritable nonvolatile flash memory 50, and an output interface 51. And a bus 52 such as a data bus.

入力インターフェース46には、起動停止スイッチ12と、タッチキー11と、ミシン支軸の複数の回転位相を検出するタイミング信号発生器16と、X送りモータ23に関する第1及び第2回転位置X検出センサ36,37及び基準位置X検出センサ39と、Y送りモータ24に関する第1及び第2回転位置Y検出センサ53,54と、基準位置Y検出センサ56等が接続されている。   The input interface 46 includes a start / stop switch 12, a touch key 11, a timing signal generator 16 that detects a plurality of rotational phases of the sewing spindle, and first and second rotational position X detection sensors related to the X feed motor 23. 36, 37 and a reference position X detection sensor 39, first and second rotational position Y detection sensors 53, 54 related to the Y feed motor 24, a reference position Y detection sensor 56, and the like are connected.

出力インターフェース51には、これらモータ17〜19と、カラーディスプレイ(LCD)10の為のディスプレイコントローラ(LCDC)57と、刺繍枠駆動機構20のX送りモータ23とY送りモータ24がコネクタ14を介して接続されている。また、ROMカード7のROM8はコネクタ13を介してバス52に接続されている。   The output interface 51 includes these motors 17 to 19, a display controller (LCDC) 57 for the color display (LCD) 10, and the X feed motor 23 and the Y feed motor 24 of the embroidery frame drive mechanism 20 via the connector 14. Connected. The ROM 8 of the ROM card 7 is connected to the bus 52 via the connector 13.

ROM48には、図7に示すように、システム制御プログラム以外に、実用模様や刺繍模様を選択する模様選択制御や各種の表示制御を含む縫製制御プログラム、に加えて、本願特有の送り原点設定制御プログラム等が予め格納されている。その送り原点設定制御プログラムには、補正量記憶ルーチン(これが補正量記憶手段に相当する)、補正量に基づいて原点位置を補正する補正制御ルーチン(これが補正制御手段に相当する)等が含まれている。   In addition to the system control program, the ROM 48 includes a sewing origin control program including a pattern selection control for selecting a practical pattern and an embroidery pattern and various display controls, as well as a system control program. Programs and the like are stored in advance. The feed origin setting control program includes a correction amount storage routine (which corresponds to the correction amount storage means), a correction control routine (which corresponds to the correction control means) for correcting the origin position based on the correction amount, and the like. ing.

ROMカード7のROM8には、ROM48と同様に、比較的使用頻度の低い多数の刺繍模様の縫製データが格納されている。RAM49には、選択された縫製に供する模様番号の番号データを記憶する模様番号メモリ49aと、後述する送り原点位置補正制御の実行により、X送りモータ23とY送りモータ24の基準位置に対する刺繍枠21の原点位置のズレ量として入力された送り原点補正量を夫々記憶する補正量メモリ49b(これが、第1の回転位置と第2の回転位置との2つの回転位置の差に対応する補正量を記憶する補正量記憶手段に相当する)等が設けられている。   Similar to the ROM 48, the ROM 8 of the ROM card 7 stores sewing data of a large number of embroidery patterns that are relatively infrequently used. The RAM 49 has a pattern number memory 49a for storing the number data of the selected pattern number to be used for sewing, and an embroidery frame for the reference positions of the X feed motor 23 and the Y feed motor 24 by executing feed origin position correction control described later. A correction amount memory 49b for storing a feed origin correction amount input as a deviation amount of the origin position of 21 (this is a correction amount corresponding to the difference between the two rotation positions of the first rotation position and the second rotation position) Is equivalent to a correction amount storage means for storing the

次に、制御装置45で実行される送り原点位置補正制御について、図8のフローチャートに基づいて説明する。但し、図中の符号Si(i=11、12、13・・・)は各ステップである。
電源の投入によりこの制御が開始されると、先ず、X送りモータ23に関するX基準位置設定処理(図9参照)が実行される(S11)。
Next, the feed origin position correction control executed by the control device 45 will be described based on the flowchart of FIG. However, the symbol Si (i = 11, 12, 13,...) In the figure is each step.
When this control is started by turning on the power, an X reference position setting process (see FIG. 9) relating to the X feed motor 23 is first executed (S11).

この制御が開始されると、先ず、基準位置X検出センサ39からの基準位置信号が読込まれる(S21)。この基準位置信号が「H」レベルのとき、即ち、基準位置X検出センサ39が円弧状の検出壁部30d以外の部位に対応している場合には(S22:Yes) 、X送りモータ23が1パルスだけ正回転方向に駆動され(S23)、「H」レベルの場合には(S24:No)、S23〜S24が繰り返して実行される。   When this control is started, first, a reference position signal from the reference position X detection sensor 39 is read (S21). When the reference position signal is at the “H” level, that is, when the reference position X detection sensor 39 corresponds to a part other than the arc-shaped detection wall 30d (S22: Yes), the X feed motor 23 is Only one pulse is driven in the forward rotation direction (S23), and in the case of "H" level (S24: No), S23 to S24 are repeatedly executed.

その結果、基準位置X検出センサ39が検出壁部30dのエッジに対応して、基準位置信号が「L」レベルになったとき(S24:Yes) 、X送りモータ23の基準位置が設定されるため、この制御を終了して送り原点位置補正制御のS12にリターンする。一方、基準位置信号が「L」レベルのとき、即ち、基準位置X検出センサ39が円弧状の検出壁部30dに対応している場合には(S22:No)、X送りモータ23が1パルスだけ逆回転方向に駆動され(S25)、「L」レベルの場合には(S26:No)、S25〜S26が繰り返して実行される。   As a result, when the reference position X detection sensor 39 corresponds to the edge of the detection wall 30d and the reference position signal becomes “L” level (S24: Yes), the reference position of the X feed motor 23 is set. Therefore, this control is terminated and the process returns to S12 of the feed origin position correction control. On the other hand, when the reference position signal is at the “L” level, that is, when the reference position X detection sensor 39 corresponds to the arc-shaped detection wall 30d (S22: No), the X feed motor 23 has one pulse. Only in the reverse rotation direction (S25), and in the case of "L" level (S26: No), S25 to S26 are repeatedly executed.

その結果、基準位置信号が「H」レベルになった場合には(S26:Yes) 、X送りモータ23は、更に、数パルス分逆回転方向に継続して駆動される(S27)。その後、前述したように、S23〜S24が繰り返して実行され、基準位置X検出センサ39が検出壁部30dのエッジに対応して、基準位置信号が「L」レベルになって、X送りモータ23の基準位置が設定されたとき(S24:Yes) 、この制御を終了し、送り原点位置補正制御のS12にリターンする。   As a result, when the reference position signal becomes “H” level (S26: Yes), the X-feed motor 23 is further continuously driven in the reverse rotation direction by several pulses (S27). Thereafter, as described above, S23 to S24 are repeatedly executed, the reference position X detection sensor 39 corresponds to the edge of the detection wall 30d, the reference position signal becomes “L” level, and the X feed motor 23 When the reference position is set (S24: Yes), this control is terminated, and the process returns to S12 of the feed origin position correction control.

次に、送り原点位置補正制御において、Y送りモータ24に関するY基準位置設定処理が実行される(S12)。但し、このY基準位置設定処理は、図9で説明したX基準位置定制御と同様であるため、その説明を省略する。次に、カラーディスプレイ10には、図11に示すように、その右下の表示部に、「補正」キーと「終了」キーとが常に表示されているため、X送りモータ23の基準位置と刺繍枠21の原点位置とにズレが生じている場合であって、そのズレ量を設定して補正するために、「補正」キーが操作された場合には(S13:Yes) 、送り補正量設定画面がカラーディスプレイ10に表示される(S14)。   Next, in the feed origin position correction control, a Y reference position setting process for the Y feed motor 24 is executed (S12). However, since this Y reference position setting process is the same as the X reference position fixing control described with reference to FIG. 9, the description thereof is omitted. Next, as shown in FIG. 11, since the “correction” key and the “end” key are always displayed on the lower right display portion on the color display 10, the reference position of the X-feed motor 23 is displayed. If there is a deviation from the origin position of the embroidery frame 21 and the "correction" key is operated to set and correct the deviation (S13: Yes), the feed correction amount A setting screen is displayed on the color display 10 (S14).

例えば、図11に示すように、〔送り補正量設定〕を表題として、項目名「X送り補正量」及び「Y送り補正量」と、そのズレ量を2桁のステップ数(X送り及びY送りモータ23,24の駆動ステップ数)で設定するために、ブロックカーソルBKと、テンキー及び矢印キーが表示される。そこで、例えば、X送りモータ23の「5ステップ」がズレ量に相当する場合、作業者は設定量として、2桁の数値「05」を設定する。   For example, as shown in FIG. 11, the item names “X-feed correction amount” and “Y-feed correction amount” with [Feed correction amount setting] as the title, and the deviation amount are set to a two-digit number of steps (X-feed and Y-feed). In order to set the number of driving motors 23 and 24), a block cursor BK, a numeric keypad, and an arrow key are displayed. Therefore, for example, when “5 steps” of the X-feed motor 23 corresponds to the shift amount, the operator sets a two-digit numerical value “05” as the set amount.

このように、X方向送りとY方向送りに関する補正量が夫々設定された場合(S15)、前回までの送り補正量と今回設定された送り補正量(X送り補正量とY送り補正量)の加算結果が演算され(S16)、前回の送り補正量に対して、今回設定された送り補正量の変更量だけX送りモータ23又はY送りモータ24が駆動される(S17)。即ち、前回のX送り補正量が「00」であり、今回において回転指令量として設定されたX送り補正量が「05」の場合、X送りモータ23は5パルスだけ「+X方向」に駆動される。   As described above, when the correction amounts related to the X-direction feed and the Y-direction feed are respectively set (S15), the previous feed correction amount and the currently set feed correction amount (X feed correction amount and Y feed correction amount) are set. The addition result is calculated (S16), and the X feed motor 23 or the Y feed motor 24 is driven by the change amount of the feed correction amount set this time with respect to the previous feed correction amount (S17). That is, when the previous X feed correction amount is “00” and the X feed correction amount set as the rotation command amount at this time is “05”, the X feed motor 23 is driven in the “+ X direction” by 5 pulses. The

ここで、S15がステッピングモータを回転させるように指令する回転指令手段に相当する。また、S16が回転指令手段による回転指令量に応じたステッピングモータの回転位置と、基準位置との差を補正量として演算する補正量演算手段に相当する。   Here, S15 corresponds to a rotation command means for commanding the stepping motor to rotate. S16 corresponds to correction amount calculation means for calculating a difference between the rotation position of the stepping motor corresponding to the rotation command amount by the rotation command means and the reference position as a correction amount.

ところで、刺繍枠21のX方向原点位置及びY方向原点位置の補正作業を繰り返す場合には、S13〜S17が繰り返して実行される。そして、刺繍枠21のX方向原点位置及びY方向原点位置が、刺繍枠21について予め設定されている所定の縫製開始位置とが一致し、「終了」キーが操作された場合には(S13:Yes) 、送り補正量(X送り補正量とY送り補正量)が補正量メモリ49bに記憶され(S18)、この制御を終了する。   By the way, when the correction work of the X direction origin position and the Y direction origin position of the embroidery frame 21 is repeated, S13 to S17 are repeatedly executed. When the X-direction origin position and the Y-direction origin position of the embroidery frame 21 coincide with a predetermined sewing start position set in advance for the embroidery frame 21, and the “end” key is operated (S13: Yes), the feed correction amounts (X feed correction amount and Y feed correction amount) are stored in the correction amount memory 49b (S18), and this control is finished.

ここで、回転指令量として指令された補正量に対応してX送りモータ23又はY送りモータ24がS17において駆動された回転位置が、X送りモータ23又はY送りモータ24の基準位置(第1の回転位置)とは異なる第2の回転位置に相当し、補正量メモリ49bには、第1の回転位置と第2の回転位置との2つの回転位置の差に対応する補正量が記憶される。   Here, the rotational position where the X-feed motor 23 or the Y-feed motor 24 is driven in S17 corresponding to the correction amount commanded as the rotation command amount is the reference position (first position of the X-feed motor 23 or Y-feed motor 24). The correction amount memory 49b stores a correction amount corresponding to the difference between the two rotation positions of the first rotation position and the second rotation position. The

次に、刺繍枠21の補正制御と、模様選択された模様を縫製する縫製制御について、図10のフローチャートに基づいて説明する。   Next, correction control of the embroidery frame 21 and sewing control for sewing the selected pattern will be described based on the flowchart of FIG.

例えば、電源が投入されたときのパワーオン・リセットによりこの制御が開始されると、縫製処理制御に先立って、X送りモータ23とY送りモータ24の各々に関するX,Y基準位置設定制御が夫々実行される(S31)。これらX,Y基準位置設定制御は、X基準位置設定制御(図9参照)及びY基準位置設定制御(図示略)に基づいて実行されるため、その説明を省略する。   For example, when this control is started by power-on / reset when the power is turned on, X and Y reference position setting control for each of the X feed motor 23 and the Y feed motor 24 is performed prior to the sewing process control. It is executed (S31). Since these X and Y reference position setting controls are executed based on the X reference position setting control (see FIG. 9) and the Y reference position setting control (not shown), description thereof is omitted.

次に、補正量メモリ49bにX送り補正量が記憶されている場合には(S32:Yes) 、補正量メモリ49bに記憶されているX送り補正量に基づいて、X送りモータ23が更に駆動される(S33)。次に、補正量メモリ49bにY送り補正量が記憶されている場合には(S34:Yes) 、補正量メモリ49bに記憶されているY送り補正量に基づいて、Y送りモータ24が更に駆動される(S35)。   Next, when the X feed correction amount is stored in the correction amount memory 49b (S32: Yes), the X feed motor 23 is further driven based on the X feed correction amount stored in the correction amount memory 49b. (S33). Next, when the Y feed correction amount is stored in the correction amount memory 49b (S34: Yes), the Y feed motor 24 is further driven based on the Y feed correction amount stored in the correction amount memory 49b. (S35).

即ち、このように、X送りモータ23とY送りモータ24の各々は、夫々の基準位置に回転した後、補正量メモリ49bに記憶されている送り補正量に基づいて、刺繍枠21が、X送りモータ23の基準位置と、Y送りモータ24の基準位置に対して位置補正した正規のX方向原点位置且つY方向原点位置に移動する。   That is, in this way, after each of the X feed motor 23 and the Y feed motor 24 is rotated to the respective reference position, the embroidery frame 21 is moved to the X based on the feed correction amount stored in the correction amount memory 49b. The reference position of the feed motor 23 and the reference position of the Y feed motor 24 are moved to the normal X-direction origin position and the Y-direction origin position that have been position-corrected.

その後、縫製開始キー操作等により縫製処理が開始された場合(S36:Yes) 、縫製処理が実行される(S37)。この縫製処理においては、刺繍枠21をX方向又はY方向に移動させる毎に、送りデータと、第1及び第2回転位置X検出センサ36,37から受けた検出信号に基づく実際の検出移動量とに基づいて、X送りモータ23とY送りモータ24の脱調の有無が精度よく検出される。脱調を検出した場合には、アラーム処理したり、縫製処理を停止する等して、作業者に報知される。   Thereafter, when the sewing process is started by a sewing start key operation or the like (S36: Yes), the sewing process is executed (S37). In this sewing process, every time the embroidery frame 21 is moved in the X direction or the Y direction, the actual detected movement amount based on the feed data and the detection signals received from the first and second rotational position X detection sensors 36 and 37. Based on the above, the presence / absence of step-out of the X-feed motor 23 and the Y-feed motor 24 is accurately detected. When step-out is detected, an alarm process is performed or the sewing process is stopped, and the operator is notified.

このように、X送りモータ23とY送りモータ24の出力軸に、回転位置検出部30aと基準位置検出部30cとを有する回転位置検出用ディスク板30と、第1及び第2回転位置X検出センサ36,37及び基準位置X検出センサ39と、第1及び第2回転位置Y検出センサ53,54及び基準位置Y検出センサ56と、補正量メモリ49bと、補正制御プログラム(ルーチン)等を設けたので、X送りモータ23及びY送りモータ24の基準位置に対する刺繍枠21の原点位置の補正量を補正量メモリ49bに記憶し、その補正量メモリ49bに記憶されている送り補正量(X送り補正量とY送り補正量)に応じて、X送りモータ23及びY送りモータ24の基準位置に対する刺繍枠21の原点位置のズレ量を補正できるため、刺繍枠21を原点位置に位置合わせする補正作業を格段に簡単化させることができる。   Thus, the rotational position detection disk plate 30 having the rotational position detection unit 30a and the reference position detection unit 30c on the output shafts of the X feed motor 23 and the Y feed motor 24, and the first and second rotational position X detections. Sensors 36 and 37 and a reference position X detection sensor 39, first and second rotational position Y detection sensors 53 and 54 and a reference position Y detection sensor 56, a correction amount memory 49b, a correction control program (routine), and the like are provided. Therefore, the correction amount of the origin position of the embroidery frame 21 with respect to the reference position of the X feed motor 23 and the Y feed motor 24 is stored in the correction amount memory 49b, and the feed correction amount (X feed) stored in the correction amount memory 49b is stored. The deviation amount of the origin position of the embroidery frame 21 with respect to the reference position of the X feed motor 23 and the Y feed motor 24 can be corrected according to the correction amount and the Y feed correction amount). It can be remarkably simplified correction work to align the origin position.

また、X送りモータ23及びY送りモータ24の基準位置に対する刺繍枠21の原点位置の補正量を補正量メモリ49bに記憶できるため、制御装置45の電源を切断しない限り、補正量を再設定する必要がなく、刺繍枠21の原点位置設定が容易になり、しかも作業性を大幅に改善できる。   Further, since the correction amount of the origin position of the embroidery frame 21 with respect to the reference position of the X feed motor 23 and the Y feed motor 24 can be stored in the correction amount memory 49b, the correction amount is reset unless the power of the control device 45 is turned off. This eliminates the need for easy setting of the origin position of the embroidery frame 21 and greatly improves workability.

更に、X方向駆動機構による刺繍枠21の作動開始前に、X送りモータ23及びY送りモータ24を基準位置に夫々回転させた後、刺繍枠21が原点位置に位置するようにX送りモータ23及びY送りモータ24を補正制御するので、X方向駆動機構及びY方向駆動機構による刺繍枠21の作動開始に際して、X送りモータ23及びY送りモータ24の基準位置合わせ及び刺繍枠21の原点位置合わせが完了しているため、X送りモータ23及びY送りモータ24の制御による刺繍枠21の作動開始を迅速に行え、作業性を改善することができる。   Further, before starting the operation of the embroidery frame 21 by the X direction drive mechanism, the X feed motor 23 and the Y feed motor 24 are rotated to the reference position, respectively, and then the X feed motor 23 is positioned so that the embroidery frame 21 is located at the origin position. Since the Y and Y feed motors 24 are corrected and controlled, when the operation of the embroidery frame 21 is started by the X direction drive mechanism and the Y direction drive mechanism, the reference position alignment of the X feed motor 23 and the Y feed motor 24 and the origin position alignment of the embroidery frame 21 are performed. Therefore, the operation of the embroidery frame 21 can be started quickly by controlling the X feed motor 23 and the Y feed motor 24, and workability can be improved.

送り原点位置補正制御において、カラーディスプレイ10に表示された送り補正量設定画面を介して、テンキーにより入力設定したステップ数に基づいて、X送りモータ23及びY送りモータ24の基準位置との差を補正量として加算結果演算(S16)するようにしたので、送り補正量設定画面を介して駆動ステップ数で回転量を指令するだけで、X送りモータ23及びY送りモータ24の基準位置との差である補正量を容易に算出することができ、補正量演算の簡単化が図れる。   In the feed origin position correction control, the difference between the reference position of the X feed motor 23 and the Y feed motor 24 is determined based on the number of steps set by the numeric keypad via the feed correction amount setting screen displayed on the color display 10. Since the addition result calculation (S16) is performed as the correction amount, the difference from the reference position of the X-feed motor 23 and the Y-feed motor 24 can be obtained only by commanding the rotation amount with the number of drive steps via the feed correction amount setting screen. The correction amount can be easily calculated, and the correction amount calculation can be simplified.

また、回転位置検出用ディスク板30の外周部に基準位置検出部30cが形成され、基準位置検出部30cには円弧状且つ半径方向に所定幅を有する検出壁部30dが形成されているので、基準位置検出部30cの検出壁部30d以外の部分は、所謂、無壁状態であり、その無壁状態を、内周側に切欠き部として形成するのではなく、外周部に形成したため、回転位置検出用ディスク板30の作成を簡単化することができ、しかも回転位置検出用ディスク板30を薄板のフィルム状にも形成できるため、回転位置検出用ディスク板30の軽量化及び低コスト化が可能になる。   Further, since the reference position detector 30c is formed on the outer periphery of the rotational position detection disk plate 30, and the reference position detector 30c is formed with a detection wall 30d having an arc shape and a predetermined width in the radial direction. Since the portion other than the detection wall portion 30d of the reference position detection portion 30c is a so-called no-wall state, the no-wall state is not formed as a notch portion on the inner peripheral side, but is formed on the outer peripheral portion. The production of the position detection disk plate 30 can be simplified, and the rotation position detection disk plate 30 can be formed in a thin film shape, so that the rotation position detection disk plate 30 can be reduced in weight and cost. It becomes possible.

次に、前記実施形態を部分的に変更した変更形態について説明する。
1〕図10に示す補正制御及び縫製処理制御を、図12に示すように部分的に変更し、縫製処理の開始前に、X送りモータ23及びY送りモータ24を基準位置に回転させておき、縫製処理の開始に際して、刺繍枠21が原点位置に位置するように、X送りモータ23及びY送りモータ24を補正制御するようにしてもよい。
Next, a modified embodiment in which the embodiment is partially modified will be described.
1) The correction control and the sewing process control shown in FIG. 10 are partially changed as shown in FIG. 12, and the X feed motor 23 and the Y feed motor 24 are rotated to the reference position before the sewing process is started. When starting the sewing process, the X feed motor 23 and the Y feed motor 24 may be corrected and controlled so that the embroidery frame 21 is located at the origin position.

即ち、S31と同様に、X送りモータ23とY送りモータ24の各々に関するX,Y基準位置設定制御が実行され(S41)、縫製処理が開始された場合(S42:Yes) 、S32〜S35と同様にS43〜S46によるX送りモータ23及びY送りモータ24の補正制御により、刺繍枠21が原点位置に位置し、その後、縫製処理が実行される(S47)。この場合にも、X方向駆動機構及びY方向駆動機構による刺繍枠21の作動開始に際しては、未だ実行されていない刺繍枠21の原点位置合わせだけを実行するだけなので、作業性を改善することができる。   That is, similarly to S31, when the X and Y reference position setting control for each of the X feed motor 23 and the Y feed motor 24 is executed (S41) and the sewing process is started (S42: Yes), S32 to S35 are performed. Similarly, the embroidery frame 21 is positioned at the origin by the correction control of the X-feed motor 23 and the Y-feed motor 24 in S43 to S46, and then the sewing process is executed (S47). Also in this case, when the operation of the embroidery frame 21 is started by the X-direction drive mechanism and the Y-direction drive mechanism, only the origin alignment of the embroidery frame 21 that has not yet been performed is performed, so that workability can be improved. it can.

2〕図10に示す補正制御及び縫製処理制御を、図13に示すように部分的に変更し、縫製処理の開始前に、X送りモータ23及びY送りモータ24を基準位置に回転させておき、縫製処理の開始に際して、補正量メモリ49bの補正量を加味して、刺繍枠21の第1針落ち位置に位置するように、X送りモータ23及びY送りモータ24を補正制御するようにしてもよい。   2] The correction control and sewing process control shown in FIG. 10 are partially changed as shown in FIG. 13, and the X feed motor 23 and the Y feed motor 24 are rotated to the reference position before the sewing process is started. At the start of the sewing process, the X feed motor 23 and the Y feed motor 24 are corrected and controlled so as to be positioned at the first needle drop position of the embroidery frame 21 in consideration of the correction amount in the correction amount memory 49b. Also good.

即ち、S31と同様に、X送りモータ23とY送りモータ24の各々に関するX,Y基準位置設定制御が実行され(S51)、縫製処理が開始された場合(S52:Yes) 、図14に示すように、縫製処理が実行される(S53)。その縫製処理の開始直後に、補正量メモリ49bにX送り補正量が記憶されている場合には(S55:Yes) 、そのX送り補正量に1針目のX送りデータを加算した補正1針データに基づいて、X送りモータ23が駆動される(S56)。   That is, as in S31, when the X and Y reference position setting control for each of the X feed motor 23 and the Y feed motor 24 is executed (S51) and the sewing process is started (S52: Yes), it is shown in FIG. In this way, the sewing process is executed (S53). Immediately after the sewing process is started, if the X feed correction amount is stored in the correction amount memory 49b (S55: Yes), the corrected 1 stitch data obtained by adding the X feed data of the first stitch to the X feed correction amount. Based on this, the X-feed motor 23 is driven (S56).

次に、補正量メモリ49bにY送り補正量が記憶されている場合には(S57:Yes) 、そのY送り補正量に1針目のY送りデータを加算した補正1針データに基づいて、Y送りモータ24が駆動される(S58)。その後、2針目以降の残りの縫目データに基づいて、縫製処理が実行される(S59)。ここで、図13のS51と図14のS55〜S58等が制御手段に相当する。   Next, when the Y feed correction amount is stored in the correction amount memory 49b (S57: Yes), based on the corrected one stitch data obtained by adding the Y feed data of the first stitch to the Y feed correction amount. The feed motor 24 is driven (S58). Thereafter, sewing processing is executed based on the remaining stitch data after the second stitch (S59). Here, S51 in FIG. 13 and S55 to S58 in FIG. 14 correspond to the control means.

この場合には、X駆動機構及びY駆動機構による刺繍枠21の作動開始に際して、補正量メモリ49bの補正量を加味して、刺繍枠21の第1針落ち位置に位置するようにX送りモータ23及びY送りモータ24を制御できるため、刺繍枠21を原点位置合わせすることなく第1針落ち位置に移動でき、補正作業を簡単化できる上、作業性を改善することができる。   In this case, when the operation of the embroidery frame 21 is started by the X drive mechanism and the Y drive mechanism, the X feed motor is positioned so as to be positioned at the first needle drop position of the embroidery frame 21 in consideration of the correction amount in the correction amount memory 49b. 23 and the Y feed motor 24 can be controlled, so that the embroidery frame 21 can be moved to the first needle drop position without aligning the origin, and the correction work can be simplified and the workability can be improved.

3〕図15に示すように、回転位置検出用ディスク板30Aの半径方向外側に設ける環状の基準位置検出部30cは、円弧状且つ半径方向に所定幅を有するのスリット形成部30eとスリット非形成部30fとを有し、環状の回転位置検出部30aと円弧状のスリット形成部30eには、同じスリット幅を有する複数のスリットが等間隔で出力軸23aの軸心を中心として放射状に形成されている。   3] As shown in FIG. 15, the annular reference position detector 30c provided on the outer side in the radial direction of the rotational position detecting disk plate 30A includes a slit forming part 30e having an arc shape and a predetermined width in the radial direction, and no slits. A plurality of slits having the same slit width are radially formed around the axis of the output shaft 23a at equal intervals in the annular rotational position detecting unit 30a and the arc-shaped slit forming unit 30e. ing.

そこで、これら回転位置検出部30aを検出可能な第1及び第2回転位置X検出センサと、基準位置X検出部30cのスリット形成部30eを検出可能な基準位置X検出センサとは、同一の分解能を有する検出用センサで構成されている。このように、環状の回転位置検出部30aと円弧状のスリット形成部30eとに同じ分解能で形成された複数のスリット30bを、同一の分解能を有する検出用センサを共通に使用することができるため、これら第1及び第2回転位置X検出センサと基準位置X検出センサの取付け作業の単純化を図ることができるとともに、これら検出用センサの部品管理についても簡単化することができる。   Therefore, the first and second rotational position X detection sensors that can detect the rotational position detection unit 30a and the reference position X detection sensor that can detect the slit forming unit 30e of the reference position X detection unit 30c have the same resolution. It is comprised with the sensor for detection which has. As described above, the plurality of slits 30b formed with the same resolution in the annular rotational position detection unit 30a and the arc-shaped slit formation unit 30e can be used in common for detection sensors having the same resolution. Further, it is possible to simplify the mounting operation of the first and second rotational position X detection sensors and the reference position X detection sensor, and it is possible to simplify the management of parts of these detection sensors.

この場合には、電源投入時におけるX送りモータ23及びY送りモータ24の基準位置設定においては、X送りモータ23及びY送りモータ24を、少なくとも、スリット30b幅寸法にスリット30b間寸法を加算したスリットピッチだけ駆動することにより、基準位置検出信号が一定の「H」レベルの場合には、X送りモータ23及びY送りモータ24の正回転により、X送りモータ23及びY送りモータ24の基準位置を設定するようにしてもよい。   In this case, in setting the reference positions of the X-feed motor 23 and the Y-feed motor 24 when the power is turned on, the X-feed motor 23 and the Y-feed motor 24 add at least the dimension between the slits 30b to the slit 30b width dimension. When the reference position detection signal is at a constant “H” level by driving only the slit pitch, the reference positions of the X feed motor 23 and the Y feed motor 24 are rotated by the normal rotation of the X feed motor 23 and the Y feed motor 24. May be set.

一方、基準位置検出信号として、「L」レベルと「H」レベルと交互に出力される場合には、X送りモータ23及びY送りモータ24の逆回転及び正回転により、X送りモータ23及びY送りモータ24の基準位置を設定するようにしてもよい。   On the other hand, when the “L” level and the “H” level are alternately output as the reference position detection signal, the X feed motor 23 and the Y feed are caused by the reverse and forward rotations of the X feed motor 23 and the Y feed motor 24. The reference position of the feed motor 24 may be set.

図8に示す送り原点位置補正制御のS15において、ジグザグミシンMにオプション的に接続されたジョイスティックを用いて指示されたX方向とY方向の指令量に基づいて、送り補正量を設定するようにしてもよい。この場合、ジョイスティックが回転指令手段に相当する。   In S15 of the feed origin position correction control shown in FIG. 8, the feed correction amount is set based on the command amounts in the X direction and the Y direction that are instructed by using a joystick that is optionally connected to the zigzag sewing machine M. May be. In this case, the joystick corresponds to the rotation command means.

4〕上述した刺繍のためのX送りモータ23及びY送りモータ24の他に、図16に示すように、本件出願人による特開平8−84878号公報に記載の加工布を押える布押え100を水平方向へ移動させるために、1回転以内の往復回転をするステッピングモータ101の出力軸101aに本願の回転位置検出用ディスク板102を固定し、その周辺に、回転位置検出用ディスク板102に形成された回転位置検出部30aや基準位置検出部30cのための検出器を設けてもよい。   4] In addition to the X feed motor 23 and the Y feed motor 24 for embroidery described above, as shown in FIG. 16, a presser foot 100 for holding a work cloth described in Japanese Patent Laid-Open No. 8-84878 by the present applicant is provided. In order to move in the horizontal direction, the rotational position detection disk plate 102 of the present application is fixed to the output shaft 101a of the stepping motor 101 that reciprocates within one rotation, and the rotational position detection disk plate 102 is formed in the periphery thereof. A detector may be provided for the rotational position detector 30a and the reference position detector 30c.

更に、ステッピングモータ201と、そのステッピングモータ201の出力軸202に固定されたピニオン203及び回転位置検出用ディスク板204と、その回転位置検出用ディスク板204の回転位相を検出する検出器205と、ピニオン203によって上下動されるラック206とを設け、ピニオン203がラック206を下降させ、レバー207の一端を圧縮コイルバネ208に抗して押し下げると、レバー207の他端によって布押え100が上昇するように構成してもよい。尚、ステッピングモータの駆動伝達機構は、ラック及びピニオン、タイミングベルト、カム等に限らず、リンクでもよい。また、ステッピングモータは複数回に亙って回転してもよい。   Furthermore, a stepping motor 201, a pinion 203 fixed to the output shaft 202 of the stepping motor 201 and a rotational position detection disk plate 204, a detector 205 for detecting the rotational phase of the rotational position detection disk plate 204, A rack 206 that is moved up and down by the pinion 203 is provided. When the pinion 203 lowers the rack 206 and pushes down one end of the lever 207 against the compression coil spring 208, the work clamp 100 is lifted by the other end of the lever 207. You may comprise. The drive transmission mechanism of the stepping motor is not limited to a rack and pinion, a timing belt, a cam, or the like, but may be a link. Further, the stepping motor may rotate over a plurality of times.

その他、縫糸を挟持する糸調子皿を所定方向に移動させるために1回転以内の往復回転をするステッピングモータの出力軸に本願の回転位置検出用ディスク板30を固定してもよい。また、図16のステッピングモータ101の左側の出力軸101aに、回転位置検出用ディスク104やそのための検出器を設けてもよい。   In addition, the rotational position detection disk plate 30 of the present application may be fixed to the output shaft of a stepping motor that reciprocates within one rotation in order to move the thread tension plate that holds the sewing thread in a predetermined direction. Further, the rotational position detection disk 104 and a detector for it may be provided on the output shaft 101a on the left side of the stepping motor 101 of FIG.

5〕前記実施形態に関し、既存の技術や当業者に自明の技術に基いて種々の変更を加えることもあり得る。更に、上述のジグザグミシンや図16のミシン以外の各種の駆動機構の制御装置に、本発明を適用し得ることは勿論である。   5] Various modifications may be made to the embodiment based on existing techniques or techniques obvious to those skilled in the art. Furthermore, it goes without saying that the present invention can be applied to control devices for various drive mechanisms other than the above-described zigzag sewing machine and the sewing machine shown in FIG.

本発明の実施形態に係るジグザグミシンの斜視図である。1 is a perspective view of a zigzag sewing machine according to an embodiment of the present invention. X送りモータ及びY送りモータの正面図である。It is a front view of an X feed motor and a Y feed motor. 図2のC−C線縦断側面図である。FIG. 3 is a longitudinal sectional side view taken along the line CC of FIG. 2. 回転位置検出用ディスク板の正面図である。It is a front view of the disk plate for rotation position detection. 回転位置検出用ディスク板の回転角に応じた各検出センサからの検出信号を示すタイムチャートである。It is a time chart which shows the detection signal from each detection sensor according to the rotation angle of the disc plate for rotation position detection. ジグザグミシンの制御系のブロック図である。It is a block diagram of the control system of a zigzag sewing machine. ROMに有する各種の制御プログラムを示す図表である。It is a chart which shows the various control programs which ROM has. 送り原点位置補正制御のフローチャートである。It is a flowchart of feed origin position correction control. X基準位置設定制御のフローチャートである。It is a flowchart of X reference position setting control. 補正制御及び縫製処理制御のフローチャートである。It is a flowchart of correction | amendment control and sewing process control. ディスプレイに表示された送り補正量設定画面の表示例を示す図である。It is a figure which shows the example of a display of the feed correction amount setting screen displayed on the display. 変更形態に係る図10相当図である。FIG. 11 is a diagram corresponding to FIG. 10 according to a modified embodiment. 変更形態に係る図10相当図である。FIG. 11 is a diagram corresponding to FIG. 10 according to a modified embodiment. 縫製処理制御の概略フローチャートである。It is a schematic flowchart of a sewing process control. 変更形態に係る図4相当図である。FIG. 5 is a diagram corresponding to FIG. 4 according to a modified embodiment. 変更形態に係る布押え駆動用のステッピングモータに適応したミシンの要部切欠き側面図である。It is a principal part notched side view of the sewing machine adapted to the stepping motor for the presser foot drive concerning a change form.

符号の説明Explanation of symbols

M ジグザグミシン
21 刺繍枠
23 X送りモータ
24 Y送りモータ
30 回転位置検出用ディスク板
30c 基準位置検出部
30d 検出壁部
39 基準位置X検出センサ
45 制御装置
47 CPU
48 ROM
49 RAM
49b 補正量メモリ
56 基準位置Y検出センサ
M Zigzag sewing machine 21 Embroidery frame 23 X feed motor 24 Y feed motor 30 Rotation position detection disk plate 30c Reference position detection section 30d Detection wall section 39 Reference position X detection sensor 45 Controller 47 CPU
48 ROM
49 RAM
49b Correction amount memory 56 Reference position Y detection sensor

Claims (8)

ステッピングモータを含む駆動機構で駆動される作動体を作動範囲の原点位置に設定する駆動機構の制御装置において、
前記ステッピングモータの出力軸に固定された回転位置検出用ディスク板と、
前記回転位置検出用ディスク板に形成された基準位置検出部と、
前記基準位置検出部を検出可能な基準位置用検出手段と、
前記基準位置用検出手段により基準位置検出部を介して検出された前記ステッピングモータの基準位置に対する前記作動体の原点位置のズレ量として入力された補正量を記憶する補正量記憶手段と、
前記補正量記憶手段に記憶されている補正量に応じて、前記ステッピングモータの基準位置に対する前記作動体の原点位置のズレ量を補正するように前記ステッピングモータを補正制御する補正制御手段と、
を設けたことを特徴とする駆動機構の制御装置。
In the control device of the drive mechanism that sets the operating body driven by the drive mechanism including the stepping motor to the origin position of the operation range,
A rotational position detection disk plate fixed to the output shaft of the stepping motor;
A reference position detector formed on the rotational position detection disk plate;
A reference position detecting means capable of detecting the reference position detecting unit;
Correction amount storage means for storing a correction amount input as a deviation amount of the origin position of the operating body with respect to a reference position of the stepping motor detected by the reference position detection means via a reference position detection unit;
Correction control means for correcting and controlling the stepping motor so as to correct a deviation amount of the origin position of the operating body with respect to a reference position of the stepping motor according to a correction amount stored in the correction amount storage means;
A drive mechanism control device characterized by comprising:
前記補正制御手段は、前記駆動機構による作動体の作動開始前に、前記ステッピングモータを基準位置に回転させた後、前記作動体が原点位置に位置するようにステッピングモータを補正制御することを特徴とする請求項1に記載の駆動機構の制御装置。   The correction control means performs correction control of the stepping motor so that the operating body is positioned at the origin position after the stepping motor is rotated to a reference position before the operation of the operating body by the driving mechanism is started. The drive mechanism control device according to claim 1. 前記補正制御手段は、前記駆動機構による作動体の作動開始前に、前記ステッピングモータを基準位置に回転させるとともに、前記駆動機構による作動体の作動開始に際して、前記作動体が原点位置に位置するようにステッピングモータを補正制御することを特徴とする請求項1に記載の駆動機構の制御装置。   The correction control means rotates the stepping motor to a reference position before starting the operation of the operating body by the drive mechanism, and causes the operating body to be positioned at the origin position when starting the operation of the operating body by the drive mechanism. 2. The drive mechanism control device according to claim 1, wherein the stepping motor is corrected and controlled. 前記ステッピングモータを回転させるように指令するための回転指令手段と、その回転指令手段による回転指令量に応じた前記ステッピングモータの回転位置と、前記ステッピングモータの基準位置との差を補正量として算出する補正量算出手段とを備えたことを特徴とする請求項1〜3の何れかに記載の駆動機構の制御装置。   Rotation command means for instructing to rotate the stepping motor, and the difference between the rotation position of the stepping motor according to the rotation command amount by the rotation command means and the reference position of the stepping motor is calculated as a correction amount The control device for a drive mechanism according to claim 1, further comprising a correction amount calculation unit that performs correction. 前記ステッピングモータは、加工布を押える布押えと縫針を下端に取付けた針棒と縫糸を挟持する糸調子皿の少なくとも1つを前記出力軸の回転によって駆動機構を駆動させる駆動源として縫製装置に設けられたことを特徴とする請求項1〜4の何れかに記載の駆動機構の制御装置。   The stepping motor is used as a drive source for driving the drive mechanism by rotating the output shaft using at least one of a presser foot for pressing a work cloth, a needle bar with a sewing needle attached to the lower end, and a thread tension plate for clamping the sewing thread. The drive mechanism control device according to claim 1, wherein the drive mechanism control device is provided. 前記回転位置検出用ディスク板の外周部に前記基準位置検出部が形成され、前記基準位置検出部には半径方向に所定幅を有する円弧状の有壁部が形成されていることを特徴とする請求項1〜5の何れかに記載の駆動機構の制御装置。   The reference position detection unit is formed on an outer periphery of the rotational position detection disk plate, and the reference position detection unit is formed with an arcuate wall portion having a predetermined width in the radial direction. The control apparatus of the drive mechanism in any one of Claims 1-5. ステッピングモータを含む駆動機構を介して駆動される作動体を作動範囲の原点位置に設定する駆動機構の制御装置において、
前記ステッピングモータの出力軸に固定された回転位置検出用ディスク板と、
前記回転位置検出用ディスク板に形成された基準位置検出部と、
前記基準位置検出部を検出可能な基準位置用検出手段と、
前記基準位置用検出手段が前記回転位置検出用ディスクの基準位置を検出する場合の前記ステッピングモータの基準となる第1の回転位置と、前記作動体が作動体の原点位置にある場合の前記ステッピングモータの前記第1の回転位置とは異なる第2の回転位置との2つの回転位置の差に対応する補正量を記憶する補正量記憶手段と、
前記駆動機構による作動体の作動開始前に、前記ステッピングモータを基準位置に回転させるとともに、前記駆動機構による作動体の作動開始に際して、前記補正量記憶手段の補正量を加味して前記作動体の第1作動位置に位置するようにステッピングモータを制御する制御手段と、
を設けたことを特徴とする駆動機構の制御装置。
In a drive mechanism control device for setting an operating body driven via a drive mechanism including a stepping motor to an origin position of an operating range,
A rotational position detection disk plate fixed to the output shaft of the stepping motor;
A reference position detector formed on the rotational position detection disk plate;
A reference position detecting means capable of detecting the reference position detecting unit;
A first rotational position that serves as a reference for the stepping motor when the reference position detecting means detects a reference position of the rotational position detecting disk, and the stepping when the operating body is at the origin position of the operating body. Correction amount storage means for storing a correction amount corresponding to a difference between two rotation positions of the motor and a second rotation position different from the first rotation position;
Before starting the operation of the operating body by the drive mechanism, the stepping motor is rotated to a reference position, and when the operation of the operating body by the drive mechanism is started, the correction amount of the correction amount storage means is taken into account. Control means for controlling the stepping motor to be in the first operating position;
A drive mechanism control device characterized by comprising:
ステッピングモータを含む駆動機構で駆動される作動体を作動範囲の原点位置に設定する駆動機構の制御装置のコンピュータに実行させる駆動機構の制御プログラムであって、 前記ステッピングモータの出力軸に固定された回転位置検出用ディスク板に形成された基準位置検出部を介して基準位置用検出手段により検出された前記ステッピングモータの基準位置に対する作動体の原点位置のズレ量として入力された補正量を記憶する補正量記憶ルーチンと、
前記補正量記憶手段に記憶されている補正量に応じて前記ステッピングモータの基準位置と前記作動体のズレ量を補正するように前記ステッピングモータを補正制御する補正制御ルーチンと、
を含むことを特徴とする駆動機構の制御プログラム。
A drive mechanism control program for causing a computer of a drive mechanism control device to set an operating body driven by a drive mechanism including a stepping motor to an origin position of an operating range, the program being fixed to an output shaft of the stepping motor A correction amount inputted as a deviation amount of the origin position of the working body with respect to the reference position of the stepping motor detected by the reference position detecting means via the reference position detecting portion formed on the rotational position detecting disk plate is stored. A correction amount storage routine;
A correction control routine for correcting and controlling the stepping motor so as to correct a deviation amount between the reference position of the stepping motor and the operating body according to the correction amount stored in the correction amount storage means;
A drive mechanism control program comprising:
JP2003320651A 2003-09-12 2003-09-12 Control device and control program of driving mechanism Pending JP2005087230A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2003320651A JP2005087230A (en) 2003-09-12 2003-09-12 Control device and control program of driving mechanism
CNB2004100856530A CN100567607C (en) 2003-09-12 2004-09-10 Control device and Sewing machines with this control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003320651A JP2005087230A (en) 2003-09-12 2003-09-12 Control device and control program of driving mechanism

Publications (1)

Publication Number Publication Date
JP2005087230A true JP2005087230A (en) 2005-04-07

Family

ID=34452543

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003320651A Pending JP2005087230A (en) 2003-09-12 2003-09-12 Control device and control program of driving mechanism

Country Status (2)

Country Link
JP (1) JP2005087230A (en)
CN (1) CN100567607C (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006304992A (en) * 2005-04-27 2006-11-09 Brother Ind Ltd Presser foot apparatus for sewing machine
CN101008136B (en) * 2006-01-25 2011-09-14 兄弟工业株式会社 Electric machine control device and sewing machine with same
JP2012170531A (en) * 2011-02-18 2012-09-10 Brother Ind Ltd Sewing machine
KR20170136774A (en) * 2016-06-02 2017-12-12 세메스 주식회사 Method for measuring position and Apparatus for moving equipment

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108729036B (en) * 2017-04-21 2021-10-19 Juki株式会社 Sewing machine and sewing method
JP2019177100A (en) * 2018-03-30 2019-10-17 ブラザー工業株式会社 Cloth sewing system and cloth sewing method
JP2019177099A (en) * 2018-03-30 2019-10-17 ブラザー工業株式会社 Cloth conveyance system and cloth conveyance method
CN114606664A (en) * 2022-03-09 2022-06-10 杰克科技股份有限公司 Fault early warning method for transmission mechanism of sewing machine

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006304992A (en) * 2005-04-27 2006-11-09 Brother Ind Ltd Presser foot apparatus for sewing machine
JP4716170B2 (en) * 2005-04-27 2011-07-06 ブラザー工業株式会社 Sewing machine presser foot
CN101008136B (en) * 2006-01-25 2011-09-14 兄弟工业株式会社 Electric machine control device and sewing machine with same
JP2012170531A (en) * 2011-02-18 2012-09-10 Brother Ind Ltd Sewing machine
KR20170136774A (en) * 2016-06-02 2017-12-12 세메스 주식회사 Method for measuring position and Apparatus for moving equipment

Also Published As

Publication number Publication date
CN100567607C (en) 2009-12-09
CN1619040A (en) 2005-05-25

Similar Documents

Publication Publication Date Title
US20150259841A1 (en) Sewing machine
JP2009189626A (en) Sewing machine
JP2007229274A (en) Embroiderable sewing machine
JP4655744B2 (en) sewing machine
JP2008259834A (en) Eyelet hole sewing machine
JP2005087230A (en) Control device and control program of driving mechanism
JP5095305B2 (en) Zigzag sewing machine
JP5808886B2 (en) sewing machine
JP4552406B2 (en) Sewing machine drive control device and drive control program thereof
JP2007252740A (en) Holing machine
JPH09276579A (en) Sewing machine
JP2001009180A (en) Display device for sewing machine and recording medium recording pattern display program
JP4419644B2 (en) Upper thread clamping mechanism of sewing machine
JP3481957B2 (en) Embroidery pattern position display device
JP4839831B2 (en) sewing machine
JP2006181166A (en) Sewing machine
JP3464120B2 (en) Programmable electronic sewing machine
JP2009226114A (en) Controller for sewing machine
JP2000185184A (en) Sewing machine
KR20040077555A (en) Electric zigzag sewing machine
JP2003225482A (en) Sewing machine for zigzag sewing
JP2583785B2 (en) Automatic sewing machine
JP2008000422A (en) Sewing machine
JP2005328972A (en) Device and method for controlling sewing machine motor
JP3481958B2 (en) Embroidery pattern position display device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060720

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090831

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20100106