JP3174693B2 - Image scanner control device - Google Patents

Image scanner control device

Info

Publication number
JP3174693B2
JP3174693B2 JP22900094A JP22900094A JP3174693B2 JP 3174693 B2 JP3174693 B2 JP 3174693B2 JP 22900094 A JP22900094 A JP 22900094A JP 22900094 A JP22900094 A JP 22900094A JP 3174693 B2 JP3174693 B2 JP 3174693B2
Authority
JP
Japan
Prior art keywords
acceleration
scanner
signal
control means
deceleration
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP22900094A
Other languages
Japanese (ja)
Other versions
JPH0879457A (en
Inventor
浅浩 尾沼
伸雄 鎌仲
義和 内藤
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.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial 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 Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP22900094A priority Critical patent/JP3174693B2/en
Publication of JPH0879457A publication Critical patent/JPH0879457A/en
Application granted granted Critical
Publication of JP3174693B2 publication Critical patent/JP3174693B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Facsimile Scanning Arrangements (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、パソコンやDTP(デ
スクトップパブリッシング装置)に図形や写真等の画像
データを入力するイメージスキャナの制御装置に関し、
特に、原稿の長さに合わせてスキャンを停止するように
制御するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image scanner control device for inputting image data such as figures and photographs to a personal computer or a desktop publishing device (DTP).
In particular, control is performed to stop scanning according to the length of the document.

【0002】[0002]

【従来の技術】図形や写真を読み取って画像データに変
換するイメージスキャナ(以下、単にスキャナという)
は、パソコンやDTPの入力装置として用いられ、ま
た、複写機の画像読み取りに利用されている。
2. Description of the Related Art An image scanner for reading figures and photographs and converting them into image data (hereinafter simply referred to as a scanner).
Is used as an input device of a personal computer or a DTP, and is used for image reading of a copying machine.

【0003】従来のスキャナでは、光源や画像読み取り
用のセンサを搭載したキャリッジが、原稿の大きさと無
関係に常に一定の読み取り範囲をスキャンして画像デー
タを読み取っている。この読み取りが続いている間は、
パソコンやDTPは次のデータ処理に進むことができ
ず、キャリッジが原稿の無い箇所をスキャンしている
間、時間が浪費されることになる。こうしたスキャナの
動作を改善するスキャナ制御装置が特開平3−7026
2号に提案されている。
In a conventional scanner, a carriage equipped with a light source and an image reading sensor always scans a fixed reading range irrespective of the size of a document to read image data. While this reading continues,
The personal computer or DTP cannot proceed to the next data processing, and time is wasted while the carriage scans a place where there is no original. A scanner control device for improving the operation of such a scanner is disclosed in Japanese Patent Application Laid-Open No. 3-7026.
No. 2 is proposed.

【0004】この装置は、図4に示すように、スキャナ
45のキャリッジが副走査方向に1分解能移動するごとに
出力するパルスを数えるカウンタ44と、パソコン又はD
TP46に内蔵され、スキャナ45が接続されたシステム全
体の動作を制御するCPU41と、パソコン等のキーボー
ド操作によりCPU41から直接レジスト値が設定される
レジスタ42と、レジスタ42に設定されたレジスト値とカ
ウンタ43のカウント値との一致を検出するコンパレータ
43とで構成されている。
[0004] As shown in FIG.
A counter 44 for counting pulses output each time the carriage 45 moves one resolution in the sub-scanning direction;
A CPU 41 which is built in the TP 46 and controls the operation of the entire system to which the scanner 45 is connected, a register 42 in which a register value is directly set from the CPU 41 by a keyboard operation of a personal computer or the like, and a register value and a counter set in the register 42 Comparator that detects match with 43 count value
And 43.

【0005】この装置では、スキャナ45の出力するパル
ス(副走査信号)をカウンタ44がカウントし、計数値を
コンパレータ43に出力する。
In this device, the counter 44 counts the pulse (sub-scanning signal) output from the scanner 45 and outputs the count value to the comparator 43.

【0006】一方、レジスタ42には、読み取りを行なお
うとする原稿の大きさに応じた値がパソコン等のキーボ
ードから入力され、レジスタ42はその値を記憶する。
On the other hand, a value corresponding to the size of a document to be read is input to the register 42 from a keyboard of a personal computer or the like, and the register 42 stores the value.

【0007】コンパレータ43は、レジスタ42に設定され
た値と、カウンタ43のカウント出力とを比較し、それら
が一致したとき、つまり、キャリッジが原稿の長さだけ
移動したとき、一致信号を出力する。この一致信号はC
PU41に割り込み入力され、CPU41は、パソコン等へ
の画像データの入力を終了させる。
The comparator 43 compares the value set in the register 42 with the count output of the counter 43, and outputs a match signal when they match, that is, when the carriage moves by the length of the document. . This match signal is C
The interrupt is input to the PU 41, and the CPU 41 terminates the input of the image data to the personal computer or the like.

【0008】このとき、スキャナは、読み取り範囲の残
る走査を画像データを出力しないまま行なうことにな
る。言い換えると、パソコン等はスキャナの走査完了を
待たずに次のデータ処理に移ることが可能になる。
[0008] At this time, the scanner performs scanning with the remaining reading range without outputting image data. In other words, the personal computer or the like can proceed to the next data processing without waiting for the completion of scanning by the scanner.

【0009】[0009]

【発明が解決しようとする課題】しかし、この従来のス
キャナ制御装置では、画像データの読み込みが終了して
も、読み取り範囲の全てをスキャンするまでキャリッジ
の移動が続くため、次の原稿の読み取りを直ぐに開始す
ることができない。
However, in this conventional scanner control device, even if the reading of the image data is completed, the movement of the carriage continues until the entire reading range is scanned. Can not start immediately.

【0010】このキャリッジを画像データの読み込み終
了に合わせて停止させるためには、一致信号の割り込み
を受けたCPU41からキャリッジの制御モータに減速の
指令を出すことが考えられるが、しかし、そうした場合
には次のような問題が発生する。
In order to stop the carriage at the end of the reading of the image data, it is conceivable to issue a deceleration command to the control motor of the carriage from the CPU 41 which has received the interrupt of the coincidence signal. Causes the following problems.

【0011】近年のパソコンや複写機など、高機能化さ
れた機種では、CPUは、単にスキャナの制御だけでな
く、例えば、CPUの管理下にあるメモリ装置からFA
Xの送信処理をしたり、データをプリンタに送りコピー
動作をさせたり、というように幾つかの複合する動作を
制御している。
In advanced models such as personal computers and copiers in recent years, the CPU not only controls the scanner, but also executes, for example, a memory device under the control of the CPU.
It controls several combined operations, such as performing X transmission processing, sending data to a printer, and performing a copy operation.

【0012】そのため、CPUが別の処理をしていると
きには、キャリッジの減速処理をタイミングよく割り込
ませることができない場合があり、最悪のケースでは、
CPUが他の割り込みサービスに時間を取られ、キャリ
ッジを停止する割り込みサービスが受けられずに、キャ
リッジがスキャナ装置の筐体にぶつかってしまうことも
起こり得る。従って、CPUに依存する制御ではキャリ
ッジの動きを安定化させることが難しい。
Therefore, when the CPU is performing another processing, it may not be possible to interrupt the carriage deceleration processing with good timing. In the worst case,
It is possible that the carriage will hit the housing of the scanner device without the CPU taking time for another interrupt service and receiving the interrupt service for stopping the carriage. Therefore, it is difficult to stabilize the movement of the carriage by the control depending on the CPU.

【0013】本発明は、こうした問題点を解決するもの
であり、スキャナのキャリッジの移動量を原稿の大きさ
に合わせて安定的に制御することができるイメージスキ
ャナ制御装置を提供することを目的としている。
An object of the present invention is to provide an image scanner control apparatus capable of stably controlling the amount of movement of a carriage of a scanner in accordance with the size of a document. I have.

【0014】[0014]

【課題を解決するための手段】そこで、本発明は、前記
課題を解決するために、スキャナの読取開始位置原点の
通過を検出するホームポジションセンサーと、スキャナ
の副走査方向への移動時に出力される副走査信号のカウ
ント値と原稿の大きさに応じて設定されたレジスト値と
の一致を検出して一致信号を出力し、スキャナの読取範
囲を原稿の大きさに合せて制御する制御手段と、前記ス
キャナの移動速度の加速または減速を制御する加速減速
制御手段と、前記ホームポジションセンサーによる検出
信号と前記一致信号により前記加速減速制御手段を起動
させ、前記加速減速制御手段に、前記スキャナの移動速
度の減速制御を行なわせる加速減速制御起動手段とを具
備し、前記加速減速制御手段は、前記ホームポジション
センサーによる検出信号または前記一致信号の発生にと
もない、ステップモータの駆動を調整するパルス周波数
またはステップ数を記述した加減速パターンに従って前
記スキャナの移動制御を行なうものである。
SUMMARY OF THE INVENTION Accordingly, the present invention has been made to solve the above-mentioned problems .
Home position sensor to detect passage and scanner
Of the sub-scanning signal output when the
And the registration value set in accordance with the
Detects a match, outputs a match signal, and
Control means for controlling the surroundings according to the size of the document;
Acceleration / deceleration that controls acceleration or deceleration of the moving speed of the canner
Control means and detection by the home position sensor
The acceleration and deceleration control means is activated by the signal and the coincidence signal.
And the acceleration / deceleration control means controls the speed of movement of the scanner.
Acceleration / deceleration control activation means for performing a degree of deceleration control.
The acceleration / deceleration control means is provided at the home position.
When the detection signal by the sensor or the coincidence signal is generated
No pulse frequency to adjust step motor drive
Or according to the acceleration / deceleration pattern describing the number of steps
It controls the movement of the scanner .

【0015】[0015]

【0016】[0016]

【0017】[0017]

【作用】そのため、キャリッジが原稿の長さのスキャン
を終えると、画像読み取りが終了するとともに、キャリ
ッジの移動が停止する。また、キャリッジがホームポジ
ションに戻る場合には、キャリッジがホームポジション
センサーの位置を通過した時点で移動速度の減速が始ま
り、ホームポジションに至ってキャリッジが停止する。
Therefore, when the carriage has finished scanning the length of the document, the image reading ends and the movement of the carriage stops. When the carriage returns to the home position, the moving speed starts decreasing when the carriage passes the position of the home position sensor, and the carriage stops at the home position.

【0018】このとき、ホームポジションセンサーの取
り付け位置に誤差があると、キャリッジが正しい位置に
停止しない。そこで、ホームポジションセンサーから正
しい停止位置までの減速パターンを個別のスキャナごと
に設定して記憶手段に記憶させ、加速減速制御手段に
は、このパターンに従って減速制御を行なわせることに
より、ホームポジションセンサーの取り付け誤差を吸収
することができる。
At this time, if there is an error in the mounting position of the home position sensor, the carriage does not stop at the correct position. Therefore, the deceleration pattern from the home position sensor to the correct stop position is set for each individual scanner and stored in the storage means, and the acceleration / deceleration control means performs deceleration control in accordance with this pattern, whereby the Mounting errors can be absorbed.

【0019】このイメージスキャナ制御装置では、キャ
リッジの移動の制御を、CPUに依らずに、加速減速制
御手段と加速減速制御起動手段とで行なっている。その
ため、CPUは、その間、他の処理を行なうことがで
き、また、CPUの複合動作時でもキャリッジを安全に
停止させることができる。
In this image scanner control apparatus, the movement of the carriage is controlled by the acceleration / deceleration control means and the acceleration / deceleration control activation means without depending on the CPU. Therefore, the CPU can perform other processing during that time, and can safely stop the carriage even during the combined operation of the CPU.

【0020】[0020]

【実施例】本発明の実施例におけるイメージスキャナ制
御装置は、図1に示すように、キャリッジの駆動源であ
るモータMとホームポジション位置近くに設置したホー
ムポジションセンサーHPとを備えるスキャナ装置Sと、
モータMを駆動するモータ制御手段7と、モータ制御手
段7の加速/減速を制御する加速減速制御手段6と、加
速減速制御手段6を起動する加速減速制御起動手段5
と、パソコンや複写機等のCPU1と、CPU1によっ
て設定されたレジスト値を保持するレジスタ2と、スキ
ャナSから発生された副走査信号(LINESYNC)
8を計数するカウンタ3と、レジスタ2に保持されたレ
ジスト値とカウンタ3で計数された副走査信号のカウン
ト出力とが一致したときに一致信号を出力するコンパレ
ータ4と、加速減速パターンのテーブルを記憶する記憶
手段14とで構成されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An image scanner control apparatus according to an embodiment of the present invention includes, as shown in FIG. 1, a scanner apparatus S having a motor M as a drive source of a carriage and a home position sensor HP installed near a home position. ,
Motor control means 7 for driving the motor M, acceleration / deceleration control means 6 for controlling acceleration / deceleration of the motor control means 7, and acceleration / deceleration control activation means 5 for activating the acceleration / deceleration control means 6
And a CPU 1 such as a personal computer or a copying machine, a register 2 for holding a registration value set by the CPU 1, and a sub-scanning signal (LINESYNC) generated from the scanner S.
A counter 3 for counting the number 8; a comparator 4 for outputting a match signal when the register value held in the register 2 matches the count output of the sub-scanning signal counted by the counter 3; And storage means 14 for storing.

【0021】また、加速減速制御起動手段5は、一致信
号が入力したときにハイレベル信号を出力する論理積回
路15と、ホームポジション位置に戻るキャリッジがホー
ムポジションセンサーHPに感知されたときにハイレベル
信号を出力する論理積回路16と、論理積回路15、16のハ
イレベル信号またはCPU1から出力されたモータ起動
信号11のいずれかが入力したときにハイレベル信号を出
力する論理和回路17と、加速減速制御手段6から加速減
速終了信号12が出力されたときにハイレベルのQ信号を
出力し、論理和回路17の出力でリセットされるDフリッ
プフロップ18と、Dフリップフロップ18のQ出力または
加速減速制御手段6の受入れ拒否を示す信号(ACK信
号の反転信号)のいずれかが入力したときにハイレベル
信号を出力する論理和回路19と、LINESYNC8が
出力されたときにハイレベルのリクエスト信号(RE
Q)を出力し、論理和回路19の出力でリセットされるD
フリップフロップ20とを備えている。
The acceleration / deceleration control starting means 5 includes an AND circuit 15 for outputting a high level signal when a coincidence signal is input, and a high level signal when the carriage returning to the home position is detected by the home position sensor HP. An AND circuit 16 that outputs a level signal; and an OR circuit 17 that outputs a high-level signal when any of the high-level signals of the AND circuits 15 and 16 or the motor start signal 11 output from the CPU 1 is input. A high-level Q signal is output when the acceleration / deceleration end signal 12 is output from the acceleration / deceleration control means 6, and the D flip-flop 18 reset by the output of the OR circuit 17; OR circuit for outputting a high-level signal when any one of signals indicating rejection of acceptance (inversion signal of ACK signal) of acceleration / deceleration control means 6 is input 19 and a high-level request signal (RE) when LINESYNC8 is output.
Q), and is reset by the output of the OR circuit 19.
And a flip-flop 20.

【0022】スキャナSは、図2に示すように、副走査
方向の長さがYの読み取り範囲Rに原稿G(副走査方向
の長さy:ただしY>y)を置き、キャリッジCを太線
矢印方向に動かしながら原稿Gの画像を読み取る。図2
では、キャリッジCがホームポジションの位置にある状
態を示している。ホームポジションセンサーHPは、読み
取り範囲Rの読み取り位置原点に置かれ、キャリッジC
がこの読み取り位置原点よりホームポジション側にある
ときにハイレベル、読み取り範囲R側にあるときにロウ
レベルのホームポジション信号13を出力する。
As shown in FIG. 2, the scanner S places the original G (length y in the sub-scanning direction: Y> y) in a reading range R whose length in the sub-scanning direction is Y, and connects the carriage C with a thick line. The image of the original G is read while moving in the direction of the arrow. FIG.
Shows a state in which the carriage C is at the home position. The home position sensor HP is located at the reading position origin of the reading range R, and the carriage C
Outputs a high-level home position signal 13 when it is on the home position side from the read position origin and a low level when it is on the read range R side.

【0023】また、スキャナSは、キャリッジCが副走
査方向に単位距離移動するごとにLINESYNC8を
出力する。レジスタ2には、読み取り位置原点から原稿
Gの縁(読み取りが終了する側の縁)までの距離に相当
するレジスト値が設定され、このレジスト値とLINE
SYNC8のカウント数とが一致した時点、つまり、キ
ャリッジCの位置が原稿Gの終縁にまで移動した時点
で、コンパレータ4から一致信号が出力される。
The scanner S outputs LINESYNC 8 every time the carriage C moves a unit distance in the sub-scanning direction. A register 2 is set with a registration value corresponding to the distance from the origin of the reading position to the edge of the document G (the edge on the side where reading is completed).
When the count value of the SYNC 8 matches, that is, when the position of the carriage C moves to the end edge of the document G, a match signal is output from the comparator 4.

【0024】また、キャリッジCを駆動するモータM
は、例えばステップモータによって構成される。モータ
制御手段7は、CPU1からモータ起動信号11を受信す
ると、このステップモータにパルスを出力して指定され
た方向に回転させる。加速減速制御手段6は、モータ制
御手段7から出力されるパルスの周波数を所定ステップ
数に渡って制御することによりステップモータの加速・
減速を調整する。加速減速制御手段6は、そのため加速
及び減速パターンのテーブルを記憶するメモリを内蔵
し、このメモリに、加速または減速時のパルス周波数や
ステップ数を記述した加速及び減速パターンが予め設定
される。また、これらのパターンは、後述するように、
記憶装置14に設定し、CPU1を通じて加速減速制御手
段6のメモリに書き込むようにすることもできる。
A motor M for driving the carriage C
Is constituted by, for example, a step motor. Upon receiving the motor start signal 11 from the CPU 1, the motor control means 7 outputs a pulse to the step motor to rotate it in the designated direction. The acceleration / deceleration control means 6 controls the frequency of the pulse output from the motor control means 7 over a predetermined number of steps, thereby accelerating / decreasing the step motor.
Adjust deceleration. For this purpose, the acceleration / deceleration control means 6 has a built-in memory for storing a table of acceleration / deceleration patterns. In this memory, acceleration / deceleration patterns describing pulse frequencies and step numbers during acceleration / deceleration are set in advance. Also, as described below, these patterns
It can be set in the storage device 14 and written into the memory of the acceleration / deceleration control means 6 through the CPU 1.

【0025】このイメージスキャナ制御装置では、始め
に、CPU1により、原稿Gの長さyをスキャナSが走
査したときの副走査信号数がレジスタ2に設定される。
次いで、CPU1は、モータ起動ビットをONにする。
このモータ起動信号11は、モータ制御手段7を起動する
とともに、加速減速制御起動手段5の論理和回路17に入
力し、論理和回路17の出力をハイレベルに変え、Dフリ
ップフロップ18をリセットする。
In this image scanner control device, first, the CPU 1 sets the number of sub-scanning signals when the scanner S scans the length y of the original G in the register 2.
Next, the CPU 1 turns on the motor start bit.
The motor start signal 11 starts the motor control means 7 and is also input to the OR circuit 17 of the acceleration / deceleration control start means 5, changes the output of the OR circuit 17 to high level, and resets the D flip-flop 18. .

【0026】なお、キャリッジ方向信号10は、キャリッ
ジCが図2の太線矢印方向(正転方向)に移動するとき
にはハイレベルを取り、キャリッジCが太線矢印と反対
方向(逆転方向)に移動するときにはロウレベルを取
る。このキャリッジ方向信号10は、キャリッジCが正転
方向に移動するときには、ホームポジション信号がハイ
の状態でも論理積回路16の出力をロウに保ち(つまり、
ホームポジション信号をマスクする)、キャリッジCの
逆転方向への移動のときにだけ、ホームポジション信号
のハイへの変化に合わせて論理積回路16の出力をハイに
変える働きをしている。
The carriage direction signal 10 takes a high level when the carriage C moves in the direction of the thick arrow (forward direction) in FIG. 2, and when the carriage C moves in the direction opposite to the thick arrow (reverse direction). Take the low level. When the carriage C moves in the normal rotation direction, the carriage direction signal 10 keeps the output of the AND circuit 16 low even when the home position signal is high (that is,
Only when the carriage C moves in the reverse direction, the output of the AND circuit 16 is changed to high in accordance with the change of the home position signal to high.

【0027】さて、モータ起動信号11によってDフリッ
プフロップ18がリセットされた結果、加速減速制御手段
6が受け入れ可能な状態(ACKがハイレベル)にある
ときには、論理和回路19の出力がロウレベルとなり、D
フリップフロップ20のリセットが解除され、Dフリップ
フロップ20は、スキャナ装置Sから最初に出力されるL
INESYNC8によりハイレベルのREQ信号を加速
減速制御手段6に出力する。
When the D flip-flop 18 is reset by the motor start signal 11 and the acceleration / deceleration control means 6 is in an acceptable state (ACK is high level), the output of the OR circuit 19 becomes low level, D
The reset of the flip-flop 20 is released, and the D flip-flop 20 outputs L which is first output from the scanner device S.
The INESYNC 8 outputs a high-level REQ signal to the acceleration / deceleration control means 6.

【0028】REQ信号が入力した加速減速制御手段6
は、メモリに設定された加速パターンに従ってモータM
の加速を制御する。所定ステップ数の加速が終了する
と、加速減速制御手段6は加速終了信号12をDフリップ
フロップ18に出力する。それを受けたDフリップフロッ
プ18(このときにはリセットが解除されている)はハイ
レベルのQ信号を出力し、論理和回路19の出力がハイレ
ベルに変化し、Dフリップフロップ20がリセットされ、
REQ信号が停止する。加速減速制御手段6はモータ制
御手段7に対する加速制御を停止し、モータ制御手段7
は定速でモータMを駆動する。
The acceleration / deceleration control means 6 to which the REQ signal has been input
Is the motor M according to the acceleration pattern set in the memory.
Control the acceleration of the vehicle. When the acceleration of the predetermined number of steps is completed, the acceleration / deceleration control means 6 outputs an acceleration end signal 12 to the D flip-flop 18. The D flip-flop 18 (which has been reset at this time) receives the signal and outputs a high-level Q signal, the output of the OR circuit 19 changes to high level, and the D flip-flop 20 is reset.
The REQ signal stops. The acceleration / deceleration control means 6 stops the acceleration control for the motor control means 7,
Drives the motor M at a constant speed.

【0029】このときのモータスピードの時間変化を図
3に示している。モータMの回転によってキャリッジが
図2の太線矢印方向(正転方向)に移動し、この移動に
伴ってスキャナSから次々とLINESYNC8が出力
され、Dフリップフロップ20とカウンタ3とに入力す
る。Dフリップフロップ20は、リセットの解除された状
態では、ハイレベルのREQ信号を加速減速制御手段6
に出し続ける。一方、カウンタ3は、ホームポジション
信号13がハイの状態のときは、LINESYNC8の計
数を始めない。
FIG. 3 shows the time change of the motor speed at this time. With the rotation of the motor M, the carriage moves in the direction of the thick arrow (forward direction) in FIG. 2. With this movement, the LINESYNC 8 is output from the scanner S one after another, and is input to the D flip-flop 20 and the counter 3. When the reset is released, the D flip-flop 20 outputs a high-level REQ signal to the acceleration / deceleration control unit 6.
Continue to put out. On the other hand, when the home position signal 13 is high, the counter 3 does not start counting the LINESYNC8.

【0030】正転方向に移動するキャリッジCが読み取
り位置原点を通過し、ホームポジション信号13がハイか
らロウに変化すると、カウンタ3は、スキャナSから出
力される副走査信号(LINESYNC)8のカウント
を開始し、カウント値をコンパレータ4に入力する。コ
ンパレータ4は、このカウント値とレジスタ2のレジス
ト値とを比較し、一致したときに一致信号15を加速減速
制御起動手段5の論理積回路15に出力する。
When the carriage C moving in the normal rotation direction passes through the origin of the reading position and the home position signal 13 changes from high to low, the counter 3 counts the sub-scanning signal (LINESYNC) 8 output from the scanner S. Is started, and the count value is input to the comparator 4. The comparator 4 compares the count value with the register value of the register 2, and outputs a match signal 15 to the AND circuit 15 of the acceleration / deceleration control activation means 5 when they match.

【0031】コンパレータゲート信号9がロウを保ち、
コンパレータ4からの信号受け入れが可能なときには、
一致信号15の入力により論理積回路15の出力がハイレベ
ルとなり、論理和回路17がハイレベル信号を出力し、D
フリップフロップ18がリセットされる。その結果、先と
同じ手順で、Dフリップフロップ20はLINESYNC
8の入力によりハイレベルのREQ信号を加速減速制御
手段6に出力する。
The comparator gate signal 9 remains low,
When the signal from the comparator 4 can be received,
When the coincidence signal 15 is input, the output of the AND circuit 15 becomes high level, and the OR circuit 17 outputs a high level signal.
The flip-flop 18 is reset. As a result, in the same procedure as above, the D flip-flop 20 sets the LINESYNC
A high level REQ signal is output to the acceleration / deceleration control means 6 in response to the input of 8.

【0032】REQ信号を受けた加速減速制御手段6
は、減速パターンのテーブルに従ってモータ制御手段7
を減速制御し、モータ制御手段7はモータMの回転を落
とし、キャリッジCを正しい位置で停止させる(図3正
転方向時の減速曲線)。加速減速制御手段6は、減速終
了信号12をDフリップフロップ18に出力し、Dフリップ
フロップ18はハイレベルのQ信号を出力し、Dフリップ
フロップ20がリセットされREQ信号の出力が停止す
る。
Acceleration / deceleration control means 6 receiving the REQ signal
Is the motor control means 7 according to the table of the deceleration pattern.
The motor control means 7 reduces the rotation of the motor M and stops the carriage C at the correct position (the deceleration curve in the normal rotation direction in FIG. 3). The acceleration / deceleration control means 6 outputs the deceleration end signal 12 to the D flip-flop 18, the D flip-flop 18 outputs a high-level Q signal, the D flip-flop 20 is reset, and the output of the REQ signal stops.

【0033】また、加速減速制御手段6は、キャリッジ
Cが停止したことをCPU1に割り込みで知らせる。こ
の通知を受けてCPU1は、スキャナSからの画像デー
タの転送が終了したことを知る。この間、CPU1はキ
ャリッジCの制御やイメージデータの転送処理に全く関
与しなくてよい。
Further, the acceleration / deceleration control means 6 notifies the CPU 1 that the carriage C has stopped by interruption. Upon receiving this notification, the CPU 1 knows that the transfer of the image data from the scanner S has been completed. During this time, the CPU 1 does not need to be involved in the control of the carriage C or the transfer processing of the image data at all.

【0034】この後、CPU1は、キャリッジCを逆転
方向に移動させるため、モータ起動ビットをONにし、
モータ制御手段7を起動してモータMを逆転させ、同時
に加速減速制御起動手段5にモータ起動信号11を送る。
このモータ起動信号のオンによってDフリップフロップ
20のリセットが解除され、最初のLINESYNC8の
入力によってDフリップフロップ20からREQ信号が加
速減速制御手段6に出力され、加速減速制御手段6は、
加速パターンに従って、モータ制御手段7の加速を制御
する。
After that, the CPU 1 turns on the motor start bit to move the carriage C in the reverse direction,
The motor control means 7 is started to reverse the motor M, and at the same time, a motor start signal 11 is sent to the acceleration / deceleration control start means 5.
By turning on this motor start signal, D flip-flop
The reset of 20 is released, and the REQ signal is output from the D flip-flop 20 to the acceleration / deceleration control means 6 by the input of the first LINESYNC8.
The acceleration of the motor control means 7 is controlled according to the acceleration pattern.

【0035】所定ステップの加速が終了すると、加速減
速制御手段6は加速終了信号12をDフリップフロップ18
に出力し、その結果、Dフリップフロップ20がリセット
され、REQ信号が停止する。加速減速制御手段6はモ
ータ制御手段7に対する加速制御を停止し、モータ制御
手段7は定速でモータMを逆転方向に駆動する。
When the acceleration in the predetermined step is completed, the acceleration / deceleration control means 6 outputs the acceleration end signal 12 to the D flip-flop 18
, As a result, the D flip-flop 20 is reset, and the REQ signal stops. The acceleration / deceleration control means 6 stops the acceleration control for the motor control means 7, and the motor control means 7 drives the motor M in the reverse direction at a constant speed.

【0036】キャリッジCが読み取り位置原点まで戻る
と、ホームポジション信号13がロウからハイに変化し、
逆転方向のキャリッジ方向信号10がロウであるために、
論理積回路16の出力がハイレベルになる。その結果、D
フリップフロップ18がリセットされ、そのためにDフリ
ップフロップ20のリセットが解除され、次のLINES
YNC8の入力によってREQ信号が加速減速制御手段
6に出力される。
When the carriage C returns to the reading position origin, the home position signal 13 changes from low to high,
Since the carriage direction signal 10 in the reverse direction is low,
The output of the AND circuit 16 becomes high level. As a result, D
The flip-flop 18 is reset, so that the reset of the D flip-flop 20 is released and the next LINES
The REQ signal is output to the acceleration / deceleration control means 6 by the input of the YNC 8.

【0037】加速減速制御手段6は、減速パターンに従
ってモータ制御手段7を減速制御し、モータ制御手段7
はモータMの回転を落とし、キャリッジCをホームポジ
ション位置に正しく停止させる。加速減速制御手段6は
減速終了信号12をDフリップフロップ18に出力し、Dフ
リップフロップ18からハイレベルのQ信号が出力され、
その結果、Dフリップフロップ20がリセットされてRE
Q信号が停止する。
The acceleration / deceleration control means 6 controls deceleration of the motor control means 7 according to the deceleration pattern.
Reduces the rotation of the motor M and stops the carriage C at the home position correctly. The acceleration / deceleration control means 6 outputs a deceleration end signal 12 to the D flip-flop 18, and a high-level Q signal is output from the D flip-flop 18,
As a result, D flip-flop 20 is reset and RE
The Q signal stops.

【0038】図3には、モータ制御手段7で制御される
モータスピードの時間変化と、ホームポジション信号13
の時間変化と、コンパレータ4に入力するLINESY
NC8の計測値の時間変化とを示している。
FIG. 3 shows a time change of the motor speed controlled by the motor control means 7 and the home position signal 13.
And the LINESY input to the comparator 4
5 shows a time change of the measured value of NC8.

【0039】図3に示すように、キャリッジCの正転方
向への移動に際しては、キャリッジCが読み取り位置原
点に達する前にキャリッジCの移動速度が定速を維持で
きるように、急角度の加速パターンで加速する。一方、
キャリッジCの逆転方向への移動に際しては、読み取り
位置原点から減速を開始し、キャリッジCがスキャナS
の筐体にぶつからずに正しいホームポジション位置で停
止できるように、緩やかな減速パターンで減速を行な
う。
As shown in FIG. 3, when the carriage C moves in the normal rotation direction, a sharp angular acceleration is performed so that the moving speed of the carriage C can be maintained at a constant speed before the carriage C reaches the origin of the reading position. Accelerate with a pattern. on the other hand,
When the carriage C moves in the reverse direction, the carriage C starts decelerating from the reading position origin and the carriage C
Decelerate in a gentle deceleration pattern so that the vehicle can be stopped at the correct home position without hitting the housing.

【0040】なお、加速減速制御手段6の記憶する加速
減速パターンは、予め記憶手段14に設定し、その後、こ
れをCPU1の指示の下に加速減速制御手段6に記憶さ
せることもできる。こうした場合には次のような利点が
ある。
The acceleration / deceleration pattern stored in the acceleration / deceleration control means 6 can be set in the storage means 14 in advance, and then stored in the acceleration / deceleration control means 6 under the instruction of the CPU 1. In such a case, there are the following advantages.

【0041】スキャナSのホームポジションセンサーHP
の取り付け位置にばらつきがあると、この取り付け位置
からスキャナ筐体の端までの距離がそれぞれのスキャナ
ーごとに違ってくる。そのため、各スキャナに対して同
じ減速パターンを一律に適用したのでは、逆転方向への
移動時に、ホームポジションセンサーHP位置で減速され
たキャリッジCがスキャナ筐体にぶつかる場合が起こり
得る。
The home position sensor HP of the scanner S
If there is a variation in the mounting positions, the distance from this mounting position to the end of the scanner housing will be different for each scanner. Therefore, if the same deceleration pattern is uniformly applied to each scanner, the carriage C decelerated at the position of the home position sensor HP may hit the scanner housing when moving in the reverse direction.

【0042】こうした事態は、各スキャナの実際のホー
ムポジションセンサーHPの取り付け位置から、キャリッ
ジCを停止させるべき位置までのステップ数を規定した
減速パターンを設定することによって避けることができ
る。そのため、こうした各スキャナに合った個別の減速
パターンを含むテーブルを記憶装置14に設定し、これを
加速減速制御手段6に記憶させることにより、個々のス
キャナ装置におけるホームポジションセンサーHPの取り
付け誤差を吸収する調整を容易に行なうことができる。
Such a situation can be avoided by setting a deceleration pattern that defines the number of steps from the actual mounting position of the home position sensor HP of each scanner to the position where the carriage C should be stopped. Therefore, by setting a table including such individual deceleration patterns suitable for each scanner in the storage device 14 and storing the table in the acceleration / deceleration control means 6, the mounting error of the home position sensor HP in each scanner device is absorbed. Adjustment can be easily performed.

【0043】このように、実施例のイメージスキャナ制
御装置では、CPU1に依らずに、キャリッジの移動範
囲を、画像データを読み取る原稿の範囲に制御すること
ができる。この制御では、CPUは、スキャナの起動を
行なうのみで、キャリッジの制御には関与していない。
そのためキャリッジを安定的に停止させることができ、
また、この間、CPUは他の処理を実行することができ
る。
As described above, in the image scanner control device of the embodiment, the movement range of the carriage can be controlled to the range of the document from which the image data is read, without depending on the CPU 1. In this control, the CPU only activates the scanner and does not participate in controlling the carriage.
Therefore, the carriage can be stopped stably,
During this time, the CPU can execute other processing.

【0044】なお、加速減速制御手段6の起動を制御す
る加速減速制御起動手段5の構成は、実施例の構成だけ
に限るものではなく、一般に知られている制御手段を用
いることが可能である。
The configuration of the acceleration / deceleration control activation means 5 for controlling the activation of the acceleration / deceleration control means 6 is not limited to the configuration of the embodiment, and generally known control means can be used. .

【0045】[0045]

【発明の効果】以上の実施例の説明から明らかなよう
に、本発明のイメージスキャナ制御装置は、CPU1の
負荷を増やすことなく、スキャナのキャリッジの移動範
囲を原稿の大きさに合わせて制御することができる。従
って、その原稿のスキャンが短時間で終了し、次の原稿
の読み取りを迅速に行なうことができる。
As is apparent from the above description of the embodiment, the image scanner control apparatus of the present invention controls the moving range of the scanner carriage according to the size of the document without increasing the load on the CPU 1. be able to. Therefore, the scanning of the original is completed in a short time, and the next original can be read quickly.

【0046】また、CPUは、その間、スキャナを制御
する必要がないため、例えば読み取ったイメージデータ
に符号化圧縮処理を施すなど、他の処理を実行すること
ができる。また、CPUがその管理下にあるメモリ装置
からFAXの送信処理等を行なう一方で、スキャナを起
動して、読み取ったデータをプリンタに送りコピー動作
を行なわせるというような、より高度な複合処理も可能
になる。
Since the CPU does not need to control the scanner during that time, the CPU can execute other processing such as performing encoding and compression processing on the read image data. Further, while the CPU performs a facsimile transmission process or the like from the memory device under its control, a more advanced complex process such as activating the scanner and sending the read data to the printer to perform a copy operation is also performed. Will be possible.

【0047】また、キャリッジの移動制御をCPU抜き
で行なっているため、割り込み処理が間に合わずにキャ
リッジがスキャナ筐体にぶつかってしまうような事態を
避けることができ、安定した制御を行なうことができ
る。
Further, since the carriage movement control is performed without the CPU, it is possible to avoid a situation in which the carriage hits the scanner housing due to interruption processing in time, and stable control can be performed. .

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

【図1】本発明のイメージスキャナ制御装置の一実施例
の構成を示すブロック図、
FIG. 1 is a block diagram showing a configuration of an embodiment of an image scanner control device according to the present invention;

【図2】前記制御装置で制御されるイメージスキャナの
構成・動作を示す説明図、
FIG. 2 is an explanatory diagram showing the configuration and operation of an image scanner controlled by the control device;

【図3】前記イメージスキャナのキャリッジの動作を説
明するタイミングチャート、
FIG. 3 is a timing chart illustrating an operation of a carriage of the image scanner;

【図4】従来のイメージスキャナ制御装置の構成を示す
ブロック図である。
FIG. 4 is a block diagram showing a configuration of a conventional image scanner control device.

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

B スキャナ本体 C キャリッジ G 原稿 HP ホームポジションセンサ M モータ R スキャナの読み取り範囲 S イメージスキャナ 1、41 CPU 2、42 レジスタ 3、44 カウンタ 4、43 コンパレータ 5 加速減速制御起動手段 6 加速減速制御手段 7 モータ制御手段 8 副走査信号LINESYNC 9 コンパレータゲート信号 10 キャリッジ方向信号 11 モータ起動信号 12 加速減速終了信号 13 ホームポジション信号 14 記憶装置 15、16 論理積回路 17、19 論理和回路 18、20 Dフリップフロップ 45 イメージスキャナ 46 パソコン B Scanner body C Carriage G Original HP Home position sensor M Motor R Scanner reading range S Image scanner 1, 41 CPU 2, 42 Register 3, 44 Counter 4, 43 Comparator 5 Acceleration / deceleration control activation means 6 Acceleration / deceleration control means 7 Motor Control means 8 Sub-scanning signal LINESYNC 9 Comparator gate signal 10 Carriage direction signal 11 Motor start signal 12 Acceleration / deceleration end signal 13 Home position signal 14 Storage device 15, 16 Logical product circuit 17, 19 Logical sum circuit 18, 20 D flip-flop 45 Image Scanner 46 PC

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平3−70262(JP,A) 特開 昭57−95754(JP,A) 特開 昭57−87669(JP,A) 特開 平5−297474(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04N 1/04 - 1/207 ──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-3-70262 (JP, A) JP-A-57-95754 (JP, A) JP-A-57-87669 (JP, A) 297474 (JP, A) (58) Field surveyed (Int. Cl. 7 , DB name) H04N 1/04-1/207

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 スキャナの読取開始位置原点の通過を検
出するホームポジションセンサーと、スキャナの副走査
方向への移動時に出力される副走査信号のカウント値と
原稿の大きさに応じて設定されたレジスト値との一致を
検出して一致信号を出力し、スキャナの読取範囲を原稿
の大きさに合せて制御する制御手段と、前記スキャナの
移動速度の加速または減速を制御する加速減速制御手段
と、前記ホームポジションセンサーによる検出信号と前
記一致信号により前記加速減速制御手段を起動させ、前
記加速減速制御手段に、前記スキャナの移動速度の減速
制御を行なわせる加速減速制御起動手段とを具備し、前
記加速減速制御手段は、前記ホームポジションセンサー
による検出信号または前記一致信号の発生にともない、
ステップモータの駆動を調整するパルス周波数またはス
テップ数を記述した加減速パターンに従って前記スキャ
ナの移動制御を行なうことを特徴とするイメージスキャ
ナ制御装置。
1. A method for detecting the passage of a scanning start position origin of a scanner.
Home position sensor and sub-scan of scanner
Count value of the sub-scanning signal output when moving in the
Match the registration value set according to the size of the original
Detects and outputs a match signal, and scans the scanner
Control means for controlling according to the size of the scanner;
Acceleration / deceleration control means for controlling acceleration or deceleration of moving speed
And the detection signal from the home position sensor and
Activating the acceleration / deceleration control means by the coincidence signal
The acceleration / deceleration control means reduces the movement speed of the scanner.
And an acceleration / deceleration control activation means for performing control.
The acceleration / deceleration control means may include the home position sensor
With the generation of the detection signal or the coincidence signal,
Pulse frequency or step for adjusting the drive of the step motor
The scan according to the acceleration / deceleration pattern describing the number of steps
An image scanner control device for controlling movement of a scanner.
JP22900094A 1994-08-31 1994-08-31 Image scanner control device Expired - Fee Related JP3174693B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22900094A JP3174693B2 (en) 1994-08-31 1994-08-31 Image scanner control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22900094A JP3174693B2 (en) 1994-08-31 1994-08-31 Image scanner control device

Publications (2)

Publication Number Publication Date
JPH0879457A JPH0879457A (en) 1996-03-22
JP3174693B2 true JP3174693B2 (en) 2001-06-11

Family

ID=16885195

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22900094A Expired - Fee Related JP3174693B2 (en) 1994-08-31 1994-08-31 Image scanner control device

Country Status (1)

Country Link
JP (1) JP3174693B2 (en)

Also Published As

Publication number Publication date
JPH0879457A (en) 1996-03-22

Similar Documents

Publication Publication Date Title
JP3585976B2 (en) Image reading device
JP3174693B2 (en) Image scanner control device
EP0095771B1 (en) Scanning control apparatus
JP4065465B2 (en) Stepping motor control device, stepping motor control method, image reading device, and storage medium
JP2856967B2 (en) Scanning head movement control device for cylindrical scanning device
JPH06169379A (en) Image reader
JP3448908B2 (en) Plate making equipment
JP2778395B2 (en) Image forming device
JP2010220108A (en) Image reader and method of reading images
JP3882316B2 (en) Image reading device
JPH07105864B2 (en) Image reader
JP2717282B2 (en) Document reading device control method
JPH07254061A (en) Dma transfer device for image processor
JP2885229B2 (en) Recording device
JPH0630204A (en) Scanner
JP2857167B2 (en) Document reading device
JPS63287167A (en) Original reader
JP3656869B2 (en) Image reading device
JPH1042584A (en) Image input/output device
JPH07212581A (en) Composite equipment
JPH05199370A (en) Picture reader
JPH08340421A (en) Image reader
KR100223208B1 (en) Copy method
JP2000209402A (en) Digital image reader
JPH09266518A (en) Image reader

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080330

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090330

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100330

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20110330

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20110330

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees