JP4654512B2 - Stepping motor control device - Google Patents

Stepping motor control device Download PDF

Info

Publication number
JP4654512B2
JP4654512B2 JP2000380931A JP2000380931A JP4654512B2 JP 4654512 B2 JP4654512 B2 JP 4654512B2 JP 2000380931 A JP2000380931 A JP 2000380931A JP 2000380931 A JP2000380931 A JP 2000380931A JP 4654512 B2 JP4654512 B2 JP 4654512B2
Authority
JP
Japan
Prior art keywords
data
motor
storage unit
motor speed
stepping motor
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
JP2000380931A
Other languages
Japanese (ja)
Other versions
JP2002186291A (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.)
Funai Electric Co Ltd
Original Assignee
Funai Electric 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 Funai Electric Co Ltd filed Critical Funai Electric Co Ltd
Priority to JP2000380931A priority Critical patent/JP4654512B2/en
Publication of JP2002186291A publication Critical patent/JP2002186291A/en
Application granted granted Critical
Publication of JP4654512B2 publication Critical patent/JP4654512B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Control Of Stepping Motors (AREA)

Description

【0001】
【発明の属する技術分野】
この発明は、印字装置のインクヘッドの移動等に用いられるステッピングモータの移動量及び速度を制御するステッピングモータの制御装置に関する。
【0002】
【従来の技術】
従来、印字装置のインクヘッドの移動等に用いられるステッピングモータは、複数相の励磁コイルを有する固定子及び回転子から成り、通常これらの励磁コイルを励磁する方式として、一相励磁、一−二相励磁、二相励磁、二−三相励磁、三相励磁、四相励磁など種々の方式がある。
【0003】
そして、一般には予め決められた一定の相励磁方式で各励磁コイルに励磁電流が供給されるが、このような励磁コイルへの励磁電流の供給は、例えば図4に示すような構成の制御装置により行われる。即ち、例えばマイコンから成るCPU1により、ROM2に格納された所定の制御プログラムに従って各部の制御が行われるが、プリンタの場合にはホストコンピュータ(図示せず)のプリンタドライバ側からの印字データに基づき印字制御等の所定の制御を行うべく、CPU1から種々の信号が出力される。
【0004】
そして、図4には示されていないが、いずれもステッピングモータから成るインクヘッド移動用のキャリアモータ及び及び紙送り用のフィードモータの制御については、予め定められた相励磁方式に従って励磁電流を供給するように、駆動部に相当するキャリアモータ駆動用のキャリアモータドライバ4、フィードモータ駆動用のフィードモータドライバ5に対し、CPU1から、ASIC3を介してパルス信号から成る制御信号が出力され、各モータの各励磁コイル(図示せず)に励磁電流が供給されて各モータが上記した印字データに応じた所要のステップ数だけ駆動される。
【0005】
ところで、ステッピングモータの場合、例えばストップの際に、機構部分の摩擦や慣性等との関係で回転子が所要のステップ数回転しても規定通りの位置に停止せず、スタートの際にも一定速度に到達するまでの立上がり時間がばらついたり回転速度が不安定で振動したりするという特有の問題がある。
【0006】
そのため通常、回転子のスタート時の加速特性及びストップ時の減速特性をそれぞれ所望の特性に維持するように励磁電流を補正するための加速用補正データ及び減速用補正データから成るランプテーブルを格納したRAM等から成る格納部6が設けられ、CPU1により格納部6のランプテーブルから加速用補正データ及び減速用補正データがそれぞれ読み出されて、ASIC3に内蔵されているレジスタ31に保存され、保存されたこれらデータに基づく励磁電流が各励磁コイルに供給される。
【0007】
ここで、格納部6に格納される加速時の補正データとして、通常、起動開始から速度が安定化するまでの時間が所定時間以内になるように、CPU1から出力すべき加速途中における一定時間毎の制御信号のパルス周波数データが格納され、時間が経過するに連れてパルス周波数が増大するデータとなっている。一方、格納部6に格納される減速時の補正データとして、減速開始からストップするまでの時間が一定になるように、CPU1から出力すべき減速途中における一定時間毎の制御信号のパルス周波数データが格納され、時間が経過するに連れてパルス周波数が減少するデータとなっている。
【0008】
この加速時と減速時の間は一定速度に保持されるため、特に格納部6に補正データとして格納する必要はない。従って、加速開始位置から減速終了位置までのモータステップ数及びモータ速度をそれぞれ横軸及び縦軸としたときに、一定速度領域も含めたランプテーブルを、モータステップ数とモータ速度との関係として図形で表わすと台形状となる。
【0009】
ところが、このような台形状のランプテーブルによると、特に印字ヘッド移動用のキャリアモータの場合、安定した印字を行うためには一定速度(最高速度)になるまで印字を開始することができないため、印字開始が遅れて印字に要する時間が長くなるという不都合がある。そこで、このような不都合を解消するために、ランプテーブルの形状を上記した台形状ではなく半円もしくは半楕円形状のいわゆるパラボリックランプテーブルを使用することが提案されている。
【0010】
この種のパラボリックランプテーブルとは、具体的には特開平10−150800号公報に記載されているように、ステッピングモータの回転スピードとステッピングモータに与えるパルス数との関係を示すモータの立ち上げ波形(つまり、ここでいうランプテーブルの波形)を二次関数とし、上記したように半円もしくは半楕円形状としたものである。
【0011】
そして、プリンタの場合、例えば各行毎の印字データの長短や、精細モード或いは通常モードといった印字モードによって、各行毎にパラボリックランプテーブルの形状(或いは波形)が相違する。
【0012】
【発明が解決しようとする課題】
しかし、このように複数パターンのパラボリックランプテーブルを格納する場合、パラボリックランプテーブル各々のデータ量が非常に多く、しかもデータ量の多いパラボリックランプテーブルを複数格納するには、格納部6として非常に大きな記憶容量を必要とし、コストの上昇を招くという問題がある。
【0013】
そこで、格納部6には基準となる1種類のパラボリックランプテーブルのみを格納しておき、この基準パラボリックランプテーブルのデータを演算により適宜伸縮し、印字データの長短等に応じたパラボリックランプテーブルを導出することも考えられるが、基準パラボリックランプテーブルのデータ量そのものが非常に多いため、これを伸縮する演算に非常に時間がかかり、その演算を行うCPU1の負担が大きくなるという問題もある。
【0014】
ところで、ステッピングモータのランプテーブルの容量を軽減するものとして、特開平3−139198号公報や、登録実用新案公報第3060473号に記載のものがあるが、これらはランプテーブルのデータ量を少なくして、これを記憶するROM等のメモリ容量を軽減するというものであるが、本件発明のようにパラボリックランプテーブルに関するものではなく、しかもモータの加速時と減速時の読み出し方向を逆にすることで半分のデータ量で対応できるようにするものでもない。
【0015】
そこで、本発明は、格納部の容量の低減を図り、必要な演算を簡素化できるようにすることを目的とする。
【0016】
上記した目的を達成するために、本発明は、固定子用の複数相の励磁コイルと、前記各励磁コイルに励磁電流を供給して回転子を回転させる駆動部と、所要のステップ数だけ駆動するよう前記駆動部に制御信号を出力する制御部と、前記ステップ数のデータから成るランプテーブルを格納した格納部とを備え、印字装置のインクヘッドの移動に用いられるステッピングモータの移動量及び速度を制御するステッピングモータの制御装置において、モータステップ数及びモータ速度をそれぞれ横軸及び縦軸としたときに、前記モータステップ数及びモータ速度の関係を表わす基準二次曲線のうち、前記モータ速度がゼロから最高値までの半分のデータから成る基準ランプテーブルを格納した格納部を備え、前記制御部、加速時には前記基準ランプテーブルの前記モータ速度がゼロから最高値までのデータを前記格納部から順次読み出し、ホストコンピュータからの印字データの長短や印字モードに応じた倍率で相似的に変形し、変形後のデータに基づいて前記制御信号を生成すると共に、減速時には前記変形後におけるデータに基づいて前記モータ速度の最高値からゼロ方向に前記制御信号を生成することを特徴としている。
【0017】
このような構成によれば、加速時に、モータ速度がゼロから最高値方向に基準ランプテーブルのデータが順次読み出し、ホストコンピュータからの印字データの長短や印字モードに応じた倍率で相似的に変形され、変形後のデータに基づいて制御信号が生成され、減速時にはモータ速度の最高値からゼロ方向に変形後におけるデータに基づいて制御信号が生成される。
【0018】
そのため、格納部に格納すべきデータは基準二次曲線の半分のデータでよく、格納部の容量の低減を図ることができる。また、加速時に基準ランプテーブルのデータを相似的に変形しておけば、減速時には再度変形処理する必要がないことから、基準ランプテーブルの基礎となる基準二次曲線全体のデータを相似的に変形処理する場合に比べて必要な演算は半分で済み、演算処理を簡素化することができる。
【0019】
また、本発明は、固定子用の複数相の励磁コイルと、前記各励磁コイルに励磁電流を供給して回転子を回転させる駆動部と、所要のステップ数だけ駆動するよう前記駆動部に制御信号を出力する制御部と、前記ステップ数のデータから成るランプテーブルを格納した格納部とを備え、印字装置のインクヘッドの移動に用いられるステッピングモータの移動量及び速度を制御するステッピングモータの制御装置において、モータステップ数及びモータ速度をそれぞれ横軸及び縦軸としたときに、前記モータステップ数及びモータ速度の関係を表わす基準二次曲線のうち、前記モータ速度がゼロから最高値までの半分のデータから成る基準ランプテーブルを相似的に変形した複数パターンの変形ランプテーブルを格納した格納部を備え、前記制御部が、前記格納部から前記各ランプテーブルのうち必要なものを、加速時には前記モータ速度がゼロから最高値方向に読み出し、減速時には前記モータ速度の最高値からゼロ方向に読み出して前記制御信号を生成するように構成することも可能である。
【0020】
このような構成によれば、基準ランプテーブルのデータ量が、その基礎となる基準二次曲線全体の半分のデータ量であることから、基準二次曲線全体を相似的に変形した各パターンのデータを格納する場合に比べて、格納部の容量は半分で済み、しかも各ランプテーブルのうち必要なものを読み出すだけでよいため、逐一演算によって基準ランプテーブルを変形する必要がなく、演算処理を簡素化することができる。
【0025】
また、本発明は、前記制御部が、変形後のデータに基づき前記インクヘッドの噴射タイミングを導出して前記インクヘッドを噴射制御することを特徴としている。このような構成によれば、印字データの長短や印字モードに応じたインクヘッドの噴射タイミングを的確に導出してインクヘッドを精度よく噴射制御することができる。
【0026】
また、本発明は、前記格納部が、前記基準ランプテーブルを相似的に変形した複数パターンの変形ランプテーブルを格納し、前記制御部が、前記格納部から前記各ランプテーブルのうち必要なものを、加速時には前記モータ速度がゼロから最高値方向に読み出し、減速時には前記モータ速度の最高値からゼロ方向に読み出して前記制御信号を生成するように構成することも可能である。
【0027】
このような構成によれば、基準ランプテーブルのデータ量が、その基礎となる基準二次曲線全体の半分のデータ量であることから、基準二次曲線全体を相似的に変形した各パターンのデータを格納する場合に比べて、格納部の容量は半分で済み、しかも格納部の各ランプテーブルのうち必要なものを読み出すだけでよいため、逐一演算によって基準ランプテーブルを変形する必要がなく、演算処理を簡素化することができる。
【0028】
また、本発明は、前記制御部が、前記格納部から読み出した前記ランプテーブルのデータに基づき前記インクヘッドの噴射タイミングを導出して前記インクヘッドを噴射制御するように構成することも可能である。
【0029】
このような構成によれば、印字データの長短や印字モードに応じたインクヘッドの噴射タイミングを的確に導出してインクヘッドを精度よく噴射制御することができる。
【0030】
この発明を印字装置であるインクジェットプリンタに適用した場合について図1ないし図3を参照して具体的に説明する。但し、図1及び図2は動作説明図、図3は動作説明用フローチャートである。尚、リンタの制御装置の基本的な構成は、上記した従来の場合と同じであるため、以下では図4も参照しつつ、主として従来と相違する点について説明する。
【0031】
具体例では、格納部6に、モータステップ数及びモータ速度をそれぞれ横軸及び縦軸としたときに、モータステップ数及びモータ速度の関係を表わす半円状または半楕円状を有する基準二次曲線のうち、例えば図1中の実線に示すように、モータ速度がゼロから最高値までの半分のデータから成る基準ランプテーブルRsを格納すると共に、この基準ランプテーブルRsを相似的に変形した図1中の1点鎖線に示すようなパターンの変形ランプテーブルRdのほか、この変形ランプテーブルRdと同様に基準ランプテーブルRsを異なる相似形に変形した他のパターンの変形ランプテーブルを格納している。
【0032】
そして、CPU1が、格納部6から各変形ランプテーブルのうち必要なものを、図2に示すように、加速時にはモータ速度が“0”から最高値Vm方向に読み出し、減速時にはモータ速度の最高値Vmから“0”方向に読み出し、ASIC3を介して駆動部としての各モータドライバ4、5に与えるべき制御信号を生成する。
【0033】
更に、CPU1により、格納部6から読み出されたランプテーブルのデータに基づき、インクヘッドの噴射タイミングが導出されてインクヘッドが噴射制御される。このようなCPU1による制御信号を生成処理、及びインクヘッドの噴射制御処理が制御部に相当する。
【0034】
次に、CPU1におけるランプテーブルの処理動作について図3のフローチャートを参照して説明する。
【0035】
いま、図3に示すように、格納部6に格納されている基準ランプテーブルRsや各変形ランプテーブルRdのうち、ホストコンピュータからの印字データの長短や印字モードに応じたランプテーブルが選択され、格納部6から、そのランプテーブルの読み出しアドレスからデータが読み出され(S1)、読み出されたランプテーブルのデータがASIC3のレジスタ31に書き込み保存される(S2)。
【0036】
そして、そのときの読み込みアドレスが、モータ速度最高値Vm(図2参照)に相当するデータを格納したアドレスであるか否かの判定がなされ(S3)、この判定結果がNOであればランプテーブルのデータがモータ速度“0”に相当するアドレスの格納データであり、加速時のデータ形成のために読み込みアドレスが加算され(S4)、その後上記したステップS1に戻ってステップS1以降の処理が繰り返され、加速時における励磁電流の制御データが形成される。
【0037】
一方、上記したステップS3の判定結果がYESであれば、減速時のデータ形成のために読み込みアドレスが減算され(S5)、減算後の読込みアドレスのデータが読み出され(S6)、読み出されたデータがASIC3のレジスタ31に書き込み保存され(S7)、そのときの読み込みアドレスが、モータ速度“0”に相当するデータを格納したアドレスであるか否かの判定がなされる(S8)。
【0038】
この判定結果がNOであれば、上記したステップS5に戻ってステップS5以降の処理が繰り返され、減速時における励磁電流の制御データが形成され、判定結果がYESであれば、そのまま動作は終了する。
【0039】
このように、CPU1により、加速時に、モータ速度がゼロから最高値方向に基準ランプテーブルのデータが格納部6から順次読み出され、減速時にはモータ速度の最高値からゼロ方向に基準ランプテーブルのデータが格納部6から順次読み出され、読み出されたデータに基づいて励磁電流の制御データが生成される。
【0040】
従って、上記した具体例によれば、基準ランプテーブルRsのデータ量が、その基礎となる基準二次曲線全体の半分のデータ量であることから、基準二次曲線全体を相似的に変形した各パターンのデータを格納する場合に比べて、格納部6の容量は半分で済み、しかも各ランプテーブルのうち必要なものを読み出すだけでよいため、逐一演算によって基準ランプテーブルを変形する必要がなく、CPU1における演算処理を簡素化することができる。
【0041】
また、ホストコンピュータからの印字データの長短や印字モードに応じたインクヘッドの噴射タイミングを的確に導出することができ、インクヘッドを精度よく噴射制御することができる。
【0042】
ここで、この発明の実施形態として、格納部6には、例えば図1中の基準ランプテーブルRSのみを格納しておき、格納部6から基準ランプテーブルRsのモータ速度“0”から最高値方向にデータを順次読み出し、ホストコンピュータからの印字データの長短や印字モードに応じた倍率で相似的に変形し、変形後のデータに基づいて励磁電流の制御データを生成すると共に、減速時にはモータ速度の最高値から“0”方向に、先程変形したデータに基づいて励磁電流の制御データを生成するように構成している。
【0043】
この場合、格納部6に格納すべきデータは基準二次曲線の半分のデータでよく、格納部6の容量の低減を図ることができるのは勿論のこと、加速時に基準ランプテーブルのデータを相似的に変形しておけば、減速時には再度変形処理する必要がないため、基準ランプテーブルの基礎となる基準二次曲線全体のデータを相似的に変形処理する場合に比べて必要な演算は半分で済み、演算処理を簡素化することができる。
【0044】
更に、上記した実施形態では、プリンタに適用した場合について説明したが、特にプリンタ等の印字装置に限定されるものではなく、要するにステッピングモータ全般に適用することが可能であって、上記した実施形態と同等の効果を得ることができる。
【0045】
また、本発明は上記した実施形態に限定されるものではなく、その趣旨を逸脱しない限りにおいて上述したもの以外に種々の変更を行うことが可能である。
【0046】
以上のように、発明によれば、格納部に格納すべきデータは基準二次曲線の半分のデータでよく、格納部の容量の低減を図ることが可能になる。更に、加速時に基準ランプテーブルのデータを相似的に変形しておけば、減速時には再度変形処理する必要がないことから、基準ランプテーブルの基礎となる基準二次曲線全体のデータを相似的に変形処理する場合に比べて必要な演算は半分で済み、演算処理を簡素化することが可能になる。
【0050】
また、発明によれば、印字データの長短や印字モードに応じたインクヘッドの噴射タイミングを的確に導出してインクヘッドを精度よく噴射制御することが可能になる。
【図面の簡単な説明】
【図1】この発明の一実施形態の動作説明図である。
【図2】この発明の一実施形態の動作説明図である。
【図3】この発明の一実施形態の動作説明用フローチャートである。
【図4】一般のプリンタにおける制御装置のブロック図である。
【図5】図4の構成における動作説明図である。
【符号の説明】
1 CPU(制御部)
4 キャリアモータドライバ(駆動部)
5 フィードモータドライバ(駆動部)
6 格納部
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a control device for a stepping motor that controls the amount and speed of movement of a stepping motor used for moving an ink head of a printing apparatus.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, a stepping motor used for moving an ink head of a printing apparatus is composed of a stator and a rotor having a plurality of phases of excitation coils. There are various methods such as phase excitation, two-phase excitation, two-three-phase excitation, three-phase excitation, and four-phase excitation.
[0003]
In general, an excitation current is supplied to each excitation coil by a predetermined constant phase excitation method. The supply of the excitation current to such an excitation coil is, for example, a control device configured as shown in FIG. Is done. That is, for example, the CPU 1 including a microcomputer controls each unit in accordance with a predetermined control program stored in the ROM 2. In the case of a printer, printing is performed based on print data from the printer driver side of a host computer (not shown). In order to perform predetermined control such as control, various signals are output from the CPU 1.
[0004]
Although not shown in FIG. 4, the excitation current is supplied according to a predetermined phase excitation method for controlling the carrier motor for moving the ink head composed of a stepping motor and the feed motor for paper feeding. As described above, a control signal including a pulse signal is output from the CPU 1 via the ASIC 3 to the carrier motor driver 4 for driving the carrier motor corresponding to the driving unit and the feed motor driver 5 for driving the feed motor. An excitation current is supplied to each excitation coil (not shown), and each motor is driven by a required number of steps corresponding to the print data described above.
[0005]
By the way, in the case of a stepping motor, for example, when stopping, even if the rotor rotates the required number of steps due to the friction and inertia of the mechanism part, it does not stop at the specified position and is constant at the start. There are specific problems that the rise time until reaching the speed varies or the rotational speed is unstable and vibrates.
[0006]
For this reason, a ramp table comprising correction data for acceleration and correction data for deceleration is usually stored to maintain the desired acceleration and deceleration characteristics at the start and stop of the rotor. A storage unit 6 comprising a RAM or the like is provided, and the CPU 1 reads acceleration correction data and deceleration correction data from the ramp table of the storage unit 6, and stores them in the register 31 built in the ASIC 3. An excitation current based on these data is supplied to each excitation coil.
[0007]
Here, as the correction data at the time of acceleration stored in the storage unit 6, normally, every fixed time during the acceleration to be output from the CPU 1 so that the time from the start of startup to the stabilization of the speed is within a predetermined time. The pulse frequency data of the control signal is stored, and the pulse frequency increases as time elapses. On the other hand, as the correction data at the time of deceleration stored in the storage unit 6, the pulse frequency data of the control signal for every fixed time during the deceleration to be output from the CPU 1 is constant so that the time from the start of deceleration to the stop is constant. The stored data is such that the pulse frequency decreases as time passes.
[0008]
Since the speed is kept constant during acceleration and deceleration, it is not particularly necessary to store the data in the storage unit 6 as correction data. Therefore, when the number of motor steps and the motor speed from the acceleration start position to the deceleration end position are the horizontal axis and the vertical axis, respectively, the ramp table including the constant speed region is shown as a relationship between the motor step number and the motor speed. It becomes a trapezoid shape.
[0009]
However, according to such a trapezoidal lamp table, especially in the case of a carrier motor for moving the print head, in order to perform stable printing, printing cannot be started until a constant speed (maximum speed) is reached. There is an inconvenience that the start of printing is delayed and the time required for printing becomes long. Therefore, in order to eliminate such inconvenience, it has been proposed to use a so-called parabolic lamp table having a semicircular or semielliptical shape instead of the trapezoidal shape described above.
[0010]
Specifically, this type of parabolic lamp table is a motor startup waveform indicating the relationship between the rotation speed of a stepping motor and the number of pulses applied to the stepping motor, as described in JP-A-10-150800. (In other words, the waveform of the ramp table here) is a quadratic function, and is a semicircle or semi-elliptical shape as described above.
[0011]
In the case of a printer, the shape (or waveform) of the parabolic lamp table is different for each line depending on, for example, the length of print data for each line, or the print mode such as the fine mode or the normal mode.
[0012]
[Problems to be solved by the invention]
However, when a plurality of patterns of parabolic lamp tables are stored in this way, the amount of data in each of the parabolic lamp tables is very large, and a large number of parabolic lamp tables having a large amount of data are stored as the storage unit 6. There is a problem that it requires a storage capacity and causes an increase in cost.
[0013]
Therefore, only one type of parabolic lamp table serving as a reference is stored in the storage unit 6, and the data of the reference parabolic lamp table is appropriately expanded and contracted by calculation to derive a parabolic lamp table corresponding to the length of print data. However, since the data amount of the reference parabolic lamp table itself is very large, it takes a very long time to calculate the expansion / contraction of the reference parabolic lamp table, and there is a problem that the burden on the CPU 1 that performs the calculation increases.
[0014]
Incidentally, as methods for reducing the capacity of the lamp table of the stepping motor, there are those described in Japanese Patent Laid-Open No. 3-139198 and registered utility model publication No. 3060473, but these reduce the data amount of the lamp table. This is to reduce the memory capacity of the ROM or the like for storing this, but it is not related to the parabolic lamp table as in the present invention, and it is half by reversing the reading direction at the time of acceleration and deceleration of the motor. It is not intended to be able to cope with the amount of data.
[0015]
Therefore, an object of the present invention is to reduce the capacity of the storage unit and to simplify necessary calculations.
[0016]
In order to achieve the above-described object, the present invention includes a multi-phase excitation coil for a stator, a drive unit that supplies an excitation current to each of the excitation coils to rotate the rotor, and a required number of steps. A stepping motor moving amount and speed used for moving an ink head of a printing apparatus, and a control unit that outputs a control signal to the driving unit and a storage unit that stores a ramp table composed of the step number data. In the control device for the stepping motor that controls the motor step number, when the motor step number and the motor speed are the horizontal axis and the vertical axis, respectively, the motor speed is a reference quadratic curve representing the relationship between the motor step number and the motor speed. comprising a storage unit that stores a reference ramp table of half of the data from zero to the maximum value, the control unit, the reference La during acceleration Sequentially reading the data of the motor speed of up table to a maximum value from zero from the storage unit, and similar deformable at a magnification corresponding to the length or the printing mode of the print data from the host computer, based on the data after deformation and it generates the control signal Te is characterized by generating a pre-SL control signal toward zero from the maximum value of the motor speed based on the data after the deformation at the time of deceleration.
[0017]
According to such a configuration, at the time of acceleration, the motor speed is read out reference ramp table of data sequentially to the highest value direction from zero, similar to a magnification corresponding to the length or the printing mode of the print data from the host computer A control signal is generated based on the deformed data after deformation, and a control signal is generated based on the data after deformation from the maximum value of the motor speed to the zero direction during deceleration.
[0018]
Therefore, the data to be stored in the storage unit may be half the data of the reference quadratic curve, and the storage unit capacity can be reduced. In addition, if the data of the reference ramp table is modified similarly during acceleration, there is no need to re-transform the data during deceleration, so the data of the entire reference quadratic curve that forms the basis of the reference ramp table is modified similarly. Compared with the case of processing, the number of calculations required is half, and the calculation process can be simplified.
[0019]
In addition, the present invention controls a plurality of excitation coils for a stator, a drive unit that supplies an excitation current to each excitation coil to rotate the rotor, and the drive unit that drives the required number of steps. A stepping motor control for controlling a moving amount and a speed of a stepping motor used for moving an ink head of a printing apparatus, comprising a control unit that outputs a signal and a storage unit that stores a ramp table including the data of the number of steps. In the apparatus, when the motor step number and the motor speed are the horizontal axis and the vertical axis, respectively, among the standard quadratic curves representing the relationship between the motor step number and the motor speed, the motor speed is half from zero to the maximum value. A storage unit storing a plurality of patterns of deformed lamp tables obtained by similar deformation of a reference lamp table comprising the data of However, from the storage unit, the necessary one of the ramp tables is read from zero to the maximum value direction during acceleration, and from the maximum motor speed value to zero direction during deceleration, the control signal is generated. It is also possible to configure so as to.
[0020]
According to such a configuration, since the data amount of the reference ramp table is half the data amount of the entire reference quadratic curve, the data of each pattern obtained by deforming the entire reference quadratic curve in a similar manner. Compared to storing the lamp, the storage capacity is only half, and it is only necessary to read out the necessary one of the lamp tables. Can be
[0025]
In the invention, it is preferable that the controller controls ejection of the ink head by deriving ejection timing of the ink head based on the data after deformation. According to such a configuration, it is possible to accurately derive the ejection timing of the ink head according to the length of the print data and the print mode, and to accurately control the ejection of the ink head.
[0026]
Further, according to the present invention, the storage unit stores a plurality of modified lamp tables obtained by deforming the reference lamp table in a similar manner, and the control unit stores a necessary one of the lamp tables from the storage unit. It is also possible to read the motor speed from zero toward the maximum value during acceleration and to read the motor speed from the maximum motor speed toward zero during deceleration to generate the control signal .
[0027]
According to such a configuration, since the data amount of the reference ramp table is half the data amount of the entire reference quadratic curve, the data of each pattern obtained by deforming the entire reference quadratic curve in a similar manner. Compared to storing the lamp, the capacity of the storage section is only half, and it is only necessary to read out the required lamp table of the storage section. Processing can be simplified.
[0028]
Further, the present invention may be configured such that the control unit derives the ejection timing of the ink head based on the data of the ramp table read from the storage unit and controls the ejection of the ink head. .
[0029]
According to such a configuration, it is possible to accurately derive the ejection timing of the ink head according to the length of the print data and the print mode, and to accurately control the ejection of the ink head.
[0030]
Specifically described with reference to FIGS. 1 to 3 with the application the case of the present invention to an inkjet printer is a printing device. However, FIGS. 1 and 2 are operation explanatory diagrams, and FIG. 3 is a flowchart for explaining the operations. The basic configuration of the control device of the printer is the same as the conventional case described above, in the following with reference also to FIG. 4, the description will center on the differences from the primarily conventional.
[0031]
In this specific example , the storage unit 6 has a semi-circular or semi-elliptical reference secondary representing the relationship between the motor step number and the motor speed when the motor step number and the motor speed are the horizontal axis and the vertical axis, respectively. Among the curves, for example, as shown by a solid line in FIG. 1, a reference ramp table Rs consisting of half of the motor speed from zero to the maximum value is stored, and the reference ramp table Rs is similarly modified. In addition to the deformed lamp table Rd having a pattern as indicated by a one-dot chain line in FIG. .
[0032]
As shown in FIG. 2, the CPU 1 reads the necessary one of the modified ramp tables from the storage unit 6 in the direction of the maximum value Vm from “0” during acceleration, and the maximum value of the motor speed during deceleration. A control signal to be read from Vm in the “0” direction and to be given to each motor driver 4, 5 as a drive unit via the ASIC 3 is generated.
[0033]
Further, the CPU 1 derives the ejection timing of the ink head based on the data of the lamp table read from the storage unit 6 and controls the ejection of the ink head. Such control signal generation processing by the CPU 1 and ink head ejection control processing correspond to the control unit.
[0034]
Next, the lamp table processing operation in the CPU 1 will be described with reference to the flowchart of FIG.
[0035]
As shown in FIG. 3, a lamp table corresponding to the length of print data from the host computer and the print mode is selected from the reference lamp table Rs and each modified lamp table Rd stored in the storage unit 6. Data is read from the read address of the lamp table from the storage unit 6 (S1), and the read data of the lamp table is written and stored in the register 31 of the ASIC 3 (S2).
[0036]
Then, it is determined whether or not the read address at that time is an address storing data corresponding to the motor speed maximum value Vm (see FIG. 2) (S3). Is the stored data of the address corresponding to the motor speed “0”, and the read address is added to form data at the time of acceleration (S4), and then the process returns to the above-described step S1 to repeat the processes after step S1. As a result, control data for the excitation current during acceleration is formed.
[0037]
On the other hand, if the determination result in step S3 is YES, the read address is subtracted to form data during deceleration (S5), and the read address data after subtraction is read (S6) and read. The stored data is written and stored in the register 31 of the ASIC 3 (S7), and it is determined whether or not the read address at that time is an address storing data corresponding to the motor speed “0” (S8).
[0038]
If this determination result is NO, the process returns to step S5 described above and the processing from step S5 is repeated to form excitation current control data during deceleration, and if the determination result is YES, the operation ends. .
[0039]
In this way, the CPU 1 sequentially reads out the reference ramp table data from the storage unit 6 in the direction of the motor speed from zero to the maximum value during acceleration, and the reference ramp table data from the maximum value of the motor speed in the zero direction during deceleration. Are sequentially read from the storage unit 6, and control data of the excitation current is generated based on the read data.
[0040]
Therefore, according to the specific example described above, since the data amount of the reference ramp table Rs is half the data amount of the entire reference quadratic curve that is the basis thereof, each of the reference quadratic curve as a whole is similarly transformed. Compared with the case of storing pattern data, the capacity of the storage unit 6 can be halved, and it is only necessary to read out the necessary one of the lamp tables. The arithmetic processing in the CPU 1 can be simplified.
[0041]
In addition, the ejection timing of the ink head according to the length of the print data from the host computer and the printing mode can be accurately derived, and the ejection control of the ink head can be performed with high accuracy.
[0042]
Here, as the implementation form of the invention, the storage unit 6, for example only the reference lamps Table RS in FIG. 1 may be stored for a maximum value from the motor speed "0" of the reference ramp table Rs from the storage unit 6 Data is sequentially read out in the direction, and the data is deformed in a similar manner at a magnification according to the length of the print data from the host computer and the print mode, and the excitation current control data is generated based on the deformed data. The excitation current control data is generated based on the data deformed in the “0” direction from the highest value of the current .
[0043]
In this case, the data to be stored in the storage unit 6 may be half the data of the reference quadratic curve, and the capacity of the storage unit 6 can be reduced, as well as the data of the reference ramp table during acceleration. Therefore, when the vehicle is decelerated, it is not necessary to perform the deformation process again. Therefore, the calculation required is half that of the case where the data of the entire reference quadratic curve, which is the basis of the reference ramp table, is similarly processed. Thus, the arithmetic processing can be simplified.
[0044]
Furthermore, in the above-described embodiment, the case where the present invention is applied to a printer has been described. However, the present invention is not particularly limited to a printing apparatus such as a printer, and can be applied to all stepping motors. The same effect can be obtained.
[0045]
The present invention is not limited to the above-described embodiment, and various modifications other than those described above can be made without departing from the spirit of the present invention.
[0046]
As described above, according to the present invention, the data to be stored in the storage unit may be half the data of the reference quadratic curve, and the capacity of the storage unit can be reduced. Furthermore, if the data of the reference ramp table is similarly modified during acceleration, there is no need to re-transform the data during deceleration. Therefore, the data of the entire reference quadratic curve that forms the basis of the reference ramp table is similarly modified. Compared with the case of processing, the number of calculations required is half, and the calculation process can be simplified.
[0050]
In addition, according to the present invention, it is possible to accurately derive the ejection timing of the ink head according to the length of the print data and the print mode, and to accurately control the ejection of the ink head.
[Brief description of the drawings]
FIG. 1 is an operation explanatory diagram of one embodiment of the present invention.
FIG. 2 is an operation explanatory diagram of one embodiment of the present invention.
FIG. 3 is a flowchart for explaining the operation of the embodiment of the present invention.
FIG. 4 is a block diagram of a control device in a general printer.
FIG. 5 is an operation explanatory diagram of the configuration of FIG. 4;
[Explanation of symbols]
1 CPU (control unit)
4 Carrier motor driver (drive unit)
5 Feed motor driver (drive unit)
6 storage

Claims (2)

固定子用の複数相の励磁コイルと、前記各励磁コイルに励磁電流を供給して回転子を回転させる駆動部と、所要のステップ数だけ駆動するよう前記駆動部に制御信号を出力する制御部と、前記ステップ数のデータから成るランプテーブルを格納した格納部とを備え、印字装置のインクヘッドの移動に用いられるステッピングモータの移動量及び速度を制御するステッピングモータの制御装置において、
モータステップ数及びモータ速度をそれぞれ横軸及び縦軸としたときに、前記モータステップ数及びモータ速度の関係を表わす基準二次曲線のうち、前記モータ速度がゼロから最高値までの半分のデータから成る基準ランプテーブルを格納した格納部を備え、
前記制御部、加速時には前記基準ランプテーブルの前記モータ速度がゼロから最高値までのデータを前記格納部から順次読み出し、ホストコンピュータからの印字データの長短や印字モードに応じた倍率で相似的に変形し、変形後のデータに基づいて前記制御信号を生成すると共に、減速時には前記変形後におけるデータに基づいて前記モータ速度の最高値からゼロ方向に前記制御信号を生成することを特徴とするステッピングモータの制御装置。
A multi-phase excitation coil for a stator, a drive unit for supplying an excitation current to each excitation coil to rotate the rotor, and a control unit for outputting a control signal to the drive unit to drive the required number of steps And a stepping motor control device for controlling the moving amount and speed of the stepping motor used for moving the ink head of the printing apparatus, comprising a storage unit storing a ramp table composed of the step number data.
From the standard quadratic curve representing the relationship between the number of motor steps and the motor speed, where the motor speed is zero and the maximum value, when the motor step number and the motor speed are the horizontal axis and the vertical axis, respectively. A storage unit storing a reference lamp table,
Wherein, the acceleration at the time of successively reading data up to the maximum value from the motor speed is zero the reference ramp table from the storage unit, similar to a magnification corresponding to the length or the printing mode of the print data from the host computer deformed, generates the control signal based on the data after deformation, at the time of deceleration and generating a pre-SL control signal toward zero from the maximum value of the motor speed based on the data after the deformation Stepping motor control device.
前記制御部前記変形後のデータに基づき前記インクヘッドの噴射タイミングを導出して前記インクヘッドを噴射制御することを特徴とする請求項に記載のステッピングモータの制御装置。Wherein the control unit, the control device of the stepping motor according to claim 1, characterized in that the injection control of the ink head to derive the injection timing of the ink head based on the data after the deformation.
JP2000380931A 2000-12-14 2000-12-14 Stepping motor control device Expired - Fee Related JP4654512B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000380931A JP4654512B2 (en) 2000-12-14 2000-12-14 Stepping motor control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000380931A JP4654512B2 (en) 2000-12-14 2000-12-14 Stepping motor control device

Publications (2)

Publication Number Publication Date
JP2002186291A JP2002186291A (en) 2002-06-28
JP4654512B2 true JP4654512B2 (en) 2011-03-23

Family

ID=18849034

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000380931A Expired - Fee Related JP4654512B2 (en) 2000-12-14 2000-12-14 Stepping motor control device

Country Status (1)

Country Link
JP (1) JP4654512B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6277898A (en) * 1985-09-30 1987-04-10 Kenzo Watanabe Pulse generator
JPS63305796A (en) * 1987-06-05 1988-12-13 Fujitsu Ltd Serial printer
JPH04329410A (en) * 1991-05-01 1992-11-18 Fujitsu Ltd Velocity control method
JPH11227258A (en) * 1998-02-18 1999-08-24 Canon Inc Recording equipment, recording method and recording medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6277898A (en) * 1985-09-30 1987-04-10 Kenzo Watanabe Pulse generator
JPS63305796A (en) * 1987-06-05 1988-12-13 Fujitsu Ltd Serial printer
JPH04329410A (en) * 1991-05-01 1992-11-18 Fujitsu Ltd Velocity control method
JPH11227258A (en) * 1998-02-18 1999-08-24 Canon Inc Recording equipment, recording method and recording medium

Also Published As

Publication number Publication date
JP2002186291A (en) 2002-06-28

Similar Documents

Publication Publication Date Title
JP2928518B2 (en) Driving method of stepping motor
JP3997172B2 (en) Motor control device, motor control method, electronic device, recording device, and motor driver controller
JP4654512B2 (en) Stepping motor control device
JP3715850B2 (en) Motor control device and printer using the device
JP4850639B2 (en) Motor control device, motor control method, and electrophotographic image forming apparatus
JP4654511B2 (en) Stepping motor control device
JP2021016034A5 (en) Image reader and image forming device
JP2002232651A (en) Motor drive unit
US20080055612A1 (en) Printer and control method therefor
JP3059118U (en) Stepping motor control device
JP3458889B2 (en) Printing apparatus and control method thereof
JPH0217895A (en) Driving of stepping motor
JP3059535U (en) Stepping motor control device
JPH0156916B2 (en)
JP3060473U (en) Motor control device
JPH0491699A (en) Drive for pulse motor
JP4449194B2 (en) Printing device
JP2000108443A (en) Method for controlling stepping motor and image-forming apparatus using the same
JP2000287498A (en) Controller for driving stepping motor
JP2000184790A (en) Motor controller
JPH0426393A (en) Carriage controller
JP3362686B2 (en) Motor control device
JP2002112591A (en) Motor controller and storage medium
CN116897504A (en) Control device for synchronous motor
JP2006137053A (en) Inkjet recording apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070831

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100518

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100525

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100713

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20101124

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20101207

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140107

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees