JPH04322198A - Bidirectional drive by step motor - Google Patents

Bidirectional drive by step motor

Info

Publication number
JPH04322198A
JPH04322198A JP3088357A JP8835791A JPH04322198A JP H04322198 A JPH04322198 A JP H04322198A JP 3088357 A JP3088357 A JP 3088357A JP 8835791 A JP8835791 A JP 8835791A JP H04322198 A JPH04322198 A JP H04322198A
Authority
JP
Japan
Prior art keywords
driving
step motor
load
drive
lens
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
JP3088357A
Other languages
Japanese (ja)
Inventor
Hirobumi Yoshino
吉 野  博 文
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP3088357A priority Critical patent/JPH04322198A/en
Publication of JPH04322198A publication Critical patent/JPH04322198A/en
Pending legal-status Critical Current

Links

Landscapes

  • Control Of Stepping Motors (AREA)
  • Exposure Or Original Feeding In Electrophotography (AREA)
  • Variable Magnification In Projection-Type Copying Machines (AREA)
  • Facsimile Scanning Arrangements (AREA)

Abstract

PURPOSE:To correct backlash and perform the slow-up of a lens by detecting the deviation by the backlash, and, in case that the driving direction inverts from the previous driving direction, driving a stepping motor at low revolution, and then, increasing the revolution by stages. CONSTITUTION:A lens is driven by a specified quantity Pr in one direction with a step motor 16, and next, it is driven by a specified quantity PLa in the reverse direction, and the deviation between the number of these driving pulses (Pr and PLa), that is, backlash is detected with CPU 20. And in case that the driving direction inverts from the previous driving direction, the stepping motor is speeded up in step after correcting the deviation (PLa-Pr) at the time of having driven the stepping motor 16 at low speed into the specified revolution. Hereby, the slow-up control of the lens can be executed without being influenced by the backlash.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、ステップモータで負荷
を往/復の双方向に駆動する装置に関し、特に、これに
限る意図ではないが、複写機において原稿画像を走査す
る光学系の複写倍率設定用レンズを、指定された倍率対
応の位置にステップモータで駆動する装置に関する。
[Industrial Application Field] The present invention relates to a device that drives a load in both forward and backward directions using a step motor, and in particular, although it is not intended to be limited to this, the present invention relates to a device for driving a load in both forward and backward directions using a step motor. The present invention relates to a device for driving a magnification setting lens to a position corresponding to a specified magnification using a step motor.

【0002】0002

【従来の技術】例えば、上記レンズの基準位置(ホーム
ポジション)は倍率1対応の位置に設定されており、該
レンズのホームポジション到来を検知するセンサ(ホー
ムポジションセンサ)複写倍率設定機構に備わっている
[Prior Art] For example, the reference position (home position) of the above-mentioned lens is set to a position corresponding to a magnification of 1, and a copying magnification setting mechanism is equipped with a sensor (home position sensor) that detects the arrival of the home position of the lens. There is.

【0003】一般の位置決め機構においては通常、負荷
又は、負荷の移動に一対一の関係で連動する部材にロー
タリエンコーダの発生パルスを、駆動方向に対応してカ
ウントアップ/ダウンして、カウント値が目標位置対応
のものになると駆動を停止する。
[0003] In general positioning mechanisms, pulses generated by a rotary encoder are usually counted up or down in accordance with the driving direction to a load or a member that is interlocked with the movement of the load in a one-to-one relationship, so that the count value is determined. When the target position is reached, the drive is stopped.

【0004】ところで、負荷をステップモータで駆動す
ると、ロータリエンコーダを用いることなく、オープン
ループで位置決め制御をしうる。すなわち、ステップモ
ータの駆動パルス数で負荷位置を把握しうるので、目標
位置と現在位置との差値の極性により負荷駆動方向を決
定し該差値対応の駆動パルス数を演算して、その分ステ
ップモータを駆動することにより負荷を目標位置に駆動
し、駆動パルス分現在位置データを更新すればよい。
By the way, if the load is driven by a step motor, positioning control can be performed in an open loop without using a rotary encoder. In other words, since the load position can be determined by the number of driving pulses of the step motor, the load driving direction is determined based on the polarity of the difference value between the target position and the current position, and the number of driving pulses corresponding to the difference value is calculated. The load may be driven to the target position by driving the step motor, and the current position data may be updated by the amount of drive pulses.

【0005】このようなオープンループ制御では、負荷
、例えば上述の倍率設定用のレンズ、を基準位置から外
れた位置で往/復反転駆動すると、駆動方向反転時の、
駆動ギア,駆動ワイヤ、あるいはそれらの支持機構のバ
ックラッシュにより、負荷の位置が目標位置よりずれる
In such open-loop control, when a load, such as the above-mentioned magnification setting lens, is driven reciprocally and reversibly at a position away from the reference position, when the driving direction is reversed,
Backlash in the drive gear, drive wire, or their support mechanism causes the load position to deviate from the target position.

【0006】一方、負荷は駆動時に摩擦トルク及び慣性
トルクの影響を受けるため、目標回転数で直接駆動を開
始するのではなく、駆動可能な低回転数により駆動を開
始しその後回転数を増速して目標回転数を得る、いわゆ
るスローアップ制御が行われている(例えば、特開平1
−205182号公報)。
On the other hand, since the load is affected by friction torque and inertia torque during driving, instead of directly starting driving at the target rotation speed, driving is started at a low rotation speed that can be driven, and then the rotation speed is increased. So-called slow-up control is performed in which the target rotation speed is obtained by
-205182 publication).

【0007】図12に、PM型ステップモータのトルク
−駆動パルスレート(PPS)特性を示す。基本的なス
テップモータの駆動パルスレートPPSは、光学ユニッ
トの駆動スピードにより決定され、図中PPSnで示す
。一般に光学ユニットの摩擦トルク及び慣性負荷が加わ
った場合、直接PPSnで駆動を開始することができな
いので駆動を開始しうるパルスレート、この場合はPP
S0からスローアップ制御を開始することになる。また
、負荷を停止する場合は、慣性負荷のオーバランを防止
するためにスローアップ制御とは逆にPPSnからPP
S0へスローダウン制御が行われる。
FIG. 12 shows the torque-drive pulse rate (PPS) characteristics of a PM type step motor. The basic drive pulse rate PPS of the step motor is determined by the drive speed of the optical unit, and is indicated by PPSn in the figure. Generally, when the frictional torque and inertia load of the optical unit is applied, driving cannot be started directly with PPSn, so the pulse rate at which driving can be started, in this case PP
Slow-up control will start from S0. In addition, when stopping the load, in order to prevent overrun of the inertial load, in contrast to slow-up control, from PPSn to PP
Slowdown control is performed to S0.

【0008】[0008]

【発明が解決しようとする課題】しかし、スローアップ
時にバックラッシュの影響を受けると、スローアップに
より除々に駆動パルスレートを上げたとしてもバックラ
ッシュが取れる駆動数分、負荷は実質駆動を開始してい
ないので、初めて駆動を開始するときの駆動パルスレー
トは図12のPPSn側に近ずいており負荷のスローア
ップが完全に達成されない。このため、衝撃音や脱調等
の不具合が発生していた。
[Problem to be Solved by the Invention] However, if the load is affected by backlash during slow-up, even if the drive pulse rate is gradually increased due to slow-up, the load will not actually start driving for the number of drives that can eliminate backlash. Therefore, the drive pulse rate when starting the drive for the first time approaches the PPSn side in FIG. 12, and the load slow-up is not completely achieved. This caused problems such as impact noise and loss of synchronization.

【0009】本発明は、バックラッシュを補正し確実な
負荷のスローアップを行うことを目的とする。
An object of the present invention is to correct backlash and reliably slow up the load.

【0010】0010

【課題を解決するための手段】上記目的を達成するため
本発明のステップモータによる双方向駆動装置は、負荷
(8)を双方向に駆動するステップモータ(16);負
荷(8)を一方の方向に所定量(Pr)駆動し次いで逆
方向に該所定量(PLa)駆動してこれらの駆動パルス
数(PrとPLa)の偏差値(PLa−Pr)を検出す
る手段(20);負荷(8)を駆動した方向を示す情報
を記憶する記憶手段(20のFdir);負荷(8)の
現在位置(m0)と目標位置(m1)より、負荷(8)
を目標位置(m1)に駆動するための方向(Fdh)を
決定する手段(20);および、ステップモータ(16
)を決定した方向(Fdh)に、決定した方向(Fdh
)が記憶手段(20のFdir)に記憶している方向(
Fdir)と一致する場合には、ステップモータ(16
)を段階的に増速して所定の回転数(PPSn)とし、
決定した方向(Fdh)が記憶手段(20のFdir)
に記憶している方向(Fdir)と一致しない場合には
、ステップモータ(16)を低回転数(PPS0)で駆
動して偏差値(PLa−Pr)を補正した後、段階的に
増速して所定の回転数(PPSn)とする、駆動制御手
段(20);を備える。なお、カッコ内の記号は、図面
に示し後述する実施例の対応要素又は対応事項を示す。
[Means for Solving the Problems] In order to achieve the above object, a bidirectional drive device using a step motor of the present invention includes a step motor (16) that drives a load (8) in both directions; Means (20) for driving in the direction by a predetermined amount (Pr) and then driving in the opposite direction by the predetermined amount (PLa) to detect the deviation value (PLa-Pr) of the number of driving pulses (Pr and PLa); Storage means (Fdir of 20) for storing information indicating the direction in which the load (8) was driven; from the current position (m0) and target position (m1) of the load (8)
means (20) for determining the direction (Fdh) for driving the motor to the target position (m1); and a step motor (16).
) in the determined direction (Fdh), in the determined direction (Fdh
) is stored in the storage means (Fdir of 20) (
Fdir), step motor (16
) is increased in stages to a predetermined rotational speed (PPSn),
The determined direction (Fdh) is stored in the storage means (Fdir of 20)
If the direction does not match the direction (Fdir) stored in and a drive control means (20) for controlling the rotation speed to a predetermined rotation speed (PPSn). Note that symbols in parentheses indicate corresponding elements or corresponding matters in the embodiments shown in the drawings and described later.

【0011】[0011]

【作用】負荷(8)を一方の方向に所定量(Pr)駆動
し次いで逆方向に該所定量(PLa)駆動してこれらの
駆動パルス数(PrとPLa)の偏差値(PLa−Pr
)、すなわちバックラッシュによる誤差値(PLa−P
r)、を検出し、駆動方向が前回の駆動方向と反転する
場合には、この偏差値(PLa−Pr)をステップモー
タ(16)を低回転数(PPS0)で駆動することによ
り補正するので、バックラッシュによる位置決めずれを
生じない。
[Operation] The load (8) is driven in one direction by a predetermined amount (Pr) and then in the opposite direction by the predetermined amount (PLa) to calculate the deviation value (PLa - Pr) of the number of driving pulses (Pr and PLa).
), that is, the error value due to backlash (PLa-P
r), and if the driving direction is reversed from the previous driving direction, this deviation value (PLa-Pr) is corrected by driving the step motor (16) at a low rotation speed (PPS0). , positioning deviation due to backlash does not occur.

【0012】また、バックラッシュが生じた場合、偏差
値(PLa−Pr)を補正した後、回転数を低回転数(
PPS0)から段階的に増速して所定の回転数(PPS
n)とする、いわゆるスローアップ制御を行うので、ス
ローアップ制御時にバックラッシュの影響を受けること
がなく確実にスローアップ制御を実施しうる。これによ
り衝撃音や脱調等の不具合の発生が防止される。本発明
の他の目的および特徴は、図面を参照した以下の実施例
の説明より明らかになろう。
In addition, when backlash occurs, after correcting the deviation value (PLa-Pr), the rotation speed is reduced to a low rotation speed (
The speed is increased step by step from PPS0) to a predetermined rotational speed (PPS).
n), so-called slow-up control is performed, so that the slow-up control can be reliably performed without being affected by backlash during the slow-up control. This prevents problems such as impact noise and loss of synchronization from occurring. Other objects and features of the present invention will become apparent from the following description of embodiments with reference to the drawings.

【0013】[0013]

【実施例】図1に、本発明の一実施例の負荷8の配置態
様を示す。負荷8は複写機の原稿スキャナの、複写倍率
設定用のレンズである。コンタクトガラス1上の原稿(
図示しない)の画像は、矢印Aの方向に駆動される第1
キャリッジ2に搭載されたランプ3によって照明される
。原稿からの反射光は、第1キャリッジ2に搭載された
第1ミラー4で反射され、更に、第1キャリッジ2と同
方向に、第1キャリッジ2の移動速度の半分の速度で駆
動される第2キャリッジ5に搭載された第2ミラー6及
び第3ミラー7で反射され、レンズ8を通って更に第4
ミラー9で反射されて感光体ドラム10に照射される。 感光体ドラム10は図示しないメインチャージャにより
その表面が均一に荷電されており、この荷電面が上述の
光照射により、原稿画像に対応して露光され、これによ
り、感光体ドラム10の表面に原稿画像対応の静電潜像
が形成される。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows the arrangement of a load 8 according to an embodiment of the present invention. The load 8 is a lens for setting copying magnification of a document scanner of a copying machine. Original on contact glass 1 (
(not shown) is a first image driven in the direction of arrow A.
It is illuminated by a lamp 3 mounted on a carriage 2. The reflected light from the original is reflected by a first mirror 4 mounted on the first carriage 2, and a second mirror 4, which is driven in the same direction as the first carriage 2 at half the moving speed of the first carriage 2, is further reflected by a first mirror 4 mounted on the first carriage 2. It is reflected by the second mirror 6 and the third mirror 7 mounted on the second carriage 5, passes through the lens 8, and is further reflected by the fourth mirror.
The light is reflected by the mirror 9 and irradiated onto the photosensitive drum 10 . The surface of the photoreceptor drum 10 is uniformly charged by a main charger (not shown), and this charged surface is exposed to light corresponding to the original image by the above-mentioned light irradiation. An image-corresponding electrostatic latent image is formed.

【0014】図2に、図1に示したレンズ8の駆動機構
30を示す。レンズ8はキャリッジ31に固定されてお
り、このキャリッジ31に駆動ワイヤ11が固着されて
いる。駆動ワイヤ11は、プーリ12および13に張架
されている。プーリ13には、引張る力が与えられてお
り、これにより駆動ワイヤ11にテンションがかけられ
ている。プーリ12には従動歯車14が固着されており
、この従動歯車14に駆動歯車15が噛み合っている。 駆動歯車15は、ステップモータ16の回転軸に固着さ
れている。
FIG. 2 shows a driving mechanism 30 for the lens 8 shown in FIG. The lens 8 is fixed to a carriage 31, and a drive wire 11 is fixed to this carriage 31. Drive wire 11 is stretched around pulleys 12 and 13. A pulling force is applied to the pulley 13, thereby applying tension to the drive wire 11. A driven gear 14 is fixed to the pulley 12, and a driving gear 15 meshes with the driven gear 14. The drive gear 15 is fixed to a rotating shaft of a step motor 16.

【0015】ステップモータ16が正回転すると駆動歯
車15が時計方向に回転し、従動歯車14およびそれと
一体のプーリ12が反時計方向に回転して、キャリッジ
31およびそれに搭載されたレンズ8が右方向(縮小方
向)に移動する。ステップモータ16が逆回転するとレ
ンズ8が左方向(拡大方向)に移動する。
When the step motor 16 rotates forward, the driving gear 15 rotates clockwise, the driven gear 14 and the pulley 12 integrated with it rotate counterclockwise, and the carriage 31 and the lens 8 mounted thereon rotate rightward. (reduction direction). When the step motor 16 rotates in the opposite direction, the lens 8 moves to the left (enlargement direction).

【0016】キャリッジ31には遮光板18が固着され
ており、レンズ8が倍率1(ホームポジション)の位置
にあるときの遮光板18の右端位置(図2に示す位置)
にホトセンサ(ホームポジションセンサ)17が配置さ
れている。レンズ8が拡大領域(図2で図示位置より左
側)にあるときには、ホトセンサ17は遮光板18で光
路が遮ぎられていないので、受光状態(オン:高レベル
Hの出力)であり、レンズ8が縮小領域(図2で図示位
置より右端)にあるときには、ホトセンサ17は遮光板
で光路が遮断されるので、遮光状態(オフ:低レベルL
の出力)である。この態様を図9の(a),(b)に示
す。
A light shielding plate 18 is fixed to the carriage 31, and the right end position of the light shielding plate 18 (the position shown in FIG. 2) when the lens 8 is at the magnification of 1 (home position)
A photo sensor (home position sensor) 17 is arranged at. When the lens 8 is in the enlarged area (to the left of the position shown in FIG. 2), the optical path of the photo sensor 17 is not blocked by the light shielding plate 18, so it is in a light receiving state (on: high level H output), and the lens 8 When the photo sensor 17 is in the reduced area (right end of the illustrated position in FIG. 2), the light path of the photo sensor 17 is blocked by the light shielding plate, so the photo sensor 17 is in the light shielding state (off: low level L).
output). This aspect is shown in FIGS. 9(a) and 9(b).

【0017】なお、レンズ8の移動範囲は制限されてい
るので、レンズ8が縮小領域のいずれにあっても、遮光
板18でホトセンサ17がオフとなり、縮小領域で遮光
板18がホトセンサ17を通過してしまってオンになる
ことはない。
Note that since the movement range of the lens 8 is limited, no matter where the lens 8 is in the reduction area, the photo sensor 17 is turned off by the light shielding plate 18, and the light shield plate 18 does not pass the photo sensor 17 in the reduction area. If you do that, it won't turn on.

【0018】上記構成において、駆動歯車15と従動歯
車14の噛み合わせ、駆動ワイヤ11のテンション機構
等により、レンズ8の駆動方向を反転するとバックラッ
シュが発生する。
In the above configuration, backlash occurs when the driving direction of the lens 8 is reversed due to the meshing of the driving gear 15 and the driven gear 14, the tension mechanism of the driving wire 11, etc.

【0019】図3に、本実施例における制御部の構成を
示す。
FIG. 3 shows the configuration of the control section in this embodiment.

【0020】制御部は、CPU20,そのアドレスバス
、コントロールバス、データバス等に接続され、固定デ
ータや制御プログラムを記憶しているROM23,複写
データや各種フラグを読み書きするRAM24,CPU
20により設定されるタイマ時間が変化するプログラマ
ブルタイマ29,操作部22とのインターフェイス21
,ホトセンサ17、ステップモータ16その他複写機内
の各入力27や各出力28とのインターフェイスをとる
I/Oインターフェイス25等から構成されている。 なお、26は、ステップモータドライバである。
The control unit is connected to the CPU 20, its address bus, control bus, data bus, etc., and includes a ROM 23 that stores fixed data and control programs, a RAM 24 that reads and writes copy data and various flags, and the CPU.
A programmable timer 29 whose timer time set by 20 changes, and an interface 21 with an operation unit 22
, a photo sensor 17, a step motor 16, and an I/O interface 25 that interfaces with each input 27 and each output 28 in the copying machine. Note that 26 is a step motor driver.

【0021】本実施例で使用しているステップモータ1
6は、PM型ステッピングモータであり、モータドライ
バ26は、定電圧駆動方式のものである。
Step motor 1 used in this embodiment
6 is a PM type stepping motor, and the motor driver 26 is of a constant voltage drive type.

【0022】図4に、CPU20の主要制御動作を示し
、図5,図6,図7および図8に、主要制御動作の中の
数種のサブルーチンの内容を示す。
FIG. 4 shows the main control operations of the CPU 20, and FIGS. 5, 6, 7 and 8 show the contents of several subroutines in the main control operations.

【0023】まず図4を参照する。電源が投入されると
(ステップM1:以下カッコ内では、ステップやサブル
ーチンという語を省略してそのNo.のみを記す)、C
PU20は、出力ポートに待機時の信号レベルを出力し
、内部レジスタ,タイマ,カウンタ等を初期化する(M
2)。そして、「バックラッシュ検出」(M3)でバッ
クラッシュの検出し、レンズ8の基準位置(ホームポジ
ション:倍率1の位置)設定を行う。次に操作部22に
複写倍率が入力されるのを待ち、複写倍率が入力される
とそれを読み込み、現在の倍率データをレジスタm1か
らm0に移し、レジスタm1に今回入力された倍率デー
タを書き込む(M4)。複写倍率を読み込むと、それ(
m1)を、現在設定中の倍率(m0)と比較し、両者が
合致すると、レンズ8を駆動する必要がないのでまた倍
率入力を待つ(M5,M4)。入力された複写倍率(m
1)が現在設定中の倍率(m0)と相違すると、「駆動
量Pd1の算出」(M6)で、レンズ8を現在位置から
入力複写倍率(m1)の位置(目標位置)に駆動するに
要する駆動量   Pd1=|倍率m1の位置(基準位置からの付勢パ
ルス数)            −倍率m0の位置(
基準位置からの付勢パルス数)|を算出してレジスタP
d1に書き込み、次に「駆動方向の判定」(M7)で、
所要駆動方向を判定する。次に「駆動量の設定」(M8
)で、判定した所要駆動方向とレンズ8を現在位置に駆
動したときの駆動方向とを比較して、両方向が相違する
(反転駆動になる)ときには、所要駆動量Pd1にバッ
クラッシュ分の補正を加える。 そして、所要駆動方向にレンズ8を、補正した駆動量分
駆動し(M9)、この駆動方向をレジスタFdriに書
き込む(M10)。これを終えるとまた「倍率入力読取
」(M4)に戻って、複写倍率が新たに操作部22に入
力されるのを待つ。
First, refer to FIG. 4. When the power is turned on (step M1: below, the words "step" and "subroutine" are omitted and only the number is written in parentheses), the C
The PU20 outputs the standby signal level to the output port and initializes internal registers, timers, counters, etc. (M
2). Then, in "backlash detection" (M3), backlash is detected and the reference position (home position: position of magnification 1) of the lens 8 is set. Next, wait for the copy magnification to be input to the operation unit 22, and when the copy magnification is input, read it, move the current magnification data from register m1 to m0, and write the currently input magnification data to register m1. (M4). When you load the copy magnification, it (
m1) is compared with the currently set magnification (m0), and if the two match, there is no need to drive the lens 8, so another magnification input is awaited (M5, M4). The input copy magnification (m
1) is different from the currently set magnification (m0), "Calculate the driving amount Pd1" (M6) calculates the amount required to drive the lens 8 from the current position to the position (target position) of the input copying magnification (m1). Drive amount Pd1 = | Position of magnification m1 (number of energizing pulses from reference position) - Position of magnification m0 (
Calculate the number of energizing pulses from the reference position) and register P
Write in d1, then in “Determine driving direction” (M7),
Determine the required drive direction. Next, “setting the drive amount” (M8
), the determined required driving direction is compared with the driving direction when the lens 8 is driven to the current position, and if both directions are different (reverse driving), the required driving amount Pd1 is corrected for the backlash. Add. Then, the lens 8 is driven in the required driving direction by the corrected driving amount (M9), and this driving direction is written in the register Fdri (M10). When this is completed, the process returns to "magnification input reading" (M4) and waits for the copying magnification to be newly input to the operation unit 22.

【0024】「バックラッシュ検出」(M3)の内容を
示す図5を参照する。「バックラッシュ検出」(M3)
に進むとCPU20は、まずホトセンサ17の検出状態
をチェックし(1)、それがオン(高レベルH:レンズ
8が拡大領域にある)であると、オフ(レンズ8が基準
位置)になるまでステップモータ16を正回転駆動する
(22,23)。オフになると、レンズ8を所定量Pr
分駆動する正転付勢パルスをモータドライバ26に出力
して(24)、レジスタPLaを初期化する(25)。 次にホトセンサ17がオン(レンズ8が基準位置)にな
るまでステップモータ16を逆回転駆動し駆動付勢量を
カウントアップする(26〜28)。なお、ホトセンサ
17がオンになったときのカウントアップ値(レジスタ
PLaの内容PLa)は、右方向のPrパルス分のレン
ズ8の移動分を、反転駆動により左方向に駆動するに要
する付勢パルス数を示し、PLa−Prが、右駆動から
左駆動に反転したときのバックラッシュ(右/左反転バ
ックラッシュ量)を補償すべき付勢パルス数となる。ホ
トセンサ17がオンになるとCPU20は続けて、レン
ズ8を所定量PL分駆動する逆転付勢パルスをモータド
ライバ26に出力して(29)、レジスタPraを初期
化する(30)。次にホトセンサ17がオフ(レンズ8
が基準位置)になるまでステップモータ16を正回転駆
動し駆動付勢量をカウントアップする(31〜33)。 そして、設定倍率(倍率1)をレジスタm1に書き込み
、最終の駆動方向を示す情報(右駆動=1/左駆動=0
)をレジスタFdriに書き込む(34)。なお、ホト
センサ17がオフになったときのカウントアップ値(レ
ジスタPraの内容Pra)は、左方向のPLパルス分
のレンズ8の移動分を、反転駆動により右方向に駆動す
るに要する付勢パルス数を示し、Pra−PLが、左駆
動から右駆動に反転したときのバックラッシュ(左/右
反転バックラッシュ量)を補償すベき付勢パルス数とな
る。
Refer to FIG. 5, which shows the contents of "backlash detection" (M3). "Backlash detection" (M3)
When proceeding to , the CPU 20 first checks the detection state of the photosensor 17 (1), and if it is on (high level H: lens 8 is in the magnification area), the CPU 20 detects the detection state of the photosensor 17 until it becomes off (lens 8 is in the reference position). The step motor 16 is driven to rotate in the forward direction (22, 23). When turned off, the lens 8 is turned off by a predetermined amount Pr.
A normal rotation energizing pulse for driving the motor is outputted to the motor driver 26 (24), and the register PLa is initialized (25). Next, the step motor 16 is driven to rotate in reverse until the photo sensor 17 is turned on (the lens 8 is at the reference position), and the drive bias amount is counted up (26 to 28). Note that the count-up value (content PLa of register PLa) when the photosensor 17 is turned on is the energizing pulse required to drive the lens 8 to the left by reverse driving by the amount of movement of the lens 8 corresponding to the Pr pulse in the right direction. PLa-Pr is the number of energizing pulses to compensate for backlash (right/left reversal backlash amount) when right drive is reversed to left drive. When the photosensor 17 is turned on, the CPU 20 subsequently outputs a reverse energizing pulse for driving the lens 8 by a predetermined amount PL to the motor driver 26 (29), and initializes the register Pra (30). Next, the photo sensor 17 is turned off (lens 8
The step motor 16 is driven to rotate forward until it reaches the reference position), and the drive bias amount is counted up (31 to 33). Then, write the set magnification (magnification 1) to register m1, and write information indicating the final drive direction (right drive = 1 / left drive = 0
) is written to the register Fdri (34). Note that the count-up value (Pra in the register Pra) when the photosensor 17 is turned off is the energizing pulse required to drive the lens 8 in the right direction by reverse driving by the amount of movement of the lens 8 corresponding to the PL pulse in the left direction. Pra-PL is the number of energizing pulses that should compensate for backlash (left/right reversal backlash amount) when reversed from left drive to right drive.

【0025】以上の制御動作により、レンズ8は図9(
a)に示すように、基準位置(倍率1)を中心に右/左
にそれぞれ1往復駆動され、基準位置に設定される。
By the above control operation, the lens 8 is moved as shown in FIG.
As shown in a), the lens is driven back and forth once to the right and left, centering on the reference position (magnification 1), and set at the reference position.

【0026】「バックラッシュ検出」(M3)に進んだ
ときに、ホトセンサ17がオフ(レンズ8が縮小領域に
ある)であったときには、前述のステップ22〜34と
同様にして、ステップ2〜14で、図9(b)に示すよ
うに、レンズ8を基準位置を中心に左/右にそれぞれ1
往復駆動して、左方向のPLパルス分のレンズ8の移動
分を、反転駆動により右方向に駆動するに要する付勢パ
ルス数Pra、および、右方向のPrパルス分のレンズ
8の移動分を、反転駆動により左方向に駆動するに要す
る付勢パルス数PLaを検出し、かつレンズ8を基準位
置に設定する。この場合には最終に、レジスタm1に設
定した倍率(倍率1)を書き込み、レジスタFdriに
、左駆動を示す0を書き込む(14)。
When proceeding to "backlash detection" (M3), if the photo sensor 17 is off (lens 8 is in the reduction region), steps 2 to 14 are performed in the same manner as steps 22 to 34 described above. Then, as shown in FIG. 9(b), move the lens 8 by 1 to the left and right from the reference position.
The number of energizing pulses Pra required to drive the lens 8 in the right direction by reciprocating driving by the amount of PL pulses in the left direction, and the amount of movement of the lens 8 by the amount of Pr pulses in the right direction by reversing driving. , detects the number of energizing pulses PLa required for driving leftward by reverse driving, and sets the lens 8 to the reference position. In this case, finally, the set magnification (magnification 1) is written in the register m1, and 0 indicating left drive is written in the register Fdri (14).

【0027】往駆動から復駆動に反転する場合のバック
ラッシュと、復駆動から往駆動に反転する場合のバック
ラッシュとは、大略同程度であるが、細かくは異なる場
合があるため、別個に求めるので駆動方向の反転態様に
かかわらず正確な位置決めを達成しうる。
The backlash when reversing from forward driving to backward driving and the backlash when reversing from backward driving to forward driving are approximately the same level, but they may differ in detail, so they are determined separately. Therefore, accurate positioning can be achieved regardless of how the driving direction is reversed.

【0028】上述の「バックラッシュ検出」(M3)は
、装置電源が投入された直後に1回行われ、その後装置
電源がオフになるまで、再実行されることはない。よっ
て「バックラッシュ検出」(M3)には少々の時間がか
かるが、目標位置の指示に応答した装置の稼働中には実
質上行う必要がないので、これが目標位置決め時間を格
別に長くすることはない。
The above-mentioned "backlash detection" (M3) is performed once immediately after the device power is turned on, and is not executed again until the device power is turned off. Therefore, "backlash detection" (M3) takes some time, but it does not need to be done while the device is operating in response to a target position instruction, so this does not significantly lengthen the target positioning time. do not have.

【0029】次に、「駆動方向の判定」(M7)の内容
を示す図6を参照する。ここではCPU20は、現在の
設定倍率(レジスタm0の内容m0)を今回入力された
指定倍率(レジスタm1の内容m1)と比較して(41
)、後者が前者より大きいと、左方向駆動要を示す情報
0をレジスタFdhに書き込み(43)、そうでないと
右方向駆動要を示す情報1をレジスタFdhに書き込む
(42)。
Next, reference is made to FIG. 6 showing the contents of "Determination of driving direction" (M7). Here, the CPU 20 compares the current setting magnification (content m0 of register m0) with the specified magnification input this time (content m1 of register m1) and compares it with (41
), if the latter is larger than the former, information 0 indicating the need for leftward drive is written in the register Fdh (43); otherwise, information 1 indicating the need for rightward drive is written in the register Fdh (42).

【0030】次に、「駆動量の設定」(M8)の内容を
示す図7を参照する。ここではCPU20は、今回求め
た所要駆動方向Fdh(レジスタFdhの内容)と、現
在位置に駆動(前回駆動)したときの駆動方向Fdri
(レジスタFdriの内容)を参照して(51,52,
55)、両者共に右駆動(Fdh=Fdri=1)のと
き、および両者共に左駆動(Fdh=Fdri=0)の
ときには、バックラッシュを生じる問題がないので、目
標駆動量レジスタPdに、算出した要駆動量Pd1を書
き込み(53a,56a)、バックラッシュ補正パルス
数を0としてレジスタPHに書き込む(53b,56b
)。前回の駆動方向が右(Fdri=1)で今回の所要
駆動方向が左(Fdh=0)のときには右/左反転駆動
のバックラッシュを生ずるので、これを補償するため、
Pd=Pd1+(PLa−Pr)をレジスタPdに書き
込み(54a)、バックラッシュ補正パルス数(PLa
−Pr)をレジスタPHに書き込む(54b)。前回の
駆動方向が左(Fdri=0)で今回の所要駆動方向が
右(Fdh=1)のときには左/右反転駆動のバックラ
ッシュを生ずるので、これを補償するため、Pd=Pd
1+(Pra−PL)をレジスタPdに書き込み(57
a)、バックラッシュ補正パルス数(Pra−PL)を
レジスタPHに書き込む(57b)。
Next, reference will be made to FIG. 7 showing the contents of "setting of drive amount" (M8). Here, the CPU 20 calculates the required drive direction Fdh (contents of the register Fdh) obtained this time and the drive direction Fdri when driven to the current position (previous drive).
(51, 52,
55), when both are driven to the right (Fdh=Fdri=1) and when both are driven to the left (Fdh=Fdri=0), there is no problem of backlash, so the calculated value is stored in the target drive amount register Pd. The required driving amount Pd1 is written (53a, 56a), and the number of backlash correction pulses is set to 0 and written to the register PH (53b, 56b).
). When the previous driving direction was right (Fdri = 1) and the current required driving direction was left (Fdh = 0), a backlash of right/left reversal driving occurs, so in order to compensate for this,
Write Pd=Pd1+(PLa-Pr) into the register Pd (54a), and write the number of backlash correction pulses (PLa
-Pr) to the register PH (54b). When the previous driving direction was left (Fdri = 0) and the current required driving direction was right (Fdh = 1), backlash of left/right reversal driving occurs, so in order to compensate for this, Pd = Pd.
Write 1+(Pra-PL) to register Pd (57
a) Write the number of backlash correction pulses (Pra-PL) to the register PH (57b).

【0031】この「駆動量の設定」(M8)の次に実行
される「駆動」(M9)では、レジスタFdhのデータ
が示す方向〔1=右方向(モータは正転)/0=左方向
(モータは逆転)〕に、レジスタPdが示すパルス分、
ステップモータ16を回転駆動する。
In "driving" (M9), which is executed next to "setting the driving amount" (M8), the direction indicated by the data in the register Fdh is [1=rightward (motor rotates normally)/0=leftward. (The motor is reversed)], the pulse amount indicated by the register Pd,
The step motor 16 is driven to rotate.

【0032】駆動方法は、スローアップ制御及びスロー
ダウン制御を行い図10に示すように駆動パルスレート
の上昇カーブを設定する。すなわち、バックラッシュ補
正パルスPH分は最低駆動パルスレートPPS0で駆動
し、バックラッシュがとれて負荷が駆動を開始すると同
時にスローアップ制御を実施する。スローアップ制御は
、スローアップパルス数PSUの間に駆動パルスレート
をPPS0からPPSn(目標回転数)に上昇する。ま
た、スローダウン制御は、スローダウンパルス数PSD
の間に駆動パルスレートをPPSnからPPS0に下降
する。
The driving method is to perform slow-up control and slow-down control to set an increasing curve of the driving pulse rate as shown in FIG. That is, the backlash correction pulse PH is driven at the lowest drive pulse rate PPS0, and the slow-up control is performed at the same time as the backlash is removed and the load starts driving. The slow-up control increases the drive pulse rate from PPS0 to PPSn (target rotational speed) during the slow-up pulse number PSU. In addition, the slowdown control is performed using the slowdown pulse number PSD.
During this period, the drive pulse rate is lowered from PPSn to PPS0.

【0033】「駆動」(M9)の内容を示す図8を参照
する。ここではCPU20は、タイマ29(図3)のセ
ットアップ時間Tを初期設定すなわちPPS0に相当す
る周期とし、スローアップカウンタPDSUの値,スロ
ーダウンカウンタPDSDの値および駆動パルスカウン
タPDDの値をそれぞれ0に設定する(61)。そして
、タイマ29をスタートさせ(62)、駆動パルスカウ
ンタPDDがバックラッシュ補正パルス数PH未満か否
かを判定する(63)。PH未満であると、タイマ29
のセットアップ時間Tは変更されず、すなわちPPS0
のままにして駆動パルスカウンタPDDの値が目標駆動
量Pdか否か判定を行い(64)、両者が一致しないと
駆動パルスカウンタPDDの値を1インクリメントし(
65)、「駆動方向の判定」(M7)で決定された駆動
方向にステップモータ16を1ステップ駆動させる(6
6)。次に、セットアップ時間Tがオーバしたか否か判
定し(67)、オーバするとステップ62に戻りタイマ
29を再スタートさせる。
Refer to FIG. 8, which shows the contents of "driving" (M9). Here, the CPU 20 sets the setup time T of the timer 29 (FIG. 3) to the initial setting, that is, the cycle corresponding to PPS0, and sets the value of the slow-up counter PDSU, the value of the slow-down counter PDSD, and the value of the drive pulse counter PDD to 0, respectively. Set (61). Then, the timer 29 is started (62), and it is determined whether the drive pulse counter PDD is less than the number of backlash correction pulses PH (63). If it is less than PH, timer 29
The setup time T of is unchanged, i.e. PPS0
It is determined whether the value of the drive pulse counter PDD is the target drive amount Pd (64), and if the two do not match, the value of the drive pulse counter PDD is incremented by 1 (
65), drive the step motor 16 one step in the drive direction determined in "Determination of drive direction" (M7) (6
6). Next, it is determined whether or not the setup time T has exceeded (67), and if it has exceeded, the process returns to step 62 and restarts the timer 29.

【0034】ステップ63で駆動パルスカウンタPDD
がバックラッシュ補正パルス数PH以上となると(バッ
クラッシュ補正が完了すると)、駆動パルスカウンタP
DDがPH+PSU(スローアップパルス数)より小さ
いか否か、すなわちスローアップ期間か否かを判定する
(68)。PH+PSUより小さい(スローアップ期間
である)と、スローアップ制御を行う。つまりスローア
ップ期間の駆動パルスレートのPPS1からPPSnに
対応する周期のデータが図11の(a)に示すようにR
OM23(図3)のアドレスAdd0+0〜Add0+
PSU−1にセットされているのでスローアップカウン
タPDSUの値とAdd0の和よりパルスレートアドレ
スAppsを求めて(69)、Apps内のデータをタ
イマ29のセットアップ時間Tとして再セットして(7
0)、次のステップモータ16の駆動周期を変更(スロ
ーアップ)する。そして、スローアップカウンタPDS
Uの値を1インクリメントする(71)。
In step 63, the drive pulse counter PDD
When becomes equal to or greater than the backlash correction pulse number PH (when the backlash correction is completed), the drive pulse counter P
It is determined whether DD is smaller than PH+PSU (number of slow-up pulses), that is, whether or not it is a slow-up period (68). If it is smaller than PH+PSU (this is the slow-up period), slow-up control is performed. In other words, the period data corresponding to PPS1 to PPSn of the drive pulse rate during the slow-up period is R as shown in FIG. 11(a).
Addresses Add0+0 to Add0+ of OM23 (Figure 3)
Since it is set to PSU-1, the pulse rate address Apps is calculated from the sum of the slow-up counter PDSU value and Add0 (69), and the data in Apps is reset as the setup time T of the timer 29 (7
0), the drive cycle of the next step motor 16 is changed (slowed up). And the slow-up counter PDS
The value of U is incremented by 1 (71).

【0035】ステップ68で、駆動パルスカウンタPD
DがPH+PSU以上となるとPDDがPd−PSD(
スローダウンパルス数)になるまで(72)、すなわち
スローダウン期間に入るまで駆動パルスレートPPSn
に対応する一定の周期で連続駆動が行われる。
At step 68, the drive pulse counter PD
When D becomes more than PH+PSU, PDD becomes Pd-PSD (
Drive pulse rate PPSn until the number of slowdown pulses reaches (72), that is, until the slowdown period begins.
Continuous driving is performed at a constant period corresponding to .

【0036】PDDがPd−PSDと等しくなるとPD
DがPdと等しくなるまで(72,64)、スローダウ
ン制御を行う。つまり、スローダウン期間の駆動パルス
レートのPPSn−1からPPS0に対応する周期のデ
ータが図11の(b)に示すようにROM23(図3)
のアドレスAdd1+0〜Add1+PSD−1にセッ
トされているのでスローダウンカウンタPDSDの値と
Add1の和よりパルスレートアドレスAppsを求め
て(73)、Apps内のデータをタイマ29のセット
アップ時間Tとして再セットして(74)、次のステッ
プモータ16の駆動周期を変更(スローダウン)する。 そして、スローダウンカウンタPDSDの値を1インク
リメントする(75)。
When PDD is equal to Pd-PSD, PD
Slowdown control is performed until D becomes equal to Pd (72, 64). In other words, as shown in FIG. 11(b), the data of the period corresponding to the drive pulse rate PPSn-1 to PPS0 during the slowdown period is stored in the ROM 23 (FIG. 3).
The pulse rate address Apps is determined from the sum of the slowdown counter PDSD value and Add1 (73), and the data in Apps is reset as the setup time T of the timer 29. (74), the next drive cycle of the step motor 16 is changed (slowed down). Then, the value of the slowdown counter PDSD is incremented by 1 (75).

【0037】PDDがPdと等しくなると(64)、す
なわち設定された駆動量分の駆動が完了するとタイマ2
9をオフし(76)ステップモータ16をオフする(7
7)。このように駆動においてはバックラッシュ量に相
当する駆動パルス分を補正した後に駆動回転数を増加す
るスローアップ制御を実施するので、負荷の駆動を低速
から目標速度までバックラッシュの影響を受けることな
く確実にスローアップする。また、設定倍率が変更にな
ったときに基準位置にレンズ8を戻すことなく、現在位
置から最短距離分レンズ8を駆動するので、目標位置変
更から目標位置決め終了までの時間が短くなる。
When PDD becomes equal to Pd (64), that is, when driving for the set driving amount is completed, timer 2
9 (76) and step motor 16 (76).
7). In this way, in the drive, slow-up control is performed to increase the drive rotation speed after correcting the drive pulse equivalent to the amount of backlash, so the load can be driven from low speed to the target speed without being affected by backlash. Definitely slow it down. Further, when the set magnification is changed, the lens 8 is driven by the shortest distance from the current position without returning it to the reference position, so the time from changing the target position to completing the target positioning is shortened.

【0038】「駆動」(M9)を終えるとレジスタFd
riにFdhのデータを書き込む(M10)ので、以上
のようにレンズ8を駆動し終えた時には、レジスタFd
riに、この駆動方向を示す情報が書き込まれているこ
とになる。
When "driving" (M9) is finished, the register Fd
Since the data of Fdh is written to ri (M10), when the lens 8 is driven as described above, the register Fd
Information indicating this drive direction is written in ri.

【0039】[0039]

【発明の効果】以上説明したように本発明によれば、負
荷(8)を一方の方向に所定量(Pr)駆動し次いで逆
方向に該所定量(PLa)駆動してこれらの駆動パルス
数(PrとPLa)の偏差値(PLa−Pr)、すなわ
ちバックラッシュによる誤差値(PLa−Pr)、を検
出し、駆動方向が前回の駆動方向と反転する場合には、
この偏差値(PLa−Pr)をステップモータ(16)
を低回転数(PPS0)で駆動することにより補正する
ので、バックラッシュによる位置決めずれを生じない。
As explained above, according to the present invention, the load (8) is driven in one direction by a predetermined amount (Pr), and then in the opposite direction by the predetermined amount (PLa), thereby changing the number of driving pulses. The deviation value (PLa-Pr) of (Pr and PLa), that is, the error value (PLa-Pr) due to backlash, is detected, and if the driving direction is reversed from the previous driving direction,
This deviation value (PLa-Pr) is transferred to the step motor (16).
Since the correction is made by driving at a low rotational speed (PPS0), positioning deviation due to backlash does not occur.

【0040】また、バックラッシュが生じた場合、偏差
値(PLa−Pr)を補正した後、回転数を低回転数(
PPS0)から段階的に増速して所定の回転数(PPS
n)とする、いわゆるスローアップ制御を行うので、ス
ローアップ制御時にバックラッシュの影響を受けること
がなく確実にスローアップ制御を実施しうる。これによ
り衝撃音や脱調等の不具合の発生が防止される。
In addition, when backlash occurs, after correcting the deviation value (PLa-Pr), the rotation speed is reduced to a low rotation speed (
The speed is increased step by step from PPS0) to a predetermined rotational speed (PPS).
n), so-called slow-up control is performed, so that the slow-up control can be reliably performed without being affected by backlash during the slow-up control. This prevents problems such as impact noise and loss of synchronization from occurring.

【図面の簡単な説明】[Brief explanation of the drawing]

【図1】  本発明の一実施例の負荷である、複写機の
原稿走査系のレンズ8の、設置態様を示す縦断面図であ
る。
FIG. 1 is a longitudinal cross-sectional view showing an installation mode of a lens 8 of a document scanning system of a copying machine, which is a load in an embodiment of the present invention.

【図2】  図1に示すレンズ8を駆動する機構を示す
平面図である。
2 is a plan view showing a mechanism for driving the lens 8 shown in FIG. 1. FIG.

【図3】  図2に示す機構のステップモータ16を回
転駆動する電気回路の構成を示すブロック図である。
3 is a block diagram showing the configuration of an electric circuit that rotationally drives a step motor 16 of the mechanism shown in FIG. 2. FIG.

【図4】  図3に示すCPU20の主要制御動作を示
すフローチャートである。
4 is a flowchart showing main control operations of the CPU 20 shown in FIG. 3. FIG.

【図5】  図4に示す「バックラッシュ検出」なるサ
ブルーチンM3の内容を示すフローチャートである。
5 is a flowchart showing the contents of a subroutine M3 called "backlash detection" shown in FIG. 4. FIG.

【図6】  図4に示す「駆動方向の判定」なるサブル
ーチンM7の内容を示すフローチャートである。
6 is a flowchart showing the contents of a subroutine M7 "determining driving direction" shown in FIG. 4. FIG.

【図7】  図4に示す「駆動量の設定」なるサブルー
チンM8の内容を示すフローチャートである。
7 is a flowchart showing the contents of a subroutine M8 "setting drive amount" shown in FIG. 4. FIG.

【図8】  図4に示す「駆動」なるサブルーチンM9
の内容を示すフローチャートである。
[Figure 8] "Drive" subroutine M9 shown in Figure 4
FIG.

【図9】  図2に示すレンズ8の位置と複写倍率およ
びホトセンサ17の検出状態との関係を示すグラフであ
る。
9 is a graph showing the relationship between the position of the lens 8 shown in FIG. 2, the copying magnification, and the detection state of the photosensor 17. FIG.

【図10】  図2に示す機構のステップモータ16の
駆動パルス数に対する駆動パルスレートの変化を示すグ
ラフである。
10 is a graph showing a change in the drive pulse rate with respect to the number of drive pulses of the step motor 16 of the mechanism shown in FIG. 2. FIG.

【図11】  図3に示すROM23に記憶されたデー
タの一例を示す平面図である。
11 is a plan view showing an example of data stored in the ROM 23 shown in FIG. 3. FIG.

【図12】  PM型ステップモータのトルクと駆動パ
ルスレート(PPS)の関係を示すグラフである。
FIG. 12 is a graph showing the relationship between torque and drive pulse rate (PPS) of a PM type step motor.

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

1:コンタクトガラス板              
2:第1キャリッジ 3:照明灯                    
      4:第1ミラー5:第2キャリッジ   
               6:第2ミラー7:第
3ミラー                     
 8:レンズ(負荷) 9:第4ミラー                  
  10:感光体ドラム 11:駆動ワイヤ                 
 12,13:プーリ 14:従動歯車                  
  15:駆動歯車16:ステップモータ(ステップモ
ータ)17:ホトセンサ              
    18:遮光板19:引張コイルスプリング 20:CPU(偏差値を検出する手段,記憶手段,方向
を決定する手段,駆動制御手段) 23:ROM                   
     26:モータドライバ 29:プログラマブルタイマ
1: Contact glass plate
2: First carriage 3: Lighting light
4: First mirror 5: Second carriage
6: Second mirror 7: Third mirror
8: Lens (load) 9: Fourth mirror
10: Photosensitive drum 11: Drive wire
12, 13: Pulley 14: Driven gear
15: Drive gear 16: Step motor (step motor) 17: Photo sensor
18: Light shielding plate 19: Tension coil spring 20: CPU (means for detecting deviation value, storage means, means for determining direction, drive control means) 23: ROM
26: Motor driver 29: Programmable timer

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】負荷を双方向に駆動するステップモータ;
前記負荷を一方の方向に所定量駆動し次いで逆方向に該
所定量駆動してこれらの駆動パルス数の偏差値を検出す
る手段;負荷を駆動した方向を示す情報を記憶する記憶
手段;負荷の現在位置と目標位置より、負荷を目標位置
に駆動するための方向を決定する手段;および、前記ス
テップモータを前記決定した方向に、決定した方向が前
記記憶手段に記憶している方向と一致する場合には、前
記ステップモータを段階的に増速して所定の回転数とし
、決定した方向が記憶手段に記憶している方向と一致し
ない場合には、ステップモータを低回転数で駆動して前
記偏差値を補正した後、段階的に増速して所定の回転数
とする、駆動制御手段;を備える、ステップモータによ
る双方向駆動装置。
[Claim 1] A step motor that drives a load in both directions;
Means for driving the load in one direction by a predetermined amount and then driving the load in the opposite direction by the predetermined amount to detect the deviation value of the number of driving pulses; Storage means for storing information indicating the direction in which the load is driven; means for determining the direction for driving the load to the target position based on the current position and the target position; and means for driving the step motor in the determined direction, such that the determined direction matches the direction stored in the storage means If the determined direction does not match the direction stored in the storage means, the step motor is increased in speed to a predetermined rotation speed, and if the determined direction does not match the direction stored in the storage means, the step motor is driven at a low rotation speed. A bidirectional drive device using a step motor, comprising: drive control means for increasing the speed in stages to a predetermined rotational speed after correcting the deviation value.
【請求項2】下記A,BおよびCの処理を含む、ステッ
プモ−タによる双方向駆動方法: A.負荷をステップモ−タで一方の方向に所定量駆動し
次いで逆方向に該所定量駆動してこれらの駆動パルス数
の偏差値を第1記憶手段に記憶する; B.負荷の現在位置と目標位置より負荷を目標位置に駆
動するための方向を決定し、この方向が第2記憶手段に
記憶している方向と一致する場合には、ステップモータ
を段階的に増速して所定の回転数とし、決定した方向が
第2記憶手段に記憶している方向と一致しない場合には
、ステップモータを低回転数で第1記憶手段に記憶され
ている偏差値対応のパルス数分駆動した後、段階的に増
速して所定の回転数とする;および、C.負荷を駆動し
たときにはその方向を第2記憶手段に記憶する。
2. A bidirectional drive method using a step motor, including the following processes A, B, and C: A. Drive the load by a predetermined amount in one direction with a step motor, then drive the load by the predetermined amount in the opposite direction, and store the deviation value of the number of driving pulses in the first storage means; B. A direction for driving the load to the target position is determined based on the current position and target position of the load, and if this direction matches the direction stored in the second storage means, the speed of the step motor is increased in stages. If the determined direction does not match the direction stored in the second storage means, the step motor is rotated at a low rotation speed and pulses corresponding to the deviation value stored in the first storage means are set. After driving for several minutes, the speed is increased stepwise to a predetermined rotational speed; and C. When the load is driven, the direction is stored in the second storage means.
JP3088357A 1991-04-19 1991-04-19 Bidirectional drive by step motor Pending JPH04322198A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3088357A JPH04322198A (en) 1991-04-19 1991-04-19 Bidirectional drive by step motor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3088357A JPH04322198A (en) 1991-04-19 1991-04-19 Bidirectional drive by step motor

Publications (1)

Publication Number Publication Date
JPH04322198A true JPH04322198A (en) 1992-11-12

Family

ID=13940565

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3088357A Pending JPH04322198A (en) 1991-04-19 1991-04-19 Bidirectional drive by step motor

Country Status (1)

Country Link
JP (1) JPH04322198A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009207223A (en) * 2008-02-26 2009-09-10 Mitsubishi Electric Corp Step motor control device
JP2010042063A (en) * 2008-08-08 2010-02-25 Kyoraku Sangyo Kk Motor controller, game machine, motor control method, and program
JP2010206536A (en) * 2009-03-03 2010-09-16 Ricoh Co Ltd Image reading apparatus, image reading control method, and image reading control program
JP2010284015A (en) * 2009-06-05 2010-12-16 Mycom Inc Stepping motor drive device and controller
JP2011015297A (en) * 2009-07-03 2011-01-20 Canon Electronics Inc Image reading apparatus and control method therefor, and sheet processing apparatus

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009207223A (en) * 2008-02-26 2009-09-10 Mitsubishi Electric Corp Step motor control device
JP2010042063A (en) * 2008-08-08 2010-02-25 Kyoraku Sangyo Kk Motor controller, game machine, motor control method, and program
JP2010206536A (en) * 2009-03-03 2010-09-16 Ricoh Co Ltd Image reading apparatus, image reading control method, and image reading control program
JP2010284015A (en) * 2009-06-05 2010-12-16 Mycom Inc Stepping motor drive device and controller
JP2011015297A (en) * 2009-07-03 2011-01-20 Canon Electronics Inc Image reading apparatus and control method therefor, and sheet processing apparatus

Similar Documents

Publication Publication Date Title
EP0301849B1 (en) Method for controlling lens of image forming apparatus
JPH04322198A (en) Bidirectional drive by step motor
JPH03195395A (en) Unilateral step motor drive
JPH07104394A (en) Optical device
JP3306082B2 (en) Control method of scanner optical system
JP2524170Y2 (en) Variable magnification copier
JP2642638B2 (en) Scanner control method for copier
JP3040178B2 (en) Film movement detection device
JP3556390B2 (en) Driving method of optical system of image forming apparatus
JP2744366B2 (en) Copier
JP2968975B2 (en) Scanner controller
JP2524171Y2 (en) Variable magnification copier
JPH0580642A (en) Image write device
JPH06102589A (en) Optical device
JPH0310505Y2 (en)
JP2500800B2 (en) Optical system controller for copiers
JP3102793B2 (en) Scanner controller
JP3373595B2 (en) Copier
JPH02123380A (en) Scanner control method for copying machine
JPH03218288A (en) Motor controller
JPH041344B2 (en)
JPH01268495A (en) Stepping motor drive controller
JPS61173236A (en) Variable power copying machine
JPS5962845A (en) Scanning controller
JPH03289643A (en) Scanner controller