JP3427406B2 - Motor control device - Google Patents

Motor control device

Info

Publication number
JP3427406B2
JP3427406B2 JP00433293A JP433293A JP3427406B2 JP 3427406 B2 JP3427406 B2 JP 3427406B2 JP 00433293 A JP00433293 A JP 00433293A JP 433293 A JP433293 A JP 433293A JP 3427406 B2 JP3427406 B2 JP 3427406B2
Authority
JP
Japan
Prior art keywords
slider
pulse
control
pulse signal
speed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP00433293A
Other languages
Japanese (ja)
Other versions
JPH06217583A (en
Inventor
比呂志 村上
Original Assignee
ミノルタ株式会社
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 ミノルタ株式会社 filed Critical ミノルタ株式会社
Priority to JP00433293A priority Critical patent/JP3427406B2/en
Publication of JPH06217583A publication Critical patent/JPH06217583A/en
Application granted granted Critical
Publication of JP3427406B2 publication Critical patent/JP3427406B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Facsimile Scanning Arrangements (AREA)
  • Control Of Direct Current Motors (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】この発明はモータ制御装置に関
し、特に画像読取装置に用いられ、エンコーダパルスに
よってスライダの速度、移動量を検知してモータの制御
を行なうモータ制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a motor control device, and more particularly to a motor control device which is used in an image reading device and which controls the motor by detecting the speed and movement amount of a slider by an encoder pulse.

【0002】[0002]

【従来の技術】画像読取装置に用いられるモータ制御装
置においては、DCモータによりスライダが駆動され
る。このような装置においては、モータ軸に取付けられ
たエンコーダからエンコーダパルスがモータ制御CPU
に割込をかけ、CPUは割込ルーチンでモータ制御を行
なう。
2. Description of the Related Art In a motor control device used in an image reading apparatus, a slider is driven by a DC motor. In such a device, an encoder pulse is transmitted from an encoder mounted on the motor shaft to the motor control CPU.
And the CPU controls the motor by an interrupt routine.

【0003】このような制御方法では、スライダの速度
により割込の時間間隔が異なり、スライダの速度が速す
ぎると割込間隔がCPUの処理時間より短くなってしま
い、正しい制御ができない。これを解決するため、スラ
イダの速度によって、パルスを分周して割込間隔を長く
する方法が考えられている。
In such a control method, the interrupt time interval differs depending on the slider speed, and if the slider speed is too fast, the interrupt interval becomes shorter than the processing time of the CPU and correct control cannot be performed. In order to solve this, a method of dividing the pulse by the speed of the slider to lengthen the interrupt interval has been considered.

【0004】[0004]

【発明が解決しようとする課題】従来の画像読取装置に
用いられるモータ制御装置においては上記のような方法
が考えられていた。しかしながら、従来の方法では、分
周数はスライダの速度のみにより選択されており、処理
時間の変動については考慮がなされていない。したがっ
て、処理時間がほぼ一定ならば従来の方法で制御を行な
っても特に問題はないが、CPUの処理時間が大きく変
動するような場合には、従来のような方法では画像読取
装置の最適な制御は困難である。
The above-described method has been considered in the motor control device used in the conventional image reading apparatus. However, in the conventional method, the frequency division number is selected only by the speed of the slider, and the fluctuation of the processing time is not taken into consideration. Therefore, if the processing time is almost constant, there is no particular problem even if the control is performed by the conventional method. However, when the processing time of the CPU fluctuates greatly, the conventional method is suitable for the image reading apparatus. It is difficult to control.

【0005】この発明は上記のような問題点を解消する
ためになされたもので、モータ制御装置において、パル
ス処理を行なう処理時間が変動する場合にも精度のよい
制御ができることを目的とする。
The present invention has been made to solve the above problems, and it is an object of the present invention to enable accurate control even when the processing time for pulse processing varies in a motor control device.

【0006】[0006]

【課題を解決するための手段】この発明に係るモータ制
御装置は、移動体を異なる駆動モードで駆動する駆動手
段と、移動体の移動量に応じてパルス信号を出力する手
段と、パルス信号の立上がりエッジまたは立下がりエ
ジの所定の数ごとに所定のパルス処理を行なう手段と、
パルス処理に対応して駆動手段を制御する手段とを含
み、制御手段は移動体の移動速度と駆動手段の駆動モー
ドに応じて異なる値に設定されるパルス処理時間とに基
づいて所定のエッジの数を特定する手段とを含む好ま
しくは、エッジの数を特定する手段は、移動体の現在の
移動速度とパルス処理時間とに基づいて、パルス信号を
出力する手段が出力したパルス信号を所定数に分周する
手段を含む。この発明の他の局面においては、モータ制
御装置は、被駆動体を異なる駆動モードで駆動する駆動
手段と、被駆動体の移動量に応じたパルス信号を出力す
る出力手段と、パルス信号をトリガとして駆動手段を制
御する制御処理を開始する手段と、被駆動体の移動速度
駆動手段の駆動モードに応じて異なる値に設定される
制御処理時間に基づいて、トリガとするパルス信号を特
定する手段とを備える好ましくは、パルス信号を特定
する手段は、被駆動体の現在の移動速度と制御処理時間
とに基づいて、出力手段が出力したパルス信号を所定数
に分周する手段を含む
A motor control device according to the present invention comprises a driving means for driving a moving body in different driving modes , a means for outputting a pulse signal according to a moving amount of the moving body, and a pulse signal means for performing a predetermined pulse processing for each predetermined number of edges or falling or falling edge of <br/> di rising,
And means for controlling the driving means in response to the pulse processing, wherein the control means controls the moving speed of the moving body and the driving mode of the driving means.
Based on the between Pulse processing to be set to a different value according to de and means for identifying a number of predetermined edge. Preferred
Or, the means to identify the number of edges is
Based on the moving speed and the pulse processing time, the pulse signal is
Divides the pulse signal output by the output means into a predetermined number.
Including means. In another aspect of the present invention, a motor control device includes a driving unit that drives a driven body in different drive modes , an output unit that outputs a pulse signal according to a movement amount of the driven body, and a pulse signal as a trigger. and means for initiating a control process for controlling the drive means as, based on between time <br/> control processing is set to a different value depending on the driving mode of the mobile speed <br/> drive means of the driven body Te, and means for identifying a pulse signal as a trigger. Preferably, the pulse signal is specified
The means to do is the current moving speed of the driven body and the control processing time.
Based on the number of pulse signals output by the output means,
Including means to divide

【0007】[0007]

【作用】この発明に係るモータ制御装置においては、移
動体の移動速度のみでなく、駆動手段の駆動モードに応
じて異なる値に設定されるパルス処理時間も考慮してパ
ルス処理を行なうエッジの所定の数を決定する。この発
明に他の局面においては、モータ制御装置は、被駆動体
の移動速度駆動手段の駆動モードに応じて異なる値に
設定される制御処理時間とに基づいて、トリガとするパ
ルス信号を特定する。
In the motor control device according to the present invention, not only the moving speed of the moving body but also the driving mode of the driving means is adjusted.
Flip even while Pulse processing which is set to a different value for determining the predetermined number of edges to perform in consideration pulsed. In another aspect of the present invention, the motor control device is a driven body.
To a different value depending on the moving speed of the
On the basis of the between-time control processing is set to identify the pulse signal to trigger.

【0008】[0008]

【実施例】以下この発明の実施例を図面を参照して説明
する。図1はこの発明に係るモータ制御装置が適用され
る画像読取装置の概略構成を示す模式図である。図1を
参照して、画像読取装置は原稿1を載置するガラス台2
と、ガラス台2の下に設けられたスライダ3と、スライ
ダ3を駆動するためのモータ9とを含む。スライダ3は
照明ランプ4、ミラー5などからなり、原稿1を原稿載
置ガラス2を通して照明ランプ4で照明し、原稿1の反
射光を得る。反射光はミラー5,6a,6b、レンズ7
を通して受光部8へ送られる。スライダ3はモータ9に
より駆動され、図中矢印で示すように左右方向に移動す
ることによって原稿1全体の読取を行なう。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a schematic diagram showing a schematic configuration of an image reading device to which a motor control device according to the present invention is applied. Referring to FIG. 1, the image reading apparatus includes a glass table 2 on which an original 1 is placed.
And a slider 3 provided under the glass table 2 and a motor 9 for driving the slider 3. The slider 3 is composed of an illumination lamp 4, a mirror 5, etc., and the original 1 is illuminated by the illumination lamp 4 through the original placing glass 2 to obtain reflected light of the original 1. The reflected light is mirrors 5, 6a, 6b, lens 7
Is sent to the light receiving section 8 through the. The slider 3 is driven by a motor 9 and moves in the left-right direction as indicated by an arrow in the figure to read the entire original 1.

【0009】受光部8は原稿の反射光を受光し、電気信
号に変換する。得られた電気信号は図示のない画像処理
部を含むプリンタなどの外部機器(図示せず)などに送
られる。
The light receiving portion 8 receives the reflected light of the document and converts it into an electric signal. The obtained electric signal is sent to an external device (not shown) such as a printer including an image processing unit (not shown).

【0010】モータ9の回転軸にはエンコーダ10が設
けられており、モータ9の微小回転ごとにパルスを出力
する。エンコーダ10は制御部11に接続され、エンコ
ーダ10からの出力パルスによりスライダ3の速度、移
動量が検知される。それに基づいて制御部11はモータ
9への通電量、通電方向などを制御することによってス
ライダ3の動作を制御する。
An encoder 10 is provided on the rotating shaft of the motor 9, and outputs a pulse every minute rotation of the motor 9. The encoder 10 is connected to the controller 11, and the output pulse from the encoder 10 detects the speed and movement amount of the slider 3. Based on this, the control unit 11 controls the operation of the slider 3 by controlling the amount of electricity supplied to the motor 9, the direction of electricity supply, and the like.

【0011】図2はこの発明が適用されるモータ制御装
置の制御回路の要部を示すブロック図である。
FIG. 2 is a block diagram showing a main part of a control circuit of a motor control device to which the present invention is applied.

【0012】図2を参照して、制御部11はマイコン4
1で構成され、マイコン41はCPU42、ROM4
3、RAM44、入力ポート45、出力ポート46、P
WM(Pulse Width Modulatio
n)出力ポート47、レジスタ48、タイマユニット4
9、内部システムクロックfclkを発生するための発
振回路50を含む。タイマユニット49にはエンコーダ
パルスeをスライダ3の位置情報としてそのままカウン
トするカウンタXFの他、スライダ3のリターン中のエ
ンコーダパルスeの入力を分周して割込を発生させ、そ
の割込の都度カウンタXFのカウントを所定量ずつカウ
ントするための分周回路FDCが含まれる。ここでカウ
ントXFのカウントを行なう所定量は後述する制御フロ
ーにおいて現在のスライダ3の速度、制御フロー1ルー
チンに要するプログラム処理時間に応じて設定された分
周数分ずつカウントされる。
Referring to FIG. 2, the control unit 11 includes a microcomputer 4
1. The microcomputer 41 includes a CPU 42 and a ROM 4
3, RAM 44, input port 45, output port 46, P
WM (Pulse Width Modulatio)
n) Output port 47, register 48, timer unit 4
9. It includes an oscillator circuit 50 for generating an internal system clock fclk. In addition to the counter XF that counts the encoder pulse e as the position information of the slider 3 as it is, the timer unit 49 divides the input of the encoder pulse e during the return of the slider 3 to generate an interrupt, and generate an interrupt each time. A frequency divider circuit FDC for counting the count of the counter XF by a predetermined amount is included. The predetermined amount for counting the count XF is counted by the frequency division number set according to the current speed of the slider 3 and the program processing time required for the control flow 1 routine in the control flow described later.

【0013】次に分周回路FDCで行なう制御内容につ
いて図3を参照して説明する。図3において(a)はエ
ンコーダ10からのパルス信号出力(分周回路FDCへ
のパルス信号入力)を示し、分周回路FDCではこのエ
ンコーダ10からのパルス信号入力に対してたとえば分
周数3,2,1のときは図中(b),(c),(d)に
示すような信号をそれぞれ出力し、この信号がCPU4
2に入力される。このように、分周回路FDCでは、た
とえば分周数が3のときはパルス信号の3回目の検出時
にのみCPU42にパルス信号を出力する。一方、分周
回路FDCではCPU42で設定された分周数に従って
エンコーダ10からのパルスを分周する。
Next, the control contents of the frequency dividing circuit FDC will be described with reference to FIG. In FIG. 3, (a) shows a pulse signal output from the encoder 10 (pulse signal input to the frequency dividing circuit FDC). In the frequency dividing circuit FDC, for example, the frequency division number 3 is set for the pulse signal input from the encoder 10. In the case of 2 and 1, signals as shown in (b), (c) and (d) in the figure are output respectively, and these signals are output to the CPU 4
Entered in 2. Thus, in the frequency dividing circuit FDC, for example, when the frequency dividing number is 3, the pulse signal is output to the CPU 42 only when the pulse signal is detected for the third time. On the other hand, the frequency dividing circuit FDC divides the pulse from the encoder 10 according to the frequency dividing number set by the CPU 42.

【0014】図2に戻って、入力ポート45にはマスタ
ーからの撮影倍率の信号MAG、走査開始要求の信号S
CANおよびスライダ3がホームポジションにあるか否
かの信号HOMEが与えられる。信号MAGは画像読取
装置において選択される複写倍率を示し、マイコン41
ではそれに応じて走査速度が設定される。
Returning to FIG. 2, the input port 45 has a photographing magnification signal MAG and a scanning start request signal S from the master.
A signal HOME indicating whether the CAN and the slider 3 are in the home position is given. The signal MAG indicates the copy magnification selected in the image reading device, and the microcomputer 41
Then, the scanning speed is set accordingly.

【0015】信号SCANは通常は“ロー”で、走行開
始要求を行なうとき“ハイ”とされる。信号HOMEは
スライダ3がホームポジションにあるときだけ“ハイ”
とされ、それ以外のとき“ロー”とされる。
The signal SCAN is normally "low" and is made "high" when a running start request is made. The signal HOME is "high" only when the slider 3 is at the home position.
And otherwise "low".

【0016】出力ポート46からはモータ30の正逆転
信号fが出力され、これが図2の駆動回路51の入力端
子35aに入力される。PWM出力はスキャン開始から
定速走査するまでの加速走査制御(以下のフローチャー
ト中で加速モードで示す)、あるいは定速走査制御(以
下のフローチャート中で定速モード)や、定速制御後の
リターン開始までの減速制御のためにパルスのデューテ
ィを100%にしておく。PWM出力ポート47からは
分周回路FDCで分周されたパルス信号のオンエッジ時
に行なう、割込制御により(後述するフローチャート中
でS18〜S39)オフ時間制御したパルスといったP
WMモータ通電パルスdが出力され、これが駆動回路5
1の入力端子35bに入力される。これらの入力によっ
てモータ9の制御が行なわれる。
A forward / reverse rotation signal f of the motor 30 is output from the output port 46, and this is input to the input terminal 35a of the drive circuit 51 of FIG. The PWM output is acceleration scan control from the start of scanning to constant speed scanning (indicated by the acceleration mode in the following flowchart), constant speed scanning control (constant speed mode in the following flowchart), or return after constant speed control. The pulse duty is set to 100% for deceleration control until the start. From the PWM output port 47, a P such as a pulse whose off time is controlled by interrupt control (S18 to S39 in the flowchart described later) performed at the on edge of the pulse signal frequency-divided by the frequency dividing circuit FDC.
The WM motor energization pulse d is output, and this is the drive circuit 5
1 is input to the input terminal 35b. The motor 9 is controlled by these inputs.

【0017】次に図4を参照して、各モードにおけるス
ライダ3の移動形態について説明する。図4はスライダ
3の各動作モードとそのときのスライダ3の移動速度を
示す図であり、x軸に時間を、y軸にスライダの移動速
度をとった場合のスライダの動きを示す模式図である。
図中a,b・・・は各モードを示し、y1はスキャン時
のスライダ3の目標速度を示し、y2はリターン時のス
ライダの目標速度を示す。
Next, referring to FIG. 4, the movement mode of the slider 3 in each mode will be described. FIG. 4 is a diagram showing each operation mode of the slider 3 and the moving speed of the slider 3 at that time, and is a schematic diagram showing the movement of the slider when the time is taken on the x-axis and the moving speed of the slider is taken on the y-axis. is there.
In the figure, a, b ... Show each mode, y1 shows the target speed of the slider 3 at the time of scanning, and y2 shows the target speed of the slider at the time of return.

【0018】まず加速モードaについて説明する。この
モードはスキャン時に対応する。スキャン開始信号が前
述のマイコン41に入力されると、後述するスライダ駆
動モータ9の制御フローが開始され、モータ9の回転方
向を正転とし、スライダ3をホームポジションからスキ
ャン方向に移動開始する。そしてスライダ3の現在の移
動速度がゼロから目標速度y1までの間、モータ9の通
電パルスのデューティを100%とし、モータ9の通電
をONしてスライダ3をスキャン方向に加速する。
First, the acceleration mode a will be described. This mode corresponds to scanning. When the scan start signal is input to the microcomputer 41, the control flow of the slider drive motor 9 described later is started, the motor 9 is rotated in the normal direction, and the slider 3 is started to move from the home position in the scan direction. Then, while the current moving speed of the slider 3 is from zero to the target speed y1, the duty of the energizing pulse of the motor 9 is set to 100%, the energization of the motor 9 is turned on, and the slider 3 is accelerated in the scanning direction.

【0019】bはスキャン時の定速モードを表わす。ス
ライダ3の現在の移動速度が目標速度y1に達すると、
加速モード時と同様にモータ9の通電パルスのデューテ
ィを100%とする。スライダ3の目標速度y1からの
速度変動を抑えるために、現在のスライダ3の移動速度
<目標速度y1のときは、モータ9の通電をON(デュ
ーティ100%)とする。
Symbol b represents a constant speed mode during scanning. When the current moving speed of the slider 3 reaches the target speed y1,
As in the acceleration mode, the duty of the energizing pulse of the motor 9 is set to 100%. In order to suppress the speed fluctuation of the slider 3 from the target speed y1, when the current moving speed of the slider 3 <target speed y1, the motor 9 is turned on (duty 100%).

【0020】現在のスライダの移動速度>目標速度y1
のときは、モータ9の通電OFF(デューティ0%)と
して、スライダ3が安定して目標速度を維持するよう制
御する。
Current slider moving speed> target speed y1
At this time, the motor 9 is turned off (duty 0%), and the slider 3 is controlled so as to stably maintain the target speed.

【0021】cはスキャン時の減速モードであり、定速
モード時においてスライダ3のスキャン開始位置から現
在位置に至るまでの移動量が目標移動量に達すると、減
速モードの制御を実行する。この制御では、目標速度か
らゼロまでスライダ3を減速して停止させるため、前述
同様、モータ9の通電パルスデューティを100%と
し、モータの回転方向を正転から逆転に切換えてスライ
ダに制動力を与えるようにモータ9を駆動する。
Reference numeral c is a deceleration mode during scanning, and when the amount of movement of the slider 3 from the scan start position to the current position reaches the target movement amount in the constant speed mode, control of the deceleration mode is executed. In this control, since the slider 3 is decelerated from the target speed to zero and stopped, the energizing pulse duty of the motor 9 is set to 100% and the rotation direction of the motor is switched from normal rotation to reverse rotation to apply a braking force to the slider, as described above. The motor 9 is driven to give it.

【0022】次にスライダ3の移動速度がゼロになるd
近辺について説明する。減速モードにおいてスライダ3
の移動速度が停止検知速度になると、スライダ3が停止
したとみなす。モータ9の回転方向を正転のままとし、
モータ9の通電パルスデューティを100%としてスラ
イダ3のリターンを開始する。
Next, the moving speed of the slider 3 becomes zero d
The neighborhood will be described. Slider 3 in deceleration mode
When the moving speed of 3 reaches the stop detection speed, it is considered that the slider 3 has stopped. The rotation direction of the motor 9 is kept forward,
The energizing pulse duty of the motor 9 is set to 100%, and the return of the slider 3 is started.

【0023】eはリターン時の加速モードである。モー
タ9の回転方向は逆転とし、スライダ3の移動方向はリ
ターン方向とする。後の制御はスキャン時の加速モード
(a)の制御と同様である。
E is an acceleration mode at the time of return. The rotation direction of the motor 9 is reverse and the movement direction of the slider 3 is the return direction. The subsequent control is the same as the control in the acceleration mode (a) during scanning.

【0024】fはリターン時の定速モードである。これ
もモータ回転方向以外はスキャン時の定速モード(b)
の制御と同様である。
Reference numeral f is a constant speed mode at the time of return. This is also a constant speed mode during scanning (b) except for the motor rotation direction
It is similar to the control of.

【0025】gはリターン時の減速モードである。これ
もモータ回転方向以外はスキャン時の減速モード(c)
の制御と同様である。
G is a deceleration mode at the time of return. This is also the deceleration mode during scanning (c) except for the motor rotation direction.
It is similar to the control of.

【0026】次にスライダ3の移動速度がゼロになるh
近辺に制御について説明する。リターン時の減速モード
においてスライダ3の移動速度が停止検知速度y4まで
減速すると、スライダ3が停止したとみなしてモータの
通電をOFFし、そのままスライダ3をホームポジショ
ンに停止させる。
Next, the moving speed of the slider 3 becomes zero h
Control will be described in the vicinity. When the moving speed of the slider 3 decelerates to the stop detection speed y4 in the return deceleration mode, it is considered that the slider 3 has stopped, the motor is turned off, and the slider 3 is stopped at the home position.

【0027】この後次のスキャン開始信号が入力される
まで、スライダ3はホームポジションに停止し、スキャ
ン開始信号が再度入力されるときのみ前述の制御が実行
される。
Thereafter, the slider 3 is stopped at the home position until the next scan start signal is input, and the above control is executed only when the scan start signal is input again.

【0028】次に上記したスライダ3の具体的な制御内
容について図5および図6のフローチャートを参照して
説明する。制御内容はスライダ3が目標速度に達する前
の加速制御モード(上記したaのモード)と目標速度到
達後の定速制御モード(上記bのモード)に分かれる。
2つのモードの違いによってフローでの処理時間が大き
く異なり、フロー全体としてみてもモードによって処理
時間が大きく異なるものとする。
Next, the specific control contents of the slider 3 will be described with reference to the flow charts of FIGS. 5 and 6. The control content is divided into an acceleration control mode before the slider 3 reaches the target speed (mode a above) and a constant speed control mode after the target speed reaches mode b).
It is assumed that the processing time in the flow differs greatly depending on the difference between the two modes, and the processing time in the entire flow also greatly differs depending on the mode.

【0029】マイコン41にスキャン開始信号が入力さ
れたときのみ以下の制御が実行される。まずスライダ3
の移動方向としてスキャン方向が設定される(ステップ
S11、以下ステップを略す)。次にスキャン開始信号
入力後において、ホームポジションからスライダ3をス
キャン方向に移動させるため、モータ9の回転方向を正
転となるようにモータ9の通電方向(+または−)を設
定する(S12)。
The following control is executed only when a scan start signal is input to the microcomputer 41. First slider 3
The scanning direction is set as the moving direction of the (step S11, the following steps are omitted). Next, after the scan start signal is input, in order to move the slider 3 from the home position in the scan direction, the energization direction (+ or −) of the motor 9 is set so that the rotation direction of the motor 9 is forward (S12). .

【0030】S13でスライダ3の移動量をゼロにリセ
ットする。このステップはスライダ3がスキャン開始位
置(ホームポジション)にあるとき、またはリターン開
始位置にあるときのみ実行される。次に制御モードを示
すフラグとして加速モードを示すフラグを設定し、プロ
グラム処理時間として加速モード時にプログラム処理に
要する加速モード処理時間を設定する(S14,S1
5)。ここで処理時間とは現在の制御モードでのフロー
チャート1ループに必要な時間を表わし、加速モード処
理時間とは加速モードでのフローチャート1ループに必
要な時間を表わす。
In S13, the movement amount of the slider 3 is reset to zero. This step is executed only when the slider 3 is at the scan start position (home position) or at the return start position. Next, the flag indicating the acceleration mode is set as the flag indicating the control mode, and the acceleration mode processing time required for the program processing in the acceleration mode is set as the program processing time (S14, S1).
5). Here, the processing time represents the time required for the flowchart 1 loop in the current control mode, and the acceleration mode processing time represents the time required for the flowchart 1 loop in the acceleration mode.

【0031】S16でこのときはまだ加速開始前なので
分周回路FDCの分周数を1にリセットし、モータの通
電パルスのデューティPWMを100%とする(S1
7)。
In S16, since the acceleration is not yet started at this time, the frequency division number of the frequency dividing circuit FDC is reset to 1 and the duty PWM of the energizing pulse of the motor is set to 100% (S1).
7).

【0032】次に以下のステップの理解の容易のために
エンコーダ10および分周回路FDCからのパルス信号
出力について図7を参照して説明する。図7の(a)は
エンコーダ10からのパルス信号出力、すなわち、分周
前パルス信号を表わし、(b)は分周回路FDCからの
パルス信号出力、すなわち、分周後パルス信号を表わ
す。(a)においてパルス信号は立上がりエッジeを有
する。分周回路パルス信号においてその分周数が1の場
合は立上がりエッジeに対応して割込制御開始位置i1
となる。モータ9が速く回転され、図の右に示すように
エンコーダ10からのパルス周波数が増えた状態で分周
回路FDCにおける分周数が3から4に変わった状態を
考える。このときd1は前回の割込制御時における分周
前パルスの信号幅を示し、i2は前回の割込制御開始位
置を示し、i3は今回の割込制御開始位置を示す。ま
た、d2は前回の分周後パルス信号入力から今回のパル
ス信号入力の分周後までのパルス幅を表わす。
Next, the pulse signal output from the encoder 10 and the frequency dividing circuit FDC will be described with reference to FIG. 7 for easy understanding of the following steps. 7A shows the pulse signal output from the encoder 10, that is, the pulse signal before frequency division, and FIG. 7B shows the pulse signal output from the frequency dividing circuit FDC, that is, the pulse signal after frequency division. In (a), the pulse signal has a rising edge e. When the frequency division number in the frequency divider circuit pulse signal is 1, the interrupt control start position i1 corresponds to the rising edge e.
Becomes Consider a state in which the motor 9 is rotated at a high speed, and the frequency division number in the frequency dividing circuit FDC is changed from 3 to 4 while the pulse frequency from the encoder 10 is increased as shown in the right side of the figure. At this time, d1 indicates the signal width of the pre-dividing pulse in the previous interrupt control, i2 indicates the previous interrupt control start position, and i3 indicates the current interrupt control start position. Further, d2 represents the pulse width from the pulse signal input after the previous frequency division to the pulse signal input this time after the frequency division.

【0033】図2を参照して、CPU42には分周回路
FDCで分周されたパルス信号(図7の(b)で示す信
号)しか入力されない。図5および図7を参照して、C
PU42に分周後パルス信号が入力されたとき(S18
でYES)のときのみS19〜S38の割込制御が実行
される。
Referring to FIG. 2, CPU 42 receives only a pulse signal (a signal shown in FIG. 7B) divided by frequency dividing circuit FDC. Referring to FIGS. 5 and 7, C
When a pulse signal after frequency division is input to the PU 42 (S18
Only when YES), the interrupt control of S19 to S38 is executed.

【0034】S19においては、スライダ3のスキャン
開始位置〜現在位置までの移動量であるパルスエンコー
ダからのパルス信号出力回数(分周前パルス信号出力回
数)を算出する。具体的には前回の割込制御時における
移動量に前回の分周後パルス信号入力〜今回の分周後パ
ルス信号入力までのスライダ移動量である分周数を加算
して現在のスライダ移動量とする。
In S19, the number of pulse signal outputs from the pulse encoder (the number of pulse signal outputs before frequency division), which is the amount of movement of the slider 3 from the scan start position to the current position, is calculated. Specifically, the current slider movement amount is calculated by adding the division number, which is the slider movement amount from the previous pulse signal input after frequency division to the pulse signal input after frequency division this time, to the movement amount during the previous interrupt control. And

【0035】次にS20においては、前回の割込制御時
における分周前パルス信号のパルス幅を算出する。な
お、パルス幅とは、パルス信号立上がりエッジから次の
パルス信号の立上がりエッジまでの時間またはカウンタ
のカウント値とする。ここでは分周前パルス幅とは前回
の割込制御時の分周後パルス信号立上がり〜今回の割込
制御時の分周後パルス信号立上がりまでの時間である、
分周後パルス幅を前々回の割込制御でS20で設定され
た分周数Nで割ることによって得られる。この計算によ
り、前回の割込制御時における分周前パルス信号、パル
ス幅が得られる。なお、S20において、前々回の割込
制御においてS22で設定された分周数Nを用いて分周
前パルス幅を算出したが、S20で分周数Nが設定され
るとその値がRAMにメモリされ、次々回の制御におい
てFIFOメモリに記憶されたような形でデータが呼出
されるものとする。
Next, in S20, the pulse width of the pre-dividing pulse signal in the previous interrupt control is calculated. The pulse width is the time from the rising edge of the pulse signal to the rising edge of the next pulse signal or the count value of the counter. Here, the pre-division pulse width is the time from the rise of the post-division pulse signal in the previous interrupt control to the rise of the post-division pulse signal in the current interrupt control.
It is obtained by dividing the pulse width after frequency division by the frequency division number N set in S20 in the interrupt control performed two times before. By this calculation, the pre-dividing pulse signal and the pulse width at the time of the previous interrupt control can be obtained. In S20, the pre-division pulse width was calculated using the frequency division number N set in S22 in the pre-preceding interrupt control. However, when the frequency division number N is set in S20, the value is stored in the RAM. It is assumed that the data is recalled in the form stored in the FIFO memory in the next and subsequent control.

【0036】次にS21においては、前回の割込制御時
におけるスライダ速度を算出する。具体的には、1エン
コーダパルス分で移動するスライダの移動量をS20で
得られた分周前パルス幅で割って算出する。ここでスラ
イダ速度は現在のスライダ速度を表わす。
Next, in S21, the slider speed at the time of the previous interrupt control is calculated. Specifically, it is calculated by dividing the amount of movement of the slider that moves by one encoder pulse by the pulse width before frequency division obtained in S20. Here, the slider speed represents the current slider speed.

【0037】S22においては、今回の割込制御以降に
おける分周回路FDCの分周数を設定する。この発明に
おいては、分周回路FDCの分周数を現在のスライダ移
動速度および割込制御の処理に要する処理時間に応じて
設定している。具体的には、S22において、 分周数N=(割込制御に要する処理時間/分周前パルス
幅(S20で求めたもの))+1 と設定している。
In S22, the frequency division number of the frequency dividing circuit FDC after the current interrupt control is set. In the present invention, the frequency division number of the frequency dividing circuit FDC is set according to the current slider movement speed and the processing time required for the interrupt control processing. Specifically, in S22, the frequency division number N = (processing time required for interrupt control / pulse width before frequency division (obtained in S20)) + 1 is set.

【0038】少なくとも処理時間≦分周前パルス幅×N
としないと処理時間に余裕がなくなる。この状態を図8
を参照して説明する。図8において(a)は分周前パル
スを表わし、(b)は分周後パルスを表わす。図中w1
は分周前パルス幅を表わし、eは立上がりエッジを示
す。i1は前回の割込制御位置を表わし、i2は今回の
割込制御位置を表わし、i3は次回の割込制御位置を表
わし、i4は次々回の割込制御位置を表わす。
At least processing time ≦ pulse width before frequency division × N
Otherwise, there will be no room in processing time. This state is shown in Figure 8.
Will be described with reference to. In FIG. 8, (a) represents a pulse before frequency division, and (b) represents a pulse after frequency division. W1 in the figure
Represents the pulse width before frequency division, and e represents the rising edge. i1 represents the last interrupt control position, i2 represents the current interrupt control position, i3 represents the next interrupt control position, and i4 represents the next interrupt control position.

【0039】図8を参照して、分周後パルス信号立上が
りi3位置から割込制御を開始した場合、次の分周後パ
ルス信号立上がりi4までに割込制御が終了しない恐れ
がある。そのため、S22においては、前述のような式
で分周数を設定している。この計算により、上述のよう
に次の分周後パルス信号立上がりまでに確実に割込制御
の終了が可能でかつ最小の分周数を設定可能なので、最
小の間隔で割込制御が可能である。
Referring to FIG. 8, when the interrupt control is started from the pulse signal rising edge i3 after frequency division, the interrupt control may not be completed by the next pulse signal edge i4 after frequency division. Therefore, in S22, the frequency division number is set by the above-described formula. By this calculation, as described above, the interrupt control can be surely completed before the pulse signal rises after the next frequency division, and the minimum frequency division number can be set. Therefore, the interrupt control can be performed at the minimum interval. .

【0040】なお、今回の割込制御で設定された分周数
は次回の割込制御以降の分周前パルス信号(図8におい
てc以降)はこの分周数で分周されるものとする。
It is assumed that the frequency division number set in the current interrupt control is divided by the pre-frequency division pulse signal (after c in FIG. 8) after the next interrupt control. .

【0041】次に図6を参照してS23以降の各モード
のモータ通電制御について説明する。まずS23で制御
モードの判断がされ、それぞれ加速モード、定速モード
および減速モードに分かれる。まず加速モードにおいて
は、スライダ移動速度が目標速度に達するまでは(S2
4でNO)、モータ9の通電パルスデューティを100
%とし、モータ通電ONの状態が続く(S17)。スラ
イダ速度が目標速度に達すると(S24でYES)、モ
ードを定速モードに設定し処理時間を定速モードの処理
時間とする(S25,S26)。
Next, the motor energization control in each mode after S23 will be described with reference to FIG. First, in S23, the control mode is determined, and the control mode is divided into an acceleration mode, a constant speed mode, and a deceleration mode. First, in the acceleration mode, until the slider moving speed reaches the target speed (S2
4 is NO), the energization pulse duty of the motor 9 is 100
%, And the motor energization ON state continues (S17). When the slider speed reaches the target speed (YES in S24), the mode is set to the constant speed mode and the processing time is set to the processing time of the constant speed mode (S25, S26).

【0042】S23で定速モードであると判断されたと
きは、S21で求めた速度で移動中のスライダ3に対し
て目標速度で移動するためのモータの通電パルスのデュ
ーティを算出する(S27)。次いでS27で算出され
たデューティが100%または0%を超えてしまうのを
防止するための処理が行なわれる(S28−S31)。
これによってS20,21および27で誤った計算処理
をした場合のオーバフローの対策が行なわれる。
When it is determined in S23 that the mode is the constant speed mode, the duty of the energizing pulse of the motor for moving at the target speed with respect to the slider 3 moving at the speed obtained in S21 is calculated (S27). . Next, a process for preventing the duty calculated in S27 from exceeding 100% or 0% is performed (S28-S31).
As a result, measures against overflow in the case of performing incorrect calculation processing in S20, 21 and 27 are performed.

【0043】S32でスライダ移動量が目標移動量に達
すると、言い換えるとスライダ3が所定位置に到達する
と(S32でYES)、モードを減速モードとし(S3
3)、処理時間を減速モード処理時間とする(S3
4)。
When the slider movement amount reaches the target movement amount in S32, in other words, when the slider 3 reaches the predetermined position (YES in S32), the mode is set to the deceleration mode (S3).
3), the processing time is the deceleration mode processing time (S3)
4).

【0044】次いでS23で制御モードが減速モードで
あると判断されたときの処理について説明する。スライ
ダ3がスキャン中の場合には(S35でYES)、モー
タ9の回転方向を正転から逆転にし(S36)、スキャ
ン方向を移動中のスライダ3に対してリターン方向の負
荷を与えてスライダ3を減速させる(S38)。スライ
ダ3がリターン中の場合には(S35でNO)、モータ
9の回転方向を逆転から正転にしてリターン方向に移動
中のスライダ3にスキャン方向の負荷を与えてスライダ
を減速する(S40)。
Next, the processing when it is determined in S23 that the control mode is the deceleration mode will be described. When the slider 3 is scanning (YES in S35), the rotation direction of the motor 9 is changed from normal rotation to reverse rotation (S36), and a load in the return direction is applied to the slider 3 which is moving in the scanning direction to cause the slider 3 to move. Is decelerated (S38). When the slider 3 is returning (NO in S35), the rotation direction of the motor 9 is changed from reverse to forward to apply a load in the scan direction to the slider 3 moving in the return direction to decelerate the slider (S40). .

【0045】次にスライダ速度≦停止検知速度となると
(S39でYES)、スライダ3が停止したとみなして
モータ通電パルスのデューティを0%とする(S4
0)。スライダの移動方向がスキャン方向のときは(S
41でYES)、スライダ3の移動方向をリターン方向
に設定し、モータ9の回転方向を逆転とし(S42,S
43)、リターンを開始し、前述の加速、定速、減速の
制御を再実行する。
Next, when the slider speed ≦ the stop detection speed (YES in S39), it is considered that the slider 3 has stopped, and the duty of the motor energizing pulse is set to 0% (S4).
0). If the slider movement direction is the scan direction (S
(YES in 41), the movement direction of the slider 3 is set to the return direction, and the rotation direction of the motor 9 is set to the reverse direction (S42, S).
43), return is started, and the above-mentioned acceleration, constant speed, and deceleration control is executed again.

【0046】一方、スライダ3の移動方向がリターン方
向のときは(S41でNO)、制御を終了する。
On the other hand, when the moving direction of the slider 3 is the return direction (NO in S41), the control is ended.

【0047】最後に、図9を参照して、この発明の具体
的効果について説明する。図9の(A)は図4に示した
加速制御(a)と定速制御(b)の切換わる部分におけ
る従来の場合(A)と本願発明を適用した場合(B)と
を示す図である。図において(i)はパルス発生部の出
力パルスであり、(ii)はマイコン41への入力パル
スであり、(iii)はマイコン41での処理時間を示
す。上で述べたように、加速制御時と定速制御時は制御
部において異なる処理をするものとし、加速制御時の処
理時間は定速制御時の約半分の時間ですむとする。目標
速度は定速制御時に正常な処理を行なうためにパルスを
2以上の分周数で分周する必要があるが、処理時間の短
い加速制御時には分周の必要のない速度とする。
Finally, the specific effect of the present invention will be described with reference to FIG. 9A is a diagram showing a conventional case (A) and a case (B) to which the invention of the present application is applied in a portion where the acceleration control (a) and the constant speed control (b) shown in FIG. 4 are switched. is there. In the figure, (i) is an output pulse of the pulse generator, (ii) is an input pulse to the microcomputer 41, and (iii) is a processing time in the microcomputer 41. As described above, it is assumed that the control unit performs different processing during acceleration control and constant speed control, and the processing time during acceleration control is about half the time required during constant speed control. The target speed needs to be divided by a frequency division number of 2 or more in order to perform normal processing during constant speed control, but the speed need not be divided during acceleration control with a short processing time.

【0048】(A)の従来技術では、制御部の処理時間
にかかわらず分周数を決定するので、加速制御時にも定
速制御時と同じくパルスを2分周して制御部に送ってお
り、不必要な分周が行なわれている。これに対し(B)
の場合には、加速制御時は分周しないことによって加速
時の処理回数を増やし、細かい加速制御を行なうことが
できる。特に加速制御の場合には、細かい制御を行なう
ことによってオーバシュートの低減の効果がある。
In the prior art of (A), since the frequency division number is determined regardless of the processing time of the control section, the pulse is divided into two and sent to the control section during acceleration control as in constant speed control. , Unnecessary frequency division. On the other hand, (B)
In this case, the frequency is not divided during acceleration control, so that the number of times of processing during acceleration can be increased and fine acceleration control can be performed. Especially in the case of acceleration control, fine control is effective in reducing overshoot.

【0049】なお、上記実施例においては、定速モード
においてのみモータの通電パルスのデューティを算出し
たが、加速、減速モードにおいてもデューティを算出す
るようにしてもよい。ただしこの際、加速モード、減速
モードにおいても処理時間が長くなるが、これらの処理
時間が定速モードの処理時間より短いのであれば、前述
の分周数の設定によりオーバシュートの低減、定速移動
の安定化を達成できる。
Although the duty of the motor energizing pulse is calculated only in the constant speed mode in the above embodiment, the duty may be calculated also in the acceleration and deceleration modes. However, at this time, the processing time also becomes longer in the acceleration mode and deceleration mode, but if these processing times are shorter than the processing time in the constant speed mode, the overshoot is reduced and Stabilization of movement can be achieved.

【0050】また、上記実施例ではリターン時の定速モ
ードにおいてスキャン時の目標速度と同速度となるよう
スライダ3の速度制御を行なったが、リターン時の目標
速度をスキャン時よりも高くしてもよい。また、リター
ン時において定速モードでの制御を行なわず、加速モー
ド、減速モードの制御のみを行なってもよい。このよう
に、スライダ速度と処理時間に応じて分周数を設定する
本発明は、スライダの速度制御時において処理時間の異
なる各モードの制御を連続して行なうモータ制御装置全
般に適用可能である。
In the above embodiment, the speed of the slider 3 is controlled so as to be the same as the target speed during scanning in the constant speed mode during returning. However, the target speed during returning is set higher than during scanning. Good. Further, at the time of return, the control in the constant speed mode may not be performed, and only the control in the acceleration mode and the deceleration mode may be performed. As described above, the present invention in which the frequency division number is set according to the slider speed and the processing time can be applied to all motor control devices that continuously control each mode with a different processing time during the speed control of the slider. .

【0051】さらに、上記実施例ではスキャン時の目標
速度を一定の値としたが、ディジタルPPCにおいてス
キャン時の目標速度は変倍率によって適宜変更してもよ
い。また、この発明はアナログPPC方式の装置にも適
用可能である。
Further, in the above embodiment, the target speed during scanning is set to a constant value, but the target speed during scanning in the digital PPC may be appropriately changed according to the scaling factor. The present invention is also applicable to an analog PPC system device.

【0052】[0052]

【発明の効果】以上のようにこの発明によれば、移動体
の移動速度のみでなく、駆動手段の駆動モードに応じて
異なる値に設定されるパルス処理時間をも考慮してパル
ス処理を行なうエッジの所定の数を決定する。また、こ
の発明の他の局面においては、被駆動体の移動速度
動手段の駆動モードに応じて異なる値に設定される制御
理時間に基づいて、トリガとするパルス信号を特定す
る。その結果、処理時間が変動する場合にも精度のよい
制御ができるモータ制御装置が提供できる。
As described above, according to the present invention, not only the moving speed of the moving body but also the driving mode of the driving means is determined.
Determining a predetermined number of edges in consideration of between Pulse processing to be set to different values perform pulse processing. In another aspect of the present invention, the moving speed and the driving speed of the driven body are
Depending on the driving mode of the motion means on the basis of the between-time control <br/> processing to be set to different values, to identify the pulse signal to trigger. As a result, it is possible to provide the motor control device can be controlled with accuracy even if the processing time varies.

【0053】この発明が画像読取装置のスライダ駆動用
のモータ制御装置に用いられた場合には、従来のよう
に、スライダの速度に応じて分周数を設定する場合に比
べて加速モード→定速モードの移行時において、より細
かい間隔で割込制御が行なわれるため、スライダの速度
が目標速度に到達したことをより速く検知して加速モー
ド→定速モードの移行をすることができ、結果的にオー
バシュートの量を減らすことができる。さらには、スラ
イダ速度をより速く目標速度に安定させることができ
る。
When the present invention is used in a motor control device for driving a slider of an image reading device, the acceleration mode is set to a constant value as compared with the conventional case where the frequency division number is set according to the speed of the slider. Since the interrupt control is performed at finer intervals during the transition to the high speed mode, it is possible to detect that the slider speed has reached the target speed faster and switch from the acceleration mode to the constant speed mode. The amount of overshoot can be reduced. Furthermore, the slider speed can be stabilized at the target speed faster.

【0054】さらに、処理時間の大小、スライダの速度
の大小に応じて最小の分周数が設定可能であるため、定
速時においても最小の割込間隔でモータ通電パルスデュ
ーティを設定できるため、定速モード時の速度変動を小
さくすることができる。
Further, since the minimum frequency division number can be set according to the size of the processing time and the speed of the slider, the motor energizing pulse duty can be set at the minimum interrupt interval even at the constant speed. The speed fluctuation in the constant speed mode can be reduced.

【0055】さらに、減速モードにおいても、細かい間
隔で割込制御ができるため、上述のフローチャートで示
したように、スライダ3に制動力を与える場合には、ス
ライダ移動速度が停止検知速度以下になったのをいち早
く検出することができる。その結果、検出が遅れてスラ
イダが既に進行方向を逆にした後、これを検出してモー
タの通電をOFFし、それによってモータを所定位置に
停止できなくなるような不都合は生じず、常にスライダ
は所定位置(ホームポジション)に停止することができ
る。
Further, even in the deceleration mode, the interrupt control can be performed at a fine interval. Therefore, when the braking force is applied to the slider 3, the slider moving speed becomes equal to or lower than the stop detection speed as shown in the above-mentioned flowchart. It is possible to detect the fun early. As a result, there is no inconvenience that the motor cannot be stopped at the predetermined position by detecting this after the detection has been delayed and the slider has already reversed the traveling direction. It can be stopped at a predetermined position (home position).

【0056】なお、本実施例においては、割込制御に立
上がり信号を用いたが、立下がり信号を用いてもよい。
In this embodiment, the rising signal is used for the interrupt control, but the falling signal may be used.

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

【図1】この発明が適用される画像読取装置の概略構成
を示す模式図である。
FIG. 1 is a schematic diagram showing a schematic configuration of an image reading apparatus to which the present invention is applied.

【図2】この発明が適用される画像読取装置の制御部の
要部を示すブロック図である。
FIG. 2 is a block diagram showing a main part of a control unit of an image reading apparatus to which the present invention is applied.

【図3】分周回路が出力する信号を示す図である。FIG. 3 is a diagram showing a signal output from a frequency dividing circuit.

【図4】スライダの移動形態を示す図である。FIG. 4 is a diagram showing a movement mode of a slider.

【図5】この発明に係るモータ制御装置の動作を示すフ
ローチャートである。
FIG. 5 is a flowchart showing the operation of the motor control device according to the present invention.

【図6】この発明に係るモータ制御装置の動作を示すフ
ローチャートである。
FIG. 6 is a flowchart showing the operation of the motor control device according to the present invention.

【図7】分周前後のパルス信号を示す図である。FIG. 7 is a diagram showing pulse signals before and after frequency division.

【図8】分周前後のパルス信号を示す図である。FIG. 8 is a diagram showing pulse signals before and after frequency division.

【図9】この発明の具体的効果を示す図である。FIG. 9 is a diagram showing a specific effect of the present invention.

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

41 マイコン 42 CPU 45 入力ポート 46 出力ポート 47 PWM出力ポート 48 レジスタ 49 タイマユニット 50 発振回路 41 Microcomputer 42 CPU 45 input ports 46 output ports 47 PWM output port 48 registers 49 timer unit 50 oscillation circuit

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H02P 5/00 - 5/26 H02P 7/00 - 7/34 H04N 1/04 105 ─────────────────────────────────────────────────── ─── Continuation of front page (58) Fields surveyed (Int.Cl. 7 , DB name) H02P 5/00-5/26 H02P 7/ 00-7/34 H04N 1/04 105

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 移動体を異なる駆動モードで駆動する駆
動手段と、 前記移動体の移動量に応じてパルス信号を出力する手段
と、 前記パルス信号の立上がりエッジまたは立下がりエッジ
の所定の数ごとに所定のパルス処理を行なう手段と、 前記パルス処理に対応して前記駆動手段を制御する手段
とを含み、 前記制御手段は前記移動体の移動速度と前記駆動手段の
駆動モードに応じて異なる値に設定されるパルス処理時
間とに基づいて前記所定のエッジの数を特定する手段と
を含む、モータ制御装置。
1. A driving means for driving a moving body in different driving modes , a means for outputting a pulse signal according to a moving amount of the moving body, and a rising edge or a falling edge of the pulse signal.
A means for performing a predetermined pulse processing for each predetermined number of, and a means for controlling the driving means in response to the pulse processing, wherein the control means has a moving speed of the moving body and the driving means.
Based on the inter-pulse time processing <br/> to be set to a different value according to the drive mode and means for identifying the number of said predetermined edge, the motor control device.
【請求項2】 前記エッジの数を特定する手段は、前記
移動体の現在の移動速度と前記パルス処理時間とに基づ
いて、前記パルス信号を出力する手段が出力したパルス
信号を所定数に分周する手段を含む、請求項1に記載の
モータ制御装置。
2. The means for specifying the number of edges is the
Based on the current moving speed of the moving body and the pulse processing time.
The pulse output by the means for outputting the pulse signal
The method of claim 1, including means for dividing the signal into a predetermined number.
Motor control device.
【請求項3】 被駆動体を異なる駆動モードで駆動する
駆動手段と、 前記被駆動体の移動量に応じたパルス信号を出力する出
力手段と、 前記パルス信号をトリガとして前記駆動手段を制御する
制御処理を開始する手段と、 前記被駆動体の移動速度と前記駆動手段の駆動モードに
応じて異なる値に設定される制御処理時間に基づいて、
トリガとするパルス信号を特定する手段とを備えたモー
タ制御装置。
3. Driving means for driving a driven body in different driving modes , output means for outputting a pulse signal according to a movement amount of the driven body, and controlling the driving means by using the pulse signal as a trigger. Means for starting a control process, a moving speed of the driven body and a driving mode of the driving means.
In response based on the between-time control processing to be set to different values,
A motor control device comprising: a means for specifying a pulse signal to be a trigger.
【請求項4】 前記パルス信号を特定する手段は、前記
被駆動体の現在の移動速度と前記制御処理時間とに基づ
いて、前記出力手段が出力したパルス信号を所定数に分
周する手段を含む、請求項3に記載のモータ制御装置。
4. The means for identifying the pulse signal is the
Based on the current moving speed of the driven body and the control processing time
The pulse signal output by the output means to a predetermined number.
4. The motor control device according to claim 3, further comprising means for rotating.
JP00433293A 1993-01-13 1993-01-13 Motor control device Expired - Fee Related JP3427406B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP00433293A JP3427406B2 (en) 1993-01-13 1993-01-13 Motor control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP00433293A JP3427406B2 (en) 1993-01-13 1993-01-13 Motor control device

Publications (2)

Publication Number Publication Date
JPH06217583A JPH06217583A (en) 1994-08-05
JP3427406B2 true JP3427406B2 (en) 2003-07-14

Family

ID=11581502

Family Applications (1)

Application Number Title Priority Date Filing Date
JP00433293A Expired - Fee Related JP3427406B2 (en) 1993-01-13 1993-01-13 Motor control device

Country Status (1)

Country Link
JP (1) JP3427406B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002176534A (en) * 2000-12-07 2002-06-21 Brother Ind Ltd Image reader

Also Published As

Publication number Publication date
JPH06217583A (en) 1994-08-05

Similar Documents

Publication Publication Date Title
JP3204664B2 (en) Motor drive control device
JP3427406B2 (en) Motor control device
JP2738802B2 (en) Carrier jam detection control method
US4996564A (en) Controllable drive of optics of a copier
US5701521A (en) Photographic device having a vibration compensation function with reduced power consumption
JPS6163831A (en) Controlling method of optical system of copying machine at abnormal speed
JP2820724B2 (en) Drive control device for servo motor of image reading device
JP3306082B2 (en) Control method of scanner optical system
JPH06121576A (en) Control method for motor
JP2004015855A (en) Motor driving controller
JP3576581B2 (en) Scanner controller
JPH02146009A (en) Automatic focus adjusting device
JPH0738896Y2 (en) Auto focus device
JP3102792B2 (en) Scanner controller
JPS5942886B2 (en) Voice coil motor control device
JP2814575B2 (en) Power control device in copier
JP2957216B2 (en) Motor control device
JPS59152435A (en) Scanner
JPH0140011Y2 (en)
JP2931061B2 (en) Scanner optical system controller
JP3182416B2 (en) Drive control device
JP3441584B2 (en) Image forming device
JP2563580B2 (en) Electric zoom camera
JPH03218288A (en) Motor controller
JP2000307814A (en) Method for driving image reader

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20030408

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

Free format text: PAYMENT UNTIL: 20090516

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090516

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100516

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110516

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120516

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees