JPH0337637A - Optical system controller - Google Patents

Optical system controller

Info

Publication number
JPH0337637A
JPH0337637A JP17258489A JP17258489A JPH0337637A JP H0337637 A JPH0337637 A JP H0337637A JP 17258489 A JP17258489 A JP 17258489A JP 17258489 A JP17258489 A JP 17258489A JP H0337637 A JPH0337637 A JP H0337637A
Authority
JP
Japan
Prior art keywords
scanner
optical system
home position
control
stop
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
JP17258489A
Other languages
Japanese (ja)
Inventor
Tomonori Fukui
福井 智則
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 JP17258489A priority Critical patent/JPH0337637A/en
Publication of JPH0337637A publication Critical patent/JPH0337637A/en
Pending legal-status Critical Current

Links

Landscapes

  • Exposure Or Original Feeding In Electrophotography (AREA)
  • Optical Systems Of Projection Type Copiers (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は光学系の制御を行う光学系制御装置に関し、よ
り詳細には複写機等に利用される光学系の停止位置の制
御を正確に実行する光学系制御装置に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to an optical system control device that controls an optical system, and more specifically, to an optical system control device that accurately controls the stop position of an optical system used in a copying machine or the like. The present invention relates to an optical system control device for execution.

〔従来の技術〕[Conventional technology]

第10図は原稿台固定方式を採用した複写機の光学系構
成を示している。この方式にあっては、原稿1000を
載置するコンタクトガラス1001と、該コンタクトガ
ラス1001の下には、コンタクトガラス1001上に
°載置されている原稿1000の内容を光学走査するス
キャナ光学系1002と、該スキャナ光学系1002が
原稿1000に対して光学走査したことにより発生した
情報光を結像する結像レンズ1003と、該結像レンズ
1003からの光を所定方向へ導くミラー1004と、
防塵ガラス1005と、該防塵ガラス1005を通過し
て原稿内容に応じた情報光により露光処理が実行される
感光体ドラム1006とを有する。
FIG. 10 shows the optical system configuration of a copying machine that employs the document table fixing method. In this system, there is a contact glass 1001 on which an original 1000 is placed, and a scanner optical system 1002 under the contact glass 1001 that optically scans the contents of the original 1000 placed on the contact glass 1001. an imaging lens 1003 that forms an image of information light generated when the scanner optical system 1002 optically scans the original 1000; and a mirror 1004 that guides the light from the imaging lens 1003 in a predetermined direction.
It has a dust-proof glass 1005 and a photoreceptor drum 1006 that passes through the dust-proof glass 1005 and undergoes exposure processing with information light according to the content of the document.

また、上記スキャナ光学系1002は、原稿に対して光
を照射する照明光源1007と、該照明光源1007か
らの光を反射し、光を原稿1000方向にのみ集光させ
る反射板1008と、前記照明光源1007からの光が
コンタクトガラス1001上の原[1000を照射し。
The scanner optical system 1002 also includes an illumination light source 1007 that irradiates light onto the original, a reflector 1008 that reflects the light from the illumination light source 1007 and focuses the light only in the direction of the original 1000, and the illumination Light from a light source 1007 illuminates the source [1000] on the contact glass 1001.

その反射光を所定方向へ導くミラー1009とを有する
第1スキヤナ1010と、該ミラー1009からの反射
光を前記結像レンズ1003方向に導くミラーl011
と。
a first scanner 1010 having a mirror 1009 that guides the reflected light in a predetermined direction; and a mirror l011 that guides the reflected light from the mirror 1009 in the direction of the imaging lens 1003;
and.

ミラー1012とを有する第2スキヤナ1013とから
構成されている。
and a second scanner 1013 having a mirror 1012.

第11図は、上記スキャナ光学系1002を駆動させる
駆動系構成を示す。
FIG. 11 shows a drive system configuration for driving the scanner optical system 1002.

上記第1スキヤナ1010と第2スキヤナ■013を光
学走査中に原稿1000からの反射光路長が変化しない
ように72=1の速度比で復動させるサーボモータ(直
流モータ) 1100と、該サーボモータ1100に張
架されたスキャナワイヤ1101とを有し。
A servo motor (DC motor) 1100 that causes the first scanner 1010 and the second scanner 013 to move back at a speed ratio of 72=1 so that the length of the optical path reflected from the original 1000 does not change during optical scanning; 1100 and a scanner wire 1101 stretched over the scanner wire 1100.

更に装置本体の所定位置にはスキャナ光学系1002の
第1基準位置(第1ホームポジシヨン)において、該ス
キャナ光学系1002の位置を検出するための反射型フ
ォトインターラブターによって構成されているスキャナ
ホームポジションセンサ(以下第1HPセンサという)
 1102と、スキャナ光学系1002の第2基準位置
(第2ホームポジシヨン)において、該スキャナ光学系
1002の位置を検出するためのスキャナホームポジシ
ョンセンサ(以下第2HPセンサという) 1130と
、上記第1スキヤナ1010に設置され、該第1スキヤ
ナ1010が、第1HPセンサ1102或いは第2HP
センサ1130に到達したとき、該第1HPセンサ11
02或いは第2HPセンサ1130からの光を遮蔽する
ことにより該センサ1102、1130をONさせ、前
記第1スキヤナ1010が所定のホームポジションに到
達したことを検出するためのHP全センサ蔽板1103
と、前記サーボモータ1100の回転に同期してパルス
信号を発生させるエンコーダ1104と、該エンコーダ
1104からのパルス信号を割込信号として人力し1割
込信号の時間間隔からサーボモータ1100の回転速度
を計測し。
Further, at a predetermined position of the main body of the apparatus, there is provided a scanner constituted by a reflective photointerturbator for detecting the position of the scanner optical system 1002 at a first reference position (first home position) of the scanner optical system 1002. Home position sensor (hereinafter referred to as 1st HP sensor)
1102, a scanner home position sensor (hereinafter referred to as a second HP sensor) 1130 for detecting the position of the scanner optical system 1002 at a second reference position (second home position) of the scanner optical system 1002; The scanner 1010 is installed in the scanner 1010, and the first scanner 1010 is connected to the first HP sensor 1102 or the second HP sensor 1102.
When reaching the sensor 1130, the first HP sensor 11
02 or an HP all-sensor shielding plate 1103 for turning on the sensors 1102 and 1130 by blocking light from the second HP sensor 1130 and detecting that the first scanner 1010 has reached a predetermined home position.
and an encoder 1104 that generates a pulse signal in synchronization with the rotation of the servo motor 1100, and the pulse signal from the encoder 1104 is used as an interrupt signal to manually calculate the rotation speed of the servo motor 1100 from the time interval of one interrupt signal. Measure.

目標速度との差をもとに比例積分制御を実行し。Executes proportional-integral control based on the difference from the target speed.

この結果に応じた操作量をサーボモータ1100に出力
してサーボモータ1100の回転速度を制御する制御部
1105とを有する。
The control unit 1105 outputs an operation amount according to this result to the servo motor 1100 to control the rotational speed of the servo motor 1100.

以上の構成において、第10図においてスキャナ光学系
1002が実線で示されている第1ホームポジシヨンか
らサーボモータ1100の駆動によりスキャナワイヤ1
101を介してスキャナ光学系1002が右方向に走査
駆動されてコンタクトガラス1001上の原稿1000
の面を露光走査する。また第10図中二点鎖線で示す第
1スキヤナ1010及び第2スキヤナ1013の位置は
往動動作の最大移動位置を示し、原稿1oooに対する
露光走査が終了したスキャナ光学系1002は再び前記
第1ホームポジシヨンに向けて復動動作を行うことにな
る。
In the above configuration, the scanner optical system 1002 moves from the first home position indicated by the solid line in FIG. 10 to the scanner wire 1 by driving the servo motor 1100.
A scanner optical system 1002 is driven to scan in the right direction via a contact glass 1001 to scan an original 1000 on a contact glass 1001.
Exposure and scan the surface. Further, the positions of the first scanner 1010 and the second scanner 1013 indicated by the two-dot chain lines in FIG. A backward motion will be performed toward the position.

即ち、第1スキヤナ1010に設置されたHP全センサ
蔽板1103が第11(Pセンサ1102を横切った時
点で、HP全センサ蔽板1103が第1HPセンサ11
02からの光を遮蔽し2制御部1105はその第1HP
センサ1102からの検出信号を入力して、内部処理し
、その後サーボモータ1100へ制御信号を出力してサ
ーボモータ1100の回転方向を逆転(スキャナ往動方
向)から正転(スキャナ復動方向)に切り換えることに
よりスキャナ光学系1020をオーバーラン位置からホ
ームポジションに戻す。
That is, when the HP all-sensor shielding plate 1103 installed in the first scanner 1010 crosses the eleventh (P sensor 1102), the HP all-sensor shielding plate 1103 crosses the first HP sensor 11
2 control unit 1105 blocks the light from 02, and the 2 control unit 1105
The detection signal from the sensor 1102 is input and processed internally, and then a control signal is output to the servo motor 1100 to change the rotation direction of the servo motor 1100 from reverse (scanner forward direction) to forward rotation (scanner backward direction). The switching returns the scanner optical system 1020 from the overrun position to the home position.

次に1第2ホームポジシヨンからの複写処理について説
明する。
Next, the copying process from the first and second home positions will be explained.

ここで、上記第2ホームポジシヨンは、第1ホームポジ
シヨンと最大露光位置の中間点に位置し。
Here, the second home position is located at an intermediate point between the first home position and the maximum exposure position.

両者から各々216mの距離に設定されている。It is set at a distance of 216 meters from both.

例えば1図示しないADF(自動原稿搬送装置)を使用
した連続複写モードで、原稿の大きさがスキャナ光学系
1020の走査方向に216順以下の場合においては、
前記ADFのスピードアップモードに設定される。
For example, in a continuous copy mode using an ADF (automatic document feeder) (not shown), if the size of the original is 216 or less in the scanning direction of the scanner optical system 1020,
The speed-up mode of the ADF is set.

このスピードアップモードにおいては、1枚目の原稿は
ADFにより第1ホームポジシヨンに対応した位置に搬
送され、スキャナ光学系1020は上記第1ホームポジ
シヨンからの露光走査を実行し。
In this speed-up mode, the first document is transported by the ADF to a position corresponding to the first home position, and the scanner optical system 1020 executes exposure scanning from the first home position.

その後、第2ホームポジシヨンに移動する。Thereafter, it moves to the second home position.

このようなとき、スキャナ光学系による露光走査終了位
置が第2ホームポジシヨンに対して第1ホームポジシヨ
ン側であったときはスキャナ光学系1020は往動側に
リターン動作し、第2ホームポジシヨンを数センチ通過
したところで停止し、その後、第2ホームポジシヨンに
向けて復動する。
In such a case, if the end position of the exposure scan by the scanner optical system is on the first home position side with respect to the second home position, the scanner optical system 1020 returns to the forward movement side and returns to the second home position. It stops a few centimeters after passing the station, and then returns to its second home position.

また スキャナ光学系1020のの露光走査終了位置が
第2ホームポジシヨンよりも最大露光位置側であった場
合には第1ホームポジシヨンへのリターン動作と同様の
リターン動作が実行される。
Further, when the exposure scan end position of the scanner optical system 1020 is closer to the maximum exposure position than the second home position, a return operation similar to the return operation to the first home position is executed.

2枚目以降の原稿はADFにより第2ホームポジシヨン
に対応した位置に搬送されるので、スキャナ光学系10
20は外部からの露光走査開始指令に従って第2ホーム
ポジシヨンから走査駆動されて原稿面を露光走査し、外
部からの第2ホームポジシヨンに向けてリターン動作を
実行する。このソータン時のスキャナ速度、減速制御及
び停止制御については、上述した第1ホームポジシヨン
へのリターン動作と同様である。
Since the second and subsequent documents are transported by the ADF to a position corresponding to the second home position, the scanner optical system 10
20 is scan-driven from the second home position in accordance with an exposure scan start command from the outside to expose and scan the document surface, and performs a return operation toward the second home position from the outside. The scanner speed, deceleration control, and stop control during this sorting operation are the same as those for the return operation to the first home position described above.

このようにして複写動作を繰り返して最終原稿の露光走
査が終了すると、外部からスキャナ光学系1020に対
して第1ホームポジシヨンへの移動指令を出力してスキ
ャナ光学系1020は第1ホームポジシヨンへ移動し、
ADFによるスピードアップモードは終了する。
When the exposure scan of the final document is completed by repeating the copying operation in this way, a command to move to the first home position is output to the scanner optical system 1020 from the outside, and the scanner optical system 1020 returns to the first home position. Move to
The ADF speed-up mode ends.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

しかしながら、従来のスキャナ光学系制御では。 However, with conventional scanner optical system control.

上記スピードアップモードにおいて、第2ホームポジシ
ヨンへのリターン動作中にあっては、新たに第1ホーム
ポジシヨンへの移動指示を出力しても、これを受は付け
ることができなかったため。
In the speed-up mode, during the return operation to the second home position, even if a new movement instruction to the first home position is output, it cannot be accepted.

例えば、スキャナ光学系を第2ホームポジシヨンへ向け
てリターン動作中に、上記スピードアップモードを終了
してスキャナ光学系を第1ホームポジシヨンへ戻す必要
が生じた場合、1度スキャナ光学系が第2ホームポジシ
ヨンへ移動して停止した後に改めて第1ホームポジシヨ
ンへ移動指示を出力してスキャナ光学系を第1ホームポ
ジシヨンへ移動させる必要があった。
For example, if it becomes necessary to exit the speed-up mode and return the scanner optical system to the first home position while the scanner optical system is returning to the second home position, After moving to the second home position and stopping, it was necessary to output a movement instruction to the first home position again to move the scanner optical system to the first home position.

その結果、従来のスキャナ光学系にあっては。As a result, in conventional scanner optics.

スキャナ光学系が第1ホームポジシヨンへ到達するまで
の時間が長くなってしまい1次の露光走査が可能になる
までに時間がかかるという不具合があり、更に、スキャ
ナ光学系の駆動中の動作モードによってホームポジショ
ンへの移動指示を受は付ける場合とそうでない場合があ
るため、外部装置例の制御が複雑になるという不具合が
あった。
There is a problem that it takes a long time for the scanner optical system to reach the first home position, and it takes time before the first exposure scan is possible. Since there are cases where an instruction to move to the home position is accepted and cases where it is not accepted, there is a problem that control of the external device becomes complicated.

本発明は上記に鑑みてなされたものであり、スキャナ光
学系の移動指示に対する応答性能を向上させ、複写動作
が可能となるまでの時間を短縮し。
The present invention has been made in view of the above, and improves the response performance of a scanner optical system to a movement instruction, thereby shortening the time until copying operation becomes possible.

光学スキャナの動作モードにかかわらず、ホームポジシ
ョンへの移動指示を受は付けて外部装置側の制御を簡単
にすることを目的とする。
To simplify control on an external device side by accepting a movement instruction to a home position regardless of the operation mode of an optical scanner.

〔問題を解決するための手段〕[Means to solve the problem]

本発明は上記の目的を達成するために、原稿を光学走査
する光学系と、該光学系を搬送するためのサーボモータ
と、該サーボモータの駆動を制御する制御手段と、前記
光学系の複数の停止位置に対応して配置され、前記光学
系の位置を検出する複数のセンサとを有し、外部からの
指示に基づいて指定された停止位置に前記光学系を移動
させる光学系制御装置において、前記制御手段が、前記
光学系を特定の停止位置にて停止させるための駆動制御
中に他の停止位置に対する停止指示の受付を可能にし、
最終的に指定された停止位置に前記光学系を停止させる
制御を実行する光学系制御装置を提供するものでる。
In order to achieve the above object, the present invention includes an optical system for optically scanning a document, a servo motor for conveying the optical system, a control means for controlling the driving of the servo motor, and a plurality of optical systems for controlling the drive of the servo motor. an optical system control device that moves the optical system to a specified stop position based on an external instruction, and has a plurality of sensors arranged corresponding to a stop position of the optical system to detect the position of the optical system. , the control means is capable of accepting stop instructions for other stop positions during drive control for stopping the optical system at a specific stop position;
The present invention provides an optical system control device that executes control to stop the optical system at a finally designated stop position.

〔作用〕[Effect]

本発明による光学系制御装置は、スキャナ光学系ヲ例え
ば、第2ホームポジシヨンで停止させるための駆動制御
中に、第1ホームポジシヨンに対する停止指示の受付を
可能とし、スキャナ光学系を最終的に指定された停止位
置に停止させる。
The optical system control device according to the present invention makes it possible to receive a stop instruction for the first home position during drive control to stop the scanner optical system at the second home position, for example, and to finally control the scanner optical system. to stop at the specified stop position.

〔実施例〕〔Example〕

以下2本発明の実施例を図面に基づいて具体的に説明す
る。
Hereinafter, two embodiments of the present invention will be specifically described based on the drawings.

第1図は、スキャナ光学系の制御回路の構成を示す説明
図である。
FIG. 1 is an explanatory diagram showing the configuration of a control circuit of a scanner optical system.

このスキャナ光学系制御回路は、制御手段としての制御
部100 (例えば、μPD7811Gマイクロコンピ
ュータ)と、計測手段としてのプログラマブル・インタ
ーバル・タイマー101(例えば、μPO3253C)
と、該プログラマブル・インターバル・タイマー101
に対してクロック信号を出力する発振器107と、スキ
ャナ光学系(図示せず)を搬送するためのサーボモータ
110と、該サーボモータ110の回転方向を制御する
ため、前記制御部100とサーボモータ110との間に
介在しているトランジスタ112゜トランジスタ113
.トランジスタ114.)ランジスタ115と、前記サ
ーボモータ110に接続され5サーボモータ110の回
転量及び回転方向に応じて位相の異なる2つのパルス信
号(A相エンコーダパルスENCAとB相エンコーダパ
ルスENCB)を出力するパルス発生手段としてのエン
コーダ111と、前記光学系が第1ホームポジシヨンに
あるか否かを検出し、その検出結果を制御部100に出
力する第1HPセンサ106と。
This scanner optical system control circuit includes a control unit 100 (for example, μPD7811G microcomputer) as a control means, and a programmable interval timer 101 (for example, μPO3253C) as a measurement means.
and the programmable interval timer 101
an oscillator 107 that outputs a clock signal to the servo motor 110; a servo motor 110 for conveying a scanner optical system (not shown); Transistor 112 and transistor 113 interposed between
.. Transistor 114. ) A pulse generator that outputs two pulse signals (A-phase encoder pulse ENCA and B-phase encoder pulse ENCB) that are connected to the transistor 115 and the servo motor 110 and have different phases depending on the rotation amount and rotation direction of the 5 servo motor 110. An encoder 111 as a means, and a first HP sensor 106 that detects whether the optical system is at a first home position and outputs the detection result to the control unit 100.

前記光学系が第2ホームポジシヨンにあるか否かを検出
し、その検出結果を制御部100に出力する第2HPセ
ンサ120とを有する。また。
It has a second HP sensor 120 that detects whether the optical system is in a second home position and outputs the detection result to the control unit 100. Also.

102.103はバッファであり、104はフリップ・
フロップであり、105は制御部100に対する発振器
であり、108,109は前記プログラマブル・インタ
ーバル・タイマー101からの出力を前記トランジスタ
114,115に対してゲートするゲート回路である。
102 and 103 are buffers, and 104 is a flip
105 is an oscillator for the control unit 100, and 108 and 109 are gate circuits that gate the output from the programmable interval timer 101 to the transistors 114 and 115.

また、上記制御部100のシリアル−データ入力端子R
XD端子及びシリアルデータ出力端子TXDは、各々マ
スターコンピュータ130のTXD端子、RXD端子に
接続されていて、シリアルインターフェース機能により
データの送受信を行う。従って、この制御部100はマ
スターコンピュータ130からの指示に従ってスキャナ
光学系の制御を行うことから、上記マスターコンピュー
タ100に対してスレーブコンピュータとして機能する
Further, the serial-data input terminal R of the control section 100
The XD terminal and the serial data output terminal TXD are connected to the TXD terminal and the RXD terminal of the master computer 130, respectively, and transmit and receive data using a serial interface function. Therefore, since the control section 100 controls the scanner optical system according to instructions from the master computer 130, it functions as a slave computer with respect to the master computer 100.

以上の構成において、以下その動作・制御方式を説明す
る。
In the above configuration, its operation and control system will be explained below.

上記スキャナ光学系を搬送するサーボモータ110は、
制御部100に接続されている駆動用トランジスタ11
2,113,114,115によってその回転方向を駆
動制御される。具体的には、トランジスタ112,11
4がON状態にあり、トランジスタ113,115がO
FF状態にあるとき、サーボモータ110に対して時計
方向(CW)に回転するための電流が供給され、逆にト
ランジスタ112,114がOFF状態にあり。
The servo motor 110 that transports the scanner optical system is
Driving transistor 11 connected to control unit 100
2, 113, 114, and 115 drive and control the direction of rotation. Specifically, the transistors 112, 11
4 is in the ON state, and transistors 113 and 115 are in the O state.
When in the FF state, a current for clockwise (CW) rotation is supplied to the servo motor 110, and conversely, the transistors 112 and 114 are in the OFF state.

トランジスタ113.115がON状態にあるとき、サ
ーボモータ110に対して反時計方向(CCW)に回転
するための電流が供給される。上記のようにサーボモー
タ110が時計方向(CW)に回転すると、スキャナ光
学系は往動し、逆にサーボモータ110が反時計方向(
CCW)に回転すると、スキャナ光学系は復動すること
になる。
When transistors 113 and 115 are in the ON state, current is supplied to the servo motor 110 to rotate it counterclockwise (CCW). When the servo motor 110 rotates clockwise (CW) as described above, the scanner optical system moves forward, and conversely, when the servo motor 110 rotates counterclockwise (CW), the scanner optical system moves forward.
CCW), the scanner optical system will move backward.

即ち2制御部100の出力PF6がLレベルで。That is, the output PF6 of the second control section 100 is at L level.

PF7がHレベルのとき、サーボモータ110は時計方
向(CW)に回転し2反対に制御部100の出力PF6
がHレベルで、PF7がLレベルのときは反時計方向(
CCW)に回転する。
When PF7 is at H level, the servo motor 110 rotates clockwise (CW), and the output PF6 of the control unit 100 rotates in the opposite direction.
is at H level and PF7 is at L level, counterclockwise (
CCW).

一方、プログラマブル・インターバル・タイマー101
の出力である○UTIはゲート回路109によって0U
TIがLレベルの間(t on)だけ、トランジスタ1
14をON状態に設定するため、t、、(PWM制御の
ON時間)に比例した電流がサーボモータ110に供給
され、その回転速度が制御される。
On the other hand, programmable interval timer 101
The output of ○UTI is converted to 0U by the gate circuit 109.
Only while TI is at L level (t on), transistor 1
14, a current proportional to t, (ON time of PWM control) is supplied to the servo motor 110, and its rotational speed is controlled.

反対にPF7がLレベルときは、トランジスタ113が
ON状態に設定され、同様にゲート回路10日を介して
トランジスタ115がON状態に設定されるためサーボ
モータ110は逆方向に回転し、その回転速度が制御さ
れる。
On the other hand, when PF7 is at the L level, the transistor 113 is set to the ON state, and the transistor 115 is similarly set to the ON state via the gate circuit 10, so the servo motor 110 rotates in the opposite direction, and its rotational speed decreases. is controlled.

また上記したようにサーボモータ110に接続されてい
るエンコーダ111は、サーボモータ110の回転量及
び回転方向に応じて位相の異なる2つのパルス信号、即
ち1人相エンコーダパルスENCAと、B相エンコーダ
パルスENCBとを発生する。
Furthermore, as described above, the encoder 111 connected to the servo motor 110 receives two pulse signals having different phases depending on the amount and direction of rotation of the servo motor 110, namely, a single-phase encoder pulse ENCA and a B-phase encoder pulse. ENCB is generated.

前記サーボモータ110の正転成いは逆転は上記A相エ
ンコーダパルスENCAとB相エンコーダパルスENC
Bとの位相差が異なることから検出される。その原理を
第2図に示す。通常2相のパルスは第2図に示すような
タイ≧ングで出力され、A相エンコーダパルスENCA
を基準とすれば、正転のときB相エンコーダパルスEN
CBとの位相差は90″となる。反対に逆転のときは2
70°となり、これによって正転、逆転の判別が可能と
なる。
The forward or reverse rotation of the servo motor 110 is determined by the A-phase encoder pulse ENCA and the B-phase encoder pulse ENC.
It is detected because the phase difference with B is different. The principle is shown in Figure 2. Normally, two-phase pulses are output with timing ≥ timing as shown in Figure 2, and the A-phase encoder pulse ENCA
Based on the reference, the B-phase encoder pulse EN during forward rotation
The phase difference with CB is 90''.On the other hand, when it is reversed, it is 2
70°, which makes it possible to distinguish between forward rotation and reverse rotation.

この動作を第1図に基づいて説明すると、A相エンコー
ダパルスENCA及びB相エンコーダパルスENCBは
、バッファ102,103を通過した後、フリップフロ
ップ104に人力される。
This operation will be explained based on FIG. 1. After passing through the buffers 102 and 103, the A-phase encoder pulse ENCA and the B-phase encoder pulse ENCB are input to the flip-flop 104.

このフリップフロップ104はD(遅延)フリップフロ
ップであるから、その機能によりA相エンコーダパルス
ENCA、B相エンコーダパルスENCBが第2図に示
すようなタイミングであれば、正転のとき、フリップフ
ロップ104のQ端子がHレベルになり、逆転のときは
Q端子がLレベルになる。これが制御部100のPC7
端子に入力され、サーボモータ110の正転、逆転の判
別が実行される。ここにおいて、バッファゲート102
.103は各入力部のR−C回路と共に波形整形の機能
を持っている。
Since this flip-flop 104 is a D (delay) flip-flop, if the A-phase encoder pulse ENCA and the B-phase encoder pulse ENCB are at the timing shown in FIG. The Q terminal becomes H level, and in the case of reverse rotation, the Q terminal becomes L level. This is PC7 of the control unit 100
The signal is input to the terminal, and a determination is made as to whether the servo motor 110 rotates forward or reverse. Here, the buffer gate 102
.. 103 has a waveform shaping function together with the R-C circuit of each input section.

マタ、上記A相エンコーダパルスENCAは。The above A-phase encoder pulse ENCA is.

バッファ102を介して制御部100のカウンタインプ
ット端子CIに入力される。このA相エンコーダパルス
、ENCAの人力により制御部100はA相エンコーダ
パルスENCAのパルス間[制御部100に内蔵されて
いるカウンタ(図示せず)により計測する。
The signal is input to the counter input terminal CI of the control section 100 via the buffer 102. The control unit 100 uses the A-phase encoder pulse ENCA to measure the interval between pulses of the A-phase encoder pulse ENCA using a counter (not shown) built in the control unit 100.

これと同時にカウンタインプット端子CIに入力される
A相エンコーダパルスENCAは、制御部100の割り
込み入力となっており、後述する割り込みプログラム処
理中にエンコーダ間隔の測定データ(ECPT)を読み
、このデータを基準にしてサーボモータ110の回転数
(スキャナ速度)の算出、目標回転数(目標速度)との
誤差の算出、比例積分制御演算によるモータ制御量(パ
ルス幅変調PWM制御のON時間)の算出を実行し、そ
の情報をプログラマブル・インターバル・タイマー10
1へ出力する。
At the same time, the A-phase encoder pulse ENCA input to the counter input terminal CI serves as an interrupt input to the control unit 100. During interrupt program processing, which will be described later, encoder interval measurement data (ECPT) is read and this data is Calculate the rotation speed (scanner speed) of the servo motor 110 using the reference, calculate the error from the target rotation speed (target speed), and calculate the motor control amount (ON time of pulse width modulation PWM control) by proportional-integral control calculation. Programmable interval timer 10
Output to 1.

ここで、プログラマブル・インターバル・タイマー10
1は、内蔵する3個のカウンタの内カウンタ1とカウン
タOが使用され、カウンタ0はモード3(方形波レート
ジェネレータ、即ちHレベルとLレベルとの比率が一定
であるパルス波を発生させる)、カウンタ1はモードl
 (プログラマブルワンショット、即ち起動信号によっ
て一定幅のパルス波を発生する)に各々設定されている
Here, programmable interval timer 10
1 uses counter 1 and counter O of the three built-in counters, and counter 0 is mode 3 (square wave rate generator, that is, generates a pulse wave with a constant ratio of H level and L level). , counter 1 is in mode l
(Programmable one-shot, that is, a pulse wave of a constant width is generated by a start signal).

上記プログラマブル・インターバル・タイマー101へ
出力された情報によりり。fi待時間設定され、0UT
Iを通してサーボモータ110が制御される。このサー
ボモータ110に対する制御は既述の如くパルス幅変調
制御により実行される。
Based on the information output to the programmable interval timer 101. fi waiting time is set, 0UT
A servo motor 110 is controlled through I. Control of this servo motor 110 is performed by pulse width modulation control as described above.

即ち、プログラマブル・インターバル・タイマー101
のカウンタOにPWM周期の情報がロードされ、カウン
タ0の出力0UTOからPWM周期の方形波が出力され
5 この信号はカウンタ1のゲート入力となっている。
That is, the programmable interval timer 101
Information on the PWM cycle is loaded into the counter O of counter 0, and a square wave of the PWM cycle is output from the output 0UTO of counter 0.5 This signal is input to the gate of counter 1.

このカウンタ1にはPWM信号のON時間情報がロード
され、PWM周期に同期したワンショット出力が0UT
Iから出力され、ゲート回路108.109を介してト
ランジスタ114或いはトランジスタ115を0N10
FF制御する。
This counter 1 is loaded with the ON time information of the PWM signal, and the one-shot output synchronized with the PWM cycle is 0UT.
It is output from I and connects transistor 114 or transistor 115 to 0N10 through gate circuits 108 and 109.
FF control.

第3図は、プログラマブル・インターバル・タイマー1
01のモード3(方形波レートジェネレータ)のタイミ
ングチャートを示す。
Figure 3 shows programmable interval timer 1
01 mode 3 (square wave rate generator) timing chart is shown.

この場合、設定値をnとすると、クロックをn分周した
パルスが出力される入力クロックのn分周カウンタとし
て動作する。
In this case, if the set value is n, it operates as an input clock frequency division counter that outputs a pulse obtained by dividing the clock frequency by n.

モード3において、カウント数が偶数の場合のデユーテ
ィ比は1/2であり、カウント数が奇数の場合のデユー
ティ比は(n−1)/2nである。
In mode 3, the duty ratio when the count number is even is 1/2, and the duty ratio when the count number is odd is (n-1)/2n.

例えば、カウンタ数n=5の場合、デユーティ比は21
5(アクティブ・ロウ)となる。
For example, when the number of counters n=5, the duty ratio is 21
5 (active low).

その結果、コントロールワードにてこのモード3を選択
すると、0UTO=Hとなり、’GA置=Hとしてカウ
ント数をロードする。これによりカウントが開始される
As a result, when this mode 3 is selected by the control word, 0UTO=H, and the count number is loaded with 'GA=H'. This starts counting.

カウント数が偶数のときは、カウントの前半1/2が○
UTO=H,後半1/2が○UTO=Lとなる。カウン
ト数が奇数のときには、カウントの前半(n+1)/2
が0UTO=H,後半(n−1) /2が0UTO=L
となる。GATE 1 =Lとすると、その立ち下がり
に同期して○UT−Hとなってカウントが停止する。そ
の後、GATE1=Hとなると初期値からカウントが開
始される。そしてカウント中にカウント数をロードする
と2次のサイクルから新しいカウントが開始される。カ
ウント数が偶数の場合にはカウンタは2ずつデクリメン
トされ、奇数の場合には0UTO=Hのときには最初の
1クロツクで1デクリメントされ、2クロツク目からは
2ずつデクリメントされることになる。
When the count number is even, the first half of the count is ○
UTO=H, ○UTO=L in the second half. When the count number is odd, the first half of the count (n+1)/2
is 0UTO=H, second half (n-1) /2 is 0UTO=L
becomes. When GATE 1 =L, the count becomes ◯UT-H in synchronization with the falling edge of the signal and the count stops. Thereafter, when GATE1=H, counting starts from the initial value. If a count number is loaded during counting, a new count starts from the second cycle. If the count is an even number, the counter is decremented by 2, and if it is odd, when 0UTO=H, the counter is decremented by 1 at the first clock, and from the second clock onwards, it is decremented by 2.

第4図はプログラマブル・インターバル・タイマー10
1のモード1(プログラマブル・ワンショット)のタイ
ミングチャートを示す。
Figure 4 shows programmable interval timer 10.
1 shows a timing chart of mode 1 (programmable one-shot).

これは指定された長さのワンショット・パルス(アクテ
ィブ・ロウ)を出力するものである。
This outputs a one-shot pulse (active low) of a specified length.

コントロールワードにてこのモード1を選択すると、○
UTO=Hとなり、カウント数のロード後にGATE 
1の立ち上がりによってトリガされてカウントを開始す
る。このカウント中は0UTO=Lとなり、カウントが
終了すると再び0UTO=Hとなる。即ちパルス幅がカ
ウント数に対応したアクティブ・ロウのワンショット出
力となる。
If you select this mode 1 in the control word, ○
UTO=H and GATE after loading the count number
It is triggered by the rising edge of 1 and starts counting. During this counting, 0UTO=L, and when the count ends, 0UTO=H again. In other words, the output is an active low one-shot output whose pulse width corresponds to the count number.

カウント中にトリガをかけると(GATEIをLからH
にすると)、再び初期値よりカウントを開始する。即ち
1例えば、設定値をnとすると、GATE端子がLから
Hに変化し9次のクロックからn個のクロック間隔だけ
出力はLとなる。
If a trigger is applied during counting (GATEI changes from L to H)
), the count starts again from the initial value. That is, 1. For example, if the set value is n, the GATE terminal changes from L to H, and the output becomes L for an interval of n clocks from the 9th order clock.

尚、カウント中にカウント数をロードしても実行中のカ
ウントには影響しないが、トリガをかけると新しいカウ
ント数でカウントを開始する。
Note that even if a count number is loaded during counting, it does not affect the counting in progress, but when a trigger is applied, counting starts with a new count number.

第5図は、PWM制御の波形例を示すものである。FIG. 5 shows an example of waveforms for PWM control.

この第5図においては、ON時間り。Nが変化してもP
WM周期t (= tos+ topr )が一定であ
ることを示している。
In this Fig. 5, the ON time is 0. Even if N changes, P
This shows that the WM period t (=tos+topr) is constant.

ここでカウンタ0はモード3(方形波レート・ジェネレ
ータ)に設定され、カウンタlはモードl(プログラマ
ブル・ワンショット)に設定される。カウンタOの(モ
ード3)の出力○UTOは設定された値(no)に従っ
て一定の周期のHlLを繰り返す。−周期長tはn0ク
ロック分の時間に相当する。この出力がカウンタl (
モードl)のGATE人力となる。従って、その出力○
UT1は1クロツク分遅れて次のクロックから設定され
た(ii(n+)、即ち+LONだけ出力がLとなる。
Here counter 0 is set to mode 3 (square wave rate generator) and counter l is set to mode 1 (programmable one shot). The output ○UTO of the counter O (mode 3) repeats HlL at a constant cycle according to the set value (no). - The period length t corresponds to the time of n0 clocks. This output is the counter l (
Mode l) GATE becomes human power. Therefore, its output ○
UT1 is set from the next clock with a delay of one clock (ii(n+), that is, the output becomes L by +LON).

PWMr?i1期りは一定であるので、カウンタ0のカ
ウント数のロードは一度実行すればよい。またPWM#
11御のt。N時間を変更する度にカウンタOのカウン
ト数をロードする。
PWMr? Since the i1 period is constant, it is only necessary to load the count number of counter 0 once. Also PWM#
11th T. Every time N time is changed, the count number of counter O is loaded.

第6図は、マスターコンピュータ130からシリアルイ
ンターフェースにより指示データを受信した場合に行わ
れるシリアル受信割込のフローチャートを示す。本シリ
アル受信割込処理の内2本発明に無関係の部分は省略す
る。
FIG. 6 shows a flowchart of a serial reception interrupt performed when instruction data is received from the master computer 130 via the serial interface. Two parts of this serial reception interrupt process that are unrelated to the present invention will be omitted.

シリアル受信割込処理においては、第1にマスターコン
ピュータ130から受信し、受信バッファレジスタ(R
XB)(図示せず)に転送されている指示データが前回
受信した指示データと同じものか否かを比較しく600
)、  もし転送されている指示データが前回受信した
指示データと同じでなければ、制御部100に内蔵され
ているランダム・アクセス・メモリ(以下、RAMとい
う)(図示せず)上のバッファ(以下、5RBUFFと
いう)にストアしく601)、  この指示内容がホー
ムポジションへの移動指示か否かを判断する(602)
。その結果、ホームポジションへの移動指示である場合
には後述するサブルーチン(SINTSUB)を実行し
く603)、スキャナの動作モードを決定する。反対に
その指示内容がホームポジションへの移動指示以外のも
のであった場合には、その指示に応じた処理を実行する
(604)。その後1割込処理禁止を解除して(605
)、プログラムはリターンする。
In serial reception interrupt processing, first, reception is received from the master computer 130 and the reception buffer register (R
600 to compare whether the instruction data being transferred to XB) (not shown) is the same as the instruction data received last time.
), If the instruction data being transferred is not the same as the instruction data received last time, a buffer (hereinafter referred to as "RAM") on a random access memory (hereinafter referred to as RAM) (not shown) built in the control unit 100 is , 5RBUFF) (601), and determines whether this instruction is an instruction to move to the home position (602).
. As a result, if the instruction is to move to the home position, a subroutine (SINTSUB) to be described later is executed (603), and the operation mode of the scanner is determined. On the other hand, if the instruction is other than an instruction to move to the home position, processing according to the instruction is executed (604). After that, cancel the prohibition of 1 interrupt processing (605
), the program returns.

第7図A及び第7図Bは、上記のサブルーチン(SIN
TSUB)の内容を示すフローチャートである。
7A and 7B are the subroutines (SIN
TSUB) is a flowchart showing the contents of TSUB.

このサブルーチンでは、第1にマスターコンピュータ1
30からの移動指示が第1ホームポジシヨンへの移動指
示か、或いは第2ホームポジシヨンへの移動指示かを判
断する(701)。この判断結果が、第2ホームポジシ
ヨンへの移動指示であると判断した場合には、以下に説
明する702から712までの制御を実行し1反対にこ
の判断結果が、第1ホームポジシヨンへの移動指示であ
ると判断した場合には、後に説明する713から720
までの制御を実行する。
In this subroutine, first the master computer 1
It is determined whether the movement instruction from 30 is an instruction to move to the first home position or to the second home position (701). If it is determined that this judgment result is an instruction to move to the second home position, the controls from 702 to 712 described below are executed. 713 to 720, which will be explained later.
Execute control up to.

まず、制御部100が9人力された移動指示が第2ホー
ムポジシヨンへの移動指示であると判断した場合、スキ
ャナの第2ホームポジシヨン移動保留フラグがONか否
かを判断しく702)、第2ホームポジシヨン移動保留
フラグがONの場合は、以下の制御を実行せずにプログ
ラムはリターンする。反対に第2ホームポジシヨン移動
保留フラグがOFFの場合には、スキャナ動作モードを
表すフラグ(SCTST)から現在におけるスキャナ動
作モードを判断し、これに応じて処理を分岐させる(7
03)。
First, when the control unit 100 determines that the movement instruction input by nine persons is an instruction to move to the second home position, it judges whether the second home position movement hold flag of the scanner is ON (702); If the second home position movement pending flag is ON, the program returns without executing the following control. On the other hand, if the second home position movement hold flag is OFF, the current scanner operation mode is determined from the scanner operation mode flag (SCTST), and the process is branched accordingly (7
03).

第1ホームポジシヨンへのリターン制御を実行する場合
には、スキャナの位置を示すカウンタ(SCADD)か
らスキャナの現在位置を判断する(704)、即ち、ス
キャナが第2ホームポジシヨンへの減速・停止制御を開
始する位置よりも手前(最大露光位置側)にある場合は
、フラグ(SCTST)の値を変更することでスキャナ
動作モードを第2ホームポジシヨンへのリターン制御に
切り換える(705)。また、スキャナが第1ホームボ
ジシツン側に存在し、しかも第1ホームポジシヨンへの
減速・停止制御状態でない場合には、スキャナの動作モ
ードフラグ(SCTST)を変更することによってホー
ムポジション以外の位置への減速・停止制御に変更しく
706)、スキャナ第2ホームポジシヨン移動保留プラ
グをONに設定する(707)。
When performing return control to the first home position, the current position of the scanner is determined from the counter (SCADD) indicating the scanner position (704), that is, the scanner decelerates and returns to the second home position. If it is located before the position where stop control is started (on the maximum exposure position side), the scanner operation mode is switched to return control to the second home position by changing the value of the flag (SCTST) (705). In addition, if the scanner is located at the first home position and is not in the deceleration/stop control state toward the first home position, the scanner can be moved to a position other than the home position by changing the scanner's operation mode flag (SCTST). To change to deceleration/stop control (706), the scanner second home position movement hold plug is set to ON (707).

尚、スキャナ第1(第2)ホームポジション移動保留フ
ラグは、後述するメインルーチンで判断されるもので、
このフラグがONであれば、減速・停止制御によりスキ
ャナが停止した後に第1(第2)ホームポジションへの
リターン制御が実行される。
Note that the scanner first (second) home position movement pending flag is determined in the main routine described later.
If this flag is ON, after the scanner is stopped by deceleration/stop control, return control to the first (second) home position is executed.

第1ホームポジシヨンへの減速制御を実行する場合には
、第2ホームポジシヨンへの移動保留フラグをONに設
定する(708)。
When performing deceleration control to the first home position, a flag for suspending movement to the second home position is set to ON (708).

スキャナが第1ホームポジシヨンに停止しているか、或
いは原稿を露光走査中の場合には、第2ホームポジシヨ
ンへの移動保留フラグをONに設定する(709)。
When the scanner is stopped at the first home position or when the document is being exposed and scanned, a flag for suspending movement to the second home position is set to ON (709).

また2例えば第2ホームポジシヨンへの移動指示から第
1ホームポジシヨンへの移動指示へ変更になったことに
よりホームポジション以外の位置への減速・停止制御を
実行している場合は、第1ホームポジシヨン移動保留フ
ラグをOFFにして(710)、スキャナの動作モード
をフラグ(SCTST)を変更することで第2ホームポ
ジシヨンへの減速・停止制御に変更する(711)。
2 For example, if the instruction to move to the second home position is changed to the instruction to move to the first home position and deceleration/stop control is being executed to a position other than the home position, the first The home position movement hold flag is turned OFF (710), and the scanner operation mode is changed to deceleration/stop control to the second home position by changing the flag (SCTST) (711).

更に、スキャナの動作モードが上記のいずれでもなかっ
た場合には何ら処理は実行せずにリターンすることにな
る。(712)。
Furthermore, if the scanner operation mode is not one of the above, the process returns without executing any processing. (712).

次に、第7図Aの701において、マスターコンピュー
タ130からの指示が第1ホームポジシヨンへの移動指
示であった場合の制御は、第7図Bに移行する。
Next, in 701 of FIG. 7A, if the instruction from the master computer 130 is an instruction to move to the first home position, control shifts to FIG. 7B.

ここでは、第1にスキャナ第1ホームポジシヨン移動保
留フラグがONか否かを判断しく713)ONである場
合にはプログラムはリターンし2反対にOFFである場
合には、フラグ(SCTST)から現在のスキャナ動作
モードを判断しく714)これに応じて処理を分岐する
Here, first, it is determined whether the scanner first home position movement pending flag is ON or not. 713) If it is ON, the program returns; 2) Conversely, if it is OFF, the flag (SCTST) is Determine the current scanner operation mode (714) and branch the process accordingly.

スキャナの動作モードが第2ホームポジシヨンへの復動
によるリターン制御か、減速・停止制御を実行する場合
には、フラグ(SCTST)を変更することで、スキャ
ナ動作モードを第1ホームポジシヨンへのリターン制御
に変更する(715)スキャナの動作モードが第2ホー
ムポジシヨンへの往動によるリターン制御を実行する場
合には。
If the scanner operation mode is return control by returning to the second home position or deceleration/stop control, change the scanner operation mode to the first home position by changing the flag (SCTST). (715) If the operation mode of the scanner is to execute return control by forward movement to the second home position.

フラグ(SCTST)を変更してスキャナ動作モードを
ホームポジション以外の位置への減速・停止制御へ変更
して(716)、スキャナ第1ホームポジシヨンへの移
動保留フラグをONに設定する(717)。
Change the flag (SCTST) to change the scanner operation mode to deceleration/stop control to a position other than the home position (716), and set the scanner movement hold flag to the first home position to ON (717). .

また、スキャナ動作モードが、第2ホームポジシヨンへ
の往動による減速・停止制御を実行する場合には、第1
ホームポジシヨンへの移動保留フラグをONに設定する
(71B)。
In addition, when the scanner operation mode executes deceleration/stop control by forward movement to the second home position, the first
The movement pending flag to the home position is set to ON (71B).

更に、スキャナ動作モードがホームポジション以外の位
置への減速・停止制御を実行する場合には、第2ホホー
ムポジシヨン移動保留フラグをOFFに設定して(71
9)、スキャナ動作モードをフラグ(SCTST)を変
更することにより。
Furthermore, when the scanner operation mode executes deceleration/stop control to a position other than the home position, the second home position movement hold flag is set to OFF (71).
9), by changing the scanner operating mode flag (SCTST).

第2ホームポジシヨンへの減速・停止制御に変更する(
720)。
Change to deceleration/stop control to the second home position (
720).

また、スキャナ動作モードが上記のいづれでもない場合
には、何ら処理は実行されず、プログラムはリターンさ
れることになる(721)。
Further, if the scanner operation mode is not one of the above, no processing is executed and the program returns (721).

第8図は、上記A相エンコーダパルスENCAが立ち下
がる毎に実行されるCI割込処理のフローチャートであ
る。
FIG. 8 is a flowchart of CI interrupt processing executed every time the A-phase encoder pulse ENCA falls.

ここにおいて、第1に現在のスキャナ光学系の状態が往
動動作なのか、或いは復動動作なのかを判断しく801
)、  もし、往動であると判断した場合には、スキャ
ナ光学系の現在位置を示すカウンタ(SCADD)を1
だけプラスしく802)反対の復動動作であると判断し
た場合には、上記カウンタ(SCADD)を1マイナス
する(803)。その結果、スキャナの位置はホームポ
ジションからのエンコーダパルス数として常に把握する
ことが可能となる。そして第2にスキャナの移動速度の
目標(+1(TARC;ET)に基づいてスキャナ光学
系が移動するようにサーボモータの回転速度制御を実行
する(804)。
First, it is necessary to determine whether the current state of the scanner optical system is forward movement or backward movement (801).
), if it is determined that it is forward movement, the counter (SCADD) indicating the current position of the scanner optical system is set to 1.
(802) If it is determined that the reverse movement is the opposite, the counter (SCADD) is decremented by 1 (803). As a result, the position of the scanner can always be known as the number of encoder pulses from the home position. Second, the rotation speed control of the servo motor is executed so that the scanner optical system moves based on the target movement speed of the scanner (+1 (TARC; ET)) (804).

更に、フラグ(SCTST)に応じたスキャナ動作モー
ドで光学スキャナを移動若しくは停止させるためにスキ
ャナの移動速度の目標値(TARGET)の変更や他の
モードに移行するためのフラグ(SCTST)の変更等
の処理を実行する(805)。その後1割込禁止処理を
解除して(806)、プログラムはリターンする。
Furthermore, the target value (TARGET) of the scanner movement speed is changed in order to move or stop the optical scanner in the scanner operation mode according to the flag (SCTST), and the flag (SCTST) is changed in order to shift to another mode. (805). Thereafter, the 1-interrupt prohibition process is canceled (806), and the program returns.

第9図A、 Bはスキャナ光学系制御プログラムのメイ
ンルーチンの一部を示している。
9A and 9B show part of the main routine of the scanner optical system control program.

即ち、第1に第1ホームポジシヨン移動フラグがONに
なっているか否かを判断しく901)。
That is, first, it is determined whether or not the first home position movement flag is ON (901).

もし、第1ホームボジシジン移動フラグがONになって
いる場合、フラグ(SCTST)からスキャナ動作モー
ド、即ち露光走査制御中か否かを判断しく902)、 
 もし露光走査制御中であると判断した場合には、スキ
ャナの停止処理を実行する(903)。その後、フラグ
(SCTST)を第1ホームポジシヨンへのリターン制
御に切り換える(904)、この動作は上記の902で
、露光走査制御中でないと判断した場合にも903のス
キャナ停止処理をジャンプして実行される。第1ホーム
ポジシヨンへのリターン制御が終了した後。
If the first home position movement flag is ON, it is determined from the flag (SCTST) whether or not the scanner operation mode, that is, exposure scanning control is in progress (902);
If it is determined that exposure scanning control is in progress, a scanner stop process is executed (903). After that, the flag (SCTST) is switched to return control to the first home position (904). This operation also jumps to the scanner stop processing in 903 even if it is determined that exposure scanning control is not in progress in 902 above. executed. After the return control to the first home position is completed.

第1ホームポジシヨンへの移動フラグはOFFに設定さ
れる(905)。
The movement flag to the first home position is set to OFF (905).

その後、901において第1ホームボジシツン移動フラ
グがOFFの場合と、ONの場合で902から905の
一連のフローを経た場合において、第2ホームポジシヨ
ン移動フラグがONか否かが判断される(906)、こ
の場合においてONされていると判断されると、フラグ
(SCTST)からスキャナ動作モード、即ち露光走査
制御中か否かを判断しく90?)、もし露光走査制御中
であると判断した場合には、スキャナの停止処理を実行
する(908)。その後、フラグ(SCTST)を第2
ホームポジシヨンへのリターン制御に切り換える(90
9)。この動作は上記の907で露光走査制御中でない
と判断した場合にも908のスキャナ停止処理をジャン
プして実行される。このとき第1ホームポジシヨンへの
移動フラグはOFFに設定される(910)。
After that, whether the first home position movement flag is OFF in 901 or after going through a series of flows from 902 to 905 when it is ON, it is determined whether the second home position movement flag is ON (906). In this case, if it is determined that it is ON, it is determined from the flag (SCTST) whether or not the scanner operation mode, that is, exposure scanning control is in progress (90?). ), if it is determined that exposure scanning control is in progress, a scanner stop process is executed (908). After that, set the flag (SCTST) to the second
Switch to return control to home position (90
9). This operation is executed by jumping to the scanner stop processing at 908 even if it is determined at 907 that the exposure scanning control is not in progress. At this time, the movement flag to the first home position is set to OFF (910).

その後、906において第1ホームポジシヨン移動フラ
グがOFFの場合と、ONの場合で907から910の
一連のフローを経た場合において、フラグ(SCTST
)からスキャナ動作モードがスキャナ停止状態であるか
否かを判断しく911)、  もしスキャナ停止状態で
ある場合には第1ホームボジシツン移動保留フラグがO
Nか否か判断して(912)、 もしOFFであると判
断した場合には第1ホームポジシジン移動保留フラグが
ONか否かを判断する(913)。この場合においてO
FFであると判断したときはその他の処理を経て第9図
Aの901へと流れる。反対にONであると判断したと
きには第2ホームポジジョン移動フラグをONに設定し
く914)、また第2ホームポジシヨン移動保留フラグ
をOFFに設定する(916)。
After that, in 906, if the first home position movement flag is OFF or ON, the flag (SCTST
) to determine whether the scanner operation mode is in the scanner stop state (911), and if the scanner is in the scanner stop state, the first home position movement pending flag is set to O.
It is determined whether it is N or not (912), and if it is determined that it is OFF, it is determined whether the first home position movement suspension flag is ON or not (913). In this case O
When it is determined that it is an FF, the flow goes through other processing to 901 in FIG. 9A. On the other hand, when it is determined that it is ON, the second home position movement flag is set to ON (914), and the second home position movement suspension flag is set to OFF (916).

また912において、第1ホームポジシヨン移動保留フ
ラグがONであると判断した場合には、第1ホームポジ
シヨン移動フラグをONしく915)、第1ホームポジ
シヨン移動像留フラグをOFFする(917)。
If it is determined in 912 that the first home position movement hold flag is ON, the first home position movement flag is turned ON (915), and the first home position movement hold flag is turned OFF (917). ).

その後、916,917の後はその他の処理を経て第9
図Aの901へと流れる。
After that, after 916 and 917, the 9th
The flow advances to 901 in Figure A.

以上のプログラムに基づく制御を実行することによりス
キャナ光学系の動作モードに関わらず。
By executing control based on the above program, regardless of the operation mode of the scanner optical system.

第1或いは第2ホームポジシヨンへの移動指示に即時対
応することが可能となる。
It becomes possible to immediately respond to a movement instruction to the first or second home position.

また本実施例にあっては、ホームポジションを2カ所設
けた装置に関して説明したが、2カ所に限らず、3力所
以上の場合にあっても、上記のプログラムを用いて処理
することが可能となる。
Furthermore, although this embodiment has been described with respect to a device with two home positions, the above program can be used to process not only two home positions but also three or more home positions. becomes.

〔発明の効果〕〔Effect of the invention〕

以上説明した通り1本発明による光学系制御装置によれ
ば、原稿を光学走査する光学系を搬送するためのサーボ
モータを制御する制御手段が、光学系を特定の停止位置
にて停止させるための駆動制御中に他の停止位置に対す
る停止指示の受付け。
As explained above, according to the optical system control device according to the present invention, the control means for controlling the servo motor for conveying the optical system for optically scanning a document is configured to control the control means for controlling the servo motor for transporting the optical system for optically scanning a document to stop the optical system at a specific stop position. Accepts stop instructions for other stop positions during drive control.

最終的に指定された停止位置に光学系を停止させる制御
を実行するため、スキャナ光学系の移動指示に対する応
答性能を向上させ2複写動作が可能となるまでの時間を
短縮し、光学スキャナの動作モードにかかわらず、ホー
ムポジションへの移動指示を受は付けることにより外部
装置側の制御を簡単にすることができる。
In order to execute control to stop the optical system at the final designated stop position, the response performance to movement instructions of the scanner optical system is improved and the time required for two copy operations to become possible is shortened, and the optical scanner operates. Regardless of the mode, control on the external device side can be simplified by accepting instructions to move to the home position.

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

第1図は1本発明によるスキャナ光学系の制御回路の構
成を示す説明図であり、第2図はサーボモータの正転成
いは逆転を検出する方法の原理を示した説明図であり、
第3図はプログラマブル・インターバル・タイマーのモ
ード3(方形波レート・ジェネレータ)のタイミングチ
ャートであり。 第4図はプログラマブル・インターバル・タイマーのモ
ード1(プログラマブル・ワンショット)のタイミング
チャートであり、第5図はPWM制御の波形例を示すタ
イミングチャートであり、第6図は、シリアル受信割込
のフローチャートであり、第7図A及び第7図Bは第6
図ののサブルーチン(SINTSUB)の内容を示すフ
ローチャートであり、第8図はA相エンコーダパルスE
NCAの立ち下がる毎に実行されるC1割込処理のフロ
ーチャートであり、第9図A及び第9図Bはスキャナ光
学系制御プログラムのメインルーチンの一部を示すフロ
ーチャートであり、第10図は従来の光学系の構造を示
す説明図であり、第11図は従来の光学駆動系の構造を
示す説明図である。 符号の説明 100−・制御部 101・・−プログラマブル・インターバル・タイマー
102.103〜バツフア 104−m−フリップフロップ 106.120・−・HP全セン サ 08、 109− ゲート回路 110−・−サーボモータ 111・・−エンコーダ 112.113,114,115− トランジスタ13
0・・−マスターコンピュータ
FIG. 1 is an explanatory diagram showing the configuration of a control circuit for a scanner optical system according to the present invention, and FIG. 2 is an explanatory diagram showing the principle of a method for detecting forward or reverse rotation of a servo motor.
FIG. 3 is a timing chart of mode 3 (square wave rate generator) of the programmable interval timer. Figure 4 is a timing chart of mode 1 (programmable one-shot) of the programmable interval timer, Figure 5 is a timing chart showing an example of PWM control waveforms, and Figure 6 is a timing chart of the serial reception interrupt. FIG. 7A and FIG. 7B are flowcharts, and FIGS.
FIG. 8 is a flowchart showing the contents of the subroutine (SINTSUB) shown in FIG.
9A and 9B are flowcharts showing part of the main routine of the scanner optical system control program, and FIG. 10 is a flowchart showing a part of the main routine of the scanner optical system control program. FIG. 11 is an explanatory diagram showing the structure of a conventional optical drive system. Description of symbols 100--Control unit 101--Programmable interval timer 102.103--Buffer 104-m-Flip-flop 106.120--HP all sensors 08, 109--Gate circuit 110--Servo motor 111 ...-Encoder 112, 113, 114, 115- Transistor 13
0...-master computer

Claims (1)

【特許請求の範囲】[Claims] 原稿を光学走査する光学系と、前記光学系を搬送するた
めのサーボモータと、前記サーボモータの駆動を制御す
る制御手段と、前記光学系の複数の停止位置に対応して
配置され、前記光学系の位置を検出する複数のセンサと
を有し、外部からの指示に基づいて指定された前記停止
位置に前記光学系を移動させる光学系制御装置において
、前記制御手段が、前記光学系を特定の停止位置にて停
止させるための駆動制御中に他の停止位置に対する停止
指示の受付を可能にし、最終的に指定された停止位置に
前記光学系を停止させる制御を実行することを特徴とす
る光学系制御装置。
an optical system for optically scanning a document; a servo motor for transporting the optical system; a control means for controlling the drive of the servo motor; In an optical system control device that has a plurality of sensors that detect the position of the system and moves the optical system to the specified stop position based on an instruction from the outside, the control means specifies the optical system. The optical system is characterized in that during drive control to stop the optical system at the stop position, it is possible to receive stop instructions for other stop positions, and control is executed to finally stop the optical system at the designated stop position. Optical system control device.
JP17258489A 1989-07-04 1989-07-04 Optical system controller Pending JPH0337637A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17258489A JPH0337637A (en) 1989-07-04 1989-07-04 Optical system controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17258489A JPH0337637A (en) 1989-07-04 1989-07-04 Optical system controller

Publications (1)

Publication Number Publication Date
JPH0337637A true JPH0337637A (en) 1991-02-19

Family

ID=15944552

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17258489A Pending JPH0337637A (en) 1989-07-04 1989-07-04 Optical system controller

Country Status (1)

Country Link
JP (1) JPH0337637A (en)

Similar Documents

Publication Publication Date Title
JPS59102222A (en) Optical system driving system of copying machine or the like
JPH10136694A (en) Optical image reader
EP0301849B1 (en) Method for controlling lens of image forming apparatus
JPH0337637A (en) Optical system controller
US4996564A (en) Controllable drive of optics of a copier
JP2005333377A (en) Image reading device
US4870448A (en) Original scanning apparatus
JPH0340779A (en) Optical system control device
JP2642638B2 (en) Scanner control method for copier
JPH02232642A (en) How to control the scanner optical system of a copier
US4831460A (en) Image reading apparatus
JP3306082B2 (en) Control method of scanner optical system
JPH02123380A (en) Copy machine scanner control method
JPH0332382A (en) Optical system controller
JPH04119345A (en) Method and device for controlling movement of scanner optical system
JPH02232641A (en) How to control the scanner optical system of a copier
US4746957A (en) Variable magnification copy machine
JP2002223593A (en) Stepping motor control method and control circuit and electronic device having stepping motor
JP2010206536A (en) Image reading apparatus, image reading control method, and image reading control program
JP3571499B2 (en) Document reading speed control device
JP2769067B2 (en) Motor control device
JPH0256169A (en) Constant speed control device and image reading device
JPH0377974A (en) Illuminator for image scanning device
JPH0573097B2 (en)
JPH01223436A (en) Copying machine optical system drive control method