JP2003348878A - Driving method of dc motor, paper feeding method, and paper feeding apparatus - Google Patents

Driving method of dc motor, paper feeding method, and paper feeding apparatus

Info

Publication number
JP2003348878A
JP2003348878A JP2002148215A JP2002148215A JP2003348878A JP 2003348878 A JP2003348878 A JP 2003348878A JP 2002148215 A JP2002148215 A JP 2002148215A JP 2002148215 A JP2002148215 A JP 2002148215A JP 2003348878 A JP2003348878 A JP 2003348878A
Authority
JP
Japan
Prior art keywords
driving force
motor
driving
position signal
digital
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
JP2002148215A
Other languages
Japanese (ja)
Inventor
Takuji Moto
拓司 本
Kenji Tanaka
賢治 田中
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.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP2002148215A priority Critical patent/JP2003348878A/en
Publication of JP2003348878A publication Critical patent/JP2003348878A/en
Pending legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To provide a driving method of a low-cost DC motor of a simple structure, together with a method and apparatus for feeding paper, capable of precisely stop at a target position with a digital position signal of an encoder having a resolution equal to a positioning resolution. <P>SOLUTION: A motor is supplied, or stopped, with first driving forces PWML5, PWML4 to PWML1 in which the driving force is sequentially reduced stepwise according to a position error from a target position YF, each time a digital position signal YFB is confirmed as the changes from a state L to a state H. Until the state L of the digital position signal YFP is confirmed to have changed to the state H after the first driving forces PWMLs are supplied, the first driving forces PWMLs are increased stepwise. The increase Dpw sequentially decreases stepwise with each driving force increment step according to a position error from the target position YF. <P>COPYRIGHT: (C)2004,JPO

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、直流電動機の回転
量を検出する検出器から出力されるデジタル位置信号に
基づき制御される直流電動機の駆動方法、用紙送り方
法、及び用紙送り装置に関するものであり、特に、目標
停止位置に対して精度よく用紙を停止することができる
直流電動機の駆動方法、用紙送り方法、及び用紙送り装
置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a DC motor driving method, a sheet feeding method, and a sheet feeding device which are controlled based on a digital position signal output from a detector for detecting a rotation amount of a DC motor. In particular, the present invention relates to a DC motor driving method, a sheet feeding method, and a sheet feeding device capable of stopping a sheet accurately with respect to a target stop position.

【0002】[0002]

【従来の技術】インクジェットプリンタ等のシリアルプ
リンタにおいては、1ラインの印字が終わる度に、印字
用紙を1ライン分送るためのラインフィードモータが用
いられる。このラインフィードモータとして、従来では
パルスモータが使用されていたが、近年では、直流電動
機(DCモータ)が使用される場合もある。
2. Description of the Related Art In a serial printer such as an ink jet printer, a line feed motor for feeding one line of printing paper every time printing of one line is completed is used. Conventionally, a pulse motor has been used as the line feed motor, but in recent years, a DC motor (DC motor) has been used in some cases.

【0003】ラインフィードモータにパルスモータでな
くDCモータを用いる場合、用紙送り位置を制御する方
法として、DCモータの回転量を検知できる光センサを
設置し、DCモータの回転量を制御する方法がある。具
体的には、DCモータが一定量回転する毎に光センサか
ら発信されたデジタル位置信号であるエンコーダパルス
をカウントすることによって、回転量を把握し、用紙送
り位置を制御している。
When a DC motor is used as the line feed motor instead of a pulse motor, there is a method of controlling the paper feed position by installing an optical sensor capable of detecting the rotation amount of the DC motor and controlling the rotation amount of the DC motor. . Specifically, every time the DC motor rotates by a certain amount, the encoder pulse which is a digital position signal transmitted from the optical sensor is counted, whereby the amount of rotation is grasped and the paper feeding position is controlled.

【0004】このようなエンコーダパルスを用いた位置
決め制御では、位置決め分解能と等しい分解能のエンコ
ーダでは、デジタル位置制御特有の課題である数パルス
の位置決め誤差が生じてしまう。そこで、停止位置の精
度を良くするために、位置決め分解能の数倍細かい分解
能のエンコーダが使用されている。
In the positioning control using such encoder pulses, a positioning error of several pulses, which is a problem peculiar to digital position control, occurs in an encoder having a resolution equal to the positioning resolution. Therefore, in order to improve the accuracy of the stop position, an encoder having a resolution several times smaller than the positioning resolution is used.

【0005】一方、位置決め分解能と等しい分解能のエ
ンコーダにて位置決め制御を行う方法として、上記エン
コーダとしてアナログ出力可能なエンコーダを用いた
り、位置をカウントするためのエンコーダとは別にアナ
ログ位置信号を得るためのポテンショメータ等を用意し
たりする等の方法がある。すなわち、エンコーダパルス
に波形整形する前のエンコーダのアナログ出力、或いは
ポテンショメータ等のアナログ出力を位置決め制御のフ
ィードバック信号に使用する方法である。
On the other hand, as a method of performing positioning control using an encoder having a resolution equal to the positioning resolution, an encoder capable of analog output is used as the encoder, or an analog position signal is obtained separately from an encoder for counting positions. There is a method of preparing a potentiometer or the like. That is, the analog output of the encoder before waveform shaping into an encoder pulse, or the analog output of a potentiometer or the like is used as a feedback signal for positioning control.

【0006】例えば、特公平7−44864号公報(公
告日平成7年(1995)年5月15日)においては、
エンコーダパルスに波形整形する前のエンコーダのアナ
ログ出力を位置決めに使用するPLL(Phase-looked l
oop )速度制御回路が開示されている。
For example, in Japanese Patent Publication No. Hei 7-44864 (publication date May 15, 1995),
PLL (Phase-looked l) that uses the analog output of the encoder before positioning the waveform to the encoder pulse
oop) A speed control circuit is disclosed.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、上記従
来の駆動方法、用紙送り方法、及び用紙送り装置では、
位置決め制御に用いられる機器又は制御回路が高価なも
のとなってしまうという問題が生ずる。
However, in the above-described conventional driving method, sheet feeding method, and sheet feeding apparatus,
A problem arises in that equipment or a control circuit used for positioning control becomes expensive.

【0008】例えば、エンコーダのデジタルパルスのみ
を用いた位置決め制御では、位置決め分解能が2400
DPI(Dots per inch)の位置決め制御をする場合に
おいては、分解能が12000DPIのエンコーダが使
用される。したがって、エンコーダが高価なものとなっ
てしまう。
For example, in the positioning control using only digital pulses of the encoder, the positioning resolution is 2400.
In the case of performing DPI (Dots per inch) positioning control, an encoder having a resolution of 12000 DPI is used. Therefore, the encoder becomes expensive.

【0009】一方、上記の公報におけるエンコーダのア
ナログ出力を用いた位置決め制御では、制御回路が複雑
であるため非常に高価なものとなってしまう。特に、他
のレーザプリンタ等と比較して廉価なシリアルプリンタ
においては、上記公報の制御回路は不適切であるといえ
る。
On the other hand, the positioning control using the analog output of the encoder described in the above publication is very expensive because the control circuit is complicated. In particular, it can be said that the control circuit disclosed in the above publication is inappropriate for a serial printer which is inexpensive compared to other laser printers and the like.

【0010】本発明は、上記従来の問題点に鑑みなされ
たものであって、その目的は、位置決め分解能と等しい
分解能のエンコーダ等の検出器によるデジタル位置信号
にて、目標停止位置に対して精度よく停止することがで
き、構造が簡単で廉価な直流電動機の駆動方法、用紙送
り方法、及び用紙送り装置を提供することにある。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned conventional problems, and has as its object to provide a digital position signal obtained by a detector such as an encoder having a resolution equal to the positioning resolution, so that the target stop position can be accurately determined. An object of the present invention is to provide a DC motor driving method, a sheet feeding method, and a sheet feeding device which can be stopped well, have a simple structure and are inexpensive.

【0011】[0011]

【課題を解決するための手段】本発明の直流電動機の駆
動方法は、上記課題を解決するために、直流電動機の回
転量を検出する検出器から出力されるデジタル位置信号
に基づき制御される直流電動機の駆動方法において、上
記デジタル位置信号が変化するのを確認する信号確認ス
テップと、上記デジタル位置信号が所定変化するのを確
認する毎に、直流電動機に対して、目標位置との位置誤
差に応じて逐次段階的に駆動力を減少させた各第1の駆
動力を付与するか、又は駆動を停止させる駆動力減少ス
テップと、上記の各第1の駆動力を付与した後、デジタ
ル位置信号が所定変化するのを確認するまでの各間で
は、上記各第1の駆動力に対してそれぞれ段階的に駆動
力を増加させる駆動力増加ステップとを含むことを特徴
としている。
SUMMARY OF THE INVENTION In order to solve the above-mentioned problems, a method of driving a DC motor according to the present invention is directed to a DC motor controlled based on a digital position signal output from a detector for detecting a rotation amount of the DC motor. In the motor driving method, a signal confirmation step of confirming that the digital position signal changes, and each time the digital position signal is confirmed to change by a predetermined amount, the DC motor has a position error from a target position. A step of applying each first driving force whose driving force is reduced step by step, or a step of decreasing the driving force to stop driving, and applying each of the first driving forces described above to obtain a digital position signal. The driving force increasing step of increasing the driving force in a stepwise manner with respect to each of the first driving forces is performed between each time until the predetermined change is confirmed.

【0012】上記の発明によれば、駆動力減少ステップ
では、デジタル位置信号が所定変化するのを確認する毎
に、直流電動機に対して、目標位置との位置誤差に応じ
て逐次段階的に駆動力を減少させた各第1の駆動力を付
与するか、又は駆動を停止させる。
According to the invention, in the driving force decreasing step, each time the digital position signal is confirmed to change by a predetermined amount, the DC motor is sequentially driven stepwise according to the position error from the target position. The first driving force with reduced force is applied or the driving is stopped.

【0013】したがって、デジタル位置信号の所定変化
により直流電動機の回転量を検知し、現在の回転量が検
知されると目標位置との位置誤差に応じて逐次段階的に
第1の駆動力を減少させて、該第1の駆動力を低下させ
ることができる。
Accordingly, the rotation amount of the DC motor is detected based on a predetermined change in the digital position signal, and when the current rotation amount is detected, the first driving force is reduced stepwise in accordance with a position error from the target position. Thus, the first driving force can be reduced.

【0014】また、各第1の駆動力を付与した後、デジ
タル位置信号が所定変化するのを確認するまでの各間で
は、駆動力増加ステップとして、上記各第1の駆動力に
対してそれぞれ段階的に駆動力を増加させる。
After each first driving force is applied and before the digital position signal is confirmed to change by a predetermined amount, a driving force increasing step is performed for each of the first driving forces. The driving force is increased stepwise.

【0015】したがって、各第1の駆動力に対してそれ
ぞれ段階的に駆動力を増加させることによって、速やか
に目標位置に接近し、かつ、目標位置近傍では負荷トル
クに打ち勝つ必要最低限のトルクで駆動できる。
Therefore, by gradually increasing the driving force with respect to each of the first driving forces, the target position can be quickly approached, and in the vicinity of the target position, the load torque can be overcome with the minimum necessary torque. Can be driven.

【0016】これにより、目標位置に対して、目標位置
との位置誤差に応じて逐次段階的に駆動力を減少させた
各第1の駆動力を付与し、直流電動機の位置誤差に応じ
て第1の駆動力を付与し、目標位置近傍では負荷トルク
に打ち勝つ必要最低限のトルクで駆動でき、負荷トルク
のばらつきや変動、及び直流電動機のバラツキや変動を
吸収し、スピードオーバーすることなく目標位置に近づ
くことができる。その結果、直流電動機のオーバーラン
が均一化され、スピードオーバーによる過度のオーバー
ランに伴う停止位置変動が防止される。
Thus, the first driving force whose driving force is reduced step by step in accordance with the position error from the target position is applied to the target position, and the first driving force is reduced in accordance with the position error of the DC motor. In the vicinity of the target position, it can be driven with the minimum necessary torque that overcomes the load torque, absorbs variations and fluctuations in load torque, and variations and fluctuations of the DC motor, and achieves the target position without speeding up. Can be approached. As a result, the overrun of the DC motor is made uniform, and the stop position variation due to excessive overrun due to speed over is prevented.

【0017】また、これにより、エンコーダ等の検出器
としては、構造が複雑で高価なアブソリュートエンコー
ダ及びアナログ位置信号を用いる必要がなく、シンプル
で廉価なデジタルパルス出力のインクリメンタルエンコ
ーダを用いることができる。
[0017] Thus, as a detector such as an encoder, it is not necessary to use an expensive absolute encoder and an analog position signal having a complicated structure, and a simple and inexpensive incremental encoder with digital pulse output can be used.

【0018】この結果、位置決め分解能と等しい分解能
のエンコーダ等の検出器によるデジタル位置信号にて、
目標停止位置に対して精度よく停止することができ、構
造が簡単で廉価な直流電動機の駆動方法を提供すること
ができる。
As a result, a digital position signal from a detector such as an encoder having a resolution equal to the positioning resolution is obtained by
It is possible to provide an inexpensive method of driving a DC motor that can stop accurately at a target stop position, has a simple structure, and is inexpensive.

【0019】また、本発明の直流電動機の駆動方法は、
上記課題を解決するために、直流電動機の回転量を検出
する検出器から出力されるデジタル位置信号に基づき制
御される直流電動機の駆動方法において、上記デジタル
位置信号が変化するのを確認する信号確認ステップと、
上記デジタル位置信号が所定変化するのを確認する毎
に、直流電動機に対して、逐次段階的に駆動力を減少さ
せた各第1の駆動力を付与するか、又は駆動を停止させ
る駆動力減少ステップと、上記の各第1の駆動力を付与
した後、デジタル位置信号が所定変化するのを確認する
までの各間では、上記各第1の駆動力に対してそれぞれ
段階的に駆動力を増加させる各駆動力増加ステップとを
含むとともに、上記各駆動力増加ステップの駆動力増加
分は、目標位置との位置誤差に応じて各駆動力増加ステ
ップ毎に逐次段階的に減少したものとなっていることを
特徴としている。
Further, the method for driving a DC motor according to the present invention comprises:
In order to solve the above problems, in a method of driving a DC motor controlled based on a digital position signal output from a detector that detects a rotation amount of the DC motor, a signal check for confirming that the digital position signal changes is performed. Steps and
Each time the digital position signal is confirmed to change by a predetermined amount, the first driving force whose driving force has been gradually reduced is applied to the DC motor, or the driving force is reduced to stop driving. After the step and each of the first driving forces, the driving force is applied in a stepwise manner to each of the first driving forces during a period until the digital position signal is confirmed to change by a predetermined amount. Drive power increasing step to increase, and the drive power increase in each of the drive power increase steps decreases step by step in each drive power increase step in accordance with a position error from a target position. It is characterized by having.

【0020】上記の発明によれば、駆動力減少ステップ
では、逐次段階的に駆動力を減少させた各第1の駆動力
を付与するか、又は駆動を停止させる。
According to the above invention, in the driving force decreasing step, the first driving force whose driving force has been sequentially reduced is applied or the driving is stopped.

【0021】したがって、デジタル位置信号の所定変化
により直流電動機の回転量を検知し、現在の回転量が検
知されると逐次段階的に第1の駆動力を減少させて、該
第1の駆動力を低下させることができる。
Therefore, the amount of rotation of the DC motor is detected based on a predetermined change in the digital position signal, and when the current amount of rotation is detected, the first driving force is reduced step by step so that the first driving force is reduced. Can be reduced.

【0022】また、各第1の駆動力を付与した後、デジ
タル位置信号が所定変化するのを確認するまでの各間で
は、駆動力増加ステップとして、上記各第1の駆動力に
対してそれぞれ段階的に駆動力を増加させる。さらに、
各駆動力増加ステップの駆動力増加分は、目標位置との
位置誤差に応じて各駆動力増加ステップ毎に逐次段階的
に減少したものとなっている。
In addition, after each first driving force is applied, until each time the digital position signal is confirmed to change by a predetermined amount, a driving force increasing step is performed for each of the first driving forces. The driving force is increased stepwise. further,
The amount of increase in the driving force in each driving force increase step is reduced step by step in each driving force increase step in accordance with the position error from the target position.

【0023】したがって、各第1の駆動力に対してそれ
ぞれ目標位置との位置誤差に応じて段階的に駆動力を増
加させることによって、位置誤差が大きいときは駆動力
増加分を大きくすることにより速やかに目標位置に接近
し、かつ目標位置近傍では高分解能で増加させることに
より負荷トルクに打ち勝つ必要最低限のトルクで駆動で
きる。
Therefore, by increasing the driving force stepwise according to the position error with respect to the target position for each of the first driving forces, by increasing the driving force when the position error is large, By approaching the target position promptly and increasing the resolution near the target position with high resolution, it is possible to drive with the minimum necessary torque to overcome the load torque.

【0024】これにより、目標位置に対して逐次段階的
に駆動力を減少させた各第1の駆動力を付与し、目標位
置近傍では負荷トルクに打ち勝つべく目標位置との位置
誤差に応じた必要最低限のトルクで駆動でき、負荷トル
クのばらつきや変動、及び直流電動機のバラツキや変動
を吸収し、スピードオーバーすることなく目標位置に近
づくことができる。その結果、直流電動機のオーバーラ
ンが均一化され、スピードオーバーによる過度のオーバ
ーランに伴う停止位置変動が防止される。
In this way, the first driving force whose driving force is reduced step by step is applied to the target position, and in the vicinity of the target position, it is necessary to respond to the position error with respect to the target position in order to overcome the load torque. It can be driven with a minimum torque, and can absorb variations and fluctuations in load torque, and variations and fluctuations in the DC motor, and can approach the target position without speeding up. As a result, the overrun of the DC motor is made uniform, and the stop position variation due to excessive overrun due to speed over is prevented.

【0025】また、これにより、エンコーダ等の検出器
としては、構造が複雑で高価なアブソリュートエンコー
ダ及びアナログ位置信号を用いる必要がなく、シンプル
で廉価なデジタルパルス出力のインクリメンタルエンコ
ーダを用いることができる。
[0025] Thus, as a detector such as an encoder, it is not necessary to use an expensive absolute encoder and an analog position signal having a complicated structure, and a simple and inexpensive incremental encoder with digital pulse output can be used.

【0026】この結果、位置決め分解能と等しい分解能
のエンコーダ等の検出器によるデジタル位置信号にて、
目標停止位置に対して精度よく停止することができ、構
造が簡単で廉価な直流電動機の駆動方法を提供すること
ができる。
As a result, a digital position signal from a detector such as an encoder having the same resolution as the positioning resolution
It is possible to provide an inexpensive method of driving a DC motor that can stop accurately at a target stop position, has a simple structure, and is inexpensive.

【0027】また、本発明の直流電動機の駆動方法は、
上記課題を解決するために、直流電動機の回転量を検出
する検出器から出力されるデジタル位置信号に基づき制
御される直流電動機の駆動方法において、上記デジタル
位置信号が変化するのを確認する信号確認ステップと、
上記デジタル位置信号が所定変化するのを確認する毎
に、直流電動機に対して、目標位置との位置誤差に応じ
て逐次段階的に駆動力を減少させた各第1の駆動力を付
与するか、又は駆動を停止させる駆動力減少ステップ
と、上記の各第1の駆動力を付与した後、デジタル位置
信号が所定変化するのを確認するまでの各間では、上記
各第1の駆動力に対してそれぞれ段階的に駆動力を増加
させる各駆動力増加ステップとを含むとともに、上記各
駆動力増加ステップの駆動力増加分は、目標位置との位
置誤差に応じて各駆動力増加ステップ毎に逐次段階的に
減少したものとなっていることを特徴としている。
Further, the method for driving a DC motor according to the present invention comprises:
In order to solve the above problems, in a method of driving a DC motor controlled based on a digital position signal output from a detector that detects a rotation amount of the DC motor, a signal check for confirming that the digital position signal changes is performed. Steps and
Each time that the digital position signal is confirmed to change by a predetermined amount, whether or not to apply each first driving force to the DC motor in which the driving force is reduced stepwise in accordance with the position error from the target position. Or between the driving force decreasing step of stopping the driving and the first driving force after the first driving force is applied, until the digital position signal is confirmed to change by a predetermined amount. Each driving force increasing step of increasing the driving force in a stepwise manner, and the driving force increasing amount of each driving force increasing step is determined for each driving force increasing step in accordance with a position error from a target position. It is characterized in that it is gradually reduced.

【0028】上記の発明によれば、駆動力減少ステップ
では、デジタル位置信号が所定変化するのを確認する毎
に、直流電動機に対して、目標位置との位置誤差に応じ
て逐次段階的に駆動力を減少させた各第1の駆動力を付
与するか、又は駆動を停止させる。
According to the invention described above, in the driving force decreasing step, each time the digital position signal is confirmed to change by a predetermined amount, the DC motor is sequentially driven in a stepwise manner in accordance with the position error from the target position. The first driving force with reduced force is applied or the driving is stopped.

【0029】したがって、デジタル位置信号の所定変化
により直流電動機の回転量を検知し、現在の回転量が検
知されると目標位置との位置誤差に応じて逐次段階的に
第1の駆動力を減少させて、該第1の駆動力を低下させ
ることができる。
Therefore, the rotation amount of the DC motor is detected based on a predetermined change in the digital position signal, and when the current rotation amount is detected, the first driving force is reduced stepwise in accordance with the position error from the target position. Thus, the first driving force can be reduced.

【0030】また、各第1の駆動力を付与した後、デジ
タル位置信号が所定変化するのを確認するまでの各間で
は、駆動力増加ステップとして、上記各第1の駆動力に
対してそれぞれ段階的に駆動力を増加させる。さらに、
各駆動力増加ステップの駆動力増加分は、目標位置との
位置誤差に応じて各駆動力増加ステップ毎に逐次段階的
に減少したものとなっている。
After each first driving force is applied and before the digital position signal is confirmed to change by a predetermined amount, a driving force increasing step is performed for each of the first driving forces. The driving force is increased stepwise. further,
The amount of increase in the driving force in each driving force increase step is reduced step by step in each driving force increase step in accordance with the position error from the target position.

【0031】したがって、各第1の駆動力に対してそれ
ぞれ目標位置との位置誤差に応じて段階的に駆動力を増
加させることによって、位置誤差が大きいときは駆動力
増加分を大きくすることにより速やかに目標位置に接近
し、かつ目標位置近傍では高分解能で増加させることに
より負荷トルクに打ち勝つ必要最低限のトルクで駆動で
きる。
Therefore, by increasing the driving force stepwise in accordance with the position error from the target position with respect to each of the first driving forces, when the position error is large, the amount of increase in the driving force is increased. By approaching the target position promptly and increasing the resolution near the target position with high resolution, it is possible to drive with the minimum necessary torque to overcome the load torque.

【0032】これにより、目標位置に対して、目標位置
との位置誤差に応じて逐次段階的に駆動力を減少させた
各第1の駆動力を付与し、目標位置近傍では負荷トルク
に打ち勝つべく目標位置との位置誤差に応じた必要最低
限のトルクで駆動でき、負荷トルクのばらつきや変動、
及び直流電動機のバラツキや変動を吸収し、スピードオ
ーバーすることなく目標位置に近づくことができる。そ
の結果、直流電動機のオーバーランが均一化され、スピ
ードオーバーによる過度のオーバーランに伴う停止位置
変動が防止される。
In this manner, the first driving force whose driving force is reduced step by step in accordance with the position error from the target position is applied to the target position, and the load torque is overcome in the vicinity of the target position. It can be driven with the minimum necessary torque according to the position error from the target position,
In addition, variations and fluctuations of the DC motor can be absorbed, and the target position can be approached without speeding up. As a result, the overrun of the DC motor is made uniform, and the stop position variation due to excessive overrun due to speed over is prevented.

【0033】また、これにより、エンコーダ等の検出器
としては、構造が複雑で高価なアブソリュートエンコー
ダ及びアナログ位置信号を用いる必要がなく、シンプル
で廉価なデジタルパルス出力のインクリメンタルエンコ
ーダを用いることができる。
Further, as a detector such as an encoder, it is not necessary to use an expensive absolute encoder and an analog position signal having a complicated structure, and a simple and inexpensive incremental encoder with digital pulse output can be used.

【0034】この結果、位置決め分解能と等しい分解能
のエンコーダ等の検出器によるデジタル位置信号にて、
目標停止位置に対して精度よく停止することができ、構
造が簡単で廉価な直流電動機の駆動方法を提供すること
ができる。
As a result, the digital position signal obtained by a detector such as an encoder having the same resolution as the positioning resolution
It is possible to provide an inexpensive method of driving a DC motor that can stop accurately at a target stop position, has a simple structure, and is inexpensive.

【0035】また、本発明の用紙送り方法は、上記課題
を解決するために、用紙送りを停止させる場合に、上記
記載の直流電動機の駆動方法を用いることを特徴として
いる。
Further, in order to solve the above problems, the paper feeding method of the present invention is characterized in that the above-described DC motor driving method is used when paper feeding is stopped.

【0036】上記の発明によれば、用紙の停止位置を確
定する際に、負荷トルクに打ち勝つ必要最低限のトルク
で駆動でき、スピードオーバーすることなく目標位置で
停止することができる。また、デジタル位置信号の変化
を検知した以降のオーバーランの量(1パルス以内)が
均一化され、スピードオーバーによる過度のオーバーラ
ンに伴う停止位置変動が均一的に防止され精確な用紙送
りが可能となる。
According to the above-described invention, when the stop position of the sheet is determined, the sheet can be driven with the minimum necessary torque to overcome the load torque, and the sheet can be stopped at the target position without overspeeding. In addition, the amount of overrun (within one pulse) after detecting the change in the digital position signal is made uniform, and the stop position fluctuation due to excessive overrun due to speed over is uniformly prevented, enabling accurate paper feeding. Become.

【0037】したがって、位置決め分解能と等しい分解
能のエンコーダ等の検出器によるデジタル位置信号に
て、目標停止位置に対して精度よく停止することがで
き、構造が簡単で廉価な用紙送り方法を提供することが
できる。
Therefore, it is possible to accurately stop at the target stop position with a digital position signal from a detector such as an encoder having a resolution equal to the positioning resolution, and to provide a simple and inexpensive paper feeding method. it can.

【0038】また、本発明の用紙送り方法は、上記記載
の用紙送り方法において、用紙送りを停止させた後に、
用紙停止位置を保持させる停止位置保持ステップをさら
に含むことを特徴としている。
Further, according to the paper feeding method of the present invention, in the above-described paper feeding method, after stopping the paper feeding,
A stop position holding step for holding the sheet stop position is further included.

【0039】上記の発明によれば、用紙送りを停止させ
た後に、用紙停止位置を保持させる停止位置保持ステッ
プをさらに含んでいる。
According to the above-mentioned invention, the method further includes a stop position holding step of holding the sheet stop position after stopping the sheet feeding.

【0040】したがって、保持駆動力、ブレーキ、ウォ
ームギヤ等の保持手段により、用紙に働くバックテンシ
ョン等で用紙が動いてしまうことを防止できる。
Therefore, the holding means such as the holding driving force, the brake, and the worm gear can prevent the paper from moving due to the back tension acting on the paper.

【0041】また、本発明の用紙送り方法は、上記記載
の用紙送り方法において、用紙送りを停止させた後に、
前記第1の駆動力よりも小さい第2の駆動力を付与する
ことにより用紙送り位置を保持させる停止位置保持ステ
ップを含むことを特徴としている。
Further, according to the sheet feeding method of the present invention, in the above-described sheet feeding method, after stopping the sheet feeding,
The method further includes a stop position holding step of holding the sheet feeding position by applying a second driving force smaller than the first driving force.

【0042】上記の発明によれば、用紙送りを停止させ
た後に、前記第1の駆動力よりも小さい第2の駆動力を
付与することにより用紙送り位置を保持させる停止位置
保持ステップを含んでいる。
According to the above-mentioned invention, a stop position holding step of holding the sheet feeding position by applying a second driving force smaller than the first driving force after stopping the sheet feeding is included.

【0043】したがって、ブレーキ、ウォームギヤ等の
保持手段がなくても、用紙に働くバックテンション等で
用紙が動いてしまうことを防止できる。つまり、第2の
駆動力は、第1の駆動力よりも小さい駆動力であって、
第2の駆動力によって直流電動機に掛かる駆動トルク
は、駆動機構の摩擦等によって直流電動機に掛かる負荷
トルクよりも小さいものである。
Therefore, even if there is no holding means such as a brake and a worm gear, it is possible to prevent the paper from moving due to the back tension acting on the paper. That is, the second driving force is a driving force smaller than the first driving force,
The driving torque applied to the DC motor by the second driving force is smaller than the load torque applied to the DC motor by friction of the driving mechanism or the like.

【0044】さらに、用紙を停止させるためのブレー
キ、ウォームギヤ等の保持機構が必要なくなることか
ら、用紙を送るための駆動源に働く負荷トルクがさらに
減少する。
Further, since a holding mechanism such as a brake and a worm gear for stopping the sheet is not required, the load torque acting on the driving source for feeding the sheet is further reduced.

【0045】また、本発明の用紙送り装置は、上記課題
を解決するために、上記記載の用紙送り方法を用いたこ
とを特徴としている。
Further, a sheet feeding apparatus according to the present invention is characterized by using the above-described sheet feeding method in order to solve the above problems.

【0046】上記の発明によれば、用紙送り装置は、上
記記載の用紙送り方法を用いている。したがって、位置
決め分解能と等しい分解能のエンコーダ等の検出器によ
るデジタル位置信号にて、目標停止位置に対して精度よ
く停止することができ、構造が簡単で廉価な用紙送り装
置を提供することができる。
According to the above-mentioned invention, the paper feeding device uses the above-described paper feeding method. Therefore, it is possible to accurately stop at the target stop position by a digital position signal from a detector such as an encoder having the same resolution as the positioning resolution, and to provide an inexpensive sheet feeder with a simple structure.

【0047】[0047]

【発明の実施の形態】本発明の実施の一形態について図
1ないし図11に基づいて説明すれば、以下の通りであ
る。なお、本実施の形態では、本発明の直流電動機の駆
動方法、用紙送り方法、及び用紙送り装置が適用される
インクジェットプリンタ等のシリアルプリンタについて
説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to FIGS. In this embodiment, a method for driving a DC motor, a paper feeding method, and a serial printer such as an inkjet printer to which a paper feeding device is applied according to the present invention will be described.

【0048】本実施の形態におけるインクジェットプリ
ンタ等のシリアルプリンタにおいては、1ラインの印字
が終わる度に、印字用紙を1ライン分送るためのライン
フィードモータを用いている。そして、このラインフィ
ードモータとして、直流電動機(DCモータ)を使用し
ている。
In a serial printer such as an ink jet printer according to the present embodiment, a line feed motor is used for feeding one line of printing paper every time one line of printing is completed. A direct current motor (DC motor) is used as the line feed motor.

【0049】すなわち、本実施の形態の用紙送り装置1
0は、図2に示すように、MPU(Microprocessor Uni
t:マイクロプロセッサ)制御部1と、周辺機器の直流電
動機(以下、「モータ」と記載する。)2と、検出器3
と、周辺回路のモータ駆動回路4とから構成されてい
る。なお、この構成は、あくまで、本発明の一構成例を
示すものであり、本発明はこれに限定されるものではな
い。
That is, the sheet feeder 1 of the present embodiment
0 is an MPU (Microprocessor Uniform) as shown in FIG.
t: a microprocessor) control unit 1, a DC motor (hereinafter referred to as “motor”) 2 of a peripheral device, and a detector 3
And a motor drive circuit 4 as a peripheral circuit. This configuration is merely an example of the configuration of the present invention, and the present invention is not limited to this configuration.

【0050】上記モータ2は、一行の印字を一字ずつ直
列に印字する方式のシリアルプリンタにおいて、印字用
紙を印字部にラインフィードで送るための駆動源であ
る。また、モータ駆動回路4は、モータ2を駆動させる
ための駆動回路である。
The motor 2 is a drive source for feeding printing paper to a printing section by line feed in a serial printer of a type in which printing of one line is performed in series one character at a time. The motor drive circuit 4 is a drive circuit for driving the motor 2.

【0051】検出器3は、モータ2の回転を検知できる
センサであり、例えば、図3に示すように、光学式ロー
タリーエンコーダ(RE:Rotary Encoder)にてなって
いる。上記検出器3は、図4(a)(b)(c)に示す
ように、モータ2が一定量回転する毎にデジタル位置信
号YFBであるエンコーダパルス(以下、単に「パル
ス」と記載する。)を発信する。パルスは、回転方向を
判別するために、90度位相のA相パルス及びB相パル
スが用意されている。これらA相パルス及びB相パルス
は、正回転の時にはA相パルスがB相パルスに対して位
相進み、逆回転の時にはA相パルスがB相パルスに対し
て位相遅れで出力される。また、検出器3から発信され
た各パルスはMPU制御部1に入力される。
The detector 3 is a sensor capable of detecting the rotation of the motor 2, and is, for example, an optical rotary encoder (RE) as shown in FIG. As shown in FIGS. 4A, 4B, and 4C, the detector 3 is an encoder pulse (hereinafter, simply referred to as a “pulse”) that is a digital position signal YFB every time the motor 2 rotates a predetermined amount. ). As the pulse, an A-phase pulse and a B-phase pulse having a 90-degree phase are prepared to determine the rotation direction. In the A-phase pulse and the B-phase pulse, the A-phase pulse is output with a phase advance with respect to the B-phase pulse when the rotation is normal, and the A-phase pulse is output with a phase delay with respect to the B-phase pulse when the rotation is reverse. Each pulse transmitted from the detector 3 is input to the MPU control unit 1.

【0052】MPU制御部1では、A相パルス及びB相
パルスの位相により回転方向を判別し、回転方向に応じ
てカウントをアップダウンすることによってモータ2の
回転量を把握し、後述する制御に基づいてモータ駆動回
路4へモータ2を駆動させるように信号を送信する。
The MPU control unit 1 determines the rotation direction based on the phases of the A-phase pulse and the B-phase pulse, grasps the rotation amount of the motor 2 by counting up and down according to the rotation direction, and performs control to be described later. Then, a signal is transmitted to the motor drive circuit 4 to drive the motor 2 based on the signal.

【0053】次に、1ライン分の用紙送りが1回実施さ
れるまでのモータ2の回転速度の変化について、図5に
基づいて説明する。なお、同図において、YA、YB、
YC、YD、YE、及びYFは、MPU制御部1がカウ
ントするパルスYの合計数を示している。また、一回分
の用紙送りが実行され停止するまでにMPU制御部1に
てカウントされるパルスの合計はYFである。
Next, a change in the rotation speed of the motor 2 until one line of paper is fed will be described with reference to FIG. It should be noted that YA, YB,
YC, YD, YE, and YF indicate the total number of pulses Y counted by the MPU control unit 1. The total number of pulses counted by the MPU control unit 1 until one sheet of paper is fed and stopped is YF.

【0054】同図に示すように、まず、パルスY=0
(YA)から用紙送りを開始し、それぞれのカウント値
YB・YC・YD・YEに応じてモータ速度を変化させ
る。具体的には、停止している用紙を動かし、そして定
められた地点に停止させるまでの動作においては3つの
区間に分けられる。すなわち、停止している用紙を動か
し始めて一定速度までに立ち上げる第1の区間、その一
定速度で用紙を送り続ける第2の区間、及び用紙の送り
速度を減少させ定められた地点に停止させる第3の区間
である。
As shown in the figure, first, a pulse Y = 0
Paper feed is started from (YA), and the motor speed is changed according to each count value YB, YC, YD, YE. Specifically, the operation of moving the stopped paper and stopping it at a predetermined point is divided into three sections. That is, a first section in which the stopped paper starts moving and rises to a certain speed, a second section in which the paper is continuously fed at the certain speed, and a second section in which the paper feeding speed is reduced and stopped at a predetermined point. This is section 3 of FIG.

【0055】上記3つの区間を、図5に対応させると、
第1の区間が0(YA)→YB→YCであり、第2の区
間がYC→YDであり、さらに、第3の区間がYD→Y
E→YFである。すなわち、モータ速度増加時が区間0
→YB→YCであり、モータ速度一定時が区間YC→Y
Dであり、また、モータ速度減少時が区間YD→YE→
YFである。
If the above three sections correspond to FIG. 5,
The first section is 0 (YA) → YB → YC, the second section is YC → YD, and the third section is YD → Y
E → YF. That is, when the motor speed is increased, the interval 0
→ YB → YC, and when the motor speed is constant, the section YC → Y
D, and when the motor speed decreases, the section YD → YE →
YF.

【0056】なお、第1の区間0(YA)→YB→YC
は、さらに、区間YA→YB及び区間YB→YCに分け
られ、区間YA→YBの傾きと区間YB→YCの傾きと
は異なっている。すなわち、同図に示すように、第2の
区間YC→YDに近い区間YB→YCの方が区間YA→
YBに比べて傾きが小さく緩やかになっている。これ
は、一定速度で用紙を送る状態に移行する際に、モータ
2の回転速度がオーバシュートするのを防止するためで
ある。
In the first section 0 (YA) → YB → YC
Is further divided into a section YA → YB and a section YB → YC, and the slope of the section YA → YB is different from the slope of the section YB → YC. That is, as shown in the figure, the section YB → YC which is closer to the second section YC → YD has the section YA →
The inclination is small and gentle compared to YB. This is to prevent the rotation speed of the motor 2 from overshooting when shifting to a state in which paper is fed at a constant speed.

【0057】また、本実施の形態の用紙送り方法は、第
3の区間YD→YE→YFも、区間YD→YE及び区間
YE→YFに分け、区間YE→YFは、同図に示すよう
に、小刻みにモータ速度を変化させている。この区間Y
E→YFは、用紙送りを停止させる際のモータ速度を表
したものである。
Further, in the sheet feeding method of the present embodiment, the third section YD → YE → YF is also divided into section YD → YE and section YE → YF. As shown in FIG. The motor speed is changing little by little. This section Y
E → YF indicates the motor speed when stopping the paper feed.

【0058】ここで、区間YE→YFにおけるパルス
Y、及びパルスYに対してモータ2に印加される駆動力
の変化について、図1(a)(b)に基づいて詳細に説
明する。
Here, the pulse Y in the section YE → YF and the change of the driving force applied to the motor 2 with respect to the pulse Y will be described in detail with reference to FIGS. 1 (a) and 1 (b).

【0059】まず、図1(b)は、区間YE→YFにお
ける時間に対するデジタル位置信号YFBのパルスYの
変化を示している。すなわち、デジタル位置信号YFB
は、モータ2の回転位置に応じてパルスYが“L”の状
態と状態“H”の状態とに分かれる。また、デジタル位
置信号YFBのパルスYの間隔が、次第に長くなるの
は、モータ2の回転速度が次第に小さくなるため、図3
に示すスリット円盤の回転速度も小さくなり、固定スリ
ットを通過する時間も長くなり、その結果、デジタル位
置信号YFBにおける各“L”の状態と状態“H”の状
態もそれぞれ長くなるためである。
First, FIG. 1B shows a change in the pulse Y of the digital position signal YFB with respect to time in the section YE → YF. That is, the digital position signal YFB
Is divided into a state where the pulse Y is "L" and a state where the pulse Y is "H" according to the rotational position of the motor 2. Further, the reason why the interval between the pulses Y of the digital position signal YFB becomes gradually longer is that the rotation speed of the motor 2 becomes gradually smaller.
The rotation speed of the slit disk shown in FIG. 4 also decreases, and the time required to pass through the fixed slit also increases. As a result, the state of each "L" and the state "H" of the digital position signal YFB also increase.

【0060】また、図1(a)は、区間YE→YFにお
けるモータ2に印加される駆動力の変化を示すものであ
り、横軸は、図1(b)の時間(カウント値y)に対応
している。また、この図1(a)の波形図は、図5にお
ける区間YE→YFの波形図を拡大したものを示してい
る。
FIG. 1A shows a change in the driving force applied to the motor 2 in the section YE → YF. The horizontal axis indicates the time (count value y) in FIG. 1B. Yes, it is. Further, the waveform diagram of FIG. 1A shows an enlarged waveform diagram of the section YE → YF in FIG.

【0061】本実施の形態では、図5に示すように、パ
ルスYのカウント値yがYEになった時点で、図1
(a)に示すように、モータ2に第1の駆動力PWML
を付与する。この第1の駆動力PWMLは、表1に示す
TBL1から、目標位置YFに対する現在位置yの位置
誤差ER=YF−yに応じて設定される。
In the present embodiment, as shown in FIG. 5, when the count value y of the pulse Y becomes YE,
As shown in (a), a first driving force PWML is applied to the motor 2.
Is given. The first driving force PWML is set according to the position error ER = YF-y of the current position y with respect to the target position YF from TBL1 shown in Table 1.

【0062】すなわち、最初は、大きさPWML5の第
1の駆動力PWMLがモータ2に付与される。次いで、
モータ2の回転量が区間YEの位置からずれて、デジタ
ル位置信号YFBが最初の状態“H”まできたときに
は、目標位置YFに対する現在位置yの位置誤差ER=
YF−yは、前回の値つまり距離よりも小さくなるの
で、表1に示すTBL1から、大きさPWML5よりも
減速した大きさPWML4の第1の駆動力PWMLが付
与される。このようにして、デジタル位置信号YFBが
状態“L”から状態“H”に変化する毎に、逐次、大き
さPWML5→大きさPWML4→大きさPWML3→
大きさPWML2→大きさPWML1のように次第に小
さい値の第1の駆動力PWMLが付与される。
That is, first, the first driving force PWML of the magnitude PWML5 is applied to the motor 2. Then
When the rotation amount of the motor 2 deviates from the position of the section YE and the digital position signal YFB reaches the initial state “H”, the position error ER of the current position y with respect to the target position YF =
Since YF-y becomes smaller than the previous value, that is, the distance, the first driving force PWML of the magnitude PWML4 decelerated from the magnitude PWML5 is applied from TBL1 shown in Table 1. In this way, every time the digital position signal YFB changes from the state “L” to the state “H”, the size PWML5 → the size PWML4 → the size PWML3 →
The first driving force PWML of a gradually smaller value such as the magnitude PWML2 → the magnitude PWML1 is applied.

【0063】[0063]

【表1】 [Table 1]

【0064】一方、本実施の形態では、各第1の駆動力
PWMLを付与した後、段階的に駆動力PWMを駆動力
増加分としての増加分dPWずつ増加させて駆動力を増
加させるようになっている。この駆動力PWMの増加分
dPWは、表2に示すように、位置誤差ERの減少に応
じて小さくなるように設定されている。
On the other hand, in the present embodiment, after each first driving force PWML is applied, the driving force PWM is increased stepwise by an increment dPW as the driving force increase so as to increase the driving force. Has become. As shown in Table 2, the increase dPW of the driving force PWM is set so as to become smaller as the position error ER decreases.

【0065】[0065]

【表2】 [Table 2]

【0066】このように、モータ2に与える駆動力PW
Mを段階的に増加させることによって、モータ2はデジ
タル位置信号YFBが次の状態“H”に変化するまで、
速度を徐々に高められながら駆動される。
As described above, the driving force PW applied to the motor 2
By incrementally increasing M, the motor 2 is driven until the digital position signal YFB changes to the next state “H”.
It is driven while the speed is gradually increased.

【0067】そして、前述したように、デジタル位置信
号YFBが、次の状態“L”から“H”に変化したのを
確認した後、モータ2に与える駆動力を再度減少させ、
モータ2の速度を低下させる。この時、位置誤差ERに
応じて駆動力PWM及び増加分dPWが設定されている
ので、位置誤差ERが大きい時は大きな値が付与され、
速やかに目標位置に接近することが可能となる。一方、
位置誤差ERが小さくなるに伴って付与する値を減じ
て、目標位置近傍では、モータ2は、該モータ2に働く
付加トルクにようやく打ち勝つだけの最小の駆動力にて
動いている。
Then, as described above, after confirming that the digital position signal YFB has changed from the next state “L” to “H”, the driving force applied to the motor 2 is reduced again.
The speed of the motor 2 is reduced. At this time, since the driving force PWM and the increase dPW are set according to the position error ER, a large value is given when the position error ER is large,
It is possible to quickly approach the target position. on the other hand,
As the position error ER decreases, the value to be applied is reduced, and near the target position, the motor 2 moves with the minimum driving force that can finally overcome the additional torque acting on the motor 2.

【0068】これにより、用紙の停止位置を確定する際
に、負荷トルクに打ち勝つ必要最低限のトルクで駆動す
ることができ、スピードオーバーすることなく目標位置
に近づくことができる。したがって、直流電動機のオー
バーランが均一化され、スピードオーバーによる過度の
オーバーランに伴う停止位置変動が防止される。
Thus, when the stop position of the sheet is determined, the sheet can be driven with the minimum torque required to overcome the load torque, and the target position can be approached without speeding up. Therefore, the overrun of the DC motor is made uniform, and the stop position fluctuation due to excessive overrun due to speed over is prevented.

【0069】また、一定時間毎に段階的に駆動力を増加
させているので、パルスYの変化を検知した以降のオー
バーランの量が均一的に防止され精確な位置制御が可能
となる。
Further, since the driving force is increased stepwise at regular time intervals, the amount of overrun after detecting the change in the pulse Y is uniformly prevented, and accurate position control becomes possible.

【0070】また、本実施の形態では、上記の駆動方法
にて用紙送りを停止させる際に、図1(a)に示すよう
に、複数回繰り返して目標の用紙送り位置に到達させ
る。これにより、用紙送りの停止位置へのアプローチが
より安定し、停止動作の再現性及び用紙送り精度が向上
する。
Further, in this embodiment, when stopping the sheet feeding by the above-described driving method, as shown in FIG. 1A, the sheet feeding is repeated a plurality of times to reach the target sheet feeding position. As a result, the approach to the paper feed stop position is more stable, and the reproducibility of the stop operation and the paper feed accuracy are improved.

【0071】なお、本実施の形態では、カウント値yが
YFになった時点、すなわち用紙送り停止位置に到達し
た時点において、モータ2に与える駆動力PWMを0に
しているが、必ずしもこれに限らず、モータ保持のため
の第2の駆動力としての最小駆動力PWMsを与えても
よい。つまり、最小駆動力PWMsは、モータ2に対し
て与える駆動トルクとして、バックテンション等に対し
て逆方向で駆動機構の摩擦等によってモータ2に掛かる
摺動負荷トルクよりも小さい駆動トルクを与える。
In the present embodiment, when the count value y reaches YF, that is, when the sheet feed stop position is reached, the driving force PWM applied to the motor 2 is set to 0, but the invention is not limited to this. Alternatively, the minimum driving force PWMs as the second driving force for holding the motor may be given. That is, the minimum driving force PWMs gives a driving torque smaller than a sliding load torque applied to the motor 2 due to friction of the driving mechanism in a direction opposite to the back tension or the like as a driving torque applied to the motor 2.

【0072】これにより、用紙に働くバックテンション
等で用紙が動いてしまうことを防止できる。さらに、用
紙を停止させるためのブレーキ、ウォームギヤ等の保持
機構が必要なくなるので、モータ2に働く負荷トルクが
減少する。
As a result, it is possible to prevent the paper from moving due to back tension or the like acting on the paper. Further, since a holding mechanism such as a brake and a worm gear for stopping the paper is not required, the load torque acting on the motor 2 is reduced.

【0073】上記構成の用紙送り装置10のMPU制御
部1における、用紙送りを開始してから目標位置に停止
させるまでの1ライン分のラインフィード制御動作につ
いて、図6〜図11のフローチャートに基づいて説明す
る。なお、図6〜図11のフローチャートは、あくま
で、本発明の一実施の形態を示すものであり、本発明は
これに限定されるものではない。また、図6がメインフ
ローチャートであり、図7〜図11は、図6に割り込ま
れるサブルーチンフローチャートである。なお、メイン
フローチャート中に示された、パルスYB・YC・YD
・YE・YFは、図5に示されたものに対応している。
A line feed control operation for one line from the start of sheet feeding to the stop at the target position in the MPU control section 1 of the sheet feeding apparatus 10 having the above configuration will be described with reference to the flowcharts of FIGS. I do. Note that the flowcharts in FIGS. 6 to 11 merely show one embodiment of the present invention, and the present invention is not limited to this. FIG. 6 is a main flowchart, and FIGS. 7 to 11 are subroutine flowcharts interrupted in FIG. Note that the pulses YB, YC, YD shown in the main flowchart
YE · YF corresponds to that shown in FIG.

【0074】まず、図6のメインフローチャートに示す
ように、パルスYのカウント値y=0(=YA)にリセ
ットし(S1)、図示しないタイマ1をスタートさせる
(S2)。なお、タイマ1とは、累積時間を図るための
タイマである。
First, as shown in the main flowchart of FIG. 6, the count value y of the pulse Y is reset to 0 (= YA) (S1), and a timer 1 (not shown) is started (S2). Note that the timer 1 is a timer for measuring the accumulated time.

【0075】次に、モータ2を正転に設定し(S3)、
パルスYのカウント値y=0における駆動力PWM
(0)を出力する(S4)。すなわち、駆動力PWM
(0)とはカウント値y=0における、予め定められた
起動力である。
Next, the motor 2 is set to normal rotation (S3).
Driving force PWM at count value y = 0 of pulse Y
(0) is output (S4). That is, the driving force PWM
(0) is a predetermined starting force at the count value y = 0.

【0076】次に、TBL(Table)3を選択する(S
5)。このTBL3は、表3に示すように、それぞれの
各カウント値yに対応した駆動力PWM(y)の値がテ
ーブルになっているものであり、モータ2の速度を図5
に示すパルスYのYAからYEまでの速度変化を与える
ように制御するための台形テーブルである。
Next, TBL (Table) 3 is selected (S
5). As shown in Table 3, the TBL3 is a table in which the values of the driving force PWM (y) corresponding to the respective count values y are in a table.
7 is a trapezoidal table for controlling so as to give a change in the speed of the pulse Y from YA to YE shown in FIG.

【0077】[0077]

【表3】 [Table 3]

【0078】次に、「YFB割込1」の割り込みを許可
する(S6)。そして、カウント値yがYCになるまで
は(S7)、検出器3のパルスYが入力される毎にYF
B割込1の制御が割り込まれる。このYFB割込1は、
パルスYが入力される毎に各カウント値yに応じた駆動
力PWM(y)に変更するものである。
Next, an interrupt of "YFB interrupt 1" is permitted (S6). Until the count value y reaches YC (S7), every time the pulse Y of the detector 3 is input, YF
The control of B interrupt 1 is interrupted. This YFB interrupt 1
Each time the pulse Y is input, the driving force is changed to the driving force PWM (y) corresponding to each count value y.

【0079】上記YFB割込1について、図7のサブル
ーチンフローチャートに基づいて説明する。
The YFB interrupt 1 will be described with reference to the subroutine flowchart of FIG.

【0080】まず、累積時間を示す前記図示しないタイ
マ1から時間T(n)を読み取り(S21)、パルスY
が変化したのを確認し、カウント値yを1つ更新する。
すなわち、カウント値y=y+1とする(S22)。
First, a time T (n) is read from the timer 1 (not shown) indicating the accumulated time (S21).
Is changed, and the count value y is updated by one.
That is, the count value is set to y = y + 1 (S22).

【0081】次いで、TBL3により、S22で定めら
れたカウント値yに応じた駆動力PWM(y)の値を読
み取る(S23)。なお、ここでは、モータ加速用の駆
動力PWM(y)が選択される。次いで、S23で求め
た駆動力PWM(y)をモータ駆動回路4に出力し、リ
ターンする。
Next, the value of the driving force PWM (y) corresponding to the count value y determined in S22 is read by TBL3 (S23). Here, the driving force PWM (y) for motor acceleration is selected. Next, the driving force PWM (y) obtained in S23 is output to the motor driving circuit 4, and the process returns.

【0082】次いで、図6のメインフローチャートに示
すように、S7においてモータ2の回転によってカウン
ト値yがYCになったのを確認すると、「YFB割込
1」を「YFB割込2」に変更される(S8)。これに
より、カウント値yがYDになるまでは(S9)、検出
器3のパルスYが入力される毎にYFB割込2が割り込
まれる。YFB割込2は、基本的にはパルスYが変化す
る毎に駆動力PWMを変更するものであるが、同時に、
区間YC→YD(図5参照)における用紙送り速度を一
定にするために駆動力PWMを変更するものでもある。
Next, as shown in the main flowchart of FIG. 6, when it is confirmed in step S7 that the count value y has become YC due to the rotation of the motor 2, "YFB interrupt 1" is changed to "YFB interrupt 2". Is performed (S8). Thus, until the count value y becomes YD (S9), the YFB interrupt 2 is interrupted every time the pulse Y of the detector 3 is input. The YFB interrupt 2 basically changes the driving force PWM every time the pulse Y changes.
The driving force PWM is also changed in order to keep the sheet feeding speed in the section YC → YD (see FIG. 5).

【0083】ここで、YFB割込2について、図8に示
すサブルーチンフローチャートに基づいて説明する。
Here, the YFB interrupt 2 will be described with reference to a subroutine flowchart shown in FIG.

【0084】まず、累積時間を示す図示しないタイマ1
にて時間T(n)を読み取り(S31)、パルスYが変
化したのを確認し、カウント値yを1つ更新する。すな
わち、カウント値y=y+1とする(S32)。
First, a timer 1 (not shown) indicating the accumulated time
Then, the time T (n) is read (S31), and it is confirmed that the pulse Y has changed, and the count value y is updated by one. That is, the count value is set to y = y + 1 (S32).

【0085】次いで、前回の割り込みにて読み取った時
間T(n−1)及びS31にて読み取ったT(n)の時
間間隔を算出する(S33)。すなわち、パルス間隔T
(n)−T(n−1)の値を算出する。なお、前回の割
り込みで読み取った時間T(n−1)とは、YFB割込
2に割り込むのが初回であれば、前回のYFB割込1の
S21において読み取られた時間T(n−1)であり、
YFB割込2に割り込むのが2回目以降であれば、前回
のYFB割込2のS31において読み取られた時間T
(n−1)である。
Next, the time interval between the time T (n-1) read at the previous interruption and the time T (n) read at S31 is calculated (S33). That is, the pulse interval T
Calculate the value of (n) -T (n-1). The time T (n-1) read in the previous interrupt is the time T (n-1) read in S21 of the previous YFB interrupt 1 if interrupting the YFB interrupt 2 is the first time. And
If it is the second time or later to interrupt the YFB interrupt 2, the time T read in S31 of the previous YFB interrupt 2
(N-1).

【0086】次いで、カウント値yに対応した目標累積
時間Tr(y)の値がテーブルになった図示しない速度
目標TBLを参照し、カウント値yに対応した目標時間
Tr(y)を検索する(S34)。そして、S34で検
索された目標時間Tr(y)と、S33で算出されたパ
ルス間隔T(n)−T(n−1)とから、速度エラーT
eを算出する(S35)。すなわち、速度エラーTe=
Tr(y)−{T(n)−T(n−1)}である。
Next, the value of the target cumulative time Tr (y) corresponding to the count value y is referred to a speed target TBL (not shown) in a table to search for the target time Tr (y) corresponding to the count value y ( S34). Then, based on the target time Tr (y) retrieved in S34 and the pulse interval T (n) -T (n-1) calculated in S33, the speed error T is obtained.
e is calculated (S35). That is, the speed error Te =
Tr (y)-{T (n) -T (n-1)}.

【0087】次いで、速度エラーTeに対応したPWM
(Te)の値がテーブルになった図示しない速度エラー
TBLを参照し、速度エラーTeに対応した駆動力PW
M(Te)を検索する(S36)。そして、速度エラー
Teに対応した駆動力PWM(Te)に出力を変更し
(S37)、リターンする。この処理は、パルスYが変
化するたびに速度エラーTeが算出され、速度エラーT
eに対応した駆動力PWM(Te)に変更される。
Next, the PWM corresponding to the speed error Te
The driving force PW corresponding to the speed error Te is referred to the speed error TBL (not shown) in which the value of (Te) is stored in a table.
M (Te) is searched (S36). Then, the output is changed to the driving force PWM (Te) corresponding to the speed error Te (S37), and the process returns. In this process, the speed error Te is calculated each time the pulse Y changes, and the speed error T
The driving force is changed to PWM (Te) corresponding to e.

【0088】次いで、図4のメインフローチャートに示
すように、S9において、モータ2の回転によってカウ
ント値yがYDになったのを確認すると、「YFB割込
2」を「YFB割込1」に変更する(S10)。
Next, as shown in the main flowchart of FIG. 4, in S9, when it is confirmed that the count value y has become YD due to the rotation of the motor 2, "YFB interrupt 2" is changed to "YFB interrupt 1". It is changed (S10).

【0089】そして、カウント値yがYEになるまで
は、検出器3のパルスYが変化するたびにYFB割込1
が割り込まれる(S11)。このときのYFB割込1
は、前述したように(図7参照)、パルスYが変化する
たびに各カウント値yに応じた駆動力PWM(y)に変
更するものであり、詳細説明は省略する。なお、前述し
たでは、YFB割込1は、区間YA→YCまでのモータ
2を加速する区間(図1参照)であったのに対して、区
間YD→YEは、モータ2を減速させる区間(図1参
照)である。したがって、YFB割込1は、モータ2の
加速及び減速のいずれにも対応可能である。
Until the count value y reaches YE, every time the pulse Y of the detector 3 changes, the YFB interrupt 1
Is interrupted (S11). YFB interrupt 1 at this time
As described above (see FIG. 7), each time the pulse Y changes, the driving force is changed to the driving force PWM (y) corresponding to each count value y, and the detailed description is omitted. In the above description, the YFB interrupt 1 is a section for accelerating the motor 2 from the section YA to YC (see FIG. 1), whereas the section YD → YE is a section for decelerating the motor 2 (see FIG. 1). FIG. 1). Therefore, the YFB interrupt 1 can respond to both acceleration and deceleration of the motor 2.

【0090】次いで、S11において、モータ2の回転
によってカウント値yがYEになったのを確認すると、
タイマ2割込回数NTM=0に設定する(S12)。タ
イマ2割込回数NTMとは、後述する「タイマ2割込」
の割り込み処理が行われた回数を示している。
Next, in S11, when it is confirmed that the count value y has become YE due to the rotation of the motor 2,
The timer 2 interrupt count NTM is set to 0 (S12). The timer 2 interrupt count NTM is a “timer 2 interrupt” described later.
Indicates the number of times the interrupt processing has been performed.

【0091】次いで、「YFB割込1」を「YFB割込
3」に変更する(S13)。これにより、カウント値y
がYFになるまでは、検出器3のパルスYが入力される
毎にYFB割込3が割り込まれる。このYFB割込3
は、基本的には、パルスYが入力される毎に駆動力PW
Mを第1の駆動力PWML(図1(a)参照)に変更
し、その後、スタートしたインターバルタイマ2(以
下、「タイマ2」と記載する。)をリセットし、タイマ
2を再スタートするものである。タイマ2は、駆動力P
WMを第1の駆動力PWMLに変更後、駆動系のトラブ
ル等により処理時間の上限をオーバーしたことを検知す
るためにパルスYが変化するまでの時間を管理するもの
である。
Next, "YFB interrupt 1" is changed to "YFB interrupt 3" (S13). Thereby, the count value y
Until becomes YF, the YFB interrupt 3 is interrupted every time the pulse Y of the detector 3 is input. This YFB interrupt 3
Is basically the driving force PW every time the pulse Y is input.
M is changed to the first driving force PWML (see FIG. 1A), and then the started interval timer 2 (hereinafter referred to as “timer 2”) is reset and the timer 2 is restarted. It is. Timer 2 has a driving force P
After the WM is changed to the first driving force PWML, the time until the pulse Y changes in order to detect that the upper limit of the processing time has been exceeded due to a drive system trouble or the like is managed.

【0092】上記YFB割込3について、図9に示すサ
ブルーチンフローチャートに基づいて詳述する。なお、
YFB割込3の説明は、説明の便宜上「タイマ2割込」
(図11参照)の説明後においても行う。
The above YFB interrupt 3 will be described in detail with reference to a subroutine flowchart shown in FIG. In addition,
The YFB interrupt 3 is described as “Timer 2 interrupt” for convenience of explanation.
This is also performed after the description of FIG. 11 (see FIG. 11).

【0093】まず、検出器3の割込みに対応して現在位
置yを更新するために+1だけインクリメントし(S4
1)、最終目標位置YFに対する位置誤差ER=Yf-
yを算出する(S42)。
First, in order to update the current position y in response to the interruption of the detector 3, the current position y is incremented by +1 (S4
1), position error ER = Yf− with respect to final target position YF
y is calculated (S42).

【0094】区間YE−YFの制御のために、表1に示
すTBL1及び表2に示すTBL2が用意されている。
For control of the section YE-YF, TBL1 shown in Table 1 and TBL2 shown in Table 2 are prepared.

【0095】したがって、位置誤差ERの値に応じた駆
動力PWMの初期値である第1の駆動力PWMLをTB
L1にて参照し(S43,S44)、段階的に増加させ
る際の位置誤差ERの値に応じた増加分dPWをTBL
2にて参照する(S45,S46)。
Therefore, the first driving force PWML, which is the initial value of the driving force PWM corresponding to the value of the position error ER, is set to TB
Reference is made to L1 (S43, S44), and the increment dPW corresponding to the value of the position error ER when increasing stepwise is set to TBL
Reference is made in step 2 (S45, S46).

【0096】そして、駆動力PWMが、第1の駆動力P
WMLに変更出力される(S47)。次いで、タイマ2
の再スタート処理(S48)とタイマ2割込回数NTM
=0のセットを行って(S49)、リターンする。な
お、上記S48及びS49は、2回目以降のYFB割込
3において意味をなす。
Then, the driving force PWM becomes the first driving force P
The output is changed to WML (S47). Then, timer 2
Restart processing (S48) and timer 2 interrupt count NTM
= 0 is set (S49), and the routine returns. Note that S48 and S49 make sense in the second and subsequent YFB interrupts 3.

【0097】次いで、図4のメインフローチャートに示
すように、タイマ2がスタートし(S14)、「タイマ
2割込」の割り込みが許可される(S15)。
Next, as shown in the main flowchart of FIG. 4, the timer 2 is started (S14), and the interruption of "timer 2 interrupt" is permitted (S15).

【0098】上記タイマ2割込(駆動力増加ステップ)
は、基本的には駆動力PWMを1ステップずつ上げてい
く制御を行う。すなわち、図1(a)に示すように、第
1の駆動力PWMLからPWMTまで上昇させる制御を
行っている。
Timer 2 interrupt (step for increasing driving force)
Basically controls to increase the driving force PWM step by step. That is, as shown in FIG. 1A, control is performed to increase the first driving force from PWML to PWMT.

【0099】上記のタイマ2割込について、図11に示
すサブルーチンフローチャートに基づいて説明する。
The above timer 2 interrupt will be described with reference to a subroutine flowchart shown in FIG.

【0100】まず、駆動力PWMが1ステップ上昇する
(S61)。すなわち、駆動力PWM=PWM+dPW
とする。次いで、「タイマ2割込」の割り込み処理が行
われた回数を示すタイマ2割込回数NTMを1つ更新す
る(S62)。すなわち、タイマ2割込回数NTM=N
TM+1とする。
First, the driving force PWM increases by one step (S61). That is, driving force PWM = PWM + dPW
And Next, the number of timer 2 interrupts NTM indicating the number of times the "timer 2 interrupt" interrupt processing has been performed is updated by one (S62). That is, the number of timer 2 interrupts NTM = N
Set to TM + 1.

【0101】次に、予め定められたタイマ2割込回数N
TMの上限値であるタイマ2上限値NMAXとタイマ2
割込回数NTMとを比較する(S63)。タイマ2割込
回数NTMがタイマ2上限値NMAXよりも小さけれ
ば、S61において設定された駆動力PWMに駆動力を
変更し、モータ駆動回路4に出力される(S64)。そ
して、S61からS64を繰り返していくうちに、パル
スYが変化する。すなわち、図1(b)に示す状態”
L”から状態”H”に変化する。また、状態“L”から
“H”への変化によってパルスYの入力が発生し、YF
B割込3の処理が開始される。
Next, a predetermined timer N interrupt count N
Timer 2 upper limit NMAX which is the upper limit of TM and timer 2
A comparison is made with the number of interrupts NTM (S63). If the timer 2 interrupt count NTM is smaller than the timer 2 upper limit NMAX, the driving force is changed to the driving force PWM set in S61 and output to the motor driving circuit 4 (S64). Then, while repeating steps S61 to S64, the pulse Y changes. That is, the state shown in FIG.
The state changes from “L” to state “H.” In addition, the change from the state “L” to “H” causes the input of the pulse Y and the YF.
The process of B interrupt 3 is started.

【0102】YFB割込3では、前述した図9に示すよ
うに、S41〜S47にて、モータ2への出力が第1の
駆動力PWMLに変更され、モータ2が停止される。そ
して、パルスYが変化したのを確認して(信号確認ステ
ップ)、カウント値yを1つ更新する。すなわち、カウ
ント値y=y+1とする。その後、S48では、メイン
フローチャートのS14でスタートしたタイマ2をリセ
ットし、タイマ2を再スタートする。また、S44で
は、「タイマ2割込」の割り込み処理が行われた回数を
示すタイマ2割込回数NTMをリセットする。すなわ
ち、タイマ2割込回数NTM=0とし、メインフローチ
ャートへリターンする。そして、図11のサブルーチン
フローチャートに示すタイマ2割込にて、S61からS
64が再度繰り返される。
In the YFB interrupt 3, as shown in FIG. 9, the output to the motor 2 is changed to the first driving force PWML in S41 to S47, and the motor 2 is stopped. Then, it is confirmed that the pulse Y has changed (signal confirmation step), and the count value y is updated by one. That is, the count value is set to y = y + 1. Thereafter, in S48, the timer 2 started in S14 of the main flowchart is reset, and the timer 2 is restarted. In step S44, the timer 2 interrupt count NTM indicating the number of times that the "timer 2 interrupt" interrupt process has been performed is reset. That is, the number of timer 2 interrupts NTM is set to 0, and the process returns to the main flowchart. Then, the timer 2 interrupt shown in the subroutine flowchart of FIG.
Step 64 is repeated again.

【0103】なお、S63において、タイマ2割込回数
NTMがタイマ2上限値NMAXを超えている場合は、
シリアルプリンタの図示しない表示手段に、用紙搬送動
作が誤動作の状態にあることを表示する(S65)。す
なわち、タイマ2割込回数NTMがタイマ2上限値NM
AXを超えているということは、S61からS64の処
理を、タイマ2上限値NMAXを超える回数行ってもパ
ルスYが変化しないということであり、何らかの異常が
発生してモータ2の回転が開始されていないことを示し
ている。例えば、紙詰まりやシリアルプリンタの機器が
引っ掛って、モータ2に大きな負荷トルクが掛かり、モ
ータ2が回転していない場合が挙げられる。
In S63, if the timer 2 interrupt count NTM exceeds the timer 2 upper limit NMAX,
The display means (not shown) of the serial printer indicates that the paper conveyance operation is in a malfunctioning state (S65). That is, the timer 2 interrupt count NTM is equal to the timer 2 upper limit value NM.
Exceeding AX means that the pulse Y does not change even if the processes from S61 to S64 are performed more times than the timer 2 upper limit value NMAX, and some abnormality occurs and the rotation of the motor 2 is started. Not indicate. For example, there may be a case where a paper jam or a device of a serial printer is caught, a large load torque is applied to the motor 2, and the motor 2 is not rotating.

【0104】この場合、モータ2が過電流により破損し
てしまうのを防止するために、モータ2の駆動を停止す
る(S66)。また、図示しない誤動作処理制御にジャ
ンプする(S67)。
In this case, the driving of the motor 2 is stopped to prevent the motor 2 from being damaged by an overcurrent (S66). Further, the process jumps to a malfunction process control (not shown) (S67).

【0105】一方、図6のメインフローチャートに示す
ように、S13からS15の処理によってカウント値y
がYFになったのを確認すると(S16)、モータ2が
停止位置に到達したとして、「タイマ2割込」の割り込
みを禁止する(S17)。次いで、停止位置保持ステッ
プでは、駆動力PWMを最小駆動力PWMsに設定する
(S18)。また、YFB割込3を、YFB割込4に変
更する(S19)。
On the other hand, as shown in the main flowchart of FIG. 6, the count value y is obtained by the processing from S13 to S15.
Is confirmed to be YF (S16), it is determined that the motor 2 has reached the stop position, and the interruption of the "timer 2 interrupt" is prohibited (S17). Next, in the stop position holding step, the driving force PWM is set to the minimum driving force PWMs (S18). Further, YFB interrupt 3 is changed to YFB interrupt 4 (S19).

【0106】上記YFB割込4は、用紙の所定の停止位
置に対して、例えばユーザが用紙を引っ張って、用紙が
動いてしまった等の異常な動作があった場合に対してな
されるものである。すなわち、カウント値yの値を監視
するものである。
The YFB interruption 4 is performed when an abnormal operation such as a user pulling the sheet and moving the sheet is performed at a predetermined stop position of the sheet. is there. That is, the value of the count value y is monitored.

【0107】詳細を、図10に示すサブルーチンフロー
チャートに基づいて説明する。
The details will be described with reference to a subroutine flowchart shown in FIG.

【0108】すなわち、YFB割込4は、ラインフィー
ド終了後において、動作の必要がないモータ2に何らか
の力が働いてパルスYが検出された場合の処理である。
この場合、何らかの異常により停止位置から動いたと判
断し、シリアルプリンタの図示しない表示手段に、駆動
系動作が誤動作の状態にあることを表示する(S5
1)。また、モータ2が過電流により破損してしまうの
を防止するために、モータ2の駆動を停止する(S5
2)。さらに、図示しない誤動作処理制御にジャンプす
る(S53)。
That is, the YFB interrupt 4 is a process in the case where some force acts on the motor 2 which does not need to operate and the pulse Y is detected after the end of the line feed.
In this case, it is determined that it has moved from the stop position due to some abnormality, and a display means (not shown) of the serial printer indicates that the drive system operation is in a malfunctioning state (S5).
1). Further, in order to prevent the motor 2 from being damaged by the overcurrent, the driving of the motor 2 is stopped (S5).
2). Further, the process jumps to a malfunction process control (not shown) (S53).

【0109】このように、本実施の形態の直流電動機の
駆動方法では、駆動力減少ステップでは、デジタル位置
信号YFBが状態Lから状態Hに変化するのをMPU制
御部1が確認する毎に、モータ2に対して、目標位置Y
Fとの位置誤差ERに応じて逐次段階的に駆動力を減少
させた各第1の駆動力PWML(PWML5、PWML
4、…、PWML1)を付与するか、又は駆動を停止さ
せる。
As described above, in the driving method of the DC motor according to the present embodiment, in the driving force decreasing step, every time the MPU control unit 1 confirms that the digital position signal YFB changes from the state L to the state H, With respect to the motor 2, the target position Y
The first driving force PWML (PWML5, PWML) in which the driving force is sequentially reduced in accordance with the position error ER with respect to F
4,..., PWML1) or drive is stopped.

【0110】したがって、デジタル位置信号YFBの状
態Lから状態Hに変化によりモータ2の回転量を検出器
3にて検知し、現在の回転量が検知されると目標位置Y
Fとの位置誤差ERに応じて逐次段階的に第1の駆動力
PWMLを減少させて、該第1の駆動力を低下させるこ
とができる。
Therefore, the rotation amount of the motor 2 is detected by the detector 3 based on the change of the digital position signal YFB from the state L to the state H, and when the current rotation amount is detected, the target position Y is detected.
The first driving force PWML can be reduced step by step in accordance with the position error ER from F to reduce the first driving force.

【0111】また、各第1の駆動力PWML(PWML
5、PWML4、…、PWML1)を付与した後、デジ
タル位置信号YFBが状態Lから状態Hに変化するのを
確認するまでの各間では、駆動力増加ステップとして、
各第1の駆動力PWML(PWML5、PWML4、
…、PWML1)に対してそれぞれ段階的に駆動力を増
加させる。さらに、各駆動力増加ステップの増加分dP
Wは、目標位置YFとの位置誤差ERに応じて各駆動力
増加ステップ毎に逐次段階的に減少したものとなってい
る。
Also, each first driving force PWML (PWML)
, PWML4,..., PWML1), until the digital position signal YFB changes from the state L to the state H, and as a driving force increasing step,
Each first driving force PWML (PWML5, PWML4,
.., PWML1), the driving force is increased stepwise. Furthermore, the increase dP of each driving force increase step
W gradually decreases step by step in each driving force increasing step according to the position error ER from the target position YF.

【0112】したがって、各第1の駆動力PWML(P
WML5、PWML4、…、PWML1)に対してそれ
ぞれ目標位置YFとの位置誤差ERに応じて段階的に駆
動力を増加させることによって、位置誤差ERが大きい
ときは増加分dPWを大きくすることにより速やかに目
標位置YFに接近し、かつ目標位置YFの近傍では高分
解能で増加させることにより負荷トルクに打ち勝つ必要
最低限のトルクで駆動できる。
Therefore, each first driving force PWML (P
(WML5, PWML4,..., PWML1) are increased stepwise according to the position error ER from the target position YF. When the position error ER is large, the increase dPW is increased. By approaching the target position YF and increasing the resolution with high resolution near the target position YF, it is possible to drive with the minimum necessary torque to overcome the load torque.

【0113】これにより、目標位置YFに対して、目標
位置YFとの位置誤差ERに応じて逐次段階的に駆動力
を減少させた各第1の駆動力PWML(PWML5、P
WML4、…、PWML1)を付与し、かつ目標位置Y
Fの近傍では負荷トルクに打ち勝つべく目標位置YFと
の位置誤差ERに応じた必要最低限のトルクで駆動で
き、負荷トルクのばらつきや変動、及びモータ2のバラ
ツキや変動を吸収し、スピードオーバーすることなく目
標位置に近づくことができる。その結果、モータ2のオ
ーバーランが均一化され、スピードオーバーによる過度
のオーバーランに伴う停止位置変動が防止される。
As a result, each of the first driving forces PWML (PWML5, PML5) whose driving force is reduced stepwise with respect to the target position YF in accordance with the position error ER from the target position YF.
WML4,..., PWML1) and the target position Y
In the vicinity of F, the motor can be driven with the minimum necessary torque corresponding to the position error ER from the target position YF to overcome the load torque, and absorbs variations and fluctuations of the load torque and variations and fluctuations of the motor 2 to speed up. The target position can be approached without the need. As a result, the overrun of the motor 2 is made uniform, and the stop position fluctuation due to excessive overrun due to speed over is prevented.

【0114】また、これにより、エンコーダ等の検出器
3としては、構造が複雑で高価なアブソリュートエンコ
ーダ及びアナログ位置信号を用いる必要がなく、シンプ
ルで廉価なデジタルパルス出力のインクリメンタルエン
コーダを用いることができる。
Further, as a result, as the detector 3 such as an encoder, it is not necessary to use an expensive absolute encoder having a complicated structure and an analog position signal, and a simple and inexpensive incremental encoder having a digital pulse output can be used. .

【0115】この結果、位置決め分解能と等しい分解能
のエンコーダ等の検出器3によるデジタル位置信号に
て、目標位置YFに対して精度よく停止することがで
き、構造が簡単で廉価なモータ2の駆動方法を提供する
ことができる。
As a result, a digital position signal from the detector 3 such as an encoder having the same resolution as the positioning resolution can be used to stop the target position YF with high accuracy, and a simple and inexpensive driving method for the motor 2 can be achieved. Can be provided.

【0116】また、本実施の形態の用紙送り方法は、用
紙送りを停止させる場合に、上記記載のモータ2の駆動
方法を用いる。
Further, in the paper feeding method of the present embodiment, when the paper feeding is stopped, the above-described driving method of the motor 2 is used.

【0117】したがって、用紙の停止位置を確定する際
に、負荷トルクに打ち勝つ必要最低限のトルクで駆動で
き、スピードオーバーすることなく目標位置YFで停止
することができる。また、デジタル位置信号YFBの変
化を検知した以降のオーバーランの量(1パルス以内)
が均一化され、スピードオーバーによる過度のオーバー
ランに伴う停止位置変動が均一的に防止され精確な用紙
送りが可能となる。
Therefore, when determining the stop position of the sheet, the sheet can be driven with the minimum necessary torque to overcome the load torque, and the sheet can be stopped at the target position YF without overspeeding. Also, the amount of overrun after detecting the change of the digital position signal YFB (within one pulse)
And the stop position fluctuation due to excessive overrun due to speed over is uniformly prevented, and accurate paper feeding is possible.

【0118】この結果、位置決め分解能と等しい分解能
のエンコーダ等の検出器3によるデジタル位置信号YF
Bにて、目標位置YFに対して精度よく停止することが
でき、構造が簡単で廉価な用紙送り方法を提供すること
ができる。
As a result, the digital position signal YF from the detector 3 such as an encoder having a resolution equal to the positioning resolution is obtained.
At B, it is possible to accurately stop at the target position YF, and to provide a simple and inexpensive sheet feeding method.

【0119】また、本実施の形態の用紙送り方法では、
用紙送りを停止させた後に、用紙停止位置を保持させる
停止位置保持ステップをさらに含んでいる。
Further, in the paper feeding method of the present embodiment,
The method further includes a stop position holding step of holding the sheet stop position after stopping the sheet feeding.

【0120】したがって、保持駆動力、ブレーキ、ウォ
ームギヤ等の保持手段により、用紙に働くバックテンシ
ョン等で用紙が動いてしまうことを防止できる。
Therefore, the holding means such as the holding driving force, the brake, and the worm gear can prevent the sheet from moving due to the back tension acting on the sheet.

【0121】また、本実施の形態の用紙送り方法では、
用紙送りを停止させた後に、第1の駆動力PWMLより
も小さい最小駆動力PWMsを付与することにより用紙
送り位置を保持させる停止位置保持ステップを含んでい
る。
Further, in the paper feeding method of the present embodiment,
After stopping the sheet feeding, a stop position holding step of holding the sheet feeding position by applying a minimum driving force PWMs smaller than the first driving force PWML is included.

【0122】したがって、ブレーキ、ウォームギヤ等の
保持手段がなくても、用紙に働くバックテンション等で
用紙が動いてしまうことを防止できる。つまり、最小駆
動力PWMsは、第1の駆動力PWMLよりも小さい駆
動力であって、最小駆動力PWMsによってモータ2に
掛かる駆動トルクは、駆動機構の摩擦等によってモータ
2に掛かる負荷トルクよりも小さいものである。
Therefore, even if there is no holding means such as a brake and a worm gear, it is possible to prevent the paper from moving due to the back tension acting on the paper. That is, the minimum driving force PWMs is a driving force smaller than the first driving force PWML, and the driving torque applied to the motor 2 by the minimum driving force PWMs is smaller than the load torque applied to the motor 2 due to friction of the driving mechanism or the like. It is small.

【0123】さらに、用紙を停止させるためのブレー
キ、ウォームギヤ等の保持機構が必要なくなることか
ら、用紙を送るための駆動源に働く負荷トルクがさらに
減少する。
Further, since a holding mechanism such as a brake and a worm gear for stopping the sheet is not required, the load torque acting on the driving source for feeding the sheet is further reduced.

【0124】また、本実施の形態の用紙送り装置10
は、上記の用紙送り方法を用いている。したがって、位
置決め分解能と等しい分解能のエンコーダ等の検出器3
によるデジタル位置信号YFBにて、目標位置YFに対
して精度よく停止することができ、構造が簡単で廉価な
用紙送り装置10を提供することができる。
The paper feeder 10 according to the present embodiment
Uses the above-described paper feeding method. Therefore, a detector 3 such as an encoder having a resolution equal to the positioning resolution is used.
Can be stopped accurately with respect to the target position YF by the digital position signal YFB, thereby providing a low-cost paper feeder 10 with a simple structure.

【0125】なお、本発明は、上記の実施の形態に限定
されるものではなく、本発明の範囲内で種々の変更が可
能である。例えば、上記実施の形態では、第1の駆動力
PWMLは、デジタル位置信号YFBが状態Lから状態
Hに変化するのをMPU制御部1が確認する毎に、モー
タ2に対して、目標位置YFとの位置誤差ERに応じて
逐次段階的に駆動力を減少させた各第1の駆動力PWM
L(PWML5、PWML4、…、PWML1)を付与
するか、又は駆動を停止させる。しかし、必ずしもこれ
に限らず、駆動力減少ステップでは、逐次段階的に駆動
力を減少させた各第1の駆動力PWMLを付与するか、
又は駆動を停止させることが可能である。
Note that the present invention is not limited to the above embodiment, and various changes can be made within the scope of the present invention. For example, in the above-described embodiment, the first driving force PWML is output to the motor 2 every time the MPU control unit 1 confirms that the digital position signal YFB changes from the state L to the state H. The first driving force PWM in which the driving force is sequentially reduced in accordance with the position error ER with respect to the first driving force PWM
L (PWML5, PWML4,..., PWML1) or drive is stopped. However, the present invention is not necessarily limited to this. In the driving force reduction step, the first driving force PWML in which the driving force is sequentially reduced is applied.
Alternatively, the driving can be stopped.

【0126】これによって、デジタル位置信号YFBの
所定変化によりモータ2の回転量を検知し、現在の回転
量が検知されると逐次段階的に第1の駆動力PWMLを
減少させて、第1の駆動力PWMLを低下させることが
できる。
As a result, the rotation amount of the motor 2 is detected based on a predetermined change in the digital position signal YFB, and when the current rotation amount is detected, the first driving force PWML is sequentially reduced, and the first driving force PWML is reduced. The driving force PWML can be reduced.

【0127】また、上記実施の形態では、各第1の駆動
力PWML(PWML5、PWML4、…、PWML
1)を付与した後、デジタル位置信号YFBが状態Lか
ら状態Hに変化するのを確認するまでの各間では、駆動
力増加ステップとして、各第1の駆動力PWML(PW
ML5、PWML4、…、PWML1)に対してそれぞ
れ段階的に駆動力を増加させる。さらに、各駆動力増加
ステップの増加分dPWは、目標位置YFとの位置誤差
ERに応じて各駆動力増加ステップ毎に逐次段階的に減
少したものとなっている。
In the above embodiment, each of the first driving forces PWML (PWML5, PWML4,..., PWML)
After the application of the first driving force PWML (PW), as a driving force increasing step, between each time when the digital position signal YFB is changed from the state L to the state H after the application of 1).
ML5, PWML4,..., PWML1). Further, the increment dPW of each driving force increasing step is decreased step by step in each driving force increasing step in accordance with the position error ER from the target position YF.

【0128】しかし、必ずしもこれに限らず、各第1の
駆動力PWMLを付与した後、デジタル位置信号YFB
が状態Lから状態Hに変化するのを確認するまでの各間
では、駆動力増加ステップとして、単に、上記第1の駆
動力PWMLに対してそれぞれ段階的に駆動力を増加さ
せる。
However, the present invention is not limited to this, and after applying each first driving force PWML, the digital position signal YFB
In each of the periods until the change of the state from the state L to the state H is confirmed, the driving force is simply increased stepwise with respect to the first driving force PWML as a driving force increasing step.

【0129】したがって、各第1の駆動力PWMLに対
してそれぞれ段階的に駆動力を増加させることによっ
て、速やかに目標位置YFに接近し、かつ、目標位置Y
Fの近傍では負荷トルクに打ち勝つ必要最低限のトルク
で駆動できる。
Therefore, by gradually increasing the driving force for each of the first driving forces PWML, the target position YF is quickly approached and the target position YF is increased.
In the vicinity of F, the motor can be driven with the minimum torque required to overcome the load torque.

【0130】[0130]

【発明の効果】本発明の直流電動機の駆動方法は、以上
のように、デジタル位置信号が変化するのを確認する信
号確認ステップと、上記デジタル位置信号が所定変化す
るのを確認する毎に、直流電動機に対して、目標位置と
の位置誤差に応じて逐次段階的に駆動力を減少させた各
第1の駆動力を付与するか、又は駆動を停止させる駆動
力減少ステップと、上記の各第1の駆動力を付与した
後、デジタル位置信号が所定変化するのを確認するまで
の各間では、上記各第1の駆動力に対してそれぞれ段階
的に駆動力を増加させる駆動力増加ステップとを含む方
法である。
As described above, the method of driving a DC motor according to the present invention comprises the following steps: a signal confirmation step for confirming a change in a digital position signal; and a signal confirmation step for confirming a predetermined change in the digital position signal. To the DC motor, a driving force decreasing step of applying each first driving force whose driving force is reduced step by step according to a position error from a target position, or stopping driving, A driving force increasing step for increasing the driving force in a stepwise manner with respect to each of the first driving forces during a period from the application of the first driving force to the confirmation of a predetermined change in the digital position signal. And a method including:

【0131】それゆえ、目標位置に対して、目標位置と
の位置誤差に応じて逐次段階的に駆動力を減少させた各
第1の駆動力を付与し、直流電動機の位置誤差に応じて
第1の駆動力を付与し、目標位置近傍では負荷トルクに
打ち勝つ必要最低限のトルクで駆動でき、負荷トルクの
ばらつきや変動、及び直流電動機のバラツキや変動を吸
収し、スピードオーバーすることなく目標位置に近づく
ことができる。その結果、直流電動機のオーバーランが
均一化され、スピードオーバーによる過度のオーバーラ
ンに伴う停止位置変動が防止される。
Therefore, the first driving force whose driving force is reduced step by step in accordance with the position error from the target position is applied to the target position, and the first driving force is reduced in accordance with the position error of the DC motor. In the vicinity of the target position, it can be driven with the minimum torque required to overcome the load torque, absorbs variations and fluctuations in load torque, and variations and fluctuations in the DC motor, and achieves the target position without speeding up. Can be approached. As a result, the overrun of the DC motor is made uniform, and the stop position variation due to excessive overrun due to speed over is prevented.

【0132】また、これにより、エンコーダ等の検出器
としては、構造が複雑で高価なアブソリュートエンコー
ダ及びアナログ位置信号を用いる必要がなく、シンプル
で廉価なデジタルパルス出力のインクリメンタルエンコ
ーダを用いることができる。
Further, as a detector such as an encoder, a simple and inexpensive incremental encoder with digital pulse output can be used as a detector such as an encoder, which does not require an expensive absolute encoder and an analog position signal.

【0133】この結果、位置決め分解能と等しい分解能
のエンコーダ等の検出器によるデジタル位置信号にて、
目標停止位置に対して精度よく停止することができ、構
造が簡単で廉価な直流電動機の駆動方法を提供すること
ができるという効果を奏する。
As a result, a digital position signal from a detector such as an encoder having a resolution equal to the positioning resolution
It is possible to provide an advantageous effect that it is possible to accurately stop at the target stop position, and to provide a simple and inexpensive DC motor driving method.

【0134】また、本発明の直流電動機の駆動方法は、
以上のように、デジタル位置信号が変化するのを確認す
る信号確認ステップと、上記デジタル位置信号が所定変
化するのを確認する毎に、直流電動機に対して、逐次段
階的に駆動力を減少させた各第1の駆動力を付与する
か、又は駆動を停止させる駆動力減少ステップと、上記
の各第1の駆動力を付与した後、デジタル位置信号が所
定変化するのを確認するまでの各間では、上記各第1の
駆動力に対してそれぞれ段階的に駆動力を増加させる各
駆動力増加ステップとを含むとともに、上記各駆動力増
加ステップの駆動力増加分は、目標位置との位置誤差に
応じて各駆動力増加ステップ毎に逐次段階的に減少した
ものとなっている方法である。
Further, the driving method of the DC motor of the present invention is as follows.
As described above, the signal confirming step for confirming that the digital position signal changes, and every time confirming that the digital position signal changes by a predetermined amount, the driving force for the DC motor is reduced step by step. A driving force decreasing step of applying each of the first driving forces or stopping the driving, and after applying each of the first driving forces, until the digital position signal is confirmed to change by a predetermined amount. And a driving force increasing step of increasing the driving force in a stepwise manner with respect to each of the first driving forces. The increasing amount of the driving force in each of the driving force increasing steps corresponds to the position with respect to the target position. This is a method in which the driving force gradually decreases in each driving force increasing step in accordance with the error.

【0135】それゆえ、目標位置に対して逐次段階的に
駆動力を減少させた各第1の駆動力を付与し、目標位置
近傍では負荷トルクに打ち勝つべく目標位置との位置誤
差に応じた必要最低限のトルクで駆動でき、負荷トルク
のばらつきや変動、及び直流電動機のバラツキや変動を
吸収し、スピードオーバーすることなく目標位置に近づ
くことができる。その結果、直流電動機のオーバーラン
が均一化され、スピードオーバーによる過度のオーバー
ランに伴う停止位置変動が防止される。
Therefore, the first driving force whose driving force is reduced step by step is applied to the target position, and in the vicinity of the target position, it is necessary to respond to the position error with the target position in order to overcome the load torque. It can be driven with a minimum torque, and can absorb variations and fluctuations in load torque, and variations and fluctuations in the DC motor, and can approach the target position without speeding up. As a result, the overrun of the DC motor is made uniform, and the stop position variation due to excessive overrun due to speed over is prevented.

【0136】また、これにより、エンコーダ等の検出器
としては、構造が複雑で高価なアブソリュートエンコー
ダ及びアナログ位置信号を用いる必要がなく、シンプル
で廉価なデジタルパルス出力のインクリメンタルエンコ
ーダを用いることができる。
[0136] Thus, as a detector such as an encoder, it is not necessary to use an expensive absolute encoder and an analog position signal having a complicated structure, and a simple and inexpensive incremental encoder with digital pulse output can be used.

【0137】この結果、位置決め分解能と等しい分解能
のエンコーダ等の検出器によるデジタル位置信号にて、
目標停止位置に対して精度よく停止することができ、構
造が簡単で廉価な直流電動機の駆動方法を提供すること
ができるという効果を奏する。
As a result, a digital position signal obtained by a detector such as an encoder having a resolution equal to the positioning resolution
It is possible to provide an advantageous effect that it is possible to accurately stop at the target stop position, and to provide a simple and inexpensive DC motor driving method.

【0138】また、本発明の直流電動機の駆動方法は、
以上のように、デジタル位置信号が変化するのを確認す
る信号確認ステップと、上記デジタル位置信号が所定変
化するのを確認する毎に、直流電動機に対して、目標位
置との位置誤差に応じて逐次段階的に駆動力を減少させ
た各第1の駆動力を付与するか、又は駆動を停止させる
駆動力減少ステップと、上記の各第1の駆動力を付与し
た後、デジタル位置信号が所定変化するのを確認するま
での各間では、上記各第1の駆動力に対してそれぞれ段
階的に駆動力を増加させる各駆動力増加ステップとを含
むとともに、上記各駆動力増加ステップの駆動力増加分
は、目標位置との位置誤差に応じて各駆動力増加ステッ
プ毎に逐次段階的に減少したものとなっている方法であ
る。
Further, the driving method of the DC motor of the present invention is as follows.
As described above, the signal confirmation step of confirming that the digital position signal changes, and each time the digital position signal is confirmed to change by a predetermined amount, the DC motor is controlled according to the position error from the target position. A step of applying a first driving force in which the driving force is sequentially reduced or a step of reducing the driving force to stop the driving; and a step of applying the first driving force described above. And a driving force increasing step of increasing the driving force in a stepwise manner with respect to each of the first driving forces. The increment is a method in which the increment gradually decreases in each driving force increment step in accordance with the position error from the target position.

【0139】それゆえ、目標位置に対して、目標位置と
の位置誤差に応じて逐次段階的に駆動力を減少させた各
第1の駆動力を付与し、目標位置近傍では負荷トルクに
打ち勝つべく目標位置との位置誤差に応じた必要最低限
のトルクで駆動でき、負荷トルクのばらつきや変動、及
び直流電動機のバラツキや変動を吸収し、スピードオー
バーすることなく目標位置に近づくことができる。その
結果、直流電動機のオーバーランが均一化され、スピー
ドオーバーによる過度のオーバーランに伴う停止位置変
動が防止される。
Therefore, in order to overcome the load torque in the vicinity of the target position, each first driving force whose driving force is reduced step by step in accordance with the position error from the target position is applied to the target position. Driving can be performed with a minimum required torque corresponding to a position error with respect to the target position, and variations and fluctuations in load torque, and variations and fluctuations of the DC motor can be absorbed, and the target position can be approached without speeding up. As a result, the overrun of the DC motor is made uniform, and the stop position variation due to excessive overrun due to speed over is prevented.

【0140】また、これにより、エンコーダ等の検出器
としては、構造が複雑で高価なアブソリュートエンコー
ダ及びアナログ位置信号を用いる必要がなく、シンプル
で廉価なデジタルパルス出力のインクリメンタルエンコ
ーダを用いることができる。
Further, as a detector such as an encoder, a simple and inexpensive incremental encoder having a digital pulse output can be used as a detector such as an encoder, which does not require an expensive absolute encoder and an analog position signal.

【0141】この結果、位置決め分解能と等しい分解能
のエンコーダ等の検出器によるデジタル位置信号にて、
目標停止位置に対して精度よく停止することができ、構
造が簡単で廉価な直流電動機の駆動方法を提供すること
ができるという効果を奏する。
As a result, a digital position signal obtained by a detector such as an encoder having a resolution equal to the positioning resolution
It is possible to provide an advantageous effect that it is possible to accurately stop at the target stop position, and to provide a simple and inexpensive DC motor driving method.

【0142】また、本発明の用紙送り方法は、上記課題
を解決するために、用紙送りを停止させる場合に、上記
記載の直流電動機の駆動方法を用いる方法である。
Further, in order to solve the above-mentioned problems, the paper feeding method of the present invention uses the above-described DC motor driving method when stopping paper feeding.

【0143】それゆえ、位置決め分解能と等しい分解能
のエンコーダ等の検出器によるデジタル位置信号にて、
目標停止位置に対して精度よく停止することができ、構
造が簡単で廉価な用紙送り方法を提供することができる
という効果を奏する。
Therefore, with a digital position signal from a detector such as an encoder having a resolution equal to the positioning resolution,
It is possible to accurately stop at the target stop position and to provide an inexpensive paper feeding method with a simple structure.

【0144】また、本発明の用紙送り方法は、上記記載
の用紙送り方法において、用紙送りを停止させた後に、
用紙停止位置を保持させる停止位置保持ステップをさら
に含む方法である。
Further, according to the paper feeding method of the present invention, after stopping the paper feeding in the above-described paper feeding method,
This is a method further including a stop position holding step of holding the sheet stop position.

【0145】それゆえ、保持駆動力、ブレーキ、ウォー
ムギヤ等の保持手段により、用紙に働くバックテンショ
ン等で用紙が動いてしまうことを防止できるという効果
を奏する。
Therefore, the holding means such as the holding driving force, the brake, and the worm gear can prevent the paper from being moved by the back tension acting on the paper.

【0146】また、本発明の用紙送り方法は、上記記載
の用紙送り方法において、用紙送りを停止させた後に、
前記第1の駆動力よりも小さい第2の駆動力を付与する
ことにより用紙送り位置を保持させる停止位置保持ステ
ップを含む方法である。
Further, according to the paper feeding method of the present invention, in the above-described paper feeding method, after the paper feeding is stopped,
This is a method including a stop position holding step of holding a sheet feeding position by applying a second driving force smaller than the first driving force.

【0147】それゆえ、ブレーキ、ウォームギヤ等の保
持手段がなくても、用紙に働くバックテンション等で用
紙が動いてしまうことを防止できる。つまり、第2の駆
動力は、第1の駆動力よりも小さい駆動力であって、第
2の駆動力によって直流電動機に掛かる駆動トルクは、
駆動機構の摩擦等によって直流電動機に掛かる負荷トル
クよりも小さいものである。
Therefore, even if there is no holding means such as a brake and a worm gear, it is possible to prevent the paper from moving due to the back tension acting on the paper. That is, the second driving force is a driving force smaller than the first driving force, and the driving torque applied to the DC motor by the second driving force is:
It is smaller than the load torque applied to the DC motor due to friction of the drive mechanism or the like.

【0148】さらに、用紙を停止させるためのブレー
キ、ウォームギヤ等の保持機構が必要なくなることか
ら、用紙を送るための駆動源に働く負荷トルクがさらに
減少するという効果を奏する。
Further, since a holding mechanism such as a brake and a worm gear for stopping the sheet is not required, the load torque acting on the driving source for feeding the sheet is further reduced.

【0149】また、本発明の用紙送り装置は、上記課題
を解決するために、上記記載の用紙送り方法を用いたも
のである。
Further, in order to solve the above-mentioned problems, a paper feeding apparatus of the present invention uses the above-described paper feeding method.

【0150】それゆえ、位置決め分解能と等しい分解能
のエンコーダ等の検出器によるデジタル位置信号にて、
目標停止位置に対して精度よく停止することができ、構
造が簡単で廉価な用紙送り装置を提供することができる
という効果を奏する。
Therefore, with a digital position signal from a detector such as an encoder having a resolution equal to the positioning resolution,
It is possible to provide an inexpensive sheet feeder that can be stopped accurately with respect to the target stop position and has a simple structure.

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

【図1】本発明における直流電動機の駆動方法の実施の
一形態を示すものであり、(a)は第1の駆動力及びそ
の増加分での駆動力を示す波形図であり、(b)はデジ
タル位置信号を示す波形図である。
FIGS. 1A and 1B show an embodiment of a method for driving a DC motor according to the present invention, in which FIG. 1A is a waveform diagram showing a first driving force and a driving force at an increased amount thereof, and FIG. 7 is a waveform diagram showing a digital position signal.

【図2】上記直流電動機の駆動方法を適用する用紙送り
装置を示すブロック図である。
FIG. 2 is a block diagram showing a sheet feeder to which the method for driving a DC motor is applied.

【図3】上記直流電動機の回転量を検出する検出器の検
出原理を示す斜視図である。
FIG. 3 is a perspective view showing a detection principle of a detector for detecting a rotation amount of the DC motor.

【図4】(a)〜(c)は,上記検出器から出力される
出力信号を示す波形図である。
FIGS. 4A to 4C are waveform diagrams showing output signals output from the detector.

【図5】1回の用紙送りにおけるモータの駆動時間とモ
ータ速度との関係を示すグラフである。
FIG. 5 is a graph showing a relationship between a motor driving time and a motor speed in one paper feed.

【図6】上記直流電動機の駆動方法の動作を示すメイン
フローチャートである。
FIG. 6 is a main flowchart showing an operation of the driving method of the DC motor.

【図7】上記直流電動機の駆動方法の動作を示すもので
あり、YFB割込1のサブルーチンフローチャートであ
る。
FIG. 7 is a flowchart showing a subroutine of a driving method of the DC motor, and is a subroutine of YFB interrupt 1;

【図8】上記直流電動機の駆動方法の動作を示すもので
あり、YFB割込2のサブルーチンフローチャートであ
る。
FIG. 8 is a flowchart showing a subroutine of a driving method of the DC motor, and is a subroutine of YFB interrupt 2;

【図9】上記直流電動機の駆動方法の動作を示すもので
あり、YFB割込3のサブルーチンフローチャートであ
る。
FIG. 9 is a flowchart showing a subroutine of a driving method of the DC motor, and is a subroutine of YFB interrupt 3;

【図10】上記直流電動機の駆動方法の動作を示すもの
であり、YFB割込4のサブルーチンフローチャートで
ある。
FIG. 10 is a flowchart showing a subroutine of a YFB interrupt 4 showing an operation of the driving method of the DC motor.

【図11】上記直流電動機の駆動方法の動作を示すもの
であり、タイマ2割込のサブルーチンフローチャートで
ある。
FIG. 11 is a flowchart showing a subroutine of a timer 2 interrupt, showing an operation of the driving method of the DC motor.

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

1 MPU制御部 2 モータ(直流電動機) 3 検出器 4 モータ駆動回路 10 用紙送り装置 dPW 増加分(駆動力増加分) PWML 第1の駆動力 PWMs 最小駆動力(第2の駆動力) YF 目標位置 YFB デジタル位置信号 1 MPU control unit 2 Motor (DC motor) 3 Detector 4 Motor drive circuit 10 Paper feeder dPW increase (drive power increase) PWML first driving force PWMs Minimum driving force (second driving force) YF target position YFB digital position signal

フロントページの続き Fターム(参考) 2C058 GA06 GA09 GB07 GE04 GE09 GE10 5H560 AA10 DA07 DB20 EB01 GG04 RR10 XA05 XA12 5H571 AA12 BB10 FF06 GG01 HD03 JJ03 LL08 Continuation of front page    F term (reference) 2C058 GA06 GA09 GB07 GE04 GE09                       GE10                 5H560 AA10 DA07 DB20 EB01 GG04                       RR10 XA05 XA12                 5H571 AA12 BB10 FF06 GG01 HD03                       JJ03 LL08

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】直流電動機の回転量を検出する検出器から
出力されるデジタル位置信号に基づき制御される直流電
動機の駆動方法において、 上記デジタル位置信号が変化するのを確認する信号確認
ステップと、 上記デジタル位置信号が所定変化するのを確認する毎
に、直流電動機に対して、目標位置との位置誤差に応じ
て逐次段階的に駆動力を減少させた各第1の駆動力を付
与するか、又は駆動を停止させる駆動力減少ステップ
と、 上記の各第1の駆動力を付与した後、デジタル位置信号
が所定変化するのを確認するまでの各間では、上記各第
1の駆動力に対してそれぞれ段階的に駆動力を増加させ
る駆動力増加ステップとを含むことを特徴としている。
1. A method for driving a DC motor controlled based on a digital position signal output from a detector for detecting a rotation amount of the DC motor, a signal confirming step for confirming that the digital position signal changes. Each time that the digital position signal is confirmed to change by a predetermined amount, whether or not to apply each first driving force to the DC motor in which the driving force is reduced stepwise in accordance with the position error from the target position. Or a driving force decreasing step of stopping the driving, and after applying each of the first driving forces, until each of the first driving forces is confirmed until the digital position signal is changed by a predetermined amount. And a driving force increasing step of increasing the driving force in a stepwise manner.
【請求項2】直流電動機の回転量を検出する検出器から
出力されるデジタル位置信号に基づき制御される直流電
動機の駆動方法において、 上記デジタル位置信号が変化するのを確認する信号確認
ステップと、 上記デジタル位置信号が所定変化するのを確認する毎
に、直流電動機に対して、逐次段階的に駆動力を減少さ
せた各第1の駆動力を付与するか、又は駆動を停止させ
る駆動力減少ステップと、 上記の各第1の駆動力を付与した後、デジタル位置信号
が所定変化するのを確認するまでの各間では、上記各第
1の駆動力に対してそれぞれ段階的に駆動力を増加させ
る各駆動力増加ステップとを含むとともに、 上記各駆動力増加ステップの駆動力増加分は、目標位置
との位置誤差に応じて各駆動力増加ステップ毎に逐次段
階的に減少したものとなっていることを特徴とする直流
電動機の駆動方法。
2. A method for driving a DC motor controlled based on a digital position signal output from a detector for detecting a rotation amount of the DC motor, a signal confirming step for confirming that the digital position signal changes. Each time the digital position signal is confirmed to change by a predetermined amount, the first driving force whose driving force has been gradually reduced is applied to the DC motor, or the driving force is reduced to stop driving. In the steps and after each of the first driving forces is applied, until the digital position signal is confirmed to change by a predetermined amount, the driving force is stepwise applied to each of the first driving forces. And increasing the driving force in each of the driving force increasing steps, and the driving force increment in each of the driving force increasing steps is decreased step by step in each driving force increasing step in accordance with a position error from a target position. A method for driving a DC motor, characterized in that:
【請求項3】直流電動機の回転量を検出する検出器から
出力されるデジタル位置信号に基づき制御される直流電
動機の駆動方法において、 上記デジタル位置信号が変化するのを確認する信号確認
ステップと、 上記デジタル位置信号が所定変化するのを確認する毎
に、直流電動機に対して、目標位置との位置誤差に応じ
て逐次段階的に駆動力を減少させた各第1の駆動力を付
与するか、又は駆動を停止させる駆動力減少ステップ
と、 上記の各第1の駆動力を付与した後、デジタル位置信号
が所定変化するのを確認するまでの各間では、上記各第
1の駆動力に対してそれぞれ段階的に駆動力を増加させ
る各駆動力増加ステップとを含むとともに、 上記各駆動力増加ステップの駆動力増加分は、目標位置
との位置誤差に応じて各駆動力増加ステップ毎に逐次段
階的に減少したものとなっていることを特徴とする直流
電動機の駆動方法。
3. A method of driving a DC motor controlled based on a digital position signal output from a detector for detecting a rotation amount of the DC motor, a signal confirmation step of confirming that the digital position signal changes. Each time that the digital position signal is confirmed to change by a predetermined amount, whether or not to apply each first driving force to the DC motor in which the driving force is reduced stepwise in accordance with the position error from the target position. Or a driving force decreasing step of stopping the driving, and after applying each of the first driving forces, until each of the first driving forces is confirmed until the digital position signal is changed by a predetermined amount. A driving force increasing step of increasing the driving force in a stepwise manner, and the driving force increasing step in each of the driving force increasing steps is performed in accordance with a position error with respect to the target position. A method for driving a DC motor, characterized in that it is reduced step by step in each step.
【請求項4】用紙送りを停止させる場合に、請求項1又
は2記載の直流電動機の駆動方法を用いることを特徴と
する用紙送り方法。
4. A method of feeding a sheet of paper, wherein the method of driving a DC motor according to claim 1 or 2 is used to stop the sheet feeding.
【請求項5】用紙送りを停止させた後に、用紙停止位置
を保持させる停止位置保持ステップをさらに含むことを
特徴とする請求項4記載の用紙送り方法。
5. The paper feeding method according to claim 4, further comprising a stop position holding step of holding a paper stop position after stopping paper feeding.
【請求項6】用紙送りを停止させた後に、前記第1の駆
動力よりも小さい第2の駆動力を付与することにより用
紙送り位置を保持させる停止位置保持ステップを含むこ
とを特徴とする請求項4記載の用紙送り方法。
6. A stopping position holding step for holding a sheet feeding position by applying a second driving force smaller than the first driving force after stopping the sheet feeding. The paper feed method described.
【請求項7】請求項4、5又は6記載の用紙送り方法を
用いたことを特徴とする用紙送り装置。
7. A sheet feeding apparatus using the sheet feeding method according to claim 4, 5 or 6.
JP2002148215A 2002-05-22 2002-05-22 Driving method of dc motor, paper feeding method, and paper feeding apparatus Pending JP2003348878A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002148215A JP2003348878A (en) 2002-05-22 2002-05-22 Driving method of dc motor, paper feeding method, and paper feeding apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002148215A JP2003348878A (en) 2002-05-22 2002-05-22 Driving method of dc motor, paper feeding method, and paper feeding apparatus

Publications (1)

Publication Number Publication Date
JP2003348878A true JP2003348878A (en) 2003-12-05

Family

ID=29766892

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002148215A Pending JP2003348878A (en) 2002-05-22 2002-05-22 Driving method of dc motor, paper feeding method, and paper feeding apparatus

Country Status (1)

Country Link
JP (1) JP2003348878A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008086149A (en) * 2006-09-28 2008-04-10 Seiko Epson Corp Motor controller, original reading apparatus, and motor control method
US7562870B2 (en) 2006-01-26 2009-07-21 Brother Kogyo Kabushiki Kaisha Printer
US7675259B2 (en) 2006-01-16 2010-03-09 Brother Kogyo Kabushiki Kaisha Controller for DC motor
US7821216B2 (en) 2003-09-12 2010-10-26 Brother Kogyo Kabushiki Kaisha Motor control method and control device
US8090469B2 (en) 2005-03-14 2012-01-03 Ricoh Company, Ltd. Printing medium conveying apparatus and printing medium conveying method
JP2013226697A (en) * 2012-04-25 2013-11-07 Seiko Epson Corp Conveying apparatus, liquid discharge apparatus, and conveying method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7821216B2 (en) 2003-09-12 2010-10-26 Brother Kogyo Kabushiki Kaisha Motor control method and control device
US8090469B2 (en) 2005-03-14 2012-01-03 Ricoh Company, Ltd. Printing medium conveying apparatus and printing medium conveying method
US7675259B2 (en) 2006-01-16 2010-03-09 Brother Kogyo Kabushiki Kaisha Controller for DC motor
US7562870B2 (en) 2006-01-26 2009-07-21 Brother Kogyo Kabushiki Kaisha Printer
JP2008086149A (en) * 2006-09-28 2008-04-10 Seiko Epson Corp Motor controller, original reading apparatus, and motor control method
JP2013226697A (en) * 2012-04-25 2013-11-07 Seiko Epson Corp Conveying apparatus, liquid discharge apparatus, and conveying method

Similar Documents

Publication Publication Date Title
US10239333B2 (en) Cutter, printer, and method of controlling cutter
JP3866067B2 (en) DC motor driving method, DC motor driving apparatus, sheet feeding method, sheet feeding apparatus, image forming apparatus, and image reading apparatus
US20030151380A1 (en) Apparatus for controlling deceleration of DC motor
JP2003348878A (en) Driving method of dc motor, paper feeding method, and paper feeding apparatus
JP6921616B2 (en) Controls, optics, control methods, and programs
EP1719631B1 (en) Dynamic S curve stepper motor velocity profiles
US4832518A (en) Apparatus for driving and controlling a printing head carriage
JP3053144B2 (en) Printer carriage motor controller
US4791866A (en) Speed control method for printing press and printing press practicing the method
JPS63112182A (en) Printer device
JPS6337595B2 (en)
KR101052112B1 (en) Stepping motor control unit
JP2738802B2 (en) Carrier jam detection control method
EP1369757B1 (en) Method and apparatus for controlling the rotation position of an object
JP3800917B2 (en) Motor control device and storage medium
EP1752302A2 (en) Drive motor control method and printer
JP2758201B2 (en) Servo motor drive control method for serial printer
JPH0828996B2 (en) Drive control method for stepping motor
JP3173848B2 (en) Motor drive controller
JP2002010689A (en) Pulse-motor control method
JPH0646596A (en) Drive controller for stepping motor
JP2786376B2 (en) Printer
JP2004250133A (en) Sheet transport device, image forming apparatus, and positioning method
JPH01194899A (en) Driving unit for stepping motor
JPH06113576A (en) Motor controller