JPH0434730B2 - - Google Patents
Info
- Publication number
- JPH0434730B2 JPH0434730B2 JP10465183A JP10465183A JPH0434730B2 JP H0434730 B2 JPH0434730 B2 JP H0434730B2 JP 10465183 A JP10465183 A JP 10465183A JP 10465183 A JP10465183 A JP 10465183A JP H0434730 B2 JPH0434730 B2 JP H0434730B2
- Authority
- JP
- Japan
- Prior art keywords
- scanning system
- speed
- scanning
- mode
- home
- 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
Links
- 238000000034 method Methods 0.000 claims description 15
- 238000005259 measurement Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 5
- 230000002159 abnormal effect Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000005286 illumination Methods 0.000 description 2
- 230000001172 regenerating effect Effects 0.000 description 2
- 230000000295 complement effect Effects 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 108091008695 photoreceptors Proteins 0.000 description 1
- 238000007493 shaping process Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G03—PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
- G03B—APPARATUS 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/00—Photographic printing apparatus
- G03B27/32—Projection printing apparatus, e.g. enlarger, copying camera
- G03B27/52—Details
- G03B27/522—Projection optics
- G03B27/525—Projection optics for slit exposure
- G03B27/526—Projection optics for slit exposure in which the projection optics move
Landscapes
- Physics & Mathematics (AREA)
- Optics & Photonics (AREA)
- General Physics & Mathematics (AREA)
- Exposure Or Original Feeding In Electrophotography (AREA)
- Optical Systems Of Projection Type Copiers (AREA)
- Control Of Position Or Direction (AREA)
Description
【発明の詳細な説明】
技術分野
本発明は直流モータにて往復動される走査系、
例えば、電子写真複写機において原稿像を感光体
上にスリツト露光するための走査系の減速制御方
法に関するものである。[Detailed Description of the Invention] Technical Field The present invention relates to a scanning system that is reciprocated by a DC motor,
For example, the present invention relates to a method for controlling the deceleration of a scanning system for slit exposure of an original image onto a photoreceptor in an electrophotographic copying machine.
従来技術
一般に、電子複写機における画像の走査系は、
原稿や複写紙のサイズあるいは複写倍率に応じた
種々の走査モード、即ち種々の走査速度、走査距
離にて往動方向に駆動された後、往動終了位置か
ら復動方向に向けて駆動されて往動開始位置まで
復帰するようになつている。Prior Art Generally, the image scanning system in an electronic copying machine is
After being driven in the forward direction in various scanning modes depending on the size of the original or copy paper or the copying magnification, that is, at various scanning speeds and scanning distances, it is driven in the backward direction from the forward end position. It is designed to return to the forward movement starting position.
従来、復動に要する時間を短縮するために、復
動時はフルパワーで駆動し、走査路の途中に設け
た固定スイツチを走査系がオンした時点から制動
を開始し、その制動力を制御して定位置に復帰さ
せるようにしている。 Conventionally, in order to shorten the time required for the backward movement, the machine was driven at full power during the backward movement, and a fixed switch installed in the middle of the scanning path started braking from the moment the scanning system was turned on to control the braking force. to return it to its normal position.
このような走査系は、正確に定位置に復帰する
ようにする必要がある。走査系の停止位置がばら
つくと、次の走査開始時における立ち上がりのた
めに予備移動距離を十分にとる必要があり、これ
では走査装置の大型化、往復動移動時間の増大等
の弊害が現れるからである。 Such a scanning system must be able to accurately return to its home position. If the stop position of the scanning system varies, it is necessary to provide a sufficient preparatory movement distance for the start of the next scan, which results in negative effects such as an increase in the size of the scanning device and an increase in the reciprocating movement time. It is.
発明が解決しようとする問題点
走査系を定位置に復帰させるためには、常に同
一の制動力が得られるのであれば、走査系が所定
の往動終了位置から復動する際に同一のタイミン
グで制御を行えばよい。しかしながら、実際には
制動力自体がモータやドライバ素子の温度上昇等
により変化するため、同一のタイミングで制動を
行うと走査系の停止位置にバラツキが生じてしま
う。Problems to be Solved by the Invention If the same braking force can always be obtained in order to return the scanning system to its home position, it is necessary to use the same timing when the scanning system returns from a predetermined forward movement end position. You can control it with. However, in reality, the braking force itself changes due to increases in temperature of the motor and driver elements, so if braking is performed at the same timing, the stop position of the scanning system will vary.
目 的
本発明は前記の問題点に鑑みてなされたもの
で、その目的は、簡単な構成で、走査距離が同一
である走査モードで複数回往復動される走査系の
各復動時における制動タイミングを補正して、走
査系を定位置に復帰させることができる走査系の
減速制御方法を提供することにある。Purpose The present invention has been made in view of the above-mentioned problems, and the object thereof is to provide a system that has a simple configuration and is capable of controlling braking during each backward movement of a scanning system that is reciprocated multiple times in a scanning mode in which the scanning distance is the same. An object of the present invention is to provide a method for controlling the deceleration of a scanning system by correcting the timing and returning the scanning system to a normal position.
問題点を解決するための手段
以上の目的を達成するため、本発明に係る走査
系の減速制御方法は、走査距離が同一である走査
モードで複数回往復動される走査系の各復動時に
おいて、走査系を往動終了位置から復動方向に向
けて駆動したのち、所定の減速タイミングで制動
して往動開始位置に復帰させる走査系の減速制御
方法であつて、復動時における往動開始位置での
走査系の速度を測定し、この測定速度が所定速度
よりも速い場合には前記測定速度に応じて次回の
減速タイミングを決定する一方、前記測定速度が
前記所定速度よりも遅い場合には走査系の速度が
前記所定速度まで減速された位置から往動開始位
置までの距離に応じて次回の減速タイミングを決
定することを特徴とする。Means for Solving the Problems In order to achieve the above object, the scanning system deceleration control method according to the present invention provides a scanning system deceleration control method according to the present invention. is a scanning system deceleration control method in which the scanning system is driven in the backward movement direction from the forward movement end position, and then is braked at a predetermined deceleration timing to return to the forward movement start position. The speed of the scanning system at the movement start position is measured, and if this measured speed is faster than a predetermined speed, the next deceleration timing is determined according to the measured speed, while the measured speed is slower than the predetermined speed. In this case, the next deceleration timing is determined in accordance with the distance from the position where the speed of the scanning system has been decelerated to the predetermined speed to the forward movement start position.
発明の原理的説明
ここで、実施例の説明に先立ち、本発明の考え
方について原理的な説明をする。DESCRIPTION OF THE PRINCIPLE OF THE INVENTION Before explaining the embodiments, the principle of the idea of the present invention will be explained here.
第1図、第2図は本発明に係る制御方式におい
て、走査系の復動時の速度変化を表わしたグラフ
で、破線は制御の目的とする最適減速時の速度変
化を示す。走査系は走査終了後復動を開始して加
速しながら復帰し、ブレーキスイツチをオンした
のちある距離(DELAY)遅らしてから制動を開
始する。そして、十分に減速したのちホーム位置
に復帰し、ダンパー材等に当接して停止する。ま
た、走査系は必要に応じて次の往動を開始する。 FIGS. 1 and 2 are graphs showing speed changes during backward movement of the scanning system in the control method according to the present invention, and the broken line shows speed changes during optimal deceleration, which is the purpose of control. After scanning, the scanning system starts a backward movement and returns while accelerating, and then starts braking after a certain delay (DELAY) after turning on the brake switch. Then, after sufficiently decelerating, it returns to the home position, comes into contact with a damper material, etc., and stops. Further, the scanning system starts the next forward movement as necessary.
以上の復動時において、ホーム位置での速度
V'homeが重要となる。なぜなら、V'homeが早
過ぎると、ダンパー材により安定した減速が行わ
れず、ホーム位置より外れて停止したり、次の往
動において異常振動が発生し、良好な画像が得ら
れないからである。逆に、遅過ぎると、復動に要
する時間が長くなり、コピー速度が低下するから
である。 During the above return movement, the speed at the home position
V'home becomes important. This is because if V'home is too early, the damper material will not provide stable deceleration, causing the vehicle to deviate from the home position and stop, or abnormal vibrations to occur during the next forward movement, making it impossible to obtain a good image. . On the other hand, if it is too slow, the time required for backward movement will be longer and the copying speed will be lowered.
従つて、本発明では走査系のホーム位置での速
度V'homeを制動力が変動しても(常に)所定速
度Vhomeに制御するのである。 Therefore, in the present invention, the speed V'home at the home position of the scanning system is (always) controlled to a predetermined speed Vhome even if the braking force fluctuates.
第1図は距離の測定による補正の例である。即
ち実線で示すように、走査系がブーレキスイツチ
をオンしてから一定距離(DELAY)移動後制動
をかける。そののち、走査系がホーム位置の手前
で所定速度Vhomeまで減速し、さらに減速しな
がら減速V'homeでホーム位置に達したとする。 FIG. 1 is an example of correction based on distance measurement. That is, as shown by the solid line, the scanning system turns on the brake switch and moves a certain distance (DELAY) before applying braking. After that, it is assumed that the scanning system decelerates to a predetermined speed Vhome before reaching the home position, and while further decelerating, reaches the home position at the deceleration V'home.
このとき、所定速度Vhome位置からホーム位
置までの距離(Δx)を測定し、この(Δx)を
(DELAY)に加算し、次の復動時に補正後の
(DELAY)により制動をかけると、破線で示す
ように、ホーム位置における速度が所定速度
Vhomeとなる。測定速度V'homeが所定速度
Vhomeより速く、(Δx<0)となる場合にも補
正は可能であるが、一般にはすぐにダンパーに接
触するために、(Δx)を大きくとることができな
い。 At this time, measure the distance (Δx) from the predetermined speed Vhome position to the home position, add this (Δx) to (DELAY), and apply braking according to the corrected (DELAY) during the next return movement. As shown, the speed at the home position is the specified speed.
Become Vhome. Measurement speed V'home is the specified speed
Correction is possible even if the damper is faster than Vhome and (Δx<0), but in general it is not possible to take a large value (Δx) because the damper contacts the damper immediately.
このような場合は、第2図に示すように、ホー
ム位置での速度V'homeによる補正が可能であ
る。基本的には、減速ののち所定速度Vhomeに
減速されるまでの距離(Δx)を求め(DELAY)
に補正する。(Δx)はホーム位置の近傍における
加速度(α)が一定であると近似すると測定速度
V'homeにより求まり、
−Δx=f(V'home)
=−(V'home)2/2α ……(1)式
となる。fV'homeによる補正は、[V'home<
Vhome]の場合も可能であるが、V'homeと
Vhomeとの差が大きくなると、(α)も変化する
ため計算が複雑となる。 In such a case, as shown in FIG. 2, correction can be made using the velocity V'home at the home position. Basically, find the distance (Δx) until it is decelerated to a predetermined speed Vhome after deceleration (DELAY)
Correct to. (Δx) is the measured velocity when approximated by assuming that the acceleration (α) near the home position is constant.
It is determined by V'home, and becomes -Δx=f(V'home) =-(V'home) 2 /2α...Equation (1). Correction by fV'home is [V'home<
Vhome] is also possible, but V'home
As the difference from Vhome increases, (α) also changes, making calculations more complicated.
実際に、複写機の走査系の制御に用いる場合に
は、最適な(DELAY)が不明であるため、第1
図に示すように、明らかに[Vhome>V'home]
なる(X0)を(DELAY)の初期値として用い
る。これにより最初の往復時間は長くなるが、画
像は良好であり、2回目以降は、測定速度
V'homeに応じて上記制御を繰り返すことによ
り、常に最適減速動作、あるいはそれに極めて近
い動作が得られる。 Actually, when used to control the scanning system of a copying machine, the optimal (DELAY) is unknown, so the first
As shown in the figure, clearly [Vhome>V'home]
(X 0 ) is used as the initial value of (DELAY). This increases the first round trip time, but the image is good, and from the second time onwards, the measurement speed
By repeating the above control according to V'home, the optimum deceleration operation or an operation extremely close to it can always be obtained.
実施例
以下、本発明に係る走査系の減速制御方法の実
施例を添付図面に従つて説明する。Embodiments Hereinafter, embodiments of the scanning system deceleration control method according to the present invention will be described with reference to the accompanying drawings.
本実施例は電子写真複写機に適用したもので、
第3図において、1は照明系ろ含んだ走査系、2
は直流モータ(スキヤンモータ)で、走査系1は
この直流モータ2にて往復動、即ち矢印A方向に
往動(以下、スキヤンと称する)、逆方向に復動
(以下、リターンと称する)とされる。 This example is applied to an electrophotographic copying machine.
In Fig. 3, 1 is a scanning system including an illumination system, and 2 is a scanning system including an illumination system.
is a DC motor (scan motor), and the scanning system 1 is reciprocated by this DC motor 2, that is, forward movement in the direction of arrow A (hereinafter referred to as scan) and backward movement in the opposite direction (hereinafter referred to as return). be done.
3はホール素子にて構成されたエンコーダで、
直流モータ2の回転軸に設置され、その回転数に
比例したパルス信号を発生するもので、パルス数
で走査系1の移動距離を、パルス間隔で走査系1
の速度で検出可能である。 3 is an encoder composed of Hall elements,
It is installed on the rotating shaft of the DC motor 2 and generates a pulse signal proportional to its rotation speed.
can be detected at a speed of
4はホームスイツチで、走査系1がホーム位置
(スキヤン開始位置)にあるか否かを検出するも
ので、ホーム位置にあるときオン信号を発し、そ
れ以外はオフ信号を発する。この検出信号により
走査開始時に走査系1がホーム位置にないことが
検出されると、走査系1をホーム位置に戻す制御
が行われる。5はブレーキスイツチで、リターン
時に走査系1が所定位置に達したことを検出し、
後述するフローチヤートで、復動時の制動開始タ
イミングの基準位置検出手段として用いられる。 Reference numeral 4 denotes a home switch, which detects whether or not the scanning system 1 is at the home position (scan start position), and emits an on signal when it is at the home position, and otherwise emits an off signal. 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 that the scanning system 1 has reached a predetermined position when returning;
In the flowchart described later, this is used as a reference position detection means for the braking start timing during backward movement.
第4図は走査系の移動を制御するための制御回
路のブロツク図で、20は走査系制御用のマイク
ロコンピユータである。複写機は走査系以外にも
種々の制御対象を有するが、これらはマスタと以
下称する図示しないマイクロコンピユータで制御
される。 FIG. 4 is a block diagram of a control circuit for controlling the movement of the scanning system, and 20 is a microcomputer for controlling the scanning system. 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 master.
マイクロコンピユータ20は、セントラルプロ
セシングユニツト(CPU)、リードオンリーメモ
リ(ROM)、ランダムアクセスメモリ(RAM)、
入力ポート(INPUT)、出力ポート
(OUTPUT)、カウンタTf、タイマレジスタTw
から構成され、(INPUT)には前記マスタから
の制御要求信号(MAG)、(SCAN)、(BRAKE)
が入力される。信号(MAG)は選択された倍率
を示し、この信号により走査速度が設定される。
信号(SCAN)は“1”で往動を、“0”で復動
を示す。信号(BRAKE)は走査系1が復動時ブ
レーキスイツチ5をオンする間“1”になるもの
である。 The microcomputer 20 includes a central processing unit (CPU), read-only memory (ROM), random access memory (RAM),
Input port (INPUT), output port (OUTPUT), counter Tf, timer register Tw
(INPUT) receives control request signals (MAG), (SCAN), and (BRAKE) from the master.
is input. A signal (MAG) indicates the selected magnification, and this signal sets the scanning speed.
The signal (SCAN) indicates forward movement when it is “1” and backward movement when it is “0”. The signal (BRAKE) becomes "1" while the scanning system 1 turns on the brake switch 5 during backward movement.
(OUTPUT)からモータ駆動信号Dと正逆信
号Fがスイツチング回路21に出力され、これに
より直流モータ2の制御が行われる。 A motor drive signal D and a forward/reverse signal F are output from (OUTPUT) to the switching circuit 21, thereby controlling the DC motor 2.
(CPU)は2つの割込み端子を有し、一方の
端子にはエンコーダ3の出力を波形整形回路22
で整形したエンコーダパルスが入力される。他方
の端子にはタイマレジスタTwと接続されてお
り、タイマレジスタTwには後述するフローチヤ
ートで説明するタイマ値(Tw)が設定されてい
る。タイマレジスタTwはこのタイマ値(Tw)
と、外部基準発振器23の基準パルスをカウント
するカウンタTfの基準時刻Tfとを比較して両者
が一致すると(CPU)に割込み信号を入力する。 (CPU) has two interrupt terminals, and one terminal receives the output of the encoder 3 from the waveform shaping circuit 22.
Encoder pulses shaped by are input. The other terminal is connected to a timer register Tw, and a timer value (Tw), which will be explained in the flowchart described later, is set in the timer register Tw. Timer register Tw is this timer value (Tw)
and the reference time Tf of the counter Tf that counts the reference pulses of the external reference oscillator 23, and when they match, an interrupt signal is input (to the CPU).
第5図は前記スイツチング回路21の具体例を
示す。 FIG. 5 shows a specific example of the switching circuit 21.
直流電源Eはブリツジ接続されたトランジスタ
(Tr1)〜(Tr4)を介して直流モータ2に接続さ
れ、ダイオードD1〜D4が逆起電圧のバイパスを
形成するために各トランジスタ(Tr1)〜(Tr4)
と並列に接続されている。 The DC power supply E is connected to the DC motor 2 through bridge-connected transistors (Tr 1 ) to (Tr 4 ), and the diodes D 1 to D 4 connect each transistor (Tr 1 ) to form a bypass for the back electromotive voltage. )~(Tr 4 )
are connected in parallel.
入力端子9aは正転信号“H”、逆転信号“L
“が入力されるもので、アンドゲート(AND1)
の入力側及びトランジスタ(Tr1)のベースに接
続されるとともに、インバータIを介してアンド
ゲート(AND2)の入力側及びトランジスタ
(Tr3)のベースに接続されている。いまひとつ
の入力端子9bはオン信号“H”、オフ信号“L”
が入力されるもので、アンドゲート(AND1)、
(AND2)の入力側に接続されている。 Input terminal 9a receives forward rotation signal “H” and reverse rotation signal “L”.
“ is input, and gate (AND 1 )
It is connected to the input side of the AND gate ( AND2 ) and the base of the transistor ( Tr3 ) via the inverter I. The other input terminal 9b has an on signal “H” and an off signal “L”
is input, and gate (AND 1 ),
(AND 2 ) is connected to the input side.
また、アンドゲート(AND1)の出力側はトラ
ンジスタ(Tr2)のベースに、アンドゲート
(AND2)の出力側はトランジスタ(Tr4)のベー
スに接続されている。 Further, the output side of the AND gate (AND 1 ) is connected to the base of the transistor (Tr 2 ), and the output side of the AND gate (AND 2 ) is connected to the base of the transistor (Tr 4 ).
以上の構成において、正転モードFDのときは
入力端子9aが“H”でトランジスタ(Tr3)が
オンし、入力端子9bの“H”でアンドゲート
(AND1)が“H”となつてトランジスタ(Tr2)
がオンし、電流が矢印a方向に流れてモータ2が
正転する。また、逆転モードRDのときは、入力
端子9aが“L”に切換つてトランジスタ
(Tr1)がオンし、入力端子9bの“H”でアン
ドゲート(AND2)が“H”となつてトランジス
タ(Tr4)がオンし、電流が矢印b方向に流れて
モータ2が逆転する。 In the above configuration, in the forward rotation mode FD, the transistor (Tr 3 ) is turned on when the input terminal 9a is "H", and the AND gate (AND 1 ) becomes "H" when the input terminal 9b is "H". Transistor ( Tr2 )
is turned on, current flows in the direction of arrow a, and motor 2 rotates in the normal direction. In addition, in the reverse mode RD, the input terminal 9a switches to "L" and the transistor (Tr 1 ) turns on, and when the input terminal 9b goes "H", the AND gate (AND 2 ) becomes "H" and the transistor turns on. (Tr 4 ) is turned on, current flows in the direction of arrow b, and motor 2 rotates in reverse.
一方、ブレーキモード(FS)のとき、リター
ン時において入力端子9aを“H”、9bを“L”
に切換えてトランジスタ(Tr3)のみをオンす
る。この場合、モータ2に対する通電は断たれる
が、モータ2の回転を逆転させようとする矢印a
方向の逆起電圧が発生する。この逆起電圧はトラ
ンジスタ(Tr3)、モータ2、ダイオードD1を通
じて流れ、モータ2の逆転に対する制動、即ち回
生ブレーキがかかることとなる。 On the other hand, in the brake mode (FS), input terminal 9a is set to "H" and input terminal 9b is set to "L" at the time of return.
to turn on only the transistor (Tr 3 ). In this case, the power to the motor 2 is cut off, but the arrow a that attempts to reverse the rotation of the motor 2
A back electromotive force is generated in the direction. This back electromotive voltage flows through the transistor (Tr 3 ), the motor 2, and the diode D 1 , and brakes the motor 2 against reverse rotation, that is, regenerative braking is applied.
なお、ダイオードD1,D2,D3,D4は正転中の
逆起電圧やモード切換え時に発生する逆起電圧を
カツトし、トランジスタ(Tr1)、(Tr2)、(Tr3)、
(Tr4)に異常電圧がかかるのを防止する。 Note that the diodes D 1 , D 2 , D 3 , and D 4 cut off the back electromotive force during forward rotation and the back electromotive force generated when switching modes, and the transistors (Tr 1 ), (Tr 2 ), and (Tr 3 ) ,
(Tr 4 ) to prevent abnormal voltage from being applied.
ここで、本発明の特徴とするのは、走査距離が
同一である走査モードで複数回往復動される走査
系の各復動時において、フルパワーでリターン中
の走査系1に制動をかけるタイミングを、その前
のリターンの制動時に測定したデータで遂次補正
して最適タイミングで制動を開始する点にあり、
原理的には、第1図、第2図を参照して前述した
とおりである。 Here, the feature of the present invention is that during each return movement of the scanning system that is reciprocated multiple times in a scanning mode in which the scanning distance is the same, the timing at which braking is applied to the scanning system 1 that is returning at full power. is successively corrected using data measured during braking on the previous return, and braking is started at the optimal timing.
The principle is as described above with reference to FIGS. 1 and 2.
ここで、具体的な制御について述べる。 Here, specific control will be described.
第6図、第7図、第8図はマイクロコンピユー
タ20の制御を説明するフローチヤートであり、
第6図がメインルーチンを、第7図がエンコーダ
パルスによる外部割り込み(INT−N)のルー
チンを、第8図がタイマレジスタTwによるタイ
マ割込み(INT−NT)のルーチンを示してい
る。 6, 7, and 8 are flowcharts explaining the control of the microcomputer 20,
FIG. 6 shows the main routine, FIG. 7 shows the routine for external interrupt (INT-N) caused by encoder pulses, and FIG. 8 shows the routine for timer interrupt (INT-NT) caused by timer register Tw.
まず、第6図のメインルーチンを説明する。 First, the main routine shown in FIG. 6 will be explained.
リセツトがかかると、ステツプ(1s)でモータ
駆動信号Dを、“0”にする。D=0は第5図の
スイツチング回路で入力端子9bが“L”の状態
に対応し、D=1は“H”の状態に対応する。 When the reset is applied, the motor drive signal D is set to "0" in step (1s). D=0 corresponds to the "L" state of the input terminal 9b in the switching circuit of FIG. 5, and D=1 corresponds to the "H" state.
次に、ステツプ(2s)で制動タイミング
(DELAY)に初期値(X0)をセツトしておく。 Next, in step (2s), the braking timing (DELAY) is set to an initial value (X 0 ).
さらに、ステツプ(3s)でマスタから走査要求
があるまで待機し、走査要求(SCAN=1)が出
るとステツプ(4s)で複写倍率(MAG)を入力
し、ステツプ(5s)で複写倍率に対応した走査速
度を制御するための基準エンコーダパルス間隔
(Ts)を計算する。この基準エンコーダパルス間
隔(Ts)はあらかじめ設定された等倍時のエン
コーダパルス間隔(To)に複写倍率を乗じるこ
とにより得られる。 Furthermore, in step (3s) it waits until there is a scan request from the master, and when a scan request (SCAN = 1) is issued, it inputs the copy magnification (MAG) in step (4s), and responds to the copy magnification in step (5s). Calculate the reference encoder pulse interval (Ts) to control the scan speed. This reference encoder pulse interval (Ts) is obtained by multiplying the preset encoder pulse interval (To) at the same magnification by the copying magnification.
続いて、ステツプ(6s)で正逆転信号Fを
“1”にする。F=1は第5図のスイツチング回
路で入力端子9aが“H”の状態に対応し、F=
0は”L”の状態に対応する。 Subsequently, in step (6s), the forward/reverse rotation signal F is set to "1". F=1 corresponds to the state where the input terminal 9a is "H" in the switching circuit shown in FIG.
0 corresponds to the "L" state.
これに続いて、ステツプ(7s)でモータ駆動信
号Dを“1”にすることにより走査系1は往動を
開始する。 Following this, the scanning system 1 starts forward movement by setting the motor drive signal D to "1" in step (7s).
ステツプ(8s)ではエンコーダパルスと割込み
ルーチンとの同期をとるためのカウンタ
(SYNC)に“2”をセツトし、割込みルーチン
での処理モードを定速制御モードに、即ち、
(MODE)を“1”にセツトし、続くステツプ
(9s)で割込みを許可する。この割込みの許可か
ら走査系1の制御は割込みルーチンで処理され、
メインルーチンでは走査要求(SCAN)が“0”
になるまでステツプ(10s)で待機する。 In step (8s), the counter (SYNC) for synchronizing the encoder pulse and the interrupt routine is set to "2", and the processing mode in the interrupt routine is set to constant speed control mode, that is,
(MODE) to "1" and enable interrupts in the following step (9s). From the permission of this interrupt, the control of the scanning system 1 is handled by the interrupt routine.
In the main routine, the scan request (SCAN) is “0”
Wait in step (10s) until
なお、(SCAN=1)の時間は複写紙のサイズ、
複写倍率によつてマスタ側で決められる。 Note that the time for (SCAN = 1) depends on the size of the copy paper,
This is determined on the master side depending on the copy magnification.
(SCAN=0)となると、ステツプ(11s)で
速度測定モードに、即ち、(MODE)を“0”に
セツトし、ステツプ(12s)でモータ駆動信号を
オフし、復動のためにステツプ(13s)で正逆転
信号を逆転(F=0)にし、ステツプ(14s)で
モータ駆動信号をオン(D=1)にする。割込み
処理を一定速度測定のみにモードに切換えるの
は、一旦割込み処理を中断すると、次の割込み処
理のとき再びエンコーダパルスとの同期をとらな
ければならないので、制御に遅れが生じるからで
ある。駆動をオンすると、走査系1はホーム位置
に復帰を開始する。このとき、セントラルプロセ
シングユニツト(CPU)では制御を行わないた
め、加速を続ける。 When (SCAN = 0), in step (11s) the motor enters the speed measurement mode, that is, (MODE) is set to "0", in step (12s) the motor drive signal is turned off, and in order to make a return motion, step ( At step (13s), the forward/reverse signal is set to reverse (F=0), and at step (14s), the motor drive signal is turned on (D=1). The reason why the interrupt processing is switched to a constant speed measurement mode is that once the interrupt processing is interrupted, synchronization with the encoder pulse must be achieved again in the next interrupt processing, which causes a delay in control. When the drive is turned on, the scanning system 1 starts returning to the home position. At this time, the central processing unit (CPU) does not perform any control, so acceleration continues.
こののた、ステツプ(15s)でブレーキスイツ
チ5がオンするまで、換言すれば、減速制御の基
準位置であるブレーキスイツチ5の位置に走査系
1が復帰するまで待機状態となる。ブレーキスイ
ツチ5がオンすると、ステツプ(16s)で走査系
1の移動量を測定するカウンタ(POS)に現在
の減速制御タイミング(DELAY)の補数をセツ
トするとともに、外部割込みルーチン(INT−
E)の処理をエンコーダパルス計数モードに、即
ち、(MODE)を「3」にセツトする。外部割込
みルーチン(INT−E)は、エンコーダパルス
ごとにカウンタ(POS)に「1」を加算してて
ゆく。そのため、走査系1がブレーキスイツチ5
をオンしてから(DELAY)だけ移動するとカウ
ンタ(POS)はゼロとなる。ステツプ(17s)で
これを検出すると、ステツプ(18s)で逆転の駆
動をオフ(D=0)し、ステツプ(19s)で正逆
転信号を正転(F=0)にする。これによりモー
タ2に回生ブレーキがかかり、走査系1は減速を
開始する。 After this, in step (15s), the scanning system 1 enters a standby state until the brake switch 5 is turned on, in other words, until the scanning system 1 returns to the position of the brake switch 5, which is the reference position for deceleration control. When the brake switch 5 is turned on, in step (16s), the complement of the current deceleration control timing (DELAY) is set in the counter (POS) that measures the amount of movement of the scanning system 1, and the external interrupt routine (INT-
E) Set the process to encoder pulse counting mode, that is, set (MODE) to "3". The external interrupt routine (INT-E) adds "1" to the counter (POS) for each encoder pulse. Therefore, the scanning system 1 is connected to the brake switch 5.
If you move by (DELAY) after turning on, the counter (POS) will be zero. When this is detected in step (17s), the reverse rotation drive is turned off (D=0) in step (18s), and the forward/reverse rotation signal is set to normal rotation (F=0) in step (19s). As a result, regenerative braking is applied to the motor 2, and the scanning system 1 starts decelerating.
以後、主ルーチンでは今回の減速状態のチエツ
クを開始する。即ち、ステツプ(20s)で制動開
始タイミングが早いか否かをチエツクするフラグ
(FAST)をクリアする。そして、ステツプ
(21s)で外割込みルーチン(INT−E)をタイ
ミングチエツクのためのモードに、即ち、
(MODE)に「2」をセツトし、ステツプ(22s)
でホームスイツチ4がオンするまで、換言すれ
ば、走査系1がホーム位置に復帰するまで待機状
態となる。ホームスイツチ4がオンすると、ステ
ツプ(23s)で割込みを禁止し、外部割込みルー
チン(INT−E)の処理を中止する。このとき、
ステツプ(24s)でフラグ(FAST)が“0”か
否かを判定し、減速開始タイミング(DELAY)
を補正する。まず、フラグ(FAST)が“0”で
タイミングが遅い場合には、ステツプ(25s)で
前述した(1)式により、ホーム位置の速度に応じて
補正する。ただし、測定速度に対応したエンコー
ダパルス間隔(Ti)により行う。逆にフラグ
(FAST)が“1”でタイミングが早い場合は、
ステツプ(26s)でホーム位置での所定速度まで
減速した位置(TMPRG)とそのカウント数
(POS)との差により補正する。補正が完了する
と、再びステツプ(3s)にリターンし、走査開始
持ちとなる
このようにメインルーチンの制御は極めてシン
プルな制御となつている。 Thereafter, the main routine starts checking the current deceleration state. That is, in step (20s), a flag (FAST) for checking whether or not the braking start timing is early is cleared. Then, in step (21s), the external interrupt routine (INT-E) is set to the mode for timing check, that is,
Set (MODE) to “2” and step (22s)
The scanner is in a standby state until the home switch 4 is turned on, in other words, until the scanning system 1 returns to the home position. When the home switch 4 is turned on, interrupts are prohibited in step (23s) and processing of the external interrupt routine (INT-E) is stopped. At this time,
At step (24s), determine whether the flag (FAST) is “0” or not, and set the deceleration start timing (DELAY).
Correct. First, if the flag (FAST) is "0" and the timing is slow, in step (25s), correction is made according to the speed of the home position using equation (1) described above. However, the encoder pulse interval (Ti) corresponding to the measurement speed is used. On the other hand, if the flag (FAST) is “1” and the timing is early,
Correction is made based on the difference between the position (TMPRG) at which the speed has been decelerated to a predetermined speed at the home position in step (26s) and the count number (POS). When the correction is completed, the process returns to step (3s) and is ready to start scanning. In this way, the control of the main routine is extremely simple.
第8図はタイマ割込みルーチン(INT−T)
を示し、このルーチンは外部割込みルーチン
(INT−E)で設定されるタイマ値(Tw)のタ
イムアツプごとにメインルーチンに割込みをかけ
て処理される。即ち、タイマ割込みがかかると、
ステツプ(31s)でモータ駆動信号Dを“0”に
する。 Figure 8 shows the timer interrupt routine (INT-T)
This routine is processed by interrupting the main routine every time the timer value (Tw) set by the external interrupt routine (INT-E) times up. In other words, when a timer interrupt occurs,
In step (31s), the motor drive signal D is set to "0".
次に、第7図を用いて外部割込みルーチン
(INT−E)を説明する。このルーチンはモータ
2の回転を検出するエンコーダ3からのパルスの
発生ごとにメインルーチンに割込みをかけて処理
されるものである。 Next, the external interrupt routine (INT-E) will be explained using FIG. This routine is processed by interrupting the main routine every time a pulse is generated from the encoder 3 that detects the rotation of the motor 2.
第7図において割込みがかかると、まずステツ
プ(41s)で、マイクロコンピユータ20内の基
準時刻となるカウンタ(Tf)の値Tfをランダム
アクセスメモリ(RAM)の所定エリアに設定さ
れるレジスタ(Tc)にコピーする。従つて、レ
ジスタ(Tc)は今回のエンコーダ2のパルスの
発生時刻(Tc)を示すことになる。 When an interrupt occurs in FIG. 7, first, in step (41s), the value Tf of the counter (Tf), which is the reference time in the microcomputer 20, is set in a register (Tc) in a predetermined area of the random access memory (RAM). Copy to. Therefore, the register (Tc) indicates the current pulse generation time (Tc) of the encoder 2.
次に、ステツプ(42s)でカウンタ(SYNC)
の値を判定し、零以外の場合はステツプ(43s)
でカウンタ値から「1」を減算する。このカウン
タ(SYNC)はエンコーダパルスと割込みルーチ
ンの同期をとるためのもので、エンコーダ3のパ
ルス間隔を求めるためには最低二つのエンコーダ
パルスを必要とするので、その間のパルス間隔の
計算結果を無効にする目的で設定される。本実施
例では最初の1パルスも無視するためにカウンタ
(SYNC)の初期値「2」に設定される。 Next, at step (42s) counter (SYNC)
Determine the value of , and if it is other than zero, step (43s)
``1'' is subtracted from the counter value. This counter (SYNC) is used to synchronize the encoder pulses and the interrupt routine. Since at least two encoder pulses are required to determine the pulse interval of encoder 3, the calculation result of the pulse interval between them is invalidated. It is set for the purpose of In this embodiment, the initial value of the counter (SYNC) is set to "2" in order to ignore even the first pulse.
ステツプ(44s)ではエンコーダ3のパルス間
隔(Ti)を求める。この演算はステツプ(41s)
で設定された今回のエンコーダパルス発生時刻
(Tc)と前回のエンコーダパルス発生時刻(Tp)
との差をとることによつて得られる。前回のエン
コーダパルス発生時刻(Tp)はレジスタ(Tc)
と同様にランダムアクセスメモリ(RAM)に設
定されるレジスタ(Tp)に格納されており、次
のステツプ(45s)で今回のエンコーダパルス発
生時刻(Tc)をレジスタ(Tp)にコピーするこ
とにより更新される。 In step (44s), the pulse interval (Ti) of the encoder 3 is determined. This operation is a step (41s)
Current encoder pulse generation time (Tc) and previous encoder pulse generation time (Tp) set in
It can be obtained by taking the difference between The previous encoder pulse generation time (Tp) is stored in the register (Tc).
Similarly, it is stored in a register (Tp) set in random access memory (RAM), and is updated by copying the current encoder pulse generation time (Tc) to the register (Tp) in the next step (45s). be done.
次のステツプ(46s)、(47s)、(48s)ではモー
ド判定を行う。本実施例ではモード速度測定モー
ド(MODE=0)、定速制御モード(MODE=
1)、タイミングチエツクモード(MODE=2)
及びパルス計数モード(MODE=3)の4種類
設定されている。 In the next steps (46s), (47s), and (48s), mode determination is performed. In this example, the mode speed measurement mode (MODE=0), constant speed control mode (MODE=
1) Timing check mode (MODE=2)
and pulse counting mode (MODE=3).
速度測定モード(MODE=0)の場合は、ス
テツプ(41s)〜(45s)の速度測定を行うだけ
で、すぐにメインルーチンにリターンする。 In the speed measurement mode (MODE=0), the speed measurement in steps (41s) to (45s) is performed and the process immediately returns to the main routine.
定速制御モード(MODE=1)の場合は、ス
テツプ(49s)で所定速度に対するモータ2のオ
ン時刻(Ton)を演算する。ここで、オン時間
(Ton)は、所定速度に対応して設定されたオン
時間(Ttyp)に測定されたエンコーダパルス間
隔(Ti)と所定速度に対する基準エンコーダパ
ルス間隔(Ts)との差に係数(K)を乗じた値を加
算して得られる。(Ttyp)、(Ts)、(K)K)は往動
時においては複写倍率によつて異なつた値が用い
られる。 In the case of constant speed control mode (MODE=1), the on time (Ton) of the motor 2 for a predetermined speed is calculated in step (49s). Here, the on time (Ton) is the difference between the encoder pulse interval (Ti) measured during the on time (Ttyp) set corresponding to the predetermined speed and the reference encoder pulse interval (Ts) for the predetermined speed. It is obtained by adding the values multiplied by (K). For (Ttyp), (Ts), and (K)K), different values are used depending on the copying magnification during forward movement.
このようにして求められたオン時間(Ton)
は、ステツプ(50s)で現在時刻(Tf)に加算さ
れてタイマレジスタTwにセツトされる。前記し
たようにタイマレジスタTwは現在時刻を示すカ
ウンタTfと常時比較されており、両者が一致し
たときにタイマ割込みをかけるので、タイマレジ
スタTwがセツトされてから丁度時間(Ton)後
にタイマ割込みがかることになり、この間モータ
2がオンしている。 On time (Ton) determined in this way
is added to the current time (Tf) in step (50s) and set in the timer register Tw. As mentioned above, the timer register Tw is constantly compared with the counter Tf indicating the current time, and when the two match, a timer interrupt is generated, so a timer interrupt is generated exactly (Ton) after the timer register Tw is set. Therefore, the motor 2 is turned on during this time.
パルス計数モード(MODE=3)の場合は、
ステツプ(48s)で「NO」と判定され、ステツ
プ(55s)に移行し、走査系1の位置(POS)の
更新のみが行われる。 In case of pulse counting mode (MODE=3),
The determination in step (48s) is "NO", and the process moves to step (55s), where only the position (POS) of the scanning system 1 is updated.
タイミングチエツクモード(MODE=2)の
場合は、ステツプ(52s)で所定速度Vhomeまで
減速した位置をすでに測定したかをフラグ
(FAST)によりチエツクし、測定済みの場合
(FAST=1)はパルス計数モード(MODE=
3)と同様にステツプ(55s)で位置(POS)の
更新だけが行われる。未測定の場合(FAST=
0)はステツプ(53s)で現在速度に対応するパ
ルス間隔(Ti)と所定速度Vhomeに対応するパ
ルス間隔(Thome)を比較し、所定速度Vhome
以下に減速したかをチエツクする。走査系1の速
度が所定速度Vhomeより速い場合は、ステツプ
(55s)で位置(POS)の更新だけが行われる。所
定速度Vhome以下に減速している場合は、ステ
ツプ(54s)で現在位置(POS)を一時記憶レジ
スタ(TMPRG)に退避しておく。同時に、減
速タイミングが早過ぎたのでフラグ(FAST)に
“1”にセツトする。最後に位置(POS)を更新
して主ルーチンにリターンする。 In the case of timing check mode (MODE = 2), the flag (FAST) is used to check whether the position where the speed has been decelerated to the predetermined speed Vhome has already been measured in step (52s), and if it has been measured (FAST = 1), pulse counting is performed. Mode (MODE=
As in 3), only the position (POS) is updated in step (55s). If not measured (FAST=
0) compares the pulse interval (Ti) corresponding to the current speed with the pulse interval (Thome) corresponding to the predetermined speed Vhome in step (53s), and
Check if the speed has decreased to below. If the speed of the scanning system 1 is faster than the predetermined speed Vhome, only the position (POS) is updated in step (55s). If the speed is decelerating below the predetermined speed Vhome, the current position (POS) is saved in the temporary storage register (TMPRG) in step (54s). At the same time, since the deceleration timing was too early, the flag (FAST) is set to "1". Finally, the position (POS) is updated and the process returns to the main routine.
発明の効果
以上の説明で明らかなように、本発明によれ
ば、復動時の速度あるいは制動力自体を制御する
ことなく簡単な構成で、走査距離が同一である走
査モードで複数回往復動される走査系の各復動時
における制動タイミングを補正して、常に最適な
制動状態を得ることができる。Effects of the Invention As is clear from the above explanation, according to the present invention, the reciprocating motion can be performed multiple times in the scanning mode in which the scanning distance is the same, with a simple configuration without controlling the speed or braking force itself during the reciprocating motion. By correcting the braking timing during each backward movement of the scanning system, the optimum braking state can always be obtained.
このため、同一の走査距離で複数回の複写往復
動が行われる場合は、走査系や駆動モータの誤
差、状態の変動による制動力の変化にもかかわら
ず、常に最適のタイミングで制動が行われ、走査
系は正確に定位置に復帰する。 Therefore, when reciprocating copying is performed multiple times over the same scanning distance, braking is always performed at the optimal timing, despite changes in braking force due to errors in the scanning system or drive motor, or changes in conditions. , the scanning system returns to its home position accurately.
したがつて、走査系の停止位置がばらつくこと
がなくなる結果、走査開始時の予備移動距離を短
くすることができ、走査装置の小型化、複写動作
時間の短縮を図ることができる。 Therefore, the stopping position of the scanning system does not vary, and as a result, the preliminary movement distance at the start of scanning can be shortened, and the scanning device can be made smaller and the copying operation time can be shortened.
図面は本発明に係る制御方法の一実施例を示
し、第1図、第2図は走査系の復動(リターン)
時の速度変化を示すグラフ、第3図は走査系の斜
視図、第4図は制御手段のブロツク図、第5図は
モータ制御回路図、第6図、第7図、第8図は制
御手段のフローチヤート図である。
1……走査系、2……モータ、3……エンコー
ダ、4……ホームスイツチ、5……ブレーキスイ
ツチ、20……マイクロコンピユータ、Vhome
……所定速度、V'home……測定速度、Tf……カ
ウンタ、Tw……タイマレジスタ。
The drawings show an embodiment of the control method according to the present invention, and FIGS. 1 and 2 show the return movement of the scanning system.
Figure 3 is a perspective view of the scanning system, Figure 4 is a block diagram of the control means, Figure 5 is a motor control circuit diagram, Figures 6, 7, and 8 are control diagrams. It is a flowchart diagram of a means. 1...Scanning system, 2...Motor, 3...Encoder, 4...Home switch, 5...Brake switch, 20...Microcomputer, Vhome
...Predetermined speed, V'home...Measurement speed, Tf...Counter, Tw...Timer register.
Claims (1)
復動される走査系の復動時において、走査系を往
動終了位置から復動方向に向けて駆動したのち、
所定の減速タイミングで制動して往動開始位置に
復帰させる走査系の減速制御方法であつて、 復動時における往動開始位置での走査系の速度
を測定し、 この測定速度が所定速度よりも速い場合には前
記測定速度に応じて次回の減速タイミングを決定
する一方、 前記測定速度が前記所定速度よりも遅い場合に
は走査系の速度が前記所定速度まで減速された位
置から任意開始位置までの距離に応じて次回の減
速タイミングを決定することを特徴とする走査系
の減速制御方法。[Claims] 1. During the backward movement of a scanning system that is reciprocated multiple times in a scanning mode in which the scanning distance is the same, after driving the scanning system from the forward movement end position in the backward movement direction,
A scanning system deceleration control method that returns to the forward movement start position by braking at a predetermined deceleration timing, and measures the speed of the scanning system at the forward movement start position during the backward movement, and if this measured speed is lower than the predetermined speed. If the speed of the scanning system is faster than the predetermined speed, the next deceleration timing is determined according to the measured speed, while if the measured speed is slower than the predetermined speed, an arbitrary starting position is determined from the position where the speed of the scanning system is reduced to the predetermined speed. 1. A scanning system deceleration control method, characterized in that the next deceleration timing is determined according to the distance.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP10465183A JPS59228642A (en) | 1983-06-10 | 1983-06-10 | Speed reduction control system of scanning system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP10465183A JPS59228642A (en) | 1983-06-10 | 1983-06-10 | Speed reduction control system of scanning system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS59228642A JPS59228642A (en) | 1984-12-22 |
| JPH0434730B2 true JPH0434730B2 (en) | 1992-06-08 |
Family
ID=14386358
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP10465183A Granted JPS59228642A (en) | 1983-06-10 | 1983-06-10 | Speed reduction control system of scanning system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS59228642A (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH03161776A (en) * | 1989-11-20 | 1991-07-11 | Konica Corp | Image forming device |
-
1983
- 1983-06-10 JP JP10465183A patent/JPS59228642A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS59228642A (en) | 1984-12-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0434729B2 (en) | ||
| JPS60107635A (en) | Electrophotographic copying machine | |
| JPH0434730B2 (en) | ||
| US5442267A (en) | Device for controlling the reverse rotation of a motor and method of judging time point where the motor is actually rotated in a reverse direction | |
| JPH0454951B2 (en) | ||
| JPH0436379B2 (en) | ||
| JPS6135180A (en) | Motor controller for scanner | |
| JPH0522975A (en) | Motor drive control method and apparatus | |
| JPH069393U (en) | Motor control device | |
| JPH0716553B2 (en) | Sewing machine controller | |
| JP3267701B2 (en) | Motor control device | |
| JP2735324B2 (en) | Motor rotation speed control device | |
| JP2525248B2 (en) | Motor control voltage calculator | |
| JPH0217895A (en) | Stepping motor drive method | |
| JPH0435053B2 (en) | ||
| JP2957216B2 (en) | Motor control device | |
| JP2820724B2 (en) | Drive control device for servo motor of image reading device | |
| JPS59152435A (en) | Scanner | |
| JPH08194556A (en) | Cam switch control device | |
| JPS60262147A (en) | Scanning device | |
| JPS63110998A (en) | Pulse motor drive method | |
| JPS63236101A (en) | Present position storing method for controller | |
| JP2820747B2 (en) | Steady-state reach detection device in motor controller | |
| JPH03218288A (en) | Motor controller | |
| JPS6159070B2 (en) |