JPH08293969A - Image reader - Google Patents

Image reader

Info

Publication number
JPH08293969A
JPH08293969A JP7099169A JP9916995A JPH08293969A JP H08293969 A JPH08293969 A JP H08293969A JP 7099169 A JP7099169 A JP 7099169A JP 9916995 A JP9916995 A JP 9916995A JP H08293969 A JPH08293969 A JP H08293969A
Authority
JP
Japan
Prior art keywords
motor
drive motor
main power
signal
original
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
JP7099169A
Other languages
Japanese (ja)
Inventor
Kazunori Nakamura
和則 中村
Yuji Majima
裕治 真島
Hirofumi Ihara
宏文 井原
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 Holdings Corp
Original Assignee
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP7099169A priority Critical patent/JPH08293969A/en
Publication of JPH08293969A publication Critical patent/JPH08293969A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To prevent runaway or damage even when any abnormality is generated in the control program of a drive motor by counting the number of phase excited pulse signals from the reading start of an original to the reading end of the original and stopping a power source to be supplied to the drive motor when that count value exceeds a reference value. CONSTITUTION: A CPU 20 outputs the phase excited pulse signal corresponding to rotating direction and speed to a motor driver part 23 and corresponding to this signal, the motor driver part 23 drives a drive motor 9. A count part 25 counts the number of phase excited pulse signals outputted from the CPU 20 from the reading start of the original. A comparing part 26 compares the value counted by the count part 25 with the reference value corresponding to the total number of phase excited pulse signals at the time of normal operation required for moving a carriage in series of original reading processes. When an Hi signal corresponding to the time of abnormal operation is outputted from the comparing part 26, a motor main power source control part 27 cuts off a main power source 24 to the drive motor 9.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、キャリッジが副走査方
向に移動しながら画像を読み取るタイプの画像読取り装
置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image reading apparatus of the type in which an image is read while a carriage moves in a sub scanning direction.

【0002】[0002]

【従来の技術】近年、ワークステーションやパーソナル
コンピュータ等が高機能化され、フルカラー画像の編集
や、電子ファイリング等による画像入力が高速で行える
ようになった。これに伴い、画像を簡易に入力すること
ができる画像読取り装置としてフラットベッドタイプの
スキャナが普及してきた。
2. Description of the Related Art In recent years, workstations, personal computers, and the like have been made highly functional, and full-color images can be edited and images can be input at high speed by electronic filing. Along with this, flatbed type scanners have become widespread as image reading devices that can easily input images.

【0003】以下、従来のスキャナの構成とその作用に
ついて説明する。図5は、従来のフラットベッドタイプ
のスキャナ200の構成を示す概略図である。図6は、
この従来のスキャナ200の光学系の構成を示す概略図
である。また、図7は、従来のスキャナ200の信号処
理部の構成を示すブロック図である。
The structure and operation of a conventional scanner will be described below. FIG. 5 is a schematic diagram showing the configuration of a conventional flatbed type scanner 200. FIG.
It is a schematic diagram showing the composition of the optical system of this conventional scanner 200. FIG. 7 is a block diagram showing the configuration of the signal processing unit of the conventional scanner 200.

【0004】図5に示すように、このスキャナ200
は、スキャナ本体1内に、原稿ガラス2と、キャリッジ
3と、支持部材4と、シャフト5と、駆動ワイヤ6と、
駆動プーリ7と、従動プーリ8と、駆動モータ9と、従
動プーリ支持部材10と、付勢部11を備えて構成され
ている。上記の原稿ガラス2は、ユーザが原稿をセット
する部分である。キャリッジ3は、セットされた原稿か
ら画像を読み取る部分である。支持部材4は、内部にベ
アリング等を有し、キャリッジ3を支持する。シャフト
5は、支持部材4を介してキャリッジ3を支持する。こ
のシャフト5により、キャリッジ3は副走査方向にのみ
移動が規制される。駆動モータ9は、キャリッジ3を駆
動するためのステッピングモータである。駆動モータ9
の駆動軸の回転駆動力は、図示しない連結シャフトおよ
び減速機構を介して駆動プーリ7から駆動ワイヤ6に伝
えられ、駆動ワイヤ6は、駆動モータ9が回転すると、
図5上の左右方向(以下、「副走査方向」という。)に
移動する。この駆動ワイヤ6の動きにより、キャリッジ
3が副走査方向へ駆動される。また、従動プーリ8は、
従動プーリ支持部材10を介して付勢部11により図5
の左方向に付勢され、駆動ワイヤ6に張力を付与する。
As shown in FIG. 5, this scanner 200
Includes a document glass 2, a carriage 3, a support member 4, a shaft 5, a drive wire 6, and
A drive pulley 7, a driven pulley 8, a drive motor 9, a driven pulley support member 10, and a biasing portion 11 are provided. The original glass 2 is a portion on which a user sets an original. The carriage 3 is a part that reads an image from a set original. The support member 4 has a bearing or the like inside and supports the carriage 3. The shaft 5 supports the carriage 3 via the support member 4. The shaft 5 restricts the movement of the carriage 3 only in the sub-scanning direction. The drive motor 9 is a stepping motor for driving the carriage 3. Drive motor 9
The rotational driving force of the drive shaft is transmitted from the drive pulley 7 to the drive wire 6 via a connecting shaft and a reduction mechanism (not shown), and the drive wire 6 rotates when the drive motor 9 rotates.
It moves in the left-right direction in FIG. 5 (hereinafter, referred to as “sub-scanning direction”). The movement of the drive wire 6 drives the carriage 3 in the sub-scanning direction. Further, the driven pulley 8 is
As shown in FIG.
Is applied to the drive wire 6 to apply tension to the drive wire 6.

【0005】上記のキャリッジ3内には光学系とカラー
イメージセンサ15が設けられている。この光学系は、
図6に示すように、キャリッジ3内に、光源ランプ12
と、原稿読取り部13と、反射ミラー14と、結像レン
ズ16を有して構成されている。上記の光源ランプ12
は、原稿ガラス2に置かれた原稿を下方から照射する。
原稿読取り部13は、照射された原稿からの反射光から
原稿に記載された文字や画像を読み取る。反射ミラー1
4は、原稿からの反射光を反射する。結像レンズ16
は、上記の反射光をカラーイメージセンサ15上に画像
として結像させる。カラーイメージセンサ15は、入射
した光の信号を電気信号に変換する。
An optical system and a color image sensor 15 are provided inside the carriage 3. This optical system
As shown in FIG. 6, the light source lamp 12 is provided in the carriage 3.
The document reading unit 13, the reflection mirror 14, and the image forming lens 16 are provided. Light source lamp 12 above
Illuminates the original placed on the original glass 2 from below.
The document reading unit 13 reads characters and images written on the document from the reflected light from the illuminated document. Reflection mirror 1
Reference numeral 4 reflects the reflected light from the document. Imaging lens 16
Causes the reflected light to form an image on the color image sensor 15. The color image sensor 15 converts an incident light signal into an electric signal.

【0006】上記の従来例のスキャナ200は、カラー
イメージセンサ15が出力する画像信号を処理する画像
信号処理機構と、駆動モータ9を駆動制御するモータ駆
動制御手段であるモータ駆動制御機構を有している。2
4は駆動モータ9への主電源である。画像信号処理機構
は、図7に示すように、A/D変換部17と、画像処理
部18と、バッファメモリ19と、CPU20と、SC
SIコントローラ21を有して構成されている。上記の
A/D変換部17は、カラーイメージセンサ15からの
出力(アナログ値)をディジタル信号に変換する。画像
処理部18は、A/D変換部17から入力されたディジ
タルデータに対して、シェーディング・色補正・解像度
変更等の画像処理を施す。バッファメモリ19は、画像
処理部18で処理された画像データを一時的に保持す
る。SCSIコントローラ21は、バッファメモリ19
に格納された画像データを、例えば外部ホスト機器22
に出力する。CPU20は、画像処理部18の処理モー
ドの設定、バッファメモリ19の初期化等を行う。ま
た、モータ駆動制御機構は、モータドライバ部23と、
CPU20を有して構成されている。モータドライバ部
23は、駆動モータ9を、PWM制御(PWM:Pulse
Width Modulation)による定電流チョッパ方式等により
制御・駆動する。CPU20は、モータドライバ部23
への駆動モータの相励磁パルス信号出力等を行う。上記
において、キャリッジ3内のカラーイメージセンサ15
と、キャリッジ3を副走査方向に駆動する駆動モータ9
と駆動ワイヤ6等のキャリッジ駆動機構と、A/D変換
部17と画像処理部18とバッファメモリ19とCPU
20等を含む画像信号処理機構は、画像読取り手段を構
成している。
The above-described conventional scanner 200 has an image signal processing mechanism for processing the image signal output from the color image sensor 15 and a motor drive control mechanism which is a motor drive control means for controlling the drive of the drive motor 9. ing. Two
Reference numeral 4 is a main power source for the drive motor 9. As shown in FIG. 7, the image signal processing mechanism includes an A / D conversion unit 17, an image processing unit 18, a buffer memory 19, a CPU 20, and an SC.
It is configured to include the SI controller 21. The A / D converter 17 converts the output (analog value) from the color image sensor 15 into a digital signal. The image processing unit 18 subjects the digital data input from the A / D conversion unit 17 to image processing such as shading, color correction, and resolution change. The buffer memory 19 temporarily holds the image data processed by the image processing unit 18. The SCSI controller 21 uses the buffer memory 19
Image data stored in the external host device 22.
Output to. The CPU 20 sets the processing mode of the image processing unit 18, initializes the buffer memory 19, and the like. Further, the motor drive control mechanism includes a motor driver unit 23,
It is configured to have a CPU 20. The motor driver unit 23 controls the drive motor 9 by PWM (PWM: Pulse).
It is controlled and driven by a constant current chopper method by Width Modulation). The CPU 20 has a motor driver unit 23.
To the drive motor phase excitation pulse signal. In the above, the color image sensor 15 in the carriage 3
And a drive motor 9 for driving the carriage 3 in the sub scanning direction.
And a carriage drive mechanism such as a drive wire 6, an A / D converter 17, an image processor 18, a buffer memory 19, and a CPU.
The image signal processing mechanism including 20 and the like constitutes an image reading means.

【0007】以上のように構成された従来例のスキャナ
200の動作について以下に説明する。外部ホスト機器
22より原稿の読取り開始信号がCPU20に出される
と、CPU20からモータドライバ部23に回転方向
(相励磁シーケンス)・速度(周波数)に応じた相励磁
パルス信号が出力される。この相励磁パルス信号に応じ
てモータドライバ部23が駆動モータ9を回転駆動させ
る。駆動モータ9の回転駆動力は、駆動プーリ7、駆動
ワイヤ6、及び従動プーリ8を介してキャリッジ3に伝
達され、キャリッジ3が副走査方向への走査を開始す
る。同時に、CPU20は、光源ランプ12を点灯させ
て原稿を照射する。原稿からの反射光は、反射ミラー1
4により反射され、結像レンズ16によりカラーイメー
ジセンサ15上に結像され電気信号に変換される。
The operation of the conventional scanner 200 configured as above will be described below. When the external host device 22 outputs a document reading start signal to the CPU 20, the CPU 20 outputs a phase excitation pulse signal corresponding to the rotation direction (phase excitation sequence) and speed (frequency) to the motor driver unit 23. The motor driver 23 drives the drive motor 9 to rotate in response to the phase excitation pulse signal. The rotational driving force of the drive motor 9 is transmitted to the carriage 3 via the drive pulley 7, the drive wire 6, and the driven pulley 8, and the carriage 3 starts scanning in the sub scanning direction. At the same time, the CPU 20 turns on the light source lamp 12 to illuminate the document. The reflected light from the original is reflected by the reflection mirror 1.
It is reflected by 4, and is imaged on the color image sensor 15 by the imaging lens 16 and converted into an electric signal.

【0008】駆動モータ9は、CPU20からモータド
ライバ部23に出力された相励磁パルス信号数に比例し
た回転角度分だけ回転するため、キャリッジ3の移動距
離は、CPU20からモータドライバ部23に出力され
る相励磁パルス信号総数により制御することができる。
このようにして、副走査方向方向への走査距離に相当す
る数の相励磁パルス信号がCPU20からモータドライ
バ部23に出力される。この相励磁パルス信号により、
モータドライバ部23が駆動モータ9を駆動する。この
駆動モータ9の駆動力によりキャリッジ3が副走査方向
へ走査され、原稿の読取りが終了する。原稿の読取りが
終了すると、CPU20から、駆動モータ9の回転方向
を逆転した相励磁パルス信号がモータドライバ部23に
出力される。この逆転用相励磁パルス信号により、上記
の原稿読取りと逆の過程を経てキャリッジ3が原稿読取
り開始位置に復帰する。これらの一連の原稿の読取り過
程が終了すると、CPU20から外部ホスト機器22に
原稿の読取り終了信号が出力される。
Since the drive motor 9 rotates by a rotation angle proportional to the number of phase excitation pulse signals output from the CPU 20 to the motor driver section 23, the moving distance of the carriage 3 is output from the CPU 20 to the motor driver section 23. It can be controlled by the total number of phase excitation pulse signals.
In this way, the number of phase excitation pulse signals corresponding to the scanning distance in the sub-scanning direction is output from the CPU 20 to the motor driver unit 23. With this phase excitation pulse signal,
The motor driver unit 23 drives the drive motor 9. The carriage 3 is scanned in the sub-scanning direction by the driving force of the drive motor 9, and the reading of the document is completed. When the reading of the document is completed, the CPU 20 outputs a phase excitation pulse signal in which the rotation direction of the drive motor 9 is reversed to the motor driver unit 23. The reverse phase excitation pulse signal causes the carriage 3 to return to the original reading start position through a process reverse to the above original reading. When the series of document reading processes are completed, the CPU 20 outputs a document reading completion signal to the external host device 22.

【0009】[0009]

【発明が解決しようとする課題】しかし、上記した従来
のスキャナにおいては、以下のような問題があった。す
なわち、キャリッジ3の駆動に用いられている駆動モー
タ9の駆動を制御する制御プログラムが暴走し、CPU
20からモータドライバ部23に相励磁パルス信号が出
力され続けたような場合には、駆動モータ9の駆動制御
ができなくなり、この結果、キャリッジ3が読取り範囲
を超えて暴走し装置端部に衝突したり、あるいは、衝突
後も駆動モータ9がその方向に励磁されていれば、駆動
モータ9が加熱により破損してしまうという危険性があ
った。
However, the above-mentioned conventional scanner has the following problems. That is, the control program for controlling the drive of the drive motor 9 used to drive the carriage 3 runs away and the CPU
If the phase excitation pulse signal continues to be output from the motor driver unit 23 to the motor driver unit 23, the drive control of the drive motor 9 cannot be performed, and as a result, the carriage 3 runs out of the reading range and collides with the end of the apparatus. If the drive motor 9 is excited in that direction even after the collision, there is a risk that the drive motor 9 will be damaged by heating.

【0010】本発明は、上記の課題を解決するためにな
されたものであり、駆動モータの制御プログラムに異常
が発生した場合にも駆動モータの暴走や破損を防止しう
る画像読取り装置を提供することを目的とする。
The present invention has been made to solve the above problems, and provides an image reading apparatus capable of preventing runaway or damage of a drive motor even when an abnormality occurs in a control program of the drive motor. The purpose is to

【0011】[0011]

【課題を解決するための手段】上記課題を解決するた
め、本発明に係る画像読取り装置は、原稿を照射する光
源と、原稿からの反射光又は透過光を結像する光学系
と、結像した原稿画像を読み取る画像読取り手段を有す
る画像読取り装置であって、前記画像読取り手段を走査
するための駆動モータと、前記駆動モータに電源を供給
するモータ用主電源と、前記駆動モータに相励磁パルス
信号を出力することにより前記駆動モータを駆動制御す
るモータ駆動制御手段と、前記画像読取り手段の読取り
開始時からの前記相励磁パルス信号の数を計数するカウ
ント手段と、基準値を有し前記カウント手段からのカウ
ント値と前記基準値とを比較する比較手段と、前記比較
手段からの出力に応じて前記モータ用主電源のON/O
FF制御を行うモータ用主電源制御手段とを備え、前記
モータ用主電源制御手段は前記カウント手段からの前記
カウント値が前記基準値を越える場合には、前記モータ
用主電源から前記駆動モータに供給される電源を遮断す
るように構成される。
In order to solve the above problems, an image reading apparatus according to the present invention comprises a light source for illuminating a document, an optical system for forming reflected light or transmitted light from the document, and an image formation. An image reading device having image reading means for reading the image of the original document, comprising: a drive motor for scanning the image reading means; a main power supply for the motor for supplying power to the drive motor; and a phase excitation for the drive motor. Motor drive control means for driving and controlling the drive motor by outputting a pulse signal, counting means for counting the number of the phase excitation pulse signals from the start of reading by the image reading means, and a reference value Comparing means for comparing the count value from the counting means with the reference value, and ON / O of the motor main power supply according to the output from the comparing means.
A motor main power supply control means for performing FF control, wherein the motor main power supply control means transfers the motor main power supply to the drive motor when the count value from the counting means exceeds the reference value. It is configured to shut off the supplied power.

【0012】[0012]

【作用】上記構成を有する本発明に係る画像読取り装置
によれば、カウント手段は、原稿の読取り開始時から原
稿の読取り終了時までの間に、相励磁パルス信号の数を
カウントする。比較手段は、正常動作時(カウント値<
基準値の場合)には例えばLo信号を出力し、異常動作
時(カウント値>基準値の場合)には例えばHi信号を
出力する。モータ用主電源制御手段は、比較手段からの
出力に応じてモータ用主電源のON/OFF制御を行う
が、カウント手段からのカウント値が基準値を越える場
合(例えば比較手段の出力がHi信号の場合)には、モ
ータ用主電源から駆動モータに供給される電源を遮断す
る。
According to the image reading apparatus of the present invention having the above structure, the counting means counts the number of phase excitation pulse signals from the start of reading the original to the end of reading the original. The comparing means operates normally (count value <
For example, the Lo signal is output in the case of the reference value, and the Hi signal is output in the abnormal operation (when the count value> the reference value). The motor main power supply control means controls ON / OFF of the motor main power supply according to the output from the comparison means, but when the count value from the count means exceeds the reference value (for example, the output of the comparison means is a Hi signal). In this case), the power supply from the motor main power supply to the drive motor is cut off.

【0013】[0013]

【実施例】以下に、図面に基づき本発明の実施例につい
て説明する。図1は、本発明の一実施例であるスキャナ
100の制御を行う部分の構成を示したものである。ま
た、図2は、このスキャナ100の制御を行う部分のさ
らに詳細な構成を示すブロック図である。また、図3
は、スキャナ100の各部における信号波形を示すタイ
ミングチャート図(正常動作時)であり、図4は、スキ
ャナ100の各部における信号波形を示すタイミングチ
ャート図(異常動作時)である。スキャナ100の他の
機構の構成については、図5ないし図7に示す従来例の
スキャナ200と同様であるので、その説明は省略す
る。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 shows a configuration of a portion that controls a scanner 100 that is an embodiment of the present invention. Further, FIG. 2 is a block diagram showing a more detailed configuration of a portion that controls the scanner 100. Also, FIG.
FIG. 4 is a timing chart diagram (during normal operation) showing a signal waveform in each part of the scanner 100, and FIG. 4 is a timing chart diagram (during abnormal operation) showing a signal waveform in each part of the scanner 100. The configuration of the other mechanism of the scanner 100 is the same as that of the conventional scanner 200 shown in FIGS. 5 to 7, and the description thereof will be omitted.

【0014】図1に示すように、このスキャナ100
が、図7に示す従来例のスキャナ200と異なる点は、
カウント手段であるカウント部25と、比較手段である
比較部26と、モータ用主電源制御手段であるモータ用
主電源制御部27を新たに備えた点である。カウント部
25は、CPU20に接続され、CPU20からモータ
ドライバ部23に出力される原稿の読取り開始からの相
励磁パルス信号の数を計数する。比較部26は、カウン
ト部25の出力側に接続され、キャリッジ3の一連の原
稿読取り過程での移動に要する正常動作時の相励磁パル
ス信号総数に対する基準値と、カウント部25で計数さ
れたカウント値との比較を行う。また、モータ主電源制
御部27は、比較部26の出力側で、かつモータ用主電
源24と駆動モータ9との中間に接続され、比較部26
から異常動作時に対応するHi信号が出力されたとき
に、駆動モータ9へのモータ用主電源を遮断する。
As shown in FIG. 1, this scanner 100
However, the difference from the conventional scanner 200 shown in FIG. 7 is that
The point is that a counting unit 25 that is a counting unit, a comparison unit 26 that is a comparing unit, and a motor main power source control unit 27 that is a motor main power source control unit are newly provided. The counting unit 25 is connected to the CPU 20 and counts the number of phase excitation pulse signals output from the CPU 20 to the motor driver unit 23 from the start of reading the original. The comparison unit 26 is connected to the output side of the counting unit 25, and is a reference value for the total number of phase excitation pulse signals during normal operation required for the carriage 3 to move during a series of document reading processes, and the count counted by the counting unit 25. Compare with the value. Further, the motor main power supply control unit 27 is connected to the output side of the comparison unit 26 and in the middle between the motor main power supply 24 and the drive motor 9, and the comparison unit 26
When the Hi signal corresponding to the abnormal operation is output from, the main motor power supply to the drive motor 9 is shut off.

【0015】スキャナの正常動作時においては、原稿の
読取りを開始してCPU20が原稿の読取り終了信号を
出力するまでの間に、カウント部25により計数された
相励磁パルス信号数のカウント値が、比較部26におけ
る基準値を越えないように設定されている。この場合に
は、比較部26がモータ用主電源制御部27にLo信号
を出力するので、モータ用主電源制御部27はモータ用
主電源24をON状態を保ち駆動モータ9に主電源が供
給される。
During normal operation of the scanner, the count value of the number of phase excitation pulse signals counted by the counting unit 25 is started until the CPU 20 outputs the document reading end signal when the reading of the document is started. It is set so as not to exceed the reference value in the comparison unit 26. In this case, since the comparison unit 26 outputs the Lo signal to the motor main power supply control unit 27, the motor main power supply control unit 27 supplies the drive motor 9 with the main power supply while keeping the motor main power supply 24 in the ON state. To be done.

【0016】一方、原稿の読取りを開始してCPU20
が原稿の読取り終了信号を出力するまでの間に、カウン
ト部25により計数された相励磁パルス信号数のカウン
ト値が、比較部26における基準値を越えた場合(異常
動作時)には、比較部26がモータ用主電源制御部27
にHi信号を出力するので、モータ用主電源制御部27
は、駆動モータ9に供給されるモータ用主電源24を遮
断し、駆動モータ9は駆動を停止する。
On the other hand, the CPU 20 starts reading the original document.
If the count value of the number of phase excitation pulse signals counted by the counting unit 25 exceeds the reference value in the comparing unit 26 (during abnormal operation) before the output of the reading end signal of the document, the comparison is performed. The section 26 is a main power source control section 27 for the motor.
Since the Hi signal is output to the
Shuts off the motor main power supply 24 supplied to the drive motor 9, and the drive motor 9 stops driving.

【0017】図2に示すように、CPU20から出され
る相励磁パルス信号数を計数するカウント部25は、カ
ウンタ30を有して構成されている。比較部26は、基
準値に対応するANDゲート32と、フリップフロップ
33及び34と、インバータ31を有して構成されてい
る。モータ用主電源制御部27は、トランジスタ35及
び36を有して構成されている。
As shown in FIG. 2, the counting unit 25 that counts the number of phase excitation pulse signals output from the CPU 20 has a counter 30. The comparison unit 26 includes an AND gate 32 corresponding to the reference value, flip-flops 33 and 34, and an inverter 31. The motor main power supply controller 27 is configured to include transistors 35 and 36.

【0018】また、図2に示すように、CPU20が出
力する原稿の読取り開始信号/終了信号は、カウンタ3
0とフリップフロップ33及び34のリセットを行うリ
セット信号S1 として用いられる。このリセット信号S
1 により、原稿の読取り開始・終了時にそれぞれのリセ
ットが行われる。
Further, as shown in FIG. 2, the reading start signal / end signal of the document output by the CPU 20 is the counter 3
0 and the reset signal S1 for resetting the flip-flops 33 and 34. This reset signal S
By 1, each is reset at the start / end of reading the original.

【0019】また、本実施例のスキャナ100は、キャ
リッジ3のホーム位置にホームポジションセンサ29が
設けられており、キャリッジ3がホーム位置にきたとき
にリセット信号S1 を出力するように構成されている。
これにより、キャリッジ3がホーム位置にきたときにカ
ウンタ30とフリップフロップ33及び34のリセット
が行われる。
Further, the scanner 100 of the present embodiment is provided with a home position sensor 29 at the home position of the carriage 3, and is configured to output a reset signal S1 when the carriage 3 comes to the home position. .
As a result, the counter 30 and the flip-flops 33 and 34 are reset when the carriage 3 reaches the home position.

【0020】次に、図3を参照しつつ、モータ制御プロ
グラムが暴走していない正常動作時における図2の各部
の動作について説明する。まず、外部ホスト機器22か
ら出力された読取り開始信号を受けてCPU20がリセ
ット信号を出力するか、あるいはホームポジションセ
ンサ29がリセット信号を出力することにより、カウン
タ30とフリップフロップ33及び34のリセットが行
われる。
Next, with reference to FIG. 3, the operation of each part in FIG. 2 during normal operation in which the motor control program does not run away will be described. First, when the CPU 20 outputs a reset signal in response to a read start signal output from the external host device 22 or the home position sensor 29 outputs a reset signal, the counter 30 and the flip-flops 33 and 34 are reset. Done.

【0021】リセット信号の出力と同時に、CPU2
0から相励磁パルス信号が出力される。これにより、
駆動モータ9の励磁・駆動が開始される。また、同時に
カウンタ30は相励磁パルス信号数の計数を開始し、各
出力ビットC0 ,C1 ,…,Cn にパルス数カウント値
が出力される(図3の信号参照)。
At the same time when the reset signal is output, the CPU 2
A phase excitation pulse signal is output from 0. This allows
The excitation / drive of the drive motor 9 is started. At the same time, the counter 30 starts counting the number of phase excitation pulse signals, and the pulse number count value is output to each output bit C0, C1, ..., Cn (see the signal in FIG. 3).

【0022】一連の原稿読取り過程におけるキャリッジ
3の移動に要する正常動作時の励磁パルス信号数に対す
る基準値はANDゲート32に持たせてある。このた
め、パルス数カウント値C0 ,C1 ,…,Cn が基準値
に一致した時のみANDゲート32の出力がHiとな
る。一方、正常動作時はパルス数カウント値が基準値を
超えることはないのでLoの出力を維持する(図3の信
号参照)。
The AND gate 32 is provided with a reference value for the number of excitation pulse signals in the normal operation required for the movement of the carriage 3 in a series of document reading processes. Therefore, the output of the AND gate 32 becomes Hi only when the pulse count values C0, C1, ..., Cn match the reference value. On the other hand, during normal operation, the pulse count value does not exceed the reference value, so the output of Lo is maintained (see the signal in FIG. 3).

【0023】フリップフロップ33のD1 端子には、A
NDゲート32の出力が入力される。クロック端子に
は、信号の時間的な遅延を考慮して、駆動モータ9の相
励磁パルス信号がインバータ31で逆変換された逆相信
号が入力される。これにより、各カウントごとのAND
ゲート32の出力値がQ1 から出力される。正常動作時
には、カウンタ30においてカウントされたパルス数カ
ウント値が、ANDゲート32における基準値に一致し
ない。したがって、ANDゲート32からの出力はLo
に維持されているので、Q1 もLoを維持する(図3の
信号参照)。
At the D1 terminal of the flip-flop 33, A
The output of the ND gate 32 is input. The clock terminal receives a reverse phase signal obtained by reversely converting the phase excitation pulse signal of the drive motor 9 by the inverter 31 in consideration of the time delay of the signal. This allows AND for each count
The output value of the gate 32 is output from Q1. During normal operation, the pulse number count value counted by the counter 30 does not match the reference value of the AND gate 32. Therefore, the output from the AND gate 32 is Lo
Q1 also maintains Lo (see the signal in FIG. 3).

【0024】フリップフロップ34のD2 端子には、+
5V(Hi)が入力されている。また、クロック端子に
は、フリップフロップ33の出力Q1 が入力される。正
常動作時には、クロックQ1 はLoを維持しているた
め、フリップフロップ34の出力Q2 はリセット時のL
oレベルから変化しない(図3の信号参照)。このよ
うにして、正常動作時には、比較部26からの出力Q2
はLoを維持する。
The D2 terminal of the flip-flop 34 is +
5V (Hi) is input. The output Q1 of the flip-flop 33 is input to the clock terminal. During normal operation, the clock Q1 maintains Lo, so the output Q2 of the flip-flop 34 is L at reset.
It does not change from the o level (see the signal in FIG. 3). Thus, during normal operation, the output Q2 from the comparison unit 26
Keeps Lo.

【0025】この正常動作時には上記のようにフリップ
フロップ34の出力Q2 はLoレベルであるから、モー
タ用主電源ON/OFF制御部27において、トランジ
スタ35はOFF状態となり、トランジスタ36はON
状態となる。このため、駆動モータ9にモータ用主電源
24から電源が供給される(図3の信号参照)。
In this normal operation, the output Q2 of the flip-flop 34 is at the Lo level as described above, so in the motor main power ON / OFF control unit 27, the transistor 35 is turned off and the transistor 36 is turned on.
It becomes a state. Therefore, the drive motor 9 is supplied with power from the motor main power supply 24 (see the signal in FIG. 3).

【0026】次に、図4を参照しつつ、モータ制御プロ
グラムが暴走した異常動作時における図2の各部の動作
について説明する。まず、外部ホスト機器22から出さ
れた読取り開始信号受けてCPU20あるいはホームポ
ジションセンサ29がリセット信号を出力し、カウン
タ30とフリップフロップ33及び34のリセットを行
う。
Next, with reference to FIG. 4, the operation of each part in FIG. 2 at the time of abnormal operation in which the motor control program has run away will be described. First, the CPU 20 or the home position sensor 29 outputs a reset signal in response to a read start signal output from the external host device 22, and the counter 30 and the flip-flops 33 and 34 are reset.

【0027】同時にCPU20から相励磁パルス信号
が出力され、駆動モータ9の励磁・駆動を開始するとと
もに、カウンタ30は相励磁パルス信号数の計数を開始
し、各出力ビットC0 ,C1 ,…,Cn にパルス数カウ
ント値が出力される(図4の信号参照)。
At the same time, the CPU 20 outputs a phase excitation pulse signal to start excitation / driving of the drive motor 9, and the counter 30 starts counting the number of phase excitation pulse signals to output the output bits C0, C1, ..., Cn. The pulse count value is output to (see the signal in FIG. 4).

【0028】異常動作時には、パルス数カウント値C0
,C1 ,…,Cn がANDゲート32の基準値を越え
てしまうため、カウント値C0 ,C1 ,…,Cn が基準
値に一致するタイミングが発生し、ANDゲート32の
出力もそのタイミング時にHiとなる(図4の信号参
照)。
At the time of abnormal operation, the pulse number count value C0
, C1, ..., Cn exceed the reference value of the AND gate 32, the timing at which the count values C0, C1, ..., Cn coincide with the reference value occurs, and the output of the AND gate 32 also becomes Hi at that timing. (See the signal in FIG. 4).

【0029】フリップフロップ33のD1 端子には、A
NDゲート32の出力が入力される。ANDゲート32
の出力がHiとなると、クロックに同期して出力Q1 か
らHi信号が出力される(図4の信号参照)。
At the D1 terminal of the flip-flop 33, A
The output of the ND gate 32 is input. AND gate 32
When the output of H becomes Hi, the Hi signal is output from the output Q1 in synchronization with the clock (see the signal of FIG. 4).

【0030】フリップフロップ33の出力Q1 がHiに
なると、それに同期して、フリップフロップ34の出力
Q2 はLoレベルからHiレベルに変化する(図4の信
号参照)。このようにして、異常動作時には、比較部
26からの出力Q2 はHiレベルとなり、CPU20あ
るいはホームポジションセンサ29から再びリセット信
号が入力されるまではLoレベルにならない。
When the output Q1 of the flip-flop 33 becomes Hi, the output Q2 of the flip-flop 34 changes from Lo level to Hi level in synchronization with it (see the signal in FIG. 4). Thus, during abnormal operation, the output Q2 from the comparison unit 26 becomes Hi level, and does not become Lo level until the reset signal is input again from the CPU 20 or the home position sensor 29.

【0031】この異常動作時には上記のようにフリップ
フロップ34の出力Q2 はHiレベルであるから、モー
タ用主電源制御部27において、トランジスタ35はO
N状態となり、トランジスタ36はOFF状態となる。
このため、駆動モータ9へ供給されるモータ用主電源2
4からの電源が遮断され、駆動モータ9の駆動が停止す
る(図4の信号参照)。
During this abnormal operation, the output Q2 of the flip-flop 34 is at the Hi level as described above, so that in the motor main power source control section 27, the transistor 35 is turned on.
The N state is set and the transistor 36 is turned off.
Therefore, the motor main power supply 2 supplied to the drive motor 9
The power from the power supply 4 is cut off, and the drive of the drive motor 9 is stopped (see the signal in FIG. 4).

【0032】[0032]

【発明の効果】以上説明したように、本発明によれば、
駆動モータの駆動を制御する駆動制御手段の制御プログ
ラム等が暴走し、駆動制御手段から駆動モータへ相励磁
パルス信号が出力され続けた場合であっても、モータ用
主電源制御手段により駆動モータの電源が遮断されるの
で、駆動モータは確実に停止し、画像読取り手段のキャ
リッジ等が暴走することは防止され、キャリッジ等が画
像読取り装置内でいずれかの端部等に衝突し破損するこ
とも防止される。
As described above, according to the present invention,
Even when the control program of the drive control means for controlling the drive of the drive motor runs away and the phase excitation pulse signal continues to be output from the drive control means to the drive motor, the motor main power supply control means controls the drive motor. Since the power supply is cut off, the drive motor is surely stopped, the carriage of the image reading means is prevented from running away, and the carriage or the like may be collided with any one end in the image reading device and damaged. To be prevented.

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

【図1】本発明の一実施例であるスキャナの制御を行う
部分の構成を示すブロック図
FIG. 1 is a block diagram showing a configuration of a part that controls a scanner according to an embodiment of the present invention.

【図2】図1に示すスキャナの制御を行う部分のさらに
詳細な構成を示すブロック図
FIG. 2 is a block diagram showing a more detailed configuration of a part that controls the scanner shown in FIG.

【図3】図2に示すスキャナの各部における信号波形を
示すタイミングチャート図(正常動作時)
3 is a timing chart showing signal waveforms at various parts of the scanner shown in FIG. 2 (during normal operation).

【図4】図2に示すスキャナの各部における信号波形を
示すタイミングチャート図(異常動作時)
4 is a timing chart showing signal waveforms at various parts of the scanner shown in FIG. 2 (during abnormal operation).

【図5】従来例のスキャナの構成を示す概略図FIG. 5 is a schematic diagram showing the configuration of a conventional scanner.

【図6】図5に示す従来例のスキャナの光学系の構成を
示す概略図
FIG. 6 is a schematic diagram showing a configuration of an optical system of the conventional scanner shown in FIG.

【図7】図5に示す従来例のスキャナの信号処理部の構
成を示すブロック図
7 is a block diagram showing a configuration of a signal processing unit of the conventional scanner shown in FIG.

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

1 スキャナ本体 2 原稿ガラス 3 キャリッジ 4 支持部材 5 シャフト 6 駆動ワイヤ 7 駆動プーリ 8 従動プーリ 9 駆動モータ 10 従動プーリ支持部材 11 付勢部 12 光源ランプ 13 原稿読取り部 14 反射ミラー 15 カラーイメージセンサ 16 結像レンズ 17 A/D変換部 18 画像処理部 19 バッファメモリ 20 CPU 21 SCSIコントローラ 22 外部ホスト機器 23 モータドライバ部 24 モータ用主電源 25 カウント部 26 比較部 27 モータ用主電源制御部 29 ホームポジションセンサ 30 カウンタ 31 インバータ 32 ANDゲート 33,34 フリップフロップ 35,36 トランジスタ 37 抵抗 100,200 スキャナ S1 リセット信号 1 Scanner Main Body 2 Original Glass 3 Carriage 4 Support Member 5 Shaft 6 Drive Wire 7 Drive Pulley 8 Driven Pulley 9 Drive Motor 10 Driven Pulley Supporting Member 11 Energizing Part 12 Light Source Lamp 13 Original Reading Part 14 Reflection Mirror 15 Color Image Sensor 16 Connection Image lens 17 A / D conversion unit 18 Image processing unit 19 Buffer memory 20 CPU 21 SCSI controller 22 External host device 23 Motor driver unit 24 Motor main power supply 25 Counting unit 26 Comparison unit 27 Motor main power supply control unit 29 Home position sensor 30 counter 31 inverter 32 AND gate 33, 34 flip-flop 35, 36 transistor 37 resistor 100, 200 scanner S1 reset signal

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】原稿を照射する光源と、原稿からの反射光
又は透過光を結像する光学系と、結像した原稿画像を読
み取る画像読取り手段を有する画像読取り装置であっ
て、前記画像読取り手段を走査するための駆動モータ
と、前記駆動モータに電源を供給するモータ用主電源
と、前記駆動モータに相励磁パルス信号を出力すること
により前記駆動モータを駆動制御するモータ駆動制御手
段と、前記画像読取り手段の読取り開始時からの前記相
励磁パルス信号の数を計数するカウント手段と、基準値
を有し前記カウント手段からのカウント値と前記基準値
とを比較する比較手段と、前記比較手段からの出力に応
じて前記モータ用主電源のON/OFF制御を行うモー
タ用主電源制御手段とを備え、前記モータ用主電源制御
手段は前記カウント手段からの前記カウント値が前記基
準値を越える場合には、前記モータ用主電源から前記駆
動モータに供給される電源を遮断することを特徴とする
画像読取り装置。
1. An image reading apparatus comprising a light source for illuminating an original, an optical system for forming reflected light or transmitted light from the original, and image reading means for reading the formed original image. A drive motor for scanning the means, a motor main power supply for supplying power to the drive motor, and a motor drive control means for driving and controlling the drive motor by outputting a phase excitation pulse signal to the drive motor, Counting means for counting the number of the phase excitation pulse signals from the start of reading by the image reading means, comparison means for having a reference value and comparing the count value from the counting means with the reference value, and the comparison Motor main power supply control means for controlling ON / OFF of the motor main power supply according to an output from the means, the motor main power supply control means being the counting means. When the count value of et exceeds the reference value, the image reading apparatus characterized by interrupting the power supplied to the drive motor from the motor main power.
JP7099169A 1995-04-25 1995-04-25 Image reader Pending JPH08293969A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7099169A JPH08293969A (en) 1995-04-25 1995-04-25 Image reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7099169A JPH08293969A (en) 1995-04-25 1995-04-25 Image reader

Publications (1)

Publication Number Publication Date
JPH08293969A true JPH08293969A (en) 1996-11-05

Family

ID=14240156

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7099169A Pending JPH08293969A (en) 1995-04-25 1995-04-25 Image reader

Country Status (1)

Country Link
JP (1) JPH08293969A (en)

Similar Documents

Publication Publication Date Title
JP3585976B2 (en) Image reading device
US6069464A (en) Driving apparatus for an image processing system
JPH08293969A (en) Image reader
JP4065465B2 (en) Stepping motor control device, stepping motor control method, image reading device, and storage medium
US6009215A (en) Image reader
US6526185B1 (en) Image reading apparatus
JP2005333377A (en) Image reading apparatus
JPS63314200A (en) Drive circuit of stepping motor
JP2000115455A (en) Image reader and read scanning control method in the image reader
JP3068864B2 (en) Image reading device
JP3882316B2 (en) Image reading device
JPH08340421A (en) Image reader
JPH06169379A (en) Image reader
JPH11252320A (en) Image reader
JP3616008B2 (en) Image reading apparatus and image reading method
JP3616008B6 (en) Image reading apparatus and image reading method
JPS63287167A (en) Original reader
JP2002082396A (en) Image reader
JPH11122441A (en) Picture reading device
JP2000307814A (en) Method for driving image reader
JPH0715237Y2 (en) Stationary image information input device
JP2995483B2 (en) Image reading device
JPS63280571A (en) Image reader
JP2001127957A (en) Image reader and method, and storage medium
JP2006279717A (en) Apparatus and method for image formation