JPS59152435A - Scanner - Google Patents

Scanner

Info

Publication number
JPS59152435A
JPS59152435A JP58026847A JP2684783A JPS59152435A JP S59152435 A JPS59152435 A JP S59152435A JP 58026847 A JP58026847 A JP 58026847A JP 2684783 A JP2684783 A JP 2684783A JP S59152435 A JPS59152435 A JP S59152435A
Authority
JP
Japan
Prior art keywords
time
deceleration
motor
acceleration
pulse
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP58026847A
Other languages
Japanese (ja)
Other versions
JPH0441329B2 (en
Inventor
Yoshikazu Ikenoue
義和 池ノ上
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.)
Minolta Co Ltd
Original Assignee
Minolta 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 Minolta Co Ltd filed Critical Minolta Co Ltd
Priority to JP58026847A priority Critical patent/JPS59152435A/en
Publication of JPS59152435A publication Critical patent/JPS59152435A/en
Publication of JPH0441329B2 publication Critical patent/JPH0441329B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B27/00Photographic printing apparatus
    • G03B27/32Projection printing apparatus, e.g. enlarger, copying camera
    • G03B27/52Details
    • G03B27/522Projection optics
    • G03B27/525Projection optics for slit exposure
    • G03B27/526Projection optics for slit exposure in which the projection optics move

Landscapes

  • Physics & Mathematics (AREA)
  • Optics & Photonics (AREA)
  • General Physics & Mathematics (AREA)
  • Stopping Of Electric Motors (AREA)
  • Control Of Direct Current Motors (AREA)
  • Exposure Or Original Feeding In Electrophotography (AREA)
  • Optical Systems Of Projection Type Copiers (AREA)

Abstract

PURPOSE:To control smoothly acceleration and deceleration by turning off an electric conduction to a DC motor at the time of the acceleration and the deceleration for a constant interval of time at every pulse corresponding to a rotation of the DC motor, and turning it on until the following pulse after the elapse of off-time. CONSTITUTION:In case of the deceleration, an input terminal 9a is switched to an L in order to give damping force, and an input terminal 9b is on-off controlled. That is to say, a constant off-time is set at every pulse of an encoder 3 generated in accordance with a rotation of a DC motor 2, and it is controlled as an on-time until the following pulse. At the beginning of the deceleration, a pulse interval is shorter than the set off-time, therefore, a scanning system 1 is decelerated gradually by weak damping force, and it is decelerated by strong damping force as the pulse interval becomes long. Also, at the beginning of the acceleration, the pulse interval is long, said scanning system is accelerated strongly by strong electricity conductive torque, and when the pulse interval becomes short, the accelerating force becomes weak gradually. In this way, the the acceleration and deceleration are executed smoothly.

Description

【発明の詳細な説明】 技術分野 本発明は複写機等における走査系を直流モータで往復動
させる走査装置に関する。
DETAILED DESCRIPTION OF THE INVENTION Technical Field The present invention relates to a scanning device in which a scanning system in a copying machine or the like is reciprocated by a DC motor.

従来技術 近年、複写機の機能は増々高速化を要求されており、特
に、縮小接写機能を有する複写機の走査系は複写紙搬送
速度等に比べてより一層の高速化が要求される。このた
めに、従来のメインモータの駆動力をクラッチを介して
伝達する方式にかえて直流モータによるオンオフ制御方
式が提案されている。
BACKGROUND OF THE INVENTION In recent years, the functions of copying machines have been required to increase in speed, and in particular, the scanning system of a copying machine having a reduction close-up function is required to be even faster than copy paper conveyance speed. For this reason, an on/off control method using a DC motor has been proposed in place of the conventional method of transmitting the driving force of a main motor via a clutch.

直流モータの制御は一定時間或いは一定回転数の間のオ
ン時間を制御して所定の速度を得るものである。このオ
ンオフ制御は測定された速度とマイクロコンピュータの
メモリに記憶された数値にもとづいた演算によりおこな
われるが、定速制御時はまたしも、起動時、制動時、方
向転換時の速度が変化している時はスムーズな速度変化
を達成するためには大量の制御データを記憶しておかな
ければならず、丑だそれらの制御データによる制御も非
常に複雑なものになるという欠点を有していた。スムー
ズな加減速制御は走査系に極力衝撃を与えないために是
否とも必要上される。走査系に与える衝撃が少ない程予
備移動距離も短縮でき、走査系を軽量コンパクトなもの
にすることができ、ひいては高速化を達成できるからで
ある。
Control of a DC motor is to obtain a predetermined speed by controlling the ON time for a certain period of time or a certain number of revolutions. This on/off control is performed by calculations based on the measured speed and numerical values stored in the microcomputer's memory, but during constant speed control, the speed changes during starting, braking, and direction changes. When driving, a large amount of control data must be stored in order to achieve smooth speed changes, and the disadvantage is that the control using that control data becomes extremely complex. Ta. Smooth acceleration/deceleration control is essential in order to minimize impact on the scanning system. This is because the smaller the impact applied to the scanning system, the shorter the preliminary movement distance, the lighter and more compact the scanning system, and the higher the speed.

目的・要旨 本発明はこのような点に鑑みてなされたもので、大量の
記憶容量、榎維な制御を要することなくスムーズな加減
速制御をおこなうことのできる直流モータの制御方式を
用いた走査装置を提供すると発生するパルス毎に1足時
間モータへの通′岨をオフし、オフ時間経過後次のパル
スが発生するまでモータへの通電をオンするように制御
することによって達成される。
Purpose/Summary The present invention has been made in view of the above points, and is a scanning method using a DC motor control method that can perform smooth acceleration/deceleration control without requiring a large amount of storage capacity or elaborate control. This is achieved by controlling the power supply to the motor to be turned off for one period of time for each pulse that is generated, and to turn on the power to the motor after the lapse of the off time until the next pulse is generated.

前記パルスの間隔は、走査系の速度が遅いときは長く、
走査系の速度が速くなると短くなる。従って、一定のオ
フ時間を定め残余をオン時間とすれば、走査系の速度が
遅いときはオン時間は長く速度が速くなるとオン時間は
短くなるので、加速時においては低速時は加速度が大き
く定速制御速度に近づくに従って加速度が小さくなり、
減速時においては高速時は制動力が小さく低速になるに
従って大きな制動力を与えることができる。
The interval between the pulses is long when the speed of the scanning system is slow;
As the speed of the scanning system increases, the length becomes shorter. Therefore, if we set a constant off time and use the remaining on time, when the speed of the scanning system is slow, the on time will be longer and when the speed is faster, the on time will be shorter. The acceleration decreases as it approaches the speed control speed,
During deceleration, the braking force is small at high speeds, and larger braking force can be applied as the speed decreases.

実施例 以下、本発明に係る走査装置の一実施例を添付図面に従
って説明する。本実施例は電子写真複写機に適用したも
ので、第1図において、(1)は照明系を含んだ走査系
、(2)は直流モータで、走査系(1)はこの直流モー
タ(2)にて往復動、即ち矢印(A)方向に往動、逆方
向に復動される。(3)はエンコーダで、直流モータ(
2)の回転軸に設置され、その回転数に比例したパルス
を発生する。
Embodiment Hereinafter, one embodiment of a scanning device according to the present invention will be described with reference to the accompanying drawings. This embodiment is applied to an electrophotographic copying machine, and in FIG. 1, (1) is a scanning system including an illumination system, (2) is a DC motor, and the scanning system (1) is a ), that is, forward movement in the direction of arrow (A) and backward movement in the opposite direction. (3) is the encoder, and the DC motor (
2) is installed on the rotating shaft and generates pulses proportional to the rotation speed.

(4)はホームスイッチであり、走査系(1)がホーム
ポジション(走査開始位置)にあることを検出する。こ
の検出信号により走査開始時に走査系(1)がホームポ
ジションにないことが検出されると走査系(1)をホー
ムポジションに戻す制御がおこなわれる。(5)はブレ
ーキスイッチで、リターン芦に走査系(1)が所定位置
に達したことを検出し、後述するフローチャートでリタ
ーン時の制動開始の信号として用いられる。
(4) is a home switch, which detects that the scanning system (1) is at the home position (scanning start position). When it is detected by this detection signal that the scanning system (1) is not at the home position at the start of scanning, control is performed to return the scanning system (1) to the home position. (5) is a brake switch that detects when the scanning system (1) reaches a predetermined position on the return, and is used as a signal to start braking upon return in the flowchart described later.

第2図は、前記直流モータ(2)を制御するだめのスイ
ッチング回路を示し、読図において直流電源但)ハブリ
ッジ接続されたトランジスタ(’rr、 )〜(’rr
t )を介して直流モータ(2)に接続され、ダイオー
ド(Dl)〜(D4)が逆起電圧のバイパスを形成する
ために各トランジスタ(Tr、 )〜(Tr、 )と並
列に接続されている。
Figure 2 shows a switching circuit for controlling the DC motor (2).
t ) to the DC motor (2), and diodes (Dl) to (D4) are connected in parallel with each transistor (Tr, ) to (Tr, ) to form a bypass for the back electromotive voltage. There is.

入力端子(9a)は正転信号′■′、逆転信号1′LI
+が入力されるもので、アンドゲート(AND、)の入
力側及びトランジスタ(Tr+ )のベースに接続され
るとともに、インバータ(1)を介してアンドゲート(
AND2)の入力側及びトランジスタ(Tr、 )のべ
一ヌに接続されている。いまひとつの入力端子(91)
)はオン信号/′HI+、オフ信号″L″が入力される
もので、アンドか−) (AND、)、(AND2)の
入力側に接続されている。
Input terminal (9a) is forward rotation signal '■', reverse rotation signal 1'LI
+ is input, and is connected to the input side of the AND gate (AND) and the base of the transistor (Tr+), and is connected to the AND gate (AND) via the inverter (1).
It is connected to the input side of AND2) and to the base of the transistors (Tr, ). Another input terminal (91)
) receives the on signal /'HI+ and the off signal "L", and is connected to the input sides of AND, -) (AND, ), and (AND2).

また、アンドゲート(AND、)の出力側はトランジス
タ(Tr、)のベースに、アンドゲート(AND、)の
出力側はトランジスタ(Tr、 )のベースに接続され
ている。
Further, the output side of the AND gate (AND, ) is connected to the base of the transistor (Tr, ), and the output side of the AND gate (AND, ) is connected to the base of the transistor (Tr, ).

次に本発明の原理説明を第2図の回路の動作をおってお
こなう。139埋説明のために走査系(1)の移動を、
第3図(イ)に示すように、定速制御の往動から減速し
て方向転換し加速して定速制御の往動に連続的に移行す
る場合を例にとる。
Next, the principle of the present invention will be explained using the operation of the circuit shown in FIG. 139 To explain the movement of the scanning system (1),
As shown in FIG. 3(a), a case will be taken as an example in which the forward motion of constant speed control is decelerated, the direction is changed, and the motion is accelerated to continuously shift to forward motion of constant speed control.

定速スキャンでは、入力端子(9a)はLJ J(I+
、入力端子(9b)はエンコータ(2)からのパルヌの
測定にもとづきオンオフ制御される。このとき入力端子
(9b )かrL HI+のときはトランジスタ(Tr
、 )と(Tr3)とかオンしており直流電源四)から
の電流は第2図U方向に流れ、直流モータ(2)を往動
方向に駆動する。
In constant speed scan, the input terminal (9a) is LJJ(I+
, the input terminal (9b) is controlled on/off based on the measurement of the parnu from the encoder (2). At this time, when the input terminal (9b) is rL HI+, the transistor (Tr
, ) and (Tr3) are on, and the current from the DC power supply 4) flows in the direction U in FIG. 2, driving the DC motor (2) in the forward direction.

次に、往動方向で減速中の場合は、制動力を与えるだめ
入力端子(9a)は/7 L IT  に切換えられ、
入力端子(9b)は本発明の制御方式でオンオフ制御さ
れる。即ち、直流モータ(2)の回転に応じて発生され
るエンコーダパルス毎に一定のオフ時間を設定し、次の
エンコーダパルスまでをオン時間とじて制御するのであ
る。
Next, when decelerating in the forward direction, the input terminal (9a) for applying braking force is switched to /7LIT,
The input terminal (9b) is on/off controlled by the control method of the present invention. That is, a constant off time is set for each encoder pulse generated in response to the rotation of the DC motor (2), and the period up to the next encoder pulse is controlled as the on time.

入力端子(9a)がJr LI+で入力端子(91))
かL″の状態では、第2図でトランジスタ(Tr、 )
のみかオントランシヌタ(Tr+)の閉ループで矢印l
)方向の逆起電圧が発生し往動方向の回転に制動を与え
る。
Input terminal (9a) is Jr LI+ and input terminal (91))
In the state of ``L'', the transistor (Tr, ) in Figure 2
Arrow l in the closed loop of only ontransinuta (Tr+)
) direction generates a back electromotive force that brakes the forward rotation.

以下、この逆起電圧による制動を回生ブレーキという。Hereinafter, braking using this back electromotive force will be referred to as regenerative braking.

一方、入力端子(9a)かL″  で入力端子(91)
)がIIHIIO状侯では、トランジスタ(Tr+ )
と(Tr、 )がオンし、直流電源の)の直流は矢印l
)方向に流れ、直流モータ(2)を復動力向に回転させ
ようとする。
On the other hand, the input terminal (9a) or the input terminal (91)
) is in the IIHIIO state, the transistor (Tr+)
and (Tr, ) are turned on, and the direct current of ) of the DC power supply is indicated by the arrow l.
) direction, attempting to rotate the DC motor (2) in the backward direction.

この走査系(1)の移動方向と反対方向に回転させて制
動を与える場合を以下強制ブレーキという。
The case where braking is applied by rotating the scanning system (1) in the opposite direction to the moving direction is hereinafter referred to as forced braking.

第3図(イ)に戻って、減速の最初は、エンコータパル
スの間隔は設定されたオフ時間より短いので、回生ブレ
ーキのみが働く。この回生ブレーキの比較的弱い制動力
により走査系(1)は除々に減速され、エンコ・−ダパ
ルス間隔がオフ時間よりも長くなると、回生ブレーキと
ともに強制ブレーキも働き、強い制参力で減速をおこな
う(第3図(ロ)(ハ)参照)。
Returning to FIG. 3(a), at the beginning of deceleration, the interval between encoder pulses is shorter than the set off time, so only regenerative braking is activated. The scanning system (1) is gradually decelerated by the relatively weak braking force of this regenerative brake, and when the encoder pulse interval becomes longer than the off time, the forced brake also works together with the regenerative brake, decelerating with a strong braking force. (See Figure 3 (b) and (c)).

このように当初は弱い制動力を与え除々に制動力を強め
ていくだめ非常にスムーズに減速することができる。
In this way, by applying a weak braking force at the beginning and gradually increasing the braking force, deceleration can be achieved very smoothly.

ちなみに、出願人の従来の提案では第3図に点線で示す
ように、最初は回生ブレーキのみ(図中0点からA点捷
で)、次に強制ブレーキのみ(図中A点からB点まで)
としていたが、回生ブレーキは速度が低下するにつれ制
動力か弱くなるので減速に要する時間が長くなってしま
う。一方、これに比べ本発明の方式では充分短時間のう
ちに減速をおこなうことができる。
By the way, in the applicant's previous proposal, as shown by the dotted line in Figure 3, first only regenerative braking (from point 0 to point A in the figure), then only forced braking (from point A to point B in the figure) )
However, with regenerative braking, the braking force becomes weaker as the speed decreases, so it takes longer to decelerate. On the other hand, compared to this, the system of the present invention can perform deceleration in a sufficiently short time.

減速が終了すると走査系(1)は復動方向に加速される
。このときの回路状態は上記の減速時の状態と全く同じ
であυ、ただ走査系(1)の実際の移動方向か異なるだ
けである。従って上記の入力端子(9a)端 がLL L I+で入力年子(9b)がtrHnの状態
は強制的に駆動力を与え、入力端子(,9a)がL″ 
 で入力端子(9b)が”Lnの状態は慣性移動の状態
となる。
When the deceleration ends, the scanning system (1) is accelerated in the backward movement direction. The circuit state at this time is exactly the same as the state at the time of deceleration described above, except that the actual moving direction of the scanning system (1) is different. Therefore, when the input terminal (9a) terminal is LL L I+ and the input terminal (9b) is trHn, driving force is forcibly applied, and the input terminal (, 9a) is L''
The state where the input terminal (9b) is "Ln" is a state of inertial movement.

加速の初期はエンコータパルスの間隔が長いだめ直流モ
ータ(2)のオン時間も長く強い通屯トルりによって強
力に加速される。、そして、速度が定速制御速度に近づ
くに従ってパルス間隔は短くなって加速力は除々に弱く
なる。従って、加速時においても本発明の制僧1方式は
非常にスムーズな加速をおこなうことができる。
At the beginning of acceleration, the interval between encoder pulses is long, so the ON time of the DC motor (2) is also long, and strong acceleration is caused by the strong torque. , and as the speed approaches the constant speed control speed, the pulse interval becomes shorter and the acceleration force gradually becomes weaker. Therefore, even during acceleration, the first method of controlling the vehicle according to the present invention can perform very smooth acceleration.

このように本発明の制御方式は、減速、加速及び方向転
換時の減速から加速への連続的移行の全てにおいてスム
ーズな速度父化を曲率な制御で得ることができる。尚、
上記の説明は走査開始位置からの加速、復動から往動へ
の方向転換及び走査開始位置で停止する際の減速にも適
用できることは明らかである。
As described above, the control system of the present invention can achieve smooth speed change with curvature control in all of deceleration, acceleration, and continuous transition from deceleration to acceleration during direction changes. still,
It is clear that the above explanation can also be applied to acceleration from the scan start position, direction change from backward to forward movement, and deceleration when stopping at the scan start position.

制御用のマイクロコンピュータである。複写機は走査系
以外にも種々の制御対象を有するが、これらはマスクと
以下呼称する図示しないマイクロコンピュータで制御さ
れる。
This is a microcomputer for control. The copying machine has various control objects in addition to the scanning system, and these are controlled by a microcomputer (not shown), hereinafter referred to as a mask.

マイクロコンピュータ(20)は、セントラルプロセシ
ングユニノト(CPU)、1)−Fオンリーメモリ(R
OM)、ランダムアクセスメモリ(RAM)、入カポ−
1−(INPUT八出カポへ1− (0UTPUT)、
カウンタ(Tf)、タイマレジスタ(Tw )かうff
4 成され、INPUT には前記マスクからの制御要
求信号MAG。
The microcomputer (20) includes a central processing unit (CPU), 1)-F only memory (R
OM), random access memory (RAM), input capacitor
1- (INPUT to Yade Capo 1- (0UTPUT),
Counter (Tf), timer register (Tw) or ff
4, and INPUT receives the control request signal MAG from the mask.

5CAN、 BRAKE が入力される。信号MAGは
選択された倍率を示し、この信号により走査速度が設定
される。信号5CANは7/ I I+で往動をo〃 
で復動を指示する。信号BRAKE は走査系(1)が
復動時ブレーキスイッチ(5)をオンする間rr 1 
rr  になるものである。
5CAN and BRAKE are input. Signal MAG indicates the selected magnification and sets the scanning speed. Signal 5CAN is 7/I I+ for forward movement.
to instruct return movement. The signal BRAKE is rr 1 while the scanning system (1) turns on the brake switch (5) during backward movement.
rr.

0UTPUTからはモータ駆動信号りと正逆転信号Fが
第2図に示したヌイッチング回路(21)に出力され、
これにより直流モータ(2)の制御がおこなわれる。
From 0UTPUT, the motor drive signal and forward/reverse signal F are output to the Nuwitching circuit (21) shown in Figure 2.
This controls the DC motor (2).

CPUは2つの割込み端子を有しており、一方の端子に
はエンコーダ(3)の出力を波形整形回路(22)で整
形したエンコーダパルスが入力される。他方の端子はタ
イマレジスタ(Tw)と接続されており、タイマレジス
タ(Tw)には後述するフローチャ−トで説明するタイ
マ値Tll・ が設定されている。タイマレジスタ(T
W)はこのタイマ値 Twと、外部基準発振器(23)
の基準パルスをカラン1−−iるカウンタ(Tf)の基
を時刻Tfとを比較して両者が一致するとCPUK割込
み箭号を入力する。
The CPU has two interrupt terminals, one of which receives an encoder pulse obtained by shaping the output of the encoder (3) with a waveform shaping circuit (22). The other terminal is connected to a timer register (Tw), and a timer value Tll., which will be explained in the flowchart described later, is set in the timer register (Tw). Timer register (T
W) is this timer value Tw and the external reference oscillator (23)
The reference pulse of the counter (Tf) is compared with the time Tf, and if the two match, a CPUK interrupt signal is input.

第51bA、B、Cはマイクロコンピユー y (20
)ノ制御を説明するフローチャーl−であり、第5図A
がメインル−チンを、第5図Bがタイマレジスタ(’l
”w)によるタイマ割込みINT−Tのルーチンを、第
5図Cがエンコータパルスによる外部割込みINT−E
ツルシーチンを示している。
No. 51bA, B, and C are microcomputer y (20
) is a flowchart explaining the control of FIG. 5A.
is the main routine, and Figure 5B is the timer register ('l
Figure 5C shows the routine of timer interrupt INT-T caused by "w)", and the routine of external interrupt INT-E caused by encoder pulse
Showing Tulsichin.

丑ず、第5図Aのメインルーチンを説明するに、メチノ
ブのでリセットがかかると、ステップ■でモータ駆動信
号りをo″にする。D=Qは第2図のスイッチング回路
で入ノJ端子(9b)がL″の状態に対応し、1)=l
はH″の状態に対応する。
To explain the main routine in Figure 5A, once the reset is applied to the meter knob, the motor drive signal is set to o'' in step 2.D=Q is the input terminal J terminal in the switching circuit in Figure 2. (9b) corresponds to the state of L″, and 1)=l
corresponds to the H'' state.

次にステップ■でマヌタがら走査要求があるまで待機腰
走査要求が呂ると(5CAN= l )ステップ■で複
写倍率MAGを入力し、ステップ■で複写倍率に対応し
た走査速度を制御するだめの基準エンコ、 −ダハ/レ
フ間隔Tsを計算する。この基準エンコーダパルス間隔
Tsはあらかじめ設定された等告時のエンコータパフ2
フ間隔To に複写・倍率を乗じることにより得られる
Next, in step 2, the scanner waits until a scanning request is received (5CAN=l), then inputs the copy magnification MAG in step 2, and controls the scanning speed corresponding to the copy magnification in step 2. Calculate the reference encoder, - roof/lev spacing Ts. This reference encoder pulse interval Ts is the encoder puff 2 at the time of equal notification set in advance.
It is obtained by multiplying the distance To by the copy/magnification factor.

続いてステップ■で正逆転信号Fを“ビにする。Next, in step 2, the forward/reverse rotation signal F is set to "B".

F−1は第2図のヌイノチング回路で入力端子(9a)
がH″の状態に対応し、F二〇は/rI、IIの状態に
対応する。
F-1 is the input terminal (9a) of the Nuinoting circuit shown in Figure 2.
corresponds to the H'' state, and F20 corresponds to the /rI, II state.

これに続いてステップ■でモータ駆動信号りをrr 1
 uにすることにより走査・系(1)は往動を開始する
Following this, in step ■, the motor drive signal is set to rr 1
By setting it to u, the scanning system (1) starts forward movement.

ステップ■ではエンコーダパルスと割込み/L/ −チ
ンとの同期をとるためのカウンタS YNCに172 
uをセットし、割込みル−チンでの処理モードを加速制
御モード(MODE=1)にセットし、続くステップ■
で割込みを許町する。この割込みの許町から走査系の制
御は割込みルーチンで処理され、メインルーチンでは走
査要求5CANがu Onになるまでステップ[相]で
待機する。そしてこの間に本発明の制御力′式による加
速制御及び通常の定速制御がおこなわれる。5CAN=
1の時間は複写紙サイズ、複写倍率によってマヌタ側で
決められる。
In step ■, the counter SYNC is set to 172 to synchronize the encoder pulse with the interrupt /L/-chin.
u, set the processing mode in the interrupt routine to acceleration control mode (MODE=1), and perform the following step ■
Please excuse the interruption. Control of the scanning system from the time of this interrupt is handled by the interrupt routine, and the main routine waits in step [phase] until the scanning request 5CAN becomes uON. During this time, acceleration control and normal constant speed control using the control force ' formula of the present invention are performed. 5CAN=
The time for step 1 is determined by Manuta based on the copy paper size and copy magnification.

5CAN=0になると、ヌテノブ■で速度用1]足モー
ド(MODE =0)を七ノ)−シ、ステップ0でモー
タ駆動信号をオフし、ステップq♂で正逆転信号を逆転
(F=0)?でする。畠11込み処理を一時速度+ll
11定のみのモードに切換えるのは、一度割込み処理を
中断すると、次の割込み処理のとき再びエンコークパル
スとの同期を取らなければならないので制御に遅れか1
三じるからである。
When 5CAN = 0, use the nut knob ■ to set the speed mode (MODE = 0) to 7), turn off the motor drive signal at step 0, and reverse the forward/reverse signal at step q♂ (F = 0). )? It is. Temporary speed +ll for processing including Hatake11
The reason for switching to the 11 constant mode is that once interrupt processing is interrupted, synchronization with the encode pulse must be reestablished during the next interrupt processing, which may cause a delay in control.
This is because there are three.

ステップ8に続いてステップ■では減速制御モード(M
ODE =2)がセ、l−され、割込みルーチンにて本
発明による減速制御がおこなわれる。割込みルーチンで
はさらに減速が完了するとモータをオン状態にして速度
lj!:I足モード全モードtする。速度1j11定モ
ードは速度制御ケおこなわないので走査=1)が出され
ると(ステップ[相])、ステップG)でモータをオフ
し、正逆転信号Fを正転(’F=1)に切換え、ステッ
プ@で減速制御モード(MODE=2)をセットし、モ
ードが速度41(j定モード(’MODE、、、Q)に
なるまで待機する(ステップ0)。
Following step 8, step ■ is the deceleration control mode (M
ODE=2) is set and l-, and deceleration control according to the present invention is performed in the interrupt routine. In the interrupt routine, when further deceleration is completed, the motor is turned on and the speed lj! : I foot mode all modes t. Speed control is not performed in constant speed 1j11 mode, so when scan = 1) is issued (step [phase]), the motor is turned off in step G) and the forward/reverse signal F is switched to forward rotation ('F = 1). , Step @ sets the deceleration control mode (MODE=2), and waits until the mode becomes speed 41 (j constant mode ('MODE, , Q) (step 0).

速度測定モードがセットされると、ステップ[相]で割
込みを禁止しステップ■でモータをオフしてヌテノブ■
に戻る。
When the speed measurement mode is set, interrupts are disabled in step [phase], the motor is turned off in step ■, and the nute knob is turned off.
Return to

このようにメインルーチンの制御は極めてシンプルな制
御となっている。
In this way, the control of the main routine is extremely simple.

第5図Bはタイマ割込みル−チンINT−Tを示し、こ
のル−チンは外部割込みルーチンIN、T−Eで設定さ
れるタイマ値Twのタイムアンプ毎にメインルーチンに
割込みをかけて処理される。
FIG. 5B shows the timer interrupt routine INT-T, which is processed by interrupting the main routine every time amplifier of the timer value Tw set by the external interrupt routines IN and TE. Ru.

タイマ割込みがかがると、まずステップ・でオンオフフ
ラグ0NOFFの状、暢を判別する。オンオフフラグ0
NOFFは外部割込みルーチンで設定されるフラグであ
り、0NOFF=1の場合はステップ[相]でモータ駆
動信号りをD=Qにする。〜方、0NOFF = Qの
場合はステップ[相]でモータ駆動信号りをD=1にす
る。
When a timer interrupt occurs, first, step 2 determines whether the on/off flag is 0NOFF or not. On/off flag 0
NOFF is a flag set in an external interrupt routine, and if 0NOFF=1, the motor drive signal is set to D=Q in step [phase]. In the case of 0NOFF=Q, the motor drive signal is set to D=1 in step [phase].

原理説明で言及したように、定速制御はエンコーダパル
ス間隔の間のオン時間を制御し、本発明に係わる制御で
(はエンコーダパlレヌ間隔の(H(Jで一定のオフ時
間を設定するものである。従って、定速制御ではオンオ
フフラクは0NOFF= lにされており、設定された
オン時間の経過後タイマ割込によりステップ仙・、?・
でモータをオフする。
As mentioned in the principle explanation, constant speed control controls the on time between encoder pulse intervals, and in the control according to the present invention, (H(J) sets a constant off time of the encoder pulse interval. Therefore, in constant speed control, the on/off flux is set to 0NOFF=l, and after the set on-time has elapsed, a timer interrupt causes a step change...?
Turn off the motor.

一方、本発明に係わる制御で(はオンオフフラクは0N
OFF二〇にされており、一定のオフ時間の経過後タイ
マ割込みによりステップ1.]Dゆてモータ全オンする
On the other hand, in the control according to the present invention (the on-off flux is 0N
OFF is set to 20, and after a certain OFF time has elapsed, step 1 is triggered by a timer interrupt. ] Turn on all motors.

次に、第5図Cを用いて外部割込みルーチンINT−E
を説明する。このルーチンはモータ(2) ノ回iを検
出するエンコーダ(3)からのパルスの発生毎にメイン
ルーチンに割込みをかけて処理されるものである。
Next, using FIG. 5C, the external interrupt routine INT-E is
Explain. This routine is processed by interrupting the main routine every time a pulse is generated from the encoder (3) that detects the rotation i of the motor (2).

第5図Cにおいて割込みがかがると、捷ずステップ■で
、マイクロコンピュータ内の基準時刻となるカウンタ(
Tf’)の値TfをRAM0所足エリアに設定されるレ
ジスタ(Td)にコピーする。従って6Vジヌタ(Tc
 )は今回のエンコーダパルスの発生時刻Tc を示す
ことになる。
When an interrupt is generated in Fig. 5C, the counter (
Copy the value Tf of Tf') to the register (Td) set in the RAM0 sufficient area. Therefore, 6V dinuta (Tc
) indicates the generation time Tc of the current encoder pulse.

次にステップ@でカウンタ5YNCの値を判足し、零以
外の場合はステップ(争でカウント値からf’lJを減
算する。
Next, in step @, the value of the counter 5YNC is added up, and if it is other than zero, f'lJ is subtracted from the count value in step (@).

このカウンタ5YNCはエンコータパルスと割込みル−
チンの同期をとるだめのもので、エンコーダ低 のパルス間隔を求めるだめには最餐2エンコーダパルヌ
を必要とするので、その間パルレフ間隔の計算結果を無
効にする目的で設定される。本実施例では最初の1パル
スも無視するだめカウンタ5YNCの初期値は「2」に
設定される。
This counter 5YNC is connected to encoder pulse and interrupt rule.
This is used to synchronize the pulses, and since two encoder pulses are required to determine the pulse interval of the encoder low, it is set for the purpose of invalidating the calculation result of the pulse interval during that time. In this embodiment, the initial value of the counter 5YNC is set to "2" so as not to ignore even the first pulse.

ステップ@ではエンコークのパルス間隔Ti  を求め
る。
In step @, the encode pulse interval Ti is determined.

この演算はステップ俣すで設定された今回のエンコーダ
パルス発生時刻Tc  と前回のエンコーダパルス発生
時刻Tp との差をとることによって得られる。前回の
エンコーダパルス発生時刻Tpハレジスタ(Tc)と同
様にRAM内に設定されるレジスタ(Tp)に格納され
ており、次のヌテノブ■で今回のエンコータハ/l/ 
y、 発生時刻Tcをレジスタ(T’+3)Kコピーす
ることにより更新される。
This calculation is obtained by taking the difference between the current encoder pulse generation time Tc and the previous encoder pulse generation time Tp, which has been set for each step. The previous encoder pulse generation time Tp is stored in a register (Tp) set in RAM in the same way as the register (Tc), and the current encoder pulse /l/
y, is updated by copying the occurrence time Tc to the register (T'+3).

ρ(のステップ[相](Φ[相]ではモート“判定をお
こなう。
In the step [phase] (Φ [phase] of ρ(), a mote “determination” is performed.

本実施例ではモードは速度用11足モード(MODE=
0 )加速制?al モl−” (MODE = l 
)、減速;1ill 副モl−” (MODE=2)及
び定速i1r’l副1モード(MODE=3 )の4!
11!頬設定されており、:X10DE=Ofd:メイ
ンルーチン及び後述するステップ8てセットされ、+V
IODE” 1.2はメインルーチンでセットさ!z、
 MODE=3は、後述するステップ3でセットされる
In this example, the mode is the 11-leg mode for speed (MODE=
0) Acceleration system? al mol-” (MODE = l
), deceleration; 1ill sub-mode (MODE=2) and constant speed i1r'l sub-1 mode (MODE=3) 4!
11! cheek is set, :X10DE=Ofd: Main routine and step 8 described later, +V
IODE” 1.2 is set in the main routine!z,
MODE=3 is set in step 3, which will be described later.

速度Z目・]定モート(IvIODE=0)の場合:、
寸、ステップQ〜(汐の速度計;定をおこなうたけて、
すぐにメインルーチンにリターンスル。
Speed Z-th] For constant mode (IvIODE=0):,
step, step Q~ (Shio's speedometer;
Return to the main routine immediately.

定速例会モーt’ (MODE二3 )の場合は、ステ
ップ[相]でカウンタS YNCかo ”であるかを4
゛t1足した」二で目標速度に力するモータのオン1時
間を割算して一時記阻レジスタ(Ton)にセットしく
ステップi>7 )オンオフフラク0NOFFをII 
I IIにしくステップめ)、モータ駆動信号りを1″
にする。ここでオン時1川TOnは、目標速度に対応し
て設定されたオン時間T:、y■〕に、測定されたエン
コータパルレフ間隔Tiと目標速度に対応する基準エン
コーダパルス間隔Ts  との差に係数Ki  を乗じ
た値を加算して得ら 。
In the case of constant speed regular motor t' (MODE 23), set whether the counter is SYNC or o'' in step [phase].
Divide the on-time time of the motor that powers the target speed by t1 plus 2 and set it in the temporary storage register (Ton).Step i>7) Set the on-off flag 0NOFF to II.
Step I II), set the motor drive signal to 1"
Make it. Here, the ON time 1 river TOn is the difference between the measured encoder pulse interval Ti and the reference encoder pulse interval Ts corresponding to the target speed during the ON time T:, y■] set corresponding to the target speed. It is obtained by adding the value obtained by multiplying the difference by the coefficient Ki.

れる。T typ 、 Ts 、 Kiは往動時におい
ては複写倍率によって異なった値か用いられる。
It will be done. Different values are used for T typ , Ts , and Ki depending on the copying magnification during forward movement.

このようにして求められたオン1時間’]”onは、ス
テップ−て現在時刻Tf9こ加算されてタイマレジスフ
(T%V )にセラl−される。前記したようにタイマ
レジスフ(’rW)は現在時刻を示すカウンタ(Tr)
と常時比較されており、両者か一致したときタイマ割込
みをかけるので、タイマレジスフ(TW)が十ノl−さ
れてから丁度時間T OII後にタイマ割込みがかかる
ことになり、この間モータがオン−でいる。
The on time obtained in this way is added step by step to the current time Tf9 and is stored in the timer register (T%V).As mentioned above, the timer register ('rW) is set to the current time Tf9. Counter indicating time (Tr)
Since the timer interrupt is generated when the two match, the timer interrupt will be generated exactly at the time TOII after the timer register (TW) has been set to 10 seconds, and the motor is on during this time. .

次に加速制御モート= (MODE=1)の場合は、1
ずステップ′6・で同期かとれているか判定し、同期か
と以下になったか、即ち、目標速度に達したかどうか判
足しくステップQ)、YESであればモードをステップ
C・で定速制御モードに切換える。ステップ■C・のい
ずれかでNoの場合は立上り途中とみ々して一時記憶レ
ジスタ(Ton)に設定オフ時間T c II 01)
 lをセットしくステップ■)、オンオフフラク0NO
FFを〃o″に、モータ駆動簡号りヶ″0″に夫々七ノ
l−する。(ステップ@釦。
Next, if acceleration control mode = (MODE = 1), 1
First, in step '6, it is determined whether the synchronization is achieved, and whether it is synchronized or below, that is, whether the target speed has been reached is determined (step Q). If YES, the mode is controlled at constant speed in step C. mode. If No in any of step ■C, set the off time Tc II 01 in the temporary storage register (Ton) as if it is in the middle of rising.
Set l step ■), ON/OFF frac 0NO
Set the FF to 〃o'' and the motor drive number to ``0'' for 7 seconds. (Step @ button).

−1時記厖しシヌタ(Ton)にセットされた値はステ
ップa・の演算によりタイマレジスタ(T w ’)に
加えられる。 この場合はオフ時間制御であるので、タ
イマレジスタ(T〜X)かセットされてから1晦間Tc
hol)1が経過するまでの間化−タはオフされる。
-1 The value set in the time register (Ton) is added to the timer register (Tw') by the operation in step a. In this case, since it is off time control, Tc for one night after the timer register (T to X) is set.
The interpolator is turned off until hol)1 has elapsed.

減速制御モード(1〜l0DE−2)の場合は、1ずス
テップQで同期かとれているかどうか判定し、同期がと
れていれば由り定されたエンコータパルス間1く吊Ti
が減速制御終了速度に対応するパルヌ間隔Tstop以
上になったか、即ち、走査系の速度が減速制御終了速度
以下になったがどうが判定しくステップ0)、YESで
あればステップ[相]でモードを速度測定モ、−ド(f
すODE、、Q)に切換える。ステップeつのいずれか
でNOの場合は減速途中とみなして一時記憶しシスタ(
Ton)に駿足オフ時間Tchop2をセットしくステ
ップ[株])、加速制御モードと同様にステップ0[株
]の処理をおこなう。これによりモータはタイマレジス
タ(Tw)がセットされてがら時間Te1lOP2か経
過する丑での間オフされる。
In the case of deceleration control mode (1 to 10DE-2), it is first determined in step Q whether synchronization is established, and if synchronization is established, the encoder pulses are suspended for a specified period of time Ti.
has become equal to or greater than the parnu interval Tstop corresponding to the end speed of deceleration control, that is, the speed of the scanning system has become less than the end speed of deceleration control. Speed measurement mode - mode (f
(ODE, Q). If NO in any of the steps, it is assumed that the deceleration is in progress and is temporarily stored in the system (
Step 0 (Ton) is set to the fast off time Tchop2 (Ton), and step 0 (Co) is performed in the same manner as in the acceleration control mode. As a result, the motor is turned off for a period of time Te11OP2 while the timer register (Tw) is set.

上記のフローチャートによって走査系は、本発明方式に
よる加速制御、定速制御、本発明方式による減速制御を
うけてスキャンをおこない、次にフルパワー加速抜本発
明方式による減速制御をうけてリタ−ンしホームポジシ
ョンに停止する。多数枚複写の場合はリターンの減速と
スキャンの加速が連続しておこなわれる。いずれの場合
も加減速の制御は非常にスムーズである。
According to the above flowchart, the scanning system performs scanning under acceleration control, constant speed control, and deceleration control according to the present invention method, and then returns after receiving full power acceleration and deceleration control according to the present invention method. Stop at home position. In the case of multiple copying, return deceleration and scanning acceleration are performed successively. In either case, acceleration/deceleration control is extremely smooth.

本発明に係わるオフ時間は、第5図Cに示す時間Tcl
+ol)lとTchop2の2棟類で示しであるが、時
間Tel+apl  は複写倍率の反射による走査速度
の変嗟に対応して、丑だ、時間T c h o p 2
は走査距離の変県による減速開始速度の変(に対応して
夫々複数用意され最適の加減速制御をおこなうようにな
っている。
The off time according to the present invention is the time Tcl shown in FIG. 5C.
+ol)l and Tchop2 are shown, but the time Tel+apl corresponds to the change in scanning speed due to the reflection of the copying magnification, and the time Tchop2
A plurality of these are prepared in response to changes in the deceleration start speed due to changes in the scanning distance, and optimal acceleration/deceleration control is performed.

効  果 以上詳述したように本発明は、走査系を直流モータで往
復動させる走査装置において、前記直流モータの回転に
応じてパルスを発生する手段と、加速時又は減速時にお
ける前記直流モータへの通電を前記パルスの発生毎に一
定時間、オフし、オフ時間経過後、次のパルスが発生す
るまでオンするように制御する制御子Jl備えたもので
あるので、非常にスムーズな加ン販速制夕lを簡単にお
こなうことができる。
Effects As detailed above, the present invention provides a scanning device in which a scanning system is reciprocated by a DC motor, which includes means for generating pulses in accordance with the rotation of the DC motor, and means for generating pulses in response to the rotation of the DC motor during acceleration or deceleration. It is equipped with a controller Jl that controls the energization to be turned off for a certain period of time each time the pulse is generated, and to be turned on after the lapse of the off time until the next pulse is generated, allowing for very smooth processing. You can easily perform a quick stop.

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

第1図は本発明を適用した走査装置の斜視図、第2図は
直流モータのスイッチンク回路図、第3図(イ)は原理
説明のだめの走査系の動きを示す図、第3図(ロ)(ハ
)は第3図(イ)に対応してエンコーダパルスと通電ト
ルクを示す図、第4図は制御手段のブロック図、第5図
A、 B、 Cは制御手段のフローチャート図である。 l・・・・・・・走査系 2・・・・・直流モータ 3・・・・・・・ エンコーダ 出願人  ミノルタカメラ株式会社 第 1 図 第2 図 第4図 720 L                        
    1第5 図A
Fig. 1 is a perspective view of a scanning device to which the present invention is applied, Fig. 2 is a switching circuit diagram of a DC motor, Fig. 3 (a) is a diagram showing the movement of the scanning system for the purpose of explaining the principle, and Fig. 3 ( B) (C) is a diagram showing encoder pulses and energizing torque corresponding to Figure 3 (A), Figure 4 is a block diagram of the control means, and Figures 5 A, B, and C are flowcharts of the control means. be. l... Scanning system 2... DC motor 3... Encoder applicant Minolta Camera Co., Ltd. Fig. 1 Fig. 2 Fig. 4 720 L
1 Figure 5 A

Claims (1)

【特許請求の範囲】 1 走査系を直流モータで往復動させる走査装置におい
て、 前記直流モータの回転に応じてパルスを発生する手段と
、 加速時又は減速時における前記直流モータへの通電を、
前記パルヌの発生毎に一定時間オフし、オフ時間経過後
、次のパ)v7.が発生する丑でオンするように制御す
る制御手段とを備えたことを特徴とする走査装置。 2 前記オフ時間が、加速後の定速制御速度及び/又は
減速開始速度に応じて変四されることを特徴とする特許
請求の範囲第1項記I賎の走査装置。
[Scope of Claims] 1. A scanning device in which a scanning system is reciprocated by a DC motor, comprising: means for generating pulses in accordance with the rotation of the DC motor; and energization of the DC motor during acceleration or deceleration.
Each time the parnu occurs, it is turned off for a certain period of time, and after the off time has elapsed, the next pa) v7. 1. A scanning device comprising: a control means for controlling the device to turn on when a signal occurs. 2. The scanning device according to claim 1, wherein the off time is varied depending on a constant speed control speed after acceleration and/or a deceleration start speed.
JP58026847A 1983-02-18 1983-02-18 Scanner Granted JPS59152435A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58026847A JPS59152435A (en) 1983-02-18 1983-02-18 Scanner

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58026847A JPS59152435A (en) 1983-02-18 1983-02-18 Scanner

Publications (2)

Publication Number Publication Date
JPS59152435A true JPS59152435A (en) 1984-08-31
JPH0441329B2 JPH0441329B2 (en) 1992-07-08

Family

ID=12204663

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58026847A Granted JPS59152435A (en) 1983-02-18 1983-02-18 Scanner

Country Status (1)

Country Link
JP (1) JPS59152435A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61286169A (en) * 1985-06-13 1986-12-16 Seiko Epson Corp Print controller for thermal printer
JPH01222682A (en) * 1988-02-29 1989-09-05 Nitto Seiko Co Ltd Method of controlling speed of dc motor

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5536816A (en) * 1978-09-06 1980-03-14 Ricoh Co Ltd Optical system driving method
JPS56102764A (en) * 1980-01-17 1981-08-17 Takai Seisakusho:Kk Coagulation of soybean curd
JPS5727277A (en) * 1980-07-28 1982-02-13 Ricoh Co Ltd Uniform speed control device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5536816A (en) * 1978-09-06 1980-03-14 Ricoh Co Ltd Optical system driving method
JPS56102764A (en) * 1980-01-17 1981-08-17 Takai Seisakusho:Kk Coagulation of soybean curd
JPS5727277A (en) * 1980-07-28 1982-02-13 Ricoh Co Ltd Uniform speed control device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61286169A (en) * 1985-06-13 1986-12-16 Seiko Epson Corp Print controller for thermal printer
JPH01222682A (en) * 1988-02-29 1989-09-05 Nitto Seiko Co Ltd Method of controlling speed of dc motor

Also Published As

Publication number Publication date
JPH0441329B2 (en) 1992-07-08

Similar Documents

Publication Publication Date Title
EP1318596B1 (en) Motor driving device and motor driving method
JP3204664B2 (en) Motor drive control device
JPH04229086A (en) Motor controller
GB2264405A (en) Drive circuit for a stepper motor
JPS59152435A (en) Scanner
JP3910138B2 (en) Motor driving apparatus and motor driving method
US3983468A (en) Motor drive system including a feedback loop
JPS6238956B2 (en)
JPH06138358A (en) Method and device for controlling motor of optical apparatus
JPH0630575A (en) Motor controller
JPS61132940A (en) Scanner
JPS61128780A (en) Stop controller of motor
JPS62244287A (en) Digital control device for dc motor
JPH0522968A (en) Exciter for electromagnetic brake
JP3427406B2 (en) Motor control device
JP3567628B2 (en) Servo controller
JPS6159070B2 (en)
JP2563580B2 (en) Electric zoom camera
JPS6329514B2 (en)
JP2641420B2 (en) Motor control circuit
JPH0436379B2 (en)
JP2551590B2 (en) Speed control method for copier optical system
JPS59165993A (en) Positioning controller
JPH1042590A (en) Voltage-type inverter
JP2924347B2 (en) DC motor start / stop device