JP2003204690A - Speed controller for dc motor - Google Patents

Speed controller for dc motor

Info

Publication number
JP2003204690A
JP2003204690A JP2002001494A JP2002001494A JP2003204690A JP 2003204690 A JP2003204690 A JP 2003204690A JP 2002001494 A JP2002001494 A JP 2002001494A JP 2002001494 A JP2002001494 A JP 2002001494A JP 2003204690 A JP2003204690 A JP 2003204690A
Authority
JP
Japan
Prior art keywords
speed
motor
target
carriage
calculation parameter
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.)
Granted
Application number
JP2002001494A
Other languages
Japanese (ja)
Other versions
JP3714253B2 (en
Inventor
Shigeki Akiyama
茂樹 秋山
Masatoshi Kokubo
雅俊 小久保
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 JP2002001494A priority Critical patent/JP3714253B2/en
Publication of JP2003204690A publication Critical patent/JP2003204690A/en
Application granted granted Critical
Publication of JP3714253B2 publication Critical patent/JP3714253B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Character Spaces And Line Spaces In Printers (AREA)
  • Control Of Direct Current Motors (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a speed controller for a DC motor, which can accurately control the speed, without enlarging the gain in feedback control, even when shifting the target of drive at low speed. <P>SOLUTION: When a carriage is shifted as the target of drive along an encoder strip, a substantially actual shifting speed (unit: ips) can be obtained by dividing 66660d by a captured value, if the sampling time is 0.1 μsec and encoder resolution is 150 dpi. In this case, as shown in Table (A), the capture value corresponding to 30 ips becomes 2222d, and the amount of 0.5% ripple amount becomes 26H. However, in this case, the captured value corresponding to a shifting speed 8 ips becomes 8333d, and the amount of 0.5% ripple amount becomes 0AH. Accordingly, when the desired speed is 8 ips, the amount of 0.5% ripple amount is less likely to be reflected on feedback control. So if the speed is obtained, by dividing 266640d which is four times as large by a captured value as shown in Table (B), the amount of 0.5% ripple amount becomes 28H. <P>COPYRIGHT: (C)2003,JPO

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、直流モータにより
駆動される駆動対象が所望の速度となるように上記直流
モータをフィードバック制御する直流モータの速度制御
装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a speed control device for a DC motor, which feedback-controls the DC motor so that a drive target driven by the DC motor has a desired speed.

【0002】[0002]

【従来の技術】従来より、直流モータにより駆動される
駆動対象の速度をリニアエンコーダやロータリエンコー
ダを介して検出し、その検出された速度が目標速度と一
致するように上記直流モータをフィードバック制御する
ことが広く知られている。例えば、各種プリンタの分野
では、ヘッドを搭載したキャリッジの移動速度をリニア
エンコーダを介して検出し、そのキャリッジの移動速度
を印字制御に適した所望の速度となるようにフィードバ
ック制御を行うことが考えられている。
2. Description of the Related Art Conventionally, the speed of a driven object driven by a direct current motor is detected via a linear encoder or a rotary encoder, and the direct current motor is feedback-controlled so that the detected speed matches a target speed. Is widely known. For example, in the field of various printers, it is considered to detect the moving speed of a carriage equipped with a head via a linear encoder and perform feedback control so that the moving speed of the carriage becomes a desired speed suitable for print control. Has been.

【0003】図5は一般的なプリンタの一部機構を取り
出して示す外観斜視図である。図5に示すように、この
プリンタには、印刷ヘッド20が設けられている。この
印刷ヘッド20は、インク室に設けられた圧電素子に電
圧を印加してインク室の容積を変化させることにより、
インク室内のインクをノズルから被印刷媒体である印刷
用紙12に向けて吐出させて印字を行う、いわゆるイン
クジェット式のヘッドである。印刷ヘッド20は、キャ
リッジ14の上に搭載されており、そのキャリッジ14
には、印刷用紙12の幅方向に設けられたガイド軸16
が挿通されている。
FIG. 5 is an external perspective view showing a partial mechanism of a general printer. As shown in FIG. 5, the printer is provided with a print head 20. The print head 20 changes the volume of the ink chamber by applying a voltage to a piezoelectric element provided in the ink chamber,
This is a so-called inkjet type head for performing printing by ejecting ink in the ink chamber from the nozzles toward the printing paper 12, which is the printing medium. The print head 20 is mounted on the carriage 14, and the carriage 14
Includes a guide shaft 16 provided in the width direction of the printing paper 12.
Has been inserted.

【0004】キャリッジ14は、ガイド軸16に沿って
その下方に設けられた無端ベルト17に連結されてお
り、その無端ベルト17は、CRモータ18のプーリ2
2と他のアイドルプーリ(図示せず)との間に掛けられ
ている。つまり、キャリッジ14は、CRモータ18の
回転により、ガイド軸16に沿って印刷用紙12の幅方
向(主走査方向)に往復動するようになっている。
The carriage 14 is connected to an endless belt 17 provided below the carriage along a guide shaft 16. The endless belt 17 is a pulley 2 of a CR motor 18.
2 and another idle pulley (not shown). That is, the carriage 14 is configured to reciprocate in the width direction (main scanning direction) of the printing paper 12 along the guide shaft 16 by the rotation of the CR motor 18.

【0005】また、ガイド軸16に沿ってその下方に
は、スリットが一定の微小間隔で印されており、透光性
材料で形成されたリニア型のタイミングスリット24が
設けられている。更に、キャリッジ14の前面下部に
は、タイミングスリット24に印されたスリットの間隔
を読み取ってキャリッジ14の位置に対応したパルス信
号を出力するセンサ素子26が設けられている。
Further, slits are formed along the guide shaft 16 below the guide shaft 16 at a constant minute interval, and a linear timing slit 24 made of a translucent material is provided. Further, a sensor element 26 for reading the interval of the slits marked on the timing slit 24 and outputting a pulse signal corresponding to the position of the carriage 14 is provided on the lower front portion of the carriage 14.

【0006】このセンサ素子26は、互いの位相を3/
4周期ずらした2個の発光素子と受光素子とから成るフ
ォトカプラである。つまり、この2組の素子から出力さ
れるパルスの位相差により、後述のようにキャリッジ1
4の移動方向を検出する。タイミングスリット24とセ
ンサ素子26とで、いわゆるリニアエンコーダを構成す
る。なお、センサ素子26から出力されるパルスの周期
は、タイミングスリット24のスリット間の間隔及びキ
ャリッジ14の移動速度に対応する。
The sensor elements 26 have a phase of 3 /
It is a photocoupler composed of two light emitting elements and light receiving elements that are shifted by four cycles. That is, due to the phase difference between the pulses output from these two sets of elements, the carriage 1
The moving direction of 4 is detected. The timing slit 24 and the sensor element 26 form a so-called linear encoder. The cycle of the pulse output from the sensor element 26 corresponds to the interval between the timing slits 24 and the moving speed of the carriage 14.

【0007】また、印刷用紙12は、図示しない紙送り
用のLFモータにより回転される給紙ローラ(図示省
略)と、この給紙ローラと対に設けられた押さえローラ
28、28との間に挾まれて上下方向に送られる。な
お、CRモータ18には、PWM制御により回転速度が
制御される直流モータが用いられ、LFモータにはステ
ッピングモータ或いは直流モータが用いられる。
Further, the printing paper 12 is provided between a paper feed roller (not shown) rotated by an LF motor for paper feed (not shown) and press rollers 28, 28 provided in pair with the paper feed roller. It is sandwiched and sent vertically. A DC motor whose rotation speed is controlled by PWM control is used as the CR motor 18, and a stepping motor or a DC motor is used as the LF motor.

【0008】ここで、このように構成されたプリンタに
おけるキャリッジ14の移動速度算出方法について説明
する。前述のように、センサ素子26は位相を3/4周
期ずらした2個の発光素子及び受光素子を備えているの
で、その検出信号(以下エンコーダ信号という)は図6
に示すように位相が3/4周期ずれた2個の矩形パルス
ENC1,ENC2となる。
Here, a method of calculating the moving speed of the carriage 14 in the printer thus constructed will be described. As described above, the sensor element 26 is provided with the two light emitting elements and the light receiving elements whose phases are shifted by 3/4 cycle, and therefore the detection signal (hereinafter referred to as the encoder signal) of FIG.
As shown in (2), there are two rectangular pulses ENC1 and ENC2 whose phases are shifted by 3/4 cycle.

【0009】CRモータ18の制御時には、ENC1の
立下りエッジを検出して次のような処理を行う。先ず、
上記エッジ検出時のENC2の値がハイであるかローで
あるかによって、キャリッジ14の移動方向が判る。ま
た、エッジ検出の度に、位置カウンタを上記移動方向に
応じてインクリメントまたはデクリメントし、エッジ検
出から次のエッジ検出までの間にクロックがカウントさ
れたカウント数をキャプチャ値Tnとして取得する。す
ると、このキャプチャ値の逆数がキャリッジ14の移動
速度に対応した値となり、こうして算出された移動速度
が所望の移動速度となるようにCRモータ18をフィー
ドバック制御すれば、キャリッジ14を所望の速度で移
動させることができる。
When the CR motor 18 is controlled, the falling edge of ENC1 is detected and the following processing is performed. First,
The moving direction of the carriage 14 can be known depending on whether the value of ENC2 at the time of detecting the edge is high or low. In addition, each time the edge is detected, the position counter is incremented or decremented according to the moving direction, and the count number of clocks counted from the edge detection to the next edge detection is acquired as the capture value Tn. Then, the reciprocal of this capture value becomes a value corresponding to the moving speed of the carriage 14, and if the CR motor 18 is feedback-controlled so that the moving speed thus calculated becomes the desired moving speed, the carriage 14 can be moved at the desired speed. It can be moved.

【0010】[0010]

【発明が解決しようとする課題】ところが、キャリッジ
14を低速で移動させる場合、上記の方法では充分な精
度が得られない可能性があった。例えば、サンプリング
時間(クロックの周期)が0.1μsecで、エンコー
ダ分解能が150dpiの場合、66660d(dは1
0進表記を表す)をキャプチャ値で割るとほぼ実際の移
動速度(単位:ips)が得られる。
However, when the carriage 14 is moved at a low speed, there is a possibility that sufficient accuracy cannot be obtained by the above method. For example, when the sampling time (clock cycle) is 0.1 μsec and the encoder resolution is 150 dpi, 66660 d (d is 1
Dividing (representing 0-ary notation) by the capture value gives almost the actual moving speed (unit: ips).

【0011】この場合、図7(A)に示すように、30
ipsに対応するキャプチャ値は2222dとなる。こ
のときの算出速度は30.0000dで、その16進表
記は小数点以下8bitの固定小数点で表すと1E00
H、速度が0.5%変動したときのキャプチャ値の変動
分(以下、0.5%変動分という)は26Hとなる。一
方、移動速度8ipsに対応するキャプチャ値は833
3dで、そのときの算出速度は7.9999d、16進
表記は07FFH、0.5%変動分は0AHとなる。
In this case, as shown in FIG.
The capture value corresponding to ips is 2222d. The calculated speed at this time is 30.0000d, and its hexadecimal notation is 1E00 if it is expressed by a fixed point with 8 bits after the decimal point.
H, the fluctuation of the capture value when the speed fluctuates by 0.5% (hereinafter referred to as 0.5% fluctuation) is 26H. On the other hand, the capture value corresponding to the moving speed of 8 ips is 833.
3d, the calculated speed at that time is 7.9999d, the hexadecimal notation is 07FFH, and the 0.5% variation is 0AH.

【0012】今、フィードバック制御として作用させる
制御量を、算出速度結果に予め決められたフィードバッ
クゲインを乗じた値の整数部を使用した場合、キャリッ
ジ14の移動速度を8ipsに制御するときには0.5
%変動分が0AHであるため、その速度変動を0.5%
以内に収めるのは困難となる。従って、従来は、フィー
ドバック制御におけるゲインを大きくしないと低速時の
制御が困難であった。また、ゲインを大きくすると応答
性の悪化を招いて望ましくない。そこで、本発明は、駆
動対象を低速で移動させる場合にも、フィードバック制
御におけるゲインを大きくしなくても正確に速度制御可
能な直流モータの速度制御装置を提供することを目的と
してなされた。
Now, when an integer part of a value obtained by multiplying a calculated speed result by a predetermined feedback gain is used as the control amount to be operated as feedback control, 0.5 is used when the moving speed of the carriage 14 is controlled to 8 ips.
Since the% fluctuation is 0 AH, the speed fluctuation is 0.5%.
It will be difficult to fit within. Therefore, conventionally, it was difficult to control at low speed unless the gain in feedback control is increased. In addition, increasing the gain undesirably deteriorates responsiveness. Therefore, the present invention has been made for the purpose of providing a speed control device for a DC motor, which enables accurate speed control even when the drive target is moved at a low speed without increasing the gain in feedback control.

【0013】[0013]

【課題を解決するための手段及び発明の効果】上記目的
を達するためになされた請求項1記載の発明は、直流モ
ータにより駆動される駆動対象と、該駆動対象が所定量
駆動される毎に信号を発生する信号発生手段と、該信号
発生手段が発生する信号の時間間隔を測定するための計
時手段と、上記駆動対象の速度成分を得るために用いる
速度成分算出パラメータを設定するための速度成分算出
パラメータ設定手段と、該速度成分算出パラメータ設定
手段により設定された速度成分算出パラメータを上記計
時手段にて得られた時間間隔にて除算を行うことで、上
記駆動対象の速度を算出する速度算出手段と、上記駆動
対象の目標速度を設定する目標速度設定手段と、上記速
度算出手段により算出された速度と上記目標速度設定手
段により設定された目標速度とを比較し、両者を一致さ
せるべく上記直流モータのフィードバック制御を行うフ
ィードバック制御手段と、を備えた直流モータの速度制
御装置であって、所望する上記駆動対象の速度が小さい
場合は、上記速度成分算出パラメータを大きく設定する
と共に、上記目標速度も大きく設定することを特徴とし
ている。
Means for Solving the Problems and Effects of the Invention The invention according to claim 1 made in order to achieve the above object, is a drive target driven by a DC motor, and each time the drive target is driven by a predetermined amount. A signal generating means for generating a signal, a time measuring means for measuring a time interval of the signal generated by the signal generating means, and a speed for setting a speed component calculation parameter used for obtaining the speed component of the driven object. A speed at which the speed of the drive target is calculated by dividing the speed calculation parameter setting means set by the speed calculation parameter setting means and the speed calculation parameter set by the speed calculation parameter setting means by the time interval obtained by the time measuring means. Calculating means, target speed setting means for setting the target speed of the driven object, speed calculated by the speed calculating means and set by the target speed setting means Comparing the target speed, the feedback control means for performing feedback control of the DC motor so as to match the two, the speed control device of the DC motor, comprising, when the speed of the desired drive target is small, It is characterized in that the target speed is set to be large while the speed component calculation parameter is set to be large.

【0014】このように構成された本発明では、信号発
生手段は直流モータの駆動対象が所定量駆動される毎に
信号を発生し、計時手段はその信号の時間間隔を測定す
る。そして、速度算出手段は、速度成分算出パラメータ
設定手段により設定された速度成分算出パラメータを上
記計時手段にて得られた時間間隔にて除算を行うこと
で、上記駆動対象の速度を算出する。このように速度が
算出されると、フィードバック制御手段は、その算出さ
れた速度と目標速度設定手段により設定された目標速度
とを比較し、両者を一致させるべく上記直流モータのフ
ィードバック制御を行う。
In the present invention thus constituted, the signal generating means generates a signal each time the drive target of the DC motor is driven by a predetermined amount, and the time measuring means measures the time interval of the signal. Then, the speed calculation means calculates the speed of the drive target by dividing the speed component calculation parameter set by the speed component calculation parameter setting means by the time interval obtained by the time measurement means. When the speed is calculated in this way, the feedback control means compares the calculated speed with the target speed set by the target speed setting means, and performs feedback control of the DC motor so as to match them.

【0015】ここで、本発明では、所望する上記駆動対
象の速度が小さい場合は、上記速度成分算出パラメータ
設定手段が速度成分算出パラメータを大きく設定すると
共に、上記目標速度設定手段も目標速度を大きく設定す
る。速度成分算出パラメータが大きく設定されると、そ
れを上記時間間隔で除算して得られる速度も大きな値を
取る。このため、駆動対象の速度が実際には小さい場合
にも、演算過程で数値が丸められる割合が少なくなる。
また、これに合わせて目標速度も大きく設定されるの
で、両者を一致させるべく上記フィードバック制御を行
えば、駆動対象を低速で移動させる場合にも、フィード
バック制御におけるゲインを大きくしなくても正確に速
度を制御することができる。すなわち、低速時にも応答
性の悪化を招くことなく正確に速度を制御することがで
きる。
According to the present invention, when the desired speed of the driven object is small, the speed component calculation parameter setting means sets the speed component calculation parameter large, and the target speed setting means also increases the target speed. Set. When the velocity component calculation parameter is set to a large value, the velocity obtained by dividing it by the above time interval also has a large value. For this reason, even when the speed of the drive target is actually small, the rate at which the numerical value is rounded in the calculation process decreases.
Since the target speed is also set to a large value in accordance with this, if the above feedback control is performed in order to match the two, even when the drive target is moved at a low speed, it is possible to accurately obtain the feedback control without increasing the gain in the feedback control. The speed can be controlled. That is, it is possible to accurately control the speed at a low speed without deteriorating the responsiveness.

【0016】請求項2記載の発明は、請求項1記載の構
成に加え、上記速度成分算出パラメータと上記目標速度
とを大きくする比が同じであるように、上記速度成分算
出パラメータと上記目標速度とを設定することを特徴と
している。本発明では、速度成分算出パラメータと目標
速度とを大きくする比が同じであるため、フィードバッ
ク制御におけるゲイン・係数等はそのままで上記低速時
の制御を行うことができる。従って、本発明では、請求
項1記載の発明の効果に加えて、処理を一層簡略化する
ことができるといった効果が生じる。
According to a second aspect of the present invention, in addition to the configuration of the first aspect, the speed component calculation parameter and the target speed are set such that the ratios for increasing the speed component calculation parameter and the target speed are the same. It is characterized by setting and. In the present invention, since the ratio for increasing the speed component calculation parameter and the target speed are the same, it is possible to perform the control at the low speed without changing the gain, coefficient, etc. in the feedback control. Therefore, in the present invention, in addition to the effect of the invention described in claim 1, the effect that the processing can be further simplified occurs.

【0017】請求項3記載の発明は、請求項1または2
記載の構成に加え、上記駆動対象が、ヘッドを搭載した
キャリッジであることを特徴としている。ヘッドを搭載
したキャリッジでは、その移動速度が印字精度に直接反
映されるので、移動速度を正確に制御する要請が極めて
強い。本発明では、前述のように駆動対象としてのキャ
リッジの移動速度を正確に制御することができるので、
請求項1または2記載の発明の効果が一層顕著に表れ
る。
The invention according to claim 3 is the invention according to claim 1 or 2.
In addition to the described configuration, the drive target is a carriage on which a head is mounted. In a carriage equipped with a head, the moving speed of the carriage is directly reflected on the printing accuracy, so that there is a strong demand for accurately controlling the moving speed. In the present invention, since the moving speed of the carriage to be driven can be accurately controlled as described above,
The effects of the invention according to claim 1 or 2 are more prominent.

【0018】請求項4記載の発明は、請求項3記載の構
成に加え、上記信号発生手段が、上記キャリッジの主走
査方向への駆動に応じて上記信号を発生するリニアエン
コーダまたはロータリエンコーダであることを特徴とし
ている。信号発生手段が上記キャリッジの主走査方向へ
の駆動に応じて上記信号を発生するリニアエンコーダま
たはロータリエンコーダである場合、その分解能の向上
には機械的な制約がある。本発明では、前述のように、
分解能がそのままでも低速時の移動速度を正確に制御す
ることができるので、請求項3記載の発明の効果が一層
顕著に表れる。
According to a fourth aspect of the present invention, in addition to the configuration of the third aspect, the signal generating means is a linear encoder or a rotary encoder that generates the signal in response to driving of the carriage in the main scanning direction. It is characterized by that. When the signal generating means is a linear encoder or a rotary encoder that generates the signal in response to the driving of the carriage in the main scanning direction, there is a mechanical limitation in improving the resolution. In the present invention, as described above,
Since the moving speed at low speed can be accurately controlled even with the same resolution, the effect of the invention according to claim 3 is more remarkable.

【0019】[0019]

【発明の実施の形態】次に、本発明の実施の形態を説明
する。図1は、本発明が適用された直流モータとしての
CRモータ18の通電機構の構成を表す説明図である。
なお、CRモータ18は、図5に示した従来のプリンタ
と同様のプリンタにおいて使用され、本実施の形態では
後述のようにそのCRモータ18の制御系に特徴を有す
る。
BEST MODE FOR CARRYING OUT THE INVENTION Next, embodiments of the present invention will be described. FIG. 1 is an explanatory diagram showing a configuration of an energization mechanism of a CR motor 18 as a DC motor to which the present invention is applied.
The CR motor 18 is used in a printer similar to the conventional printer shown in FIG. 5, and this embodiment is characterized by the control system of the CR motor 18 as described later.

【0020】図1に示すように、電源の正極Pvと負極
P0 との間には、2個ずつ直列接続されたスイッチング
素子S1,S2及びS3,S4が並列に接続され、各ス
イッチング素子S1〜S4にはフライホイールダイオー
ドFDが並列に接続されている。なお、このようなスイ
ッチング素子S1〜S4は、PNP型またはNPN型ト
ランジスタ等のスイッチング素子にフライホイールダイ
オードFDを接続しても得られるが、スイッチング素子
S1〜S4としてFETを使用すれば、予めフライホイ
ールダイオードと等価の機能が寄生ダイオードとしてF
ET内に構成されているため、改めて外部に設けない場
合もある。
As shown in FIG. 1, two switching elements S1, S2 and S3, S4 connected in series are connected in parallel between the positive electrode Pv and the negative electrode P0 of the power source, and each switching element S1. A flywheel diode FD is connected in parallel to S4. Note that such switching elements S1 to S4 can be obtained by connecting a flywheel diode FD to a switching element such as a PNP type or NPN type transistor. A function equivalent to a wheel diode is F as a parasitic diode.
Since it is configured inside the ET, it may not be provided outside.

【0021】CRモータ18の一方の端子はスイッチン
グ素子S1とスイッチング素子S2との間に接続され、
他方の端子はスイッチング素子S3とスイッチング素子
S4との間に接続されている。このため、スイッチング
素子S1,S4をオンにしてスイッチング素子S2,S
3をオフにすれば、CRモータ18に正転方向の駆動電
流(正転駆動電流)を通電してCRモータ18を正転さ
せることができる。逆に、スイッチング素子S2,S3
をオンにしてスイッチング素子S1,S4をオフにすれ
ば、CRモータ18に逆転方向の逆転電流(逆転駆動電
流)を通電してCRモータ18を逆転させることができ
る。
One terminal of the CR motor 18 is connected between the switching element S1 and the switching element S2,
The other terminal is connected between the switching element S3 and the switching element S4. Therefore, the switching elements S1 and S4 are turned on and the switching elements S2 and S4 are turned on.
When 3 is turned off, the CR motor 18 can be normally rotated by supplying a drive current in the normal rotation direction (normal rotation drive current) to the CR motor 18. On the contrary, the switching elements S2, S3
By turning on the switching elements S1 and S4, the CR motor 18 can be reversed by supplying a reverse rotation current (reverse rotation drive current) to the CR motor 18 in the reverse rotation direction.

【0022】また、上記スイッチング素子をパルス状に
オンオフし、CRモータ18に通電される平均電流量を
制御することにより、CRモータ18を定速で正転させ
たり、加減速したりすることができる。更に、逆転電流
の通電によりCRモータ18を一層迅速に減速させるこ
ともできる。そこで、本実施の形態では、スイッチング
素子S1〜S4をCR駆動回路31を介して次に述べる
CR制御ブロック33に接続し、オン/オフを制御する
ことにより、駆動対象としてのキャリッジ14を適宜の
速度で移動させている。
Further, by turning on / off the switching element in a pulse shape and controlling the average amount of current supplied to the CR motor 18, the CR motor 18 can be normally rotated at a constant speed or accelerated / decelerated. it can. Further, the CR motor 18 can be decelerated more quickly by supplying the reverse current. Therefore, in the present embodiment, the switching elements S1 to S4 are connected to the CR control block 33 described below via the CR drive circuit 31 and ON / OFF is controlled, so that the carriage 14 to be driven can be appropriately controlled. It is moving at speed.

【0023】図2に示すように、CR制御ブロック33
は、0.1μsec毎にクロック信号を生成するクロッ
ク生成部35と所定のPWM周期に渡ってクロック信号
をカウントするPWM周期タイマ37とを備え、更に、
CPUによって設定された動作モードを記憶する動作モ
ード設定レジスタ群39を備えている。
As shown in FIG. 2, the CR control block 33.
Includes a clock generation unit 35 that generates a clock signal every 0.1 μsec and a PWM cycle timer 37 that counts the clock signal over a predetermined PWM cycle.
An operation mode setting register group 39 for storing the operation mode set by the CPU is provided.

【0024】動作モード設定レジスタ群39には、キャ
リッジ14の速度算出時に必要な速度成分算出パラメー
タを記憶する速度成分算出パラメータ設定レジスタ40
(速度成分算出パラメータ設定手段に相当)、速度制御
の開始位置を記憶する速度制御開始位置設定レジスタ4
1、減速開始位置を記憶する減速開始位置設定レジスタ
42、PWMの初期値を記憶する初期PWM値設定レジ
スタ43、加速係数を記憶する加速係数設定レジスタ4
4、目標速度を記憶する目標速度設定レジスタ45(目
標速度設定手段に相当)、微分ゲインを記憶する微分ゲ
イン設定レジスタ46、積分ゲインを記憶する積分ゲイ
ン設定レジスタ47、比例ゲインを記憶する比例ゲイン
設定レジスタ48、減速パラメータを記憶する減速パラ
メータ設定レジスタ49、逆転パルスパラメータを記憶
する逆転パルスパラメータ設定レジスタ50、及び、ウ
ェイト時間を記憶するウェイト時間設定レジスタ51が
設けられている。各パラメータの意味合いは後述する。
The operation mode setting register group 39 includes a velocity component calculation parameter setting register 40 for storing velocity component calculation parameters required for velocity calculation of the carriage 14.
(Corresponding to speed component calculation parameter setting means), speed control start position setting register 4 for storing the start position of speed control
1, deceleration start position setting register 42 for storing deceleration start position, initial PWM value setting register 43 for storing initial value of PWM, acceleration coefficient setting register 4 for storing acceleration coefficient
4. Target speed setting register 45 (corresponding to target speed setting means) for storing target speed, differential gain setting register 46 for storing differential gain, integral gain setting register 47 for storing integral gain, proportional gain for storing proportional gain A setting register 48, a deceleration parameter setting register 49 that stores deceleration parameters, a reverse pulse parameter setting register 50 that stores reverse pulse parameters, and a wait time setting register 51 that stores wait times are provided. The meaning of each parameter will be described later.

【0025】CR制御ブロック33は、この他にも、以
下に説明するエンコーダエッジ検出部55、位置カウン
タ57、周期カウンタ59、比較処理部61、セレクタ
63,65、速度変換部67、加速制御部71、フィー
ドバック制御手段としてのフィードバック演算処理部7
3、PWM生成部75、及び減速制御部80を備えてい
る。
In addition to the above, the CR control block 33 includes an encoder edge detection section 55, a position counter 57, a cycle counter 59, a comparison processing section 61, selectors 63 and 65, a speed conversion section 67, and an acceleration control section, which will be described below. 71, feedback calculation processing unit 7 as feedback control means
3, a PWM generator 75, and a deceleration controller 80.

【0026】前述のセンサ素子26の検出信号はエンコ
ーダエッジ検出部55に入力され、ここで、ENC1の
立下りエッジが検出される。エンコーダエッジ検出部5
5の検出結果は位置カウンタ57及び周期カウンタ59
に入力される。位置カウンタ57は、エンコーダエッジ
検出部55の検出結果に基づいてキャリッジ14の位置
に対応したカウント値を増減し、そのカウント値を比較
処理部61に入力する。比較処理部61は、速度制御開
始位置設定レジスタ41に記憶された速度制御開始位
置、及び、減速開始位置設定レジスタ42に記憶された
減速開始位置と上記カウント値を比較して、比較結果を
後述のセレクタ63,65に入力する。
The detection signal of the above-mentioned sensor element 26 is input to the encoder edge detection section 55, where the falling edge of ENC1 is detected. Encoder edge detector 5
The detection result of 5 is the position counter 57 and the cycle counter 59.
Entered in. The position counter 57 increases or decreases the count value corresponding to the position of the carriage 14 based on the detection result of the encoder edge detection unit 55, and inputs the count value to the comparison processing unit 61. The comparison processing unit 61 compares the count value with the speed control start position stored in the speed control start position setting register 41 and the deceleration start position stored in the deceleration start position setting register 42, and the comparison result will be described later. Input to the selectors 63 and 65.

【0027】また、周期カウンタ59は、エンコーダエ
ッジ検出部55によって上記エッジが検出される時間間
隔をカウントし、速度変換部67に入力する。すなわ
ち、エンコーダエッジ検出部55により上記エッジが検
出されるとその直前のエッジ検出との間に発生したクロ
ック数(以下キャプチャ値という)をカウントし、速度
変換部67に入力する。
Further, the cycle counter 59 counts the time interval at which the above-mentioned edge is detected by the encoder edge detection section 55 and inputs it to the speed conversion section 67. That is, when the encoder edge detection unit 55 detects the above-mentioned edge, the number of clocks (hereinafter, referred to as a capture value) generated between the detection of the edge immediately before and the detection of the edge is counted and input to the speed conversion unit 67.

【0028】速度変換部67は、速度成分算出パラメー
タ設定レジスタ40に記憶された速度成分算出パラメー
タを、上記入力されたキャプチャ値で除算することによ
り、キャリッジ14の移動速度を算出する。すなわち、
周期カウンタ59は計時手段に、速度変換部67は速度
算出手段に、それぞれ相当する。
The speed conversion section 67 calculates the moving speed of the carriage 14 by dividing the speed component calculation parameter stored in the speed component calculation parameter setting register 40 by the input capture value. That is,
The cycle counter 59 corresponds to the time measuring means, and the speed converting section 67 corresponds to the speed calculating means.

【0029】加速制御部71は、初期PWM値設定レジ
スタ43に記憶されたPWMの初期値、及び、加速係数
設定レジスタ44に記憶された加速係数に基づき、CR
モータ18をオープンループで加速制御するためのデュ
ーティ値等を算出してセレクタ63に入力する。
Based on the initial PWM value stored in the initial PWM value setting register 43 and the acceleration coefficient stored in the acceleration coefficient setting register 44, the acceleration control unit 71 sets the CR
A duty value or the like for controlling the acceleration of the motor 18 in an open loop is calculated and input to the selector 63.

【0030】フィードバック演算処理部73は、速度変
換部67にて算出される速度を目標速度設定レジスタ4
5に記憶された目標速度に一致させるフィードバック制
御を行うためのデューティ値等を算出してセレクタ63
に入力する。なお、この算出は、後述のように、微分ゲ
イン設定レジスタ46,積分ゲイン設定レジスタ47,
及び比例ゲイン設定レジスタ48に記憶されたデータを
用いてなされる。
The feedback calculation processing section 73 sets the speed calculated by the speed converting section 67 to the target speed setting register 4
5 calculates the duty value and the like for performing feedback control to match the target speed stored in the selector 63.
To enter. Note that this calculation is performed by the differential gain setting register 46, the integral gain setting register 47,
And the data stored in the proportional gain setting register 48.

【0031】セレクタ63は、キャリッジ14が速度制
御開始位置に達した旨の入力が比較処理部61からある
までは、加速制御部71からの信号をPWM生成部75
に入力し、上記入力があった後はフィードバック演算処
理部73からの信号をPWM生成部75に入力する。P
WM生成部75は、入力された信号に基づき、CR駆動
回路31に入力するための信号を生成してセレクタ65
に入力する。
The selector 63 outputs the signal from the acceleration control section 71 to the PWM generation section 75 until the comparison processing section 61 receives an input indicating that the carriage 14 has reached the speed control start position.
After that, the signal from the feedback calculation processing unit 73 is input to the PWM generation unit 75. P
The WM generation unit 75 generates a signal to be input to the CR drive circuit 31 based on the input signal and outputs the signal to the selector 65.
To enter.

【0032】一方、減速制御部80は、減速パラメータ
設定レジスタ49に記憶された減速パラメータ、逆転パ
ルスパラメータ設定レジスタ50に記憶された逆転パル
スパラメータ、及び、ウェイト時間設定レジスタ51に
記憶されたウェイト時間に基づき、CRモータ18をオ
ープンループで減速制御するための信号(CR駆動回路
31への入力用)を生成してセレクタ65に入力する。
すなわち、この減速制御部80では、減速パラメータに
応じて上記デューティ値を徐々に減少させ、ウェイト時
間に応じたタイミングで逆転パルスパラメータに応じた
パルス幅の逆転パルス(パルス状の逆転電流)を発生さ
せることによってCRモータ18を減速させる制御を行
う。
On the other hand, the deceleration control unit 80 uses the deceleration parameter stored in the deceleration parameter setting register 49, the reverse rotation pulse parameter stored in the reverse rotation pulse parameter setting register 50, and the wait time stored in the wait time setting register 51. Based on the above, a signal (for input to the CR drive circuit 31) for controlling the deceleration of the CR motor 18 in an open loop is generated and input to the selector 65.
That is, the deceleration control unit 80 gradually reduces the duty value according to the deceleration parameter and generates a reverse pulse (pulse-shaped reverse current) having a pulse width according to the reverse pulse parameter at a timing according to the wait time. By doing so, the control for decelerating the CR motor 18 is performed.

【0033】セレクタ65は、キャリッジ14が減速開
始位置に達した旨の入力が比較処理部61からあるまで
は、PWM生成部75からの信号をCR駆動回路31に
入力し、上記入力があった後は減速制御部80からの信
号をCR駆動回路31に入力する。このセレクタ65と
前述のセレクタ63との動作により、図3に示すよう
に、キャリッジ14が速度制御開始位置に達するまでの
加速区間では加速制御部71の処理に応じてCRモータ
18はオープンループで加速制御され、速度制御開始位
置から減速開始位置までの定速区間ではフィードバック
演算処理部73の処理に応じてCRモータ18はフィー
ドバック制御され、減速開始位置以降の減速区間では減
速制御部80の処理に応じてCRモータ18はオープン
ループで減速制御される。
The selector 65 inputs the signal from the PWM generating section 75 to the CR drive circuit 31 until the comparison processing section 61 receives an input indicating that the carriage 14 has reached the deceleration start position, and the above-mentioned input is made. After that, the signal from the deceleration control unit 80 is input to the CR drive circuit 31. By the operation of the selector 65 and the selector 63, as shown in FIG. 3, in the acceleration section until the carriage 14 reaches the speed control start position, the CR motor 18 is open loop according to the processing of the acceleration control unit 71. The CR motor 18 is feedback-controlled according to the processing of the feedback calculation processing unit 73 in the constant speed section from the speed control start position to the deceleration start position, and the processing of the deceleration control unit 80 in the deceleration section after the deceleration start position. Accordingly, the CR motor 18 is deceleration-controlled in an open loop.

【0034】続いて、フィードバック演算処理部73の
構成及び処理について、更に詳細に説明する。図4は、
フィードバック演算処理部73の構成を詳細に表すブロ
ック図である。図4に示すように、速度変換部67にて
算出された速度と目標速度設定レジスタ45に記憶され
た目標速度とは加算器81に入力され、両者の差分は比
例ゲイン83による増幅を受けた後、加算器85に入力
される。また、加算器81から出力される上記差分は、
積分器91により積分され、積分ゲイン93の増幅を受
けた後、加算器85に入力される。更に、速度変換部6
7にて算出された速度は微分器95にも入力され、ここ
で微分された後、微分ゲイン97の増幅を増幅を受けた
後、加算器85に入力される。
Next, the configuration and processing of the feedback calculation processing section 73 will be described in more detail. Figure 4
It is a block diagram showing the structure of the feedback calculation processing part 73 in detail. As shown in FIG. 4, the speed calculated by the speed converter 67 and the target speed stored in the target speed setting register 45 are input to the adder 81, and the difference between the two is subjected to amplification by the proportional gain 83. Then, it is input to the adder 85. In addition, the difference output from the adder 81 is
After being integrated by the integrator 91 and being amplified by the integral gain 93, it is input to the adder 85. Furthermore, the speed conversion unit 6
The speed calculated in 7 is also input to the differentiator 95, differentiated here, and then amplified by the differential gain 97, and then input to the adder 85.

【0035】加算器85では、比例ゲイン83及び積分
ゲイン93からの入力値を加算してそこから微分ゲイン
97からの入力値を減算する。フィードバック演算処理
部73では、この加算器85からの出力に基づき、CR
モータ18をフィードバック制御するためのデューティ
値等を算出してセレクタ63に入力する。なお、比例ゲ
イン83,積分ゲイン93,微分ゲイン97における上
記増幅率は、比例ゲイン設定レジスタ48,積分ゲイン
設定レジスタ47,微分ゲイン設定レジスタ46に記憶
された値に設定される。また、フィードバック演算処理
部73における上記各部の演算では、小数点以下8bi
tの精度で演算結果が丸められる。
The adder 85 adds the input values from the proportional gain 83 and the integral gain 93 and subtracts the input value from the differential gain 97 therefrom. The feedback calculation processing unit 73, based on the output from the adder 85,
A duty value or the like for feedback controlling the motor 18 is calculated and input to the selector 63. The amplification factors in the proportional gain 83, the integral gain 93, and the differential gain 97 are set to the values stored in the proportional gain setting register 48, the integral gain setting register 47, and the differential gain setting register 46. Further, in the calculation of each of the above parts in the feedback calculation processing unit 73, the number of decimals is 8
The calculation result is rounded with the precision of t.

【0036】このように構成された本実施の形態では、
速度成分算出パラメータ及び目標速度の設定値を、定速
区間(図3参照)における所望速度に応じて次のように
変更することにより、上記フィードバック制御の精度向
上を図っている。なお、本実施の形態では、タイミング
スリット24とセンサ素子26とで構成されるリニアエ
ンコーダ(信号発生手段に相当)の分解能は150dp
iであるものとする。
In the present embodiment configured as described above,
The accuracy of the feedback control is improved by changing the setting values of the speed component calculation parameter and the target speed as follows according to the desired speed in the constant speed section (see FIG. 3). In the present embodiment, the resolution of the linear encoder (corresponding to the signal generating means) composed of the timing slit 24 and the sensor element 26 is 150 dp.
Let i be i.

【0037】所望速度が30ipsである場合は、速度
成分算出パラメータを66660dとする。すると、速
度変換部67が算出する速度はキャリッジ14の実際の
移動速度(単位:ips)となる。この場合、前述の図
7(A)に示したように、30ipsに対応するキャプ
チャ値は2222dとなり、算出速度は30.0000
d、その16進表記は1E00H、0.5%変動分は2
6Hとなる。従って、フィードバック演算処理部73に
おいて、0.5%変動分26Hに対してフィードバック
ゲインを作用させた結果が100H以上となるようなフ
ィードバックゲインを設定することで、0.5%変動分
が制御量として反映されることとなり、キャリッジ14
の速度を所望速度に対して±0.5%の範囲に良好に制
御することができる。
When the desired speed is 30 ips, the speed component calculation parameter is 66660d. Then, the speed calculated by the speed conversion unit 67 becomes the actual moving speed of the carriage 14 (unit: ips). In this case, as shown in FIG. 7A, the capture value corresponding to 30 ips is 2222d, and the calculation speed is 30.0000.
d, its hexadecimal notation is 1E00H, 0.5% fluctuation is 2
It becomes 6H. Therefore, in the feedback calculation processing unit 73, by setting the feedback gain such that the result of applying the feedback gain to the 0.5% fluctuation amount 26H becomes 100H or more, the 0.5% fluctuation amount is controlled by the control amount. Will be reflected as the carriage 14
Can be well controlled within a range of ± 0.5% with respect to the desired speed.

【0038】一方、所望速度が8ipsである場合は、
速度成分算出パラメータを4倍の266640dとす
る。この場合、図7(B)に示すように、8ipsに対
応するキャプチャ値は速度成分算出パラメータに関らず
8333dであるが、そのキャプチャ値に対応する算出
速度は31.9981dとなり、16進表記は1FFF
H、0.5%変動分は28Hとなる。このため、目標速
度の設定値も4倍の32.0000dとすることによ
り、所望速度が8ipsである場合も、所望速度が30
ipsである場合と同様に±0.5%の範囲に良好に制
御することができる。
On the other hand, when the desired speed is 8 ips,
The velocity component calculation parameter is quadrupled to 266640d. In this case, as shown in FIG. 7B, the capture value corresponding to 8 ips is 8333d regardless of the speed component calculation parameter, but the calculated speed corresponding to the capture value is 31.9981d, which is in hexadecimal notation. Is 1 FFF
H, 0.5% variation is 28H. Therefore, even if the desired speed is 8 ips, the desired speed is set to 30 by setting the set value of the target speed to 32.0000d, which is four times as large.
Similar to the case of ips, it can be controlled well within a range of ± 0.5%.

【0039】このように、本実施の形態では、キャリッ
ジ14を低速で移動させる場合にも、ゲインを大きくし
なくても、またリニアエンコーダの分解能を上げなくて
も正確にフィードバック制御することができる。すなわ
ち低速時にも応答性の悪化を招くことなくキャリッジ1
4の速度を正確に制御して、プリンタの印字精度を良好
に向上させることができる。
As described above, in this embodiment, even when the carriage 14 is moved at a low speed, accurate feedback control can be performed without increasing the gain or increasing the resolution of the linear encoder. . That is, the carriage 1 does not deteriorate in responsiveness even at low speed.
The speed of 4 can be accurately controlled to improve the printing accuracy of the printer.

【0040】なお、本発明は上記実施の形態に何等限定
されるものではなく、本発明の要旨を逸脱しない範囲で
種々の形態で実施することができる。例えば、信号発生
手段としては、CRモータ18の回転角を検出するロー
タリエンコーダを使用することもできる。また、上記実
施の形態では、フィードバック演算処理部73としてい
わゆる微分先行型のPID制御器の構成を採用している
が、一般のPID制御器や比例微分先行型のPID制御
器の構成を採用してもよい。
The present invention is not limited to the above-described embodiments, and can be implemented in various forms without departing from the gist of the present invention. For example, a rotary encoder that detects the rotation angle of the CR motor 18 can be used as the signal generating means. Further, in the above-described embodiment, the configuration of a so-called differential preceding PID controller is adopted as the feedback calculation processing unit 73, but a configuration of a general PID controller or a proportional differential preceding PID controller is adopted. May be.

【0041】更に、上記実施の形態では、キャリッジ1
4を低速で移動させるときに速度成分算出パラメータを
大きく設定する処理と目標速度を大きく設定する処理と
を個々に行っているが、これらを同時に行ってもよい。
例えば、目標速度設定レジスタ45とフィードバック演
算処理部73との間に乗算器を設け、速度成分算出パラ
メータ設定レジスタ40の設定値(またはその定数倍:
上記の例では1/66660d倍)をその乗算器に入力
するようにしてもよい。
Further, in the above embodiment, the carriage 1
Although the process of setting the speed component calculation parameter to be large when the No. 4 is moved at a low speed and the process of setting the target speed to be large are individually performed, these processes may be performed at the same time.
For example, a multiplier is provided between the target speed setting register 45 and the feedback calculation processing unit 73, and the set value of the speed component calculation parameter setting register 40 (or a constant multiple thereof:
In the above example, 1 / 66660d times) may be input to the multiplier.

【0042】また更に、本発明は、キャリッジ14以外
の各種駆動対象を駆動する直流モータの速度制御装置に
も適用できることはいうまでもない。
Further, it goes without saying that the present invention can also be applied to a speed control device for a DC motor that drives various types of driving objects other than the carriage 14.

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

【図1】 本発明の実施の形態のCRモータの通電機構
の構成を表す説明図である。
FIG. 1 is an explanatory diagram showing a configuration of an energization mechanism of a CR motor according to an embodiment of the present invention.

【図2】 その通電機構のCR制御ブロックの構成を表
すブロック図である。
FIG. 2 is a block diagram showing a configuration of a CR control block of the energizing mechanism.

【図3】 そのCR制御ブロックによる制御区間の変化
を表す説明図である。
FIG. 3 is an explanatory diagram showing a change in a control section by the CR control block.

【図4】 そのCR制御ブロックのフィードバック演算
処理部の構成を表すブロック図である。
FIG. 4 is a block diagram showing a configuration of a feedback calculation processing section of the CR control block.

【図5】 本実施の形態または一般のプリンタの一部機
構を表す外観図である。
FIG. 5 is an external view showing a partial mechanism of the present embodiment or a general printer.

【図6】 そのプリンタにおける速度検出の原理を表す
説明図である。
FIG. 6 is an explanatory diagram showing the principle of speed detection in the printer.

【図7】 本実施の形態及び従来例の速度算出結果を表
す説明図である。
FIG. 7 is an explanatory diagram showing speed calculation results of the present embodiment and a conventional example.

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

12…印刷用紙 14…キャリッジ
18…CRモータ 20…印刷ヘッド 24…タイミングスリット
26…センサ素子 31…CR駆動回路 33…CR制御ブロック
35…クロック生成部 37…PWM周期タイマ 39…動作
モード設定レジスタ群 40…速度成分算出パラメータ設定レジスタ 41…速度制御開始位置設定レジスタ 42…減速
開始位置設定レジスタ 43…初期PWM値設定レジスタ 44…加速
係数設定レジスタ 45…目標速度設定レジスタ 46…微分
ゲイン設定レジスタ 47…積分ゲイン設定レジスタ 48…比例
ゲイン設定レジスタ 49…減速パラメータ設定レジスタ 50…逆転パルス
パラメータ設定レジスタ 51…ウェイト時間設定レジスタ 55…エン
コーダエッジ検出部 57…位置カウンタ 59…周期カウンタ
61…比較処理部 63,65…セレクタ 67…速度変換部
71…加速制御部 73…フィードバック演算処理部 80…減速制御部
81…加算器 83…比例ゲイン 85…加算器
91…積分器 93…積分ゲイン 95…微分器
97…微分ゲイン
12 ... Printing paper 14 ... Carriage
18 ... CR motor 20 ... print head 24 ... timing slit
26 ... Sensor element 31 ... CR drive circuit 33 ... CR control block
35 ... Clock generator 37 ... PWM cycle timer 39 ... Operation mode setting register group 40 ... Speed component calculation parameter setting register 41 ... Speed control start position setting register 42 ... Deceleration start position setting register 43 ... Initial PWM value setting register 44 ... Acceleration Coefficient setting register 45 ... Target speed setting register 46 ... Differential gain setting register 47 ... Integral gain setting register 48 ... Proportional gain setting register 49 ... Deceleration parameter setting register 50 ... Reverse pulse parameter setting register 51 ... Wait time setting register 55 ... Encoder edge Detection unit 57 ... Position counter 59 ... Cycle counter
61 ... Comparison processing unit 63, 65 ... Selector 67 ... Speed conversion unit
71 ... Acceleration control unit 73 ... Feedback calculation processing unit 80 ... Deceleration control unit 81 ... Adder 83 ... Proportional gain 85 ... Adder
91 ... Integrator 93 ... Integral gain 95 ... Differentiator
97 ... Differential gain

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 2C480 CA01 CA33 CA34 CA47 CB02 CB34 EA06 EA12 EA23 5H571 AA06 BB07 BB10 EE01 EE02 GG02 HA09 HB01 HC02 JJ03 JJ13 JJ17 JJ18 JJ22 JJ23 KK06 LL07 LL33    ─────────────────────────────────────────────────── ─── Continued front page    F-term (reference) 2C480 CA01 CA33 CA34 CA47 CB02                       CB34 EA06 EA12 EA23                 5H571 AA06 BB07 BB10 EE01 EE02                       GG02 HA09 HB01 HC02 JJ03                       JJ13 JJ17 JJ18 JJ22 JJ23                       KK06 LL07 LL33

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 直流モータにより駆動される駆動対象
と、 該駆動対象が所定量駆動される毎に信号を発生する信号
発生手段と、 該信号発生手段が発生する信号の時間間隔を測定するた
めの計時手段と、 上記駆動対象の速度成分を得るために用いる速度成分算
出パラメータを設定するための速度成分算出パラメータ
設定手段と、 該速度成分算出パラメータ設定手段により設定された速
度成分算出パラメータを上記計時手段にて得られた時間
間隔にて除算を行うことで、上記駆動対象の速度を算出
する速度算出手段と、 上記駆動対象の目標速度を設定する目標速度設定手段
と、 上記速度算出手段により算出された速度と上記目標速度
設定手段により設定された目標速度とを比較し、両者を
一致させるべく上記直流モータのフィードバック制御を
行うフィードバック制御手段と、 を備えた直流モータの速度制御装置であって、 所望する上記駆動対象の速度が小さい場合は、上記速度
成分算出パラメータを大きく設定すると共に、上記目標
速度も大きく設定することを特徴とする直流モータの速
度制御装置。
1. A drive target driven by a DC motor, a signal generating means for generating a signal each time the drive target is driven by a predetermined amount, and a time interval between signals generated by the signal generating means. And a speed component calculation parameter setting means for setting a speed component calculation parameter used to obtain the speed component of the drive target, and a speed component calculation parameter set by the speed component calculation parameter setting means By dividing by the time interval obtained by the time measuring means, a speed calculating means for calculating the speed of the driven object, a target speed setting means for setting the target speed of the driven object, and the speed calculating means. The calculated speed is compared with the target speed set by the target speed setting means, and feedback control of the DC motor is performed so as to match the two. A feedback control means for performing, and a direct current motor speed control device comprising: When the desired speed of the driven object is small, the speed component calculation parameter is set to be large, and the target speed is also set to be large. DC motor speed control device characterized by:
【請求項2】 上記速度成分算出パラメータと上記目標
速度とを大きくする比が同じであるように、上記速度成
分算出パラメータと上記目標速度とを設定することを特
徴とする請求項1記載の直流モータの速度制御装置。
2. The direct current according to claim 1, wherein the speed component calculation parameter and the target speed are set such that the ratios for increasing the speed component calculation parameter and the target speed are the same. Motor speed control device.
【請求項3】 上記駆動対象が、ヘッドを搭載したキャ
リッジであることを特徴とする請求項1または2記載の
直流モータの速度制御装置。
3. The speed control device for a DC motor according to claim 1, wherein the drive target is a carriage on which a head is mounted.
【請求項4】 上記信号発生手段が、上記キャリッジの
主走査方向への駆動に応じて上記信号を発生するリニア
エンコーダまたはロータリエンコーダであることを特徴
とする請求項3記載の直流モータの速度制御装置。
4. The speed control of a DC motor according to claim 3, wherein the signal generating means is a linear encoder or a rotary encoder that generates the signal in response to driving of the carriage in the main scanning direction. apparatus.
JP2002001494A 2002-01-08 2002-01-08 DC motor speed controller Expired - Fee Related JP3714253B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002001494A JP3714253B2 (en) 2002-01-08 2002-01-08 DC motor speed controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002001494A JP3714253B2 (en) 2002-01-08 2002-01-08 DC motor speed controller

Publications (2)

Publication Number Publication Date
JP2003204690A true JP2003204690A (en) 2003-07-18
JP3714253B2 JP3714253B2 (en) 2005-11-09

Family

ID=27641600

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002001494A Expired - Fee Related JP3714253B2 (en) 2002-01-08 2002-01-08 DC motor speed controller

Country Status (1)

Country Link
JP (1) JP3714253B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7208902B2 (en) 2005-07-07 2007-04-24 Ricoh Company, Ltd. Digital speed controlling apparatus, digital motor controlling apparatus, paper conveying apparatus, digital speed control method, program for making computer execute this method, computer-readable recording medium, and imaging forming apparatus
US7982424B2 (en) 2007-08-09 2011-07-19 Seiko Epson Corporation Document reading apparatus, document reading method, and program for reading document

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7208902B2 (en) 2005-07-07 2007-04-24 Ricoh Company, Ltd. Digital speed controlling apparatus, digital motor controlling apparatus, paper conveying apparatus, digital speed control method, program for making computer execute this method, computer-readable recording medium, and imaging forming apparatus
US7982424B2 (en) 2007-08-09 2011-07-19 Seiko Epson Corporation Document reading apparatus, document reading method, and program for reading document

Also Published As

Publication number Publication date
JP3714253B2 (en) 2005-11-09

Similar Documents

Publication Publication Date Title
US7712857B2 (en) Printing apparatus, printing method, program, storage medium, and computer system
US7679303B2 (en) Evaluation device and method for rotary drive, corrective manipulated variable setting device and method, control device and method, and program
US6812668B2 (en) Apparatus, method and program for controlling an electric motor
EP1408607A1 (en) Motor controller
JP3859115B2 (en) Printer motor control apparatus, control method, and recording medium recording control program
JP2003189651A (en) Decelerating control device for dc motor
JP3687606B2 (en) Motor control method and apparatus
US7230401B2 (en) Apparatus and method for controlling an electric motor
JPH11277808A (en) Timing pulse generator and printer
US7121749B2 (en) Device and method for carriage drive control
JP3832174B2 (en) Motor control device and control method
JP2003204690A (en) Speed controller for dc motor
JP3570617B2 (en) DC motor control device and control method
JP3780804B2 (en) Motor control device and control method
US20050195226A1 (en) Printer-control apparatus, printer-control method and printer
JP3757834B2 (en) Motor control device and printer
JP4362815B2 (en) Platen gap adjusting device, printing device, and motor control device
JP4026330B2 (en) Motor control method, motor control apparatus, printer, computer program, and computer system
JP3777936B2 (en) Motor control method and control apparatus
JP3690374B2 (en) Motor control method and motor control apparatus
JP2003023784A (en) Motor control method, motor control device, printer, computer program, and computer system
JP3818496B2 (en) Printer control apparatus and printer control method
JP4026331B2 (en) Motor driving method, motor driving apparatus, printer, computer program, and computer system
JP2001146054A (en) Recorder
JP2001186785A (en) Device and method for controlling motor and/or storage medium with recorded control program of motor

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040608

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040809

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: 20050802

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050815

R150 Certificate of patent or registration of utility model

Ref document number: 3714253

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20090902

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090902

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100902

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110902

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110902

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120902

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20130902

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees